CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   CFX (https://www.cfd-online.com/Forums/cfx/)
-   -   Cfx & fortran (https://www.cfd-online.com/Forums/cfx/111670-cfx-fortran.html)

hasbi January 12, 2013 10:29

Cfx & fortran
 
HI
I have a few point and want to call cfx from fortran for mesh(or update mesh) , pre , solve it and at the end read post for my algorithm.

Can any one help me and give me example code for an airfoil and give me a brief explain for do it?

I think it will be a settler subject and helpfull for many people and who do it , is as our teacher!

my mail is hasbi.asak@yahoo.com

Thank you every one

alikhube January 15, 2013 03:05

Hello
This is my problem too
Thanks

ghorrocks January 15, 2013 20:52

There are command line arguements for Pre, post and Solver. You can call these from fortran. It is a bit trickier to do the meshing by command line.

hasbi January 16, 2013 13:11

Quote:

Originally Posted by ghorrocks (Post 402066)
There are command line arguements for Pre, post and Solver. You can call these from fortran. It is a bit trickier to do the meshing by command line.

Please help us and a brief help us for that we can do for pre solve and post and call from fortran
Thanks

ghorrocks January 16, 2013 16:39

The command line is all listed in the documentation so no need for me to repeat them. I have no idea what the fortran command is to call a command line thing... that is for you to find out.

hasbi January 17, 2013 02:04

Quote:

Originally Posted by ghorrocks (Post 402316)
The command line is all listed in the documentation so no need for me to repeat them. I have no idea what the fortran command is to call a command line thing... that is for you to find out.

Yes
But I can't create a batch file for pre solve and post and I'm confused. Please help me and tell for I can do it!
And later I work with fortran and call batch file.exe
Thank you very much

ghorrocks January 17, 2013 20:45

The command line for pre, solver and post is cfx5pre, cfx5solve, cfx5post. You can record a session file in pre and post and call that in your command line call.


All times are GMT -4. The time now is 16:33.