about fvSolution settings for interPhaseChangeFoam
I am facing an error when using interPhaseChangeFoam. The error message is presented as follows:
--> FOAM FATAL IO ERROR:
keyword maxIter is undefined in dictionary "/gwork/chueh/FOAM/release/VOF_XTC/staticContactAngle/test_temp/system/fvSolution::solvers::alpha1"
file: /gwork/chueh/FOAM/release/VOF_XTC/staticContactAngle/test_temp/system/fvSolution::solvers::alpha1 from line 56 to line 65.
From function dictionary::lookupEntry(const word&, bool, bool) const
in file db/dictionary/dictionary.C at line 395.
But I don't figure out why the error still comes out because I have already added the alpha1's declaration into the "fvSolution" file as follows:
Does anyone know what went wrong with my fvSolution settings and help me out? :confused:Thanks!
You specified maxIter in a subdictionary ("MULESImplicit"), but your solver is expecting the keywords in the alpha1 dictionary. Get rid of MULESImplicit and put all keywords in the alpha1 dictionary, and all should be well.
Hi Anton, Thanks for your reply. The problem that I was facing is now resolved. Chih-Che
My purpose is adding Zwart and Singhal models to interPhaseChangeFoam solver.
I transform Saur model to Zwart model successfully but transforming Saur model to Singhal model is faild!!!
my error is :
phaseChangeTwoPhaseMixtures/phaseChangeTwoPhaseMixture/phaseChangeTwoPhaseMixture.C:48: error: no matching function for call to ‘Foam::dimensioned<double>::dimensioned()’
Can you help me???
I want to add the kinetic energy Turbulence(k) in model <<sauer>> in solver <<interPhaseChangeFoam>>.
I added the following line in the<<options>>:
Then with enter the <<k_>>in model <<sauer>>as following :
// * * * * * * * * * * * * * * Member Functions * * * * * * * * * * * * * * //
const volScalarField& limitedAlpha1
*limitedAlpha1/(1.0 + alphaNuc() - limitedAlpha1),
when I Type wmake in terminal.
I seen this message :
phaseChangeTwoPhaseMixtures/SchnerrSauer/SchnerrSauer.C:79: error: ‘k_’ was not declared in this scope
make: *** [Make/linux64GccDPOpt/SchnerrSauer.o] Error 1
please help me…
|All times are GMT -4. The time now is 07:22.|