ansys / pydyna

Python interface to the LS-DYNA solver
https://dyna.docs.pyansys.com
MIT License
37 stars 9 forks source link

Necesity of ANSYS product license to execute PyDYNA #536

Open Taniguchi-Shin opened 2 weeks ago

Taniguchi-Shin commented 2 weeks ago

Dear All,

This is Shin Taniguchi of JSOL Corporation. I'm trying to build PyDYNA based on the virtual environment with Ansys Python Manager. And I have already installed Ansys product whose version is 2024R1.

Is the ANSYS product license needed to execute PyDYNA? I have already anabled LSTC_LICENSE_SERVER to execute Ansys LS-DYNA modules.

Now, I have suceeded to execute PyDYNA without the connection of the ANSYS product license. I feel that these server systems (pre/solver) don't go through ANSYS product's objects.

Best Regards, Shin Taniguchi/JSOL

JSOL Corporation, CAE Technology Department, Engineering Technology Division. KUDAN-KAIKAN TERRACE 11th Floor 1-6-5 Kudanminami, Chiyoda-ku, Tokyo, 102-0074 Japan E-Mail: taniguchi.shin@jsol.co.jp Phone: +81-80-2353-9121(Direct), +81-3-6261-7168

Taniguchi-Shin commented 4 days ago

Sorry, I'm in a hurry, so please reply.

RobPasMue commented 4 days ago

@ansys/pydyna please respond

zhangzhanqun commented 4 days ago

Hi Taniguchi, You are right, the Ansys product license is needed to execute PyDYNA. Actually,the PyDYNA-pre is not need the ANSYS license, but the PyDYNA-server will use the executable file in your installed Ansys 2024R1.So the PyDYNA-server need the ANSYS product license.

Taniguchi-Shin commented 4 days ago

Dear Zhangzhanqun,

This is Shin Taniguchi of JSOL. Thank you for your reply.

I understand that PyDYNA has PyDYNA-pre-sever and PyDYNA-solver-server. I got PyDYNA-solver-server from https://github.com/ansys/pydyna site.

I have attached python script in PyDYNA-solver-server system. Based on this script, can we change it without installed Ansys 2024R1? I have only found the module path description on the script.

Best Regards, Shin Taniguchi/JSOL

server.zip

zhangzhanqun commented 4 days ago

Hi Taniguchi, It is necessary to install the Ansys package. you can find that there are function named "subprocess.Popen" in server python script, it is used to call the executable file in Ansys package.

Taniguchi-Shin commented 3 days ago

Dear Zhangzhanqun, Thank you for your reply.

I have found "subprocess.Popen" in server python script. I guess that this is used to call LS-DYNA modules in the Ansys procut's instalation folder.

So, when these discriptions are modified correctly, we can execute PyDYNA without Ansys product license. I will investigate these presumptions internally. If you have any comments about them, please let me know.

Otherwise, we're concerned about the possibility of conflict with Ansys product's commercial process.

Best Regards, Shin Taniguchi/JSOL