CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM (https://www.cfd-online.com/Forums/openfoam/)
-   -   methoden link to other Codefile (https://www.cfd-online.com/Forums/openfoam/69018-methoden-link-other-codefile.html)

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

Thanks!


All times are GMT -4. The time now is 16:56.