CFD Online URL
[Sponsors]
Home > Forums > CFX

Cfx & fortran

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   January 12, 2013, 11:29
Default Cfx & fortran
  #1
New Member
 
Asak
Join Date: Jan 2013
Posts: 22
Rep Power: 3
hasbi is on a distinguished road
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

Last edited by hasbi; January 13, 2013 at 02:30.
hasbi is offline   Reply With Quote

Old   January 15, 2013, 04:05
Arrow
  #2
New Member
 
hi
Join Date: Dec 2012
Posts: 19
Rep Power: 4
alikhube is on a distinguished road
Hello
This is my problem too
Thanks
alikhube is offline   Reply With Quote

Old   January 15, 2013, 21:52
Default
  #3
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 9,860
Rep Power: 78
ghorrocks has a spectacular aura aboutghorrocks has a spectacular aura aboutghorrocks has a spectacular aura about
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.
ghorrocks is offline   Reply With Quote

Old   January 16, 2013, 14:11
Default
  #4
New Member
 
Asak
Join Date: Jan 2013
Posts: 22
Rep Power: 3
hasbi is on a distinguished road
Quote:
Originally Posted by ghorrocks View Post
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
hasbi is offline   Reply With Quote

Old   January 16, 2013, 17:39
Default
  #5
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 9,860
Rep Power: 78
ghorrocks has a spectacular aura aboutghorrocks has a spectacular aura aboutghorrocks has a spectacular aura about
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.
ghorrocks is offline   Reply With Quote

Old   January 17, 2013, 03:04
Default
  #6
New Member
 
Asak
Join Date: Jan 2013
Posts: 22
Rep Power: 3
hasbi is on a distinguished road
Quote:
Originally Posted by ghorrocks View Post
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
hasbi is offline   Reply With Quote

Old   January 17, 2013, 21:45
Default
  #7
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 9,860
Rep Power: 78
ghorrocks has a spectacular aura aboutghorrocks has a spectacular aura aboutghorrocks has a spectacular aura about
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.
ghorrocks is offline   Reply With Quote

Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Fortran Compiler-CFX12.1 Araz CFX 12 November 2, 2014 13:46
Pros and Cons for CFX, CFdesign, COMSOL Val Main CFD Forum 3 June 10, 2011 03:20
PhD using CFX Rui CFX 9 May 28, 2007 06:59
CFX and Fortran Compiler Integration Rob CFX 2 April 26, 2007 01:46
CFX 4.4 installation problem Pandu Sattvika CFX 1 December 1, 2001 05:07


All times are GMT -4. The time now is 21:09.