Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations waross on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Hydro elastic anlysis in ANSYS 1

Status
Not open for further replies.

jpblasques

Marine/Ocean
Nov 24, 2006
20
0
0
DK
Hi all

I have a CFD code which I want to couple with ANSYS. This means: I want to tell ANSYS to run the external CFD .exe file, wait for it to finish solving and then read the output file.

How do I tell ANSYS to run the .exe file and only read the output file when the .exe file finishes running?

Thanks in advance.
 
Replies continue below

Recommended for you

Hi,
you may find /SYS and /SYP commands useful to launch your code; then _STATUS, _RETURN, VREAD etc are other good candidates to control execution and read from file to arrays (or tables, etc).
As already discussed about linking ANSYS with Matlab, there is no evidence for the moment that ANSYS will "wait" for the end of execution from your executable, before continueing the macro. Probably yes, but not sure...

Regards
 
Status
Not open for further replies.
Back
Top