Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Necesity of ANSYS product license to execute PyDYNA #536

Open
Taniguchi-Shin opened this issue Oct 11, 2024 · 14 comments
Open

Necesity of ANSYS product license to execute PyDYNA #536

Taniguchi-Shin opened this issue Oct 11, 2024 · 14 comments

Comments

@Taniguchi-Shin
Copy link

Taniguchi-Shin commented Oct 11, 2024

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: [email protected]
Phone: +81-80-2353-9121(Direct), +81-3-6261-7168

@Taniguchi-Shin
Copy link
Author

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

@RobPasMue
Copy link
Member

@ansys/pydyna please respond

@zhangzhanqun
Copy link
Contributor

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
Copy link
Author

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
Copy link
Contributor

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 Taniguchi-Shin changed the title Necesitty of ANSYS product license to execute PyDYNA Necesity of ANSYS product license to execute PyDYNA Oct 22, 2024
@Taniguchi-Shin
Copy link
Author

Taniguchi-Shin commented Oct 22, 2024

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.

If 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

@Taniguchi-Shin
Copy link
Author

Taniguchi-Shin commented Oct 31, 2024

Sorry, could you comment for above response?
We're in a bit of a hurry.

@RobPasMue
Copy link
Member

@Taniguchi-Shin - I believe @zhangzhanqun already answered to all your questions. What else do you need his input on?

@Taniguchi-Shin
Copy link
Author

Dear RobPasMue and Zhangzhanqun,

Sorry, my explanation isn't enough.
I guess that "subprocess.Popen" in the PyDYNA solver-server python script is only used to call LS-DYNA modules such as lsdyna_dp.exe.
So, discriptions determining the folder path of LS-DYNA modules are modified correctly, Ansys product license isn't needed also PyDYNA pre-server.

Is there another purpose of "subprocess.Popen" to call LS-DYNA modules?
If it's "yes", the necessity of Ansys product license to execute PyDNYA pre/solver-server is plausible.

Best Regards,
Shin Taniguchi/JSOL

@zhangzhanqun
Copy link
Contributor

Hi Taniguchi,

You are right, the "subprocess.Popen" is used to call LS-DYNA modules, Ansys product license is needed for LS-DYNA modules, in other words, the lsdyna_dp.exe can not be run if the Ansys product license is not setup properly.

Regards,
zhanqun.

@Taniguchi-Shin
Copy link
Author

Taniguchi-Shin commented Nov 5, 2024

Dear RobPasMue and Zhangzhanqun,

Thank you for your reply.

Now, we're connecting ANSYS License server with internal floating license.
Please see an attached image file.
But, although the licensing setting isn't enabled, PyDYNA solver-server can be executed.

the lsdyna_dp.exe can not be run if the Ansys product license is not setup properly.
This explanation is conflicted with our current process.
Could you confirm this matter?

Image

Best Regards,
Shin Taniguchi/JSOL

@RobPasMue
Copy link
Member

@Taniguchi-Shin - please delete the above image since it might contain confidential information

@Taniguchi-Shin
Copy link
Author

Sorry. I have just deleted the confidential information.

@Taniguchi-Shin
Copy link
Author

Dear RobPasMue and Zhangzhanqun,
Could you confirm this issue about Ansys product license required?

Now, we can execute pydyna pre/solver module without ANSYS License server (FlexNet) connection.
Otherwise, we have already installed Ansys product 2024R1 and pydyna scripts clearly call it's insalled folder.

We guess following constriction. Is this true?

  • We need to have at least one version of Ansys product and purchase at least one license to use pydyna system.

If this is "yes", we will introduce it to JSOL users if they question about pydyna to us.

Best Regards,
Shin Taniguchi/JSOL

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants