CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > ANSYS > CFX

Cfx & fortran

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 12, 2013, 10:29
Default Cfx & fortran
  #1
New Member
 
Asak
Join Date: Jan 2013
Posts: 22
Rep Power: 13
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 01:30.
hasbi is offline   Reply With Quote

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

Old   January 15, 2013, 20:52
Default
  #3
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,692
Rep Power: 143
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
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, 13:11
Default
  #4
New Member
 
Asak
Join Date: Jan 2013
Posts: 22
Rep Power: 13
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, 16:39
Default
  #5
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,692
Rep Power: 143
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
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, 02:04
Default
  #6
New Member
 
Asak
Join Date: Jan 2013
Posts: 22
Rep Power: 13
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, 20:45
Default
  #7
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,692
Rep Power: 143
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
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 Search this Thread
Search this Thread:

Advanced Search
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 Off
Pingbacks are On
Refbacks are On


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


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