CFD Online Discussion Forums

CFD Online Discussion Forums (
-   OpenFOAM Pre-Processing (
-   -   importing FORTRAN code to OPENFOAM (

s.m October 26, 2012 03:13

importing FORTRAN code to OPENFOAM
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:)?


Bernhard October 29, 2012 03:27

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.

s.m October 30, 2012 09:52

thanks Bernhard :)

All times are GMT -4. The time now is 04:33.