CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Pre-Processing (https://www.cfd-online.com/Forums/openfoam-pre-processing/)
-   -   importing FORTRAN code to OPENFOAM (https://www.cfd-online.com/Forums/openfoam-pre-processing/108548-importing-fortran-code-openfoam.html)

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:)?


Regards:)

Bernhard October 29, 2012 02: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 08:52

thanks Bernhard :)


All times are GMT -4. The time now is 20:42.