CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > OpenFOAM Pre-Processing

importing FORTRAN code to OPENFOAM

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

Reply
 
LinkBack Thread Tools Display Modes
Old   October 26, 2012, 03:13
Default importing FORTRAN code to OPENFOAM
  #1
s.m
Senior Member
 
saeideh mohamadi
Join Date: Aug 2012
Posts: 229
Rep Power: 6
s.m is on a distinguished road
hi foamers


whould you please tell me how can import a mesh generated by fortran (Airfoil.f90) to openFOAM?
i am working on airfoils and i really need to know this to create my own blockMeshDict after compiling my fortran code.


whould you please help me?


Regards
s.m is offline   Reply With Quote

Old   October 29, 2012, 03:27
Default
  #2
Senior Member
 
Bernhard
Join Date: Sep 2009
Location: Delft
Posts: 790
Rep Power: 12
Bernhard is on a distinguished road
Airfoil.f90 is probably some inhouse code, so there is no general conversion tool (as e.g. Gambit), so changes that somebody can help you out here are really small.

The best approach would be to do some minor changes to the original code, to let it output FOAM-files. The structure of the mesh-files is pretty straightforward.
Bernhard is offline   Reply With Quote

Old   October 30, 2012, 09:52
Default
  #3
s.m
Senior Member
 
saeideh mohamadi
Join Date: Aug 2012
Posts: 229
Rep Power: 6
s.m is on a distinguished road
thanks Bernhard
s.m 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
OpenFOAM Under a Lesser GPL (LGPL) License hjasak OpenFOAM 24 February 14, 2012 13:18
New OpenFOAM Forum Structure jola OpenFOAM 2 October 19, 2011 06:55
fortran code for taylor green vortex HaKu Main CFD Forum 9 July 20, 2011 04:52
Discontinuous Galerkin schemes -- fortran source code diedro Main CFD Forum 3 March 12, 2011 11:20
Design Integration with CFD? John C. Chien Main CFD Forum 19 May 17, 2001 15:56


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