fluent and fortran
Hi,
During my internship I have to use Fluent but I don't know it. That is why I'd like to know if it is possible - to run automatically Fluent - to create an output file and to call Fluent in a Fortran program?? Thank you very much! |
Hello,
you can call an external program from Fortran by using a variant of the "system" command, if you have Fluent in your path you can start it from Fortran with: System("fluent 2ddp") for example. It is also possible to record a list of Fluent commands in a separate file and run Fluent in batch mode, you can use your Fortran program to automatically modify this file and start Fluent with it. In principle you can do any automatization you can think of, Fluent was designed to allow the user interaction from any environment. Hope this will help, Do |
thank you! I will try!
|
how execute fluent with fortran?
hi,
I want to call Fluent in my Fortran program,i need to run journal file of fluent for several times in fortran loop ,i use command system: CALL SYSTEM("E:/program files/Fluent.Inc/ntbin/ntx86/fluent.exe 2ddp") but program shows this error: 'E program' is not recognized as an internal or external command,operable program or batch file. please help me:( |
Quote:
'E:/program files/Fluent.Inc/ntbin/ntx86/fluent.exe 2ddp' |
I think the program can't read "program files", because there is a space character in it. I had the same problem with an UDF. Try a path without space characters.
|
I think the problem is with the fortran command. try to correct it
|
All times are GMT -4. The time now is 09:12. |