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

importing FORTRAN code to OPENFOAM

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread 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: 14
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, 02:27
Default
  #2
Senior Member
 
Bernhard
Join Date: Sep 2009
Location: Delft
Posts: 790
Rep Power: 21
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, 08:52
Default
  #3
s.m
Senior Member
 
saeideh mohamadi
Join Date: Aug 2012
Posts: 229
Rep Power: 14
s.m is on a distinguished road
thanks Bernhard
s.m is offline   Reply With Quote

Reply


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
OpenFOAM Under a Lesser GPL (LGPL) License hjasak OpenFOAM 24 February 14, 2012 12: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 10: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 13:10.