CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > OpenFOAM Running, Solving & CFD

I have a problem in fvSolution?please help me?

Register Blogs Members List Search Today's Posts Mark Forums Read

Like Tree3Likes
  • 2 Post By michielm
  • 1 Post By saeid.oqaz

Reply
 
LinkBack Thread Tools Display Modes
Old   October 10, 2012, 11:23
Default I have a problem in fvSolution?please help me?
  #1
Member
 
vahid
Join Date: Feb 2012
Location: Mashhad-Iran
Posts: 80
Rep Power: 4
vahid.najafi is an unknown quantity at this point
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.
vahid.najafi is offline   Reply With Quote

Old   October 10, 2012, 14:32
Default
  #2
Member
 
Michiel
Join Date: Oct 2010
Location: Delft, Netherlands
Posts: 97
Rep Power: 6
michielm is on a distinguished road
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;
}
This will make sure that you use the same settings for UFinal as for U.
michielm is offline   Reply With Quote

Old   October 10, 2012, 15:04
Default
  #3
New Member
 
saeid oqaz
Join Date: Feb 2012
Posts: 19
Rep Power: 5
saeid.oqaz is on a distinguished road
hi. vahid jan.
you should add snGrad(p_rgh) in to fvSchemes dict in subDict snGradSchemes
vahid.najafi likes this.
saeid.oqaz is offline   Reply With Quote

Old   October 10, 2012, 23:46
Default Thanks alot.
  #4
Member
 
vahid
Join Date: Feb 2012
Location: Mashhad-Iran
Posts: 80
Rep Power: 4
vahid.najafi is an unknown quantity at this point
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.
vahid.najafi is offline   Reply With Quote

Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


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


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