CFD Online Discussion Forums

CFD Online Discussion Forums (
-   OpenFOAM (
-   -   methoden link to other Codefile (

sven82 October 9, 2009 05:32

methoden link to other Codefile
Dear Foamers,

for the calculation of the discharge coefficient with the buoyantSimpleFoam.C require the function the temperature Field .This Field is not like the pressure in icoFoam defined in the solver (.C) . Its define in a separate file, the basicThermo.H. Now, I will start the return-function in the basicThermo.C, to get the valu for the temperature. But how its the function to link this method?

basicThermo/basicThermo.H -> T()
heatsolver/buoyantSimpleFOAM.C ->link to T() ??????

My skills are in C++ are low, and I hope everyone got the answer of that generally more C++ than OpenFOAM question


All times are GMT -4. The time now is 10:41.