|
[Sponsors] |
about fvSolution settings for interPhaseChangeFoam |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
July 11, 2011, 20:54 |
about fvSolution settings for interPhaseChangeFoam
|
#1 |
New Member
Chih-Che Chueh
Join Date: Jul 2011
Posts: 2
Rep Power: 0 |
Hi,
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. FOAM exiting 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: alpha1 { MULESImplicit { maxIter 1000; nLimiterIter 10; maxUnboundedness 1; CoCoeff 0.2; solver { solver PBiCG; preconditioner DILU; tolerance 1e-10; relTol 0; } } } Does anyone know what went wrong with my fvSolution settings and help me out? Thanks! Sincerely, Chih-Che |
|
July 13, 2011, 05:20 |
|
#2 |
Senior Member
Anton Kidess
Join Date: May 2009
Location: Germany
Posts: 1,377
Rep Power: 30 |
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.
-Anton |
|
July 13, 2011, 11:24 |
|
#3 |
New Member
Chih-Che Chueh
Join Date: Jul 2011
Posts: 2
Rep Power: 0 |
Hi Anton, Thanks for your reply. The problem that I was facing is now resolved. Chih-Che
|
|
March 1, 2012, 20:31 |
Singhal models
|
#4 |
Member
vahid
Join Date: Feb 2012
Location: Mashhad-Iran
Posts: 80
Rep Power: 13 |
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??? |
|
June 6, 2012, 10:49 |
adding k_:
|
#5 |
Member
vahid
Join Date: Feb 2012
Location: Mashhad-Iran
Posts: 80
Rep Power: 13 |
I want to add the kinetic energy Turbulence(k) in model <<sauer>> in solver <<interPhaseChangeFoam>>.
I added the following line in the<<options>>: -I$(LIB_SRC)/turbulenceModels/incompressible/RAS/RASModel \ Then with enter the <<k_>>in model <<sauer>>as following : // * * * * * * * * * * * * * * Member Functions * * * * * * * * * * * * * * // Foam::tmp<Foam::volScalarField> Foam: PhaseChangeTwoPhaseMixtures::SchnerrSauer::rRb ( const volScalarField& limitedAlpha1 ) const { return pow ( ((*4*constant::mathematical: pi*n_)/3)*k_ *limitedAlpha1/(1.0 + alphaNuc() - limitedAlpha1), 1.0/3.0 ); } 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… |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
BC settings to expand pressure on atmosphere - simpleFoam / totalPressure | sErik | OpenFOAM Running, Solving & CFD | 1 | June 15, 2011 03:49 |
Best settings for solar car external flow problems | kdrbrk | Main CFD Forum | 0 | July 16, 2010 03:18 |
General help for fvSchemes and fvSolution settings | harly | OpenFOAM Running, Solving & CFD | 4 | September 7, 2009 11:31 |
Default settings for 3D boundary layer-Gambit 2.2 | Ramine | FLUENT | 1 | July 31, 2006 13:36 |
help on memory settings in TASCflow | Dr C.Bhasker | CFX | 1 | September 5, 2001 06:57 |