Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TugboatEng on being selected by the Eng-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
Joined
Nov 24, 2006
Messages
20
Location
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.
 
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.

Part and Inventory Search

Sponsor

Back
Top