|September 10, 2013, 07:42||
errors about div(phi,h) when move 2.0.1solver to openfoam2.2.1
Join Date: Aug 2013
Posts: 56Rep Power: 4
I moves fireFoam of 2.0.1 to 2.2.1,then rewrite hEqn according to the EEqn.H in fireFoam of 2.2.1 and other necessary codes.But ,when I wmake my rewrited fireFoam,it gives me errors:undefine div(phi,h) in fvscheme.
The following is codes of EEqn.H:
volScalarField& he = thermo.he();
fvm::ddt(rho, he) + fvm::div(phi, he)
+ fvc::ddt(rho, K) + fvc::div(phi, K)
he.name() == "e"
- fvm::laplacian(turbulence->alphaEff(), he)
Info<< "T min/max = " << min(T).value() << ", " << max(T).value() << endl;
There is div(phi,he) insteading of div(phi,h),So It should be no need to define (phi,h) in fvshceme,but define div(phi,he).However,I see the fvsheme in smallpoolfire2D of 2.2.1,there indeed is div(phi,h).In fact,there is the term of "div(phi,he)" in EEqn.H,why define div(phi,h) in fvsheme?I think I have some thing not understand.Can some kinds foamers tell me?I am very anxious!I have report to my teacher soon!
|Thread||Thread Starter||Forum||Replies||Last Post|
|Building OpenFOAM1.7.0 from source||ata||OpenFOAM Installation||42||May 14, 2012 20:48|
|Upgraded from Karmic Koala 9.10 to Lucid Lynx10.04.3||bookie56||OpenFOAM Installation||8||August 13, 2011 04:03|
|IcoFoam parallel woes||msrinath80||OpenFOAM Running, Solving & CFD||9||July 22, 2007 02:58|
|Could anybody help me see this error and give help||liugx212||OpenFOAM Running, Solving & CFD||3||January 4, 2006 19:07|