|
[Sponsors] | |||||
|
|
|
#1 |
|
Member
vahid
Join Date: Feb 2012
Location: Mashhad-Iran
Posts: 80
Rep Power: 2 ![]() |
Hi dear Foamers.
I have a probleb in fvSolution? in my solver's fvSolution ,i have : PIMPLE { momentumPredictor no; nOuterCorrectors 1; nCorrectors 2; nNonOrthogonalCorrectors 1; cAlpha 0; nAlphaCorr 1; nAlphaSubCycles 1; } and i have to change momentumPredictor no ---> to momentumPredictor yes ,i do this but i seen : --> FOAM FATAL IO ERROR: keyword snGrad(p_rgh) is undefined in dictionary "/home/vahid/OpenFOAM/vahid-2.0.1/run/ventmesh/exam/system/fvSchemes::snGradSchemes" file: /home/vahid/OpenFOAM/vahid-2.0.1/run/ventmesh/exam/system/fvSchemes::snGradSchemes from line 54 to line 57. From function dictionary::lookupEntry(const word&, bool, bool) const in file db/dictionary/dictionary.C at line 400. FOAM exiting when i see above error i changed solve's fvSchemes : snGradSchemes { default none; snGrad(pd) limited 0.5; snGrad(rho) limited 0.5; snGrad(alpha1) limited 0.5; } change to : snGradSchemes { default corrected; } but my problem is not solved and seen another error: --> FOAM FATAL IO ERROR: keyword UFinal is undefined in dictionary "/home/vahid/OpenFOAM/vahid-2.0.1/run/ventmesh/exam/system/fvSolution::solvers" file: /home/vahid/OpenFOAM/vahid-2.0.1/run/ventmesh/exam/system/fvSolution::solvers from line 21 to line 121. From function dictionary::subDict(const word& keyword) const in file db/dictionary/dictionary.C at line 461. FOAM exiting please help me to change momentumPredictor no ---> to momentumPredictor yes Without any error!!!!?????? Thanaks for your attention. |
|
|
|
|
|
|
|
|
#2 |
|
Member
Michiel
Join Date: Oct 2010
Location: Delft, Netherlands
Posts: 82
Rep Power: 4 ![]() |
The error message indicates that you have to specify settings for Ufinal. If you're unsure what to pick, I suggest just adding the following piece to your fvSolution:
Code:
UFinal
{
$U;
}
|
|
|
|
|
|
|
|
|
#3 |
|
New Member
saeid oqaz
Join Date: Feb 2012
Posts: 16
Rep Power: 3 ![]() |
hi. vahid jan.
you should add snGrad(p_rgh) in to fvSchemes dict in subDict snGradSchemes
|
|
|
|
|
|
|
|
|
#4 |
|
Member
vahid
Join Date: Feb 2012
Location: Mashhad-Iran
Posts: 80
Rep Power: 2 ![]() |
dear michielm and saeid jan Thanks for your answers.
but i must say that, saeid's answer is perfect. I Could solve my problem with your Guidelines.
|
|
|
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| UDF compiling problem | Wouter | Fluent UDF and Scheme Programming | 6 | June 6, 2012 04:43 |
| Gambit - meshing over airfoil wrapping (?) problem | JFDC | FLUENT | 1 | July 11, 2011 05:59 |
| natural convection problem for a CHT problem | Se-Hee | CFX | 2 | June 10, 2007 06:29 |
| Adiabatic and Rotating wall (Convection problem) | ParodDav | CFX | 5 | April 29, 2007 19:13 |
| Is this problem well posed? | Thomas P. Abraham | Main CFD Forum | 5 | September 8, 1999 14:52 |