CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Running, Solving & CFD (https://www.cfd-online.com/Forums/openfoam-solving/)
-   -   OpenFOAM error during compilation (https://www.cfd-online.com/Forums/openfoam-solving/165149-openfoam-error-during-compilation.html)

fkika January 10, 2016 22:38

OpenFOAM error during compilation
 
Hi Foamers,

I have this error during the compilation of a new solver:


pEqn.H:9:9: error: ‘ddtPhiCorr’ is not a member of 'Foam::fvc'
+ fvc::ddtPhiCorr(rAU, rho, U, phi)
^

Does somebody know how I can overcome it?

I'm trying to compile it in OpenFOAM 3.0.0

Thank you!

fumiya January 10, 2016 23:38

Hi,

The release not says that "In version 2.3.0, ddtPhiCorr is replaced with the more general ddtCorr method".
http://www.openfoam.org/version2.3.0/numerics.php

You might want to take a look at the differences between the versions:
Hope this helps,
Fumiya

fkika January 11, 2016 00:29

Dear Fumiya,

thank you so much for your answer.

I replaced the ddtPhiCorr with ddtCorr and the compilation works.

Thank again!


All times are GMT -4. The time now is 08:39.