|
[Sponsors] |
January 17, 2011, 12:31 |
Coupling OpenFoam with Fortran codes
|
#1 |
Member
Join Date: Sep 2010
Posts: 36
Rep Power: 16 |
Dear All,
I need to couple a Fortran code with OpenFoam (I am using OF 1.7.1). Has anyone done that before? It is even hard to find threads on this topic. If some of you know threads and documentation could you please share the links here? Any help is greatly appreciated. Thanks very much. Regards, Andreas |
|
January 17, 2011, 13:26 |
|
#2 |
Member
Join Date: Sep 2010
Posts: 36
Rep Power: 16 |
Here are some:
(1) http://www.cfd-online.com/Forums/ope...-openfoam.html (2) http://www.cfd-online.com/Forums/ope...tml#post281375 (3) http://owen.sj.ca.us/rkowen/howto/FandC/FandC.call.html Apparently "fortran c++ mixing" are the key words to look for. But I would be thankful for more information. I will specify my question more later down the road. -Andreas |
|
October 29, 2015, 10:38 |
|
#3 |
New Member
Talat
Join Date: Oct 2015
Posts: 3
Rep Power: 11 |
Did you find any way or program to couple Fortran with OpenFOAM? I will be grateful if you help me.
Last edited by foroutan_t; October 29, 2015 at 10:39. Reason: mistake |
|
October 29, 2015, 15:21 |
|
#4 |
Senior Member
Matvey Kraposhin
Join Date: Mar 2009
Location: Moscow, Russian Federation
Posts: 355
Rep Power: 21 |
Hi, yes i did it and there was nothing hard
I done it in two steps: 1) Implementation of Fortran to C interface 2) Implementation of C++ classes that can call C procedures
__________________
MDPI Fluids (Q2) special issue for OSS software: https://www.mdpi.com/journal/fluids/..._modelling_OSS GitHub: https://github.com/unicfdlab Linkedin: https://linkedin.com/in/matvey-kraposhin-413869163 RG: https://www.researchgate.net/profile/Matvey_Kraposhin |
|
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
fortran codes for ausmpw+ | dhawal817 | Main CFD Forum | 3 | April 3, 2010 03:06 |
OpenFOAM Install problem | masb | OpenFOAM | 3 | May 25, 2009 12:32 |
BOOK ON OPTIMIZATION OF FORTRAN CODES | Alberto | Main CFD Forum | 3 | November 10, 2008 07:07 |
FEM fortran codes for coupled mass momentum energy | Amit | Main CFD Forum | 1 | May 17, 2005 21:38 |
fortran codes in windows? | Thorsten | Main CFD Forum | 0 | September 24, 1998 08:51 |