-
-
February 20, 2024 at 11:00 am富 佳Subscriber
Hi, i met a problem when i used aqwa user_force through python. The program stopped after about 30 steps, and show ANALYSIS ERROR USER_FORCE DLL ERROR NUMBER 1179901292. I simulated the two-bodies floating structure. Expected a answer.
And i also want to know how to use use_force in Workbench.
-
February 22, 2024 at 11:19 amMike PettitAnsys Employee
Hello,
Are you able to share your Python script here?
For running a Python user-defined force function through Workbench, you should turn on the time domain Analysis Settings option 'Connect to Server for External "user_force" Calculation', and use the option 'External Operation before Solving' to launch the Python server.
Mike
-
February 27, 2024 at 2:23 am富 佳Subscriber
Thank you for much,I have solved my problem of python script.
I also want to know the detail of 'External Operation before Solving' for using in Workbench. Hope your response.
-
February 27, 2024 at 2:54 pmMike PettitAnsys Employee
Hello, I'm glad you got it resolved.
The 'External Operation before Solving' option allows you to either:
- Run a command, as if you were entering it in the Windows Command Prompt; or
- Run a Python script, where the script can be defined directly in the Aqwa Workbench editor, or you can load a script from disk.
Both of these operations are performed after the Aqwa input file has been generated, but before the solver is executed.
I hope this helps!
Mike
-
March 5, 2024 at 12:24 pmLijie YuanSubscriber
Hi,I’m currently experiencing the same problem. My question is :In the workbench interface, is it still necessary to follow the instructions in the manual, running the .py file first to establish the connection when running a Python user-defined force function ?
By the way, what is the meaning of USER_FORCE DLL ERROR NUMBER 1?Â
Thank you very much
-
March 11, 2024 at 12:00 pmMike PettitAnsys Employee
Hello,
I've just posted an answer to this under your separate thread: /forum/forums/topic/aqwa-user-force/#post-356339
Cheers, Mike
-
-
March 5, 2024 at 11:50 amLijie YuanSubscriber
Â
Is it possible for us to communicate via email to discuss issues in this regard?
ÂYljgoodmail@163.comÂ
Â
-
March 11, 2024 at 12:03 pmMike PettitAnsys Employee
Hello,
As an Ansys employee I'm not allowed to correspond outside of this forum, but maybe OP can help you out.
Mike
-
-
- The topic ‘AQWA user_force error’ is closed to new replies.
-
776
-
407
-
264
-
201
-
162
© 2024 Copyright ANSYS, Inc. All rights reserved.