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

convergence criteria in openfoam

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

Reply
 
LinkBack Thread Tools Display Modes
Old   April 20, 2012, 02:23
Default convergence criteria in openfoam
  #1
New Member
 
aban
Join Date: Apr 2012
Posts: 15
Rep Power: 5
aban is on a distinguished road
hi
i am new to the openfoam, iwant to simulate the reactive flows in a catalytic convertor . i think the reactingFoam suits the best for my simulation. but iam not able to set the convergence criteria. can anybody help in this issue
aban is offline   Reply With Quote

Old   April 20, 2012, 04:11
Default
  #2
Senior Member
 
Nima Samkhaniani
Join Date: Sep 2009
Location: Tehran, Iran
Posts: 1,166
Blog Entries: 1
Rep Power: 15
nimasam is on a distinguished road
1) when you use a solver for example icoFoam, the residuals will be written in terminal
but first you should redirect it into .txt file then use the command "foamlog" to extract the residual in separate files in logs folder. then use a plot software for example gnuplot to plot the residual,
Code:
icoFoam > log
foamLog log 
cd logs 
gnuplot
plot "./....."
2)if you want to just set a convergence criteria you can add the "convergence" in fvSolution in PISO or PIMPLE or SIMPLE dictionary;
nimasam is offline   Reply With Quote

Old   April 20, 2012, 05:35
Default
  #3
New Member
 
abraham antony
Join Date: Jan 2012
Posts: 3
Rep Power: 6
antonyab is on a distinguished road
in the fvSolution how can we set the convergence criteria. is it by setting the residual controls?
antonyab is offline   Reply With Quote

Old   April 20, 2012, 05:44
Default
  #4
New Member
 
abraham antony
Join Date: Jan 2012
Posts: 3
Rep Power: 6
antonyab is on a distinguished road
in the fvSolution how can we set the convergence criteria. is it by setting the residual controls?
antonyab is offline   Reply With Quote

Old   April 20, 2012, 15:41
Default
  #5
Senior Member
 
Nima Samkhaniani
Join Date: Sep 2009
Location: Tehran, Iran
Posts: 1,166
Blog Entries: 1
Rep Power: 15
nimasam is on a distinguished road
something like this:
Code:
SIMPLE
{
    momentumPredictor yes;
    nNonOrthogonalCorrectors 0;
    pRefCell        0;
    pRefValue       0;
    convergence     1e-04;
}
nimasam is offline   Reply With Quote

Old   April 22, 2012, 03:35
Default
  #6
New Member
 
abraham antony
Join Date: Jan 2012
Posts: 3
Rep Power: 6
antonyab is on a distinguished road
thank u for your response, i have tried this and results best
antonyab 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
New OpenFOAM Forum Structure jola OpenFOAM 2 October 19, 2011 06:55
convergence criteria amol palekar Main CFD Forum 5 August 12, 2010 05:16
Convergence criteria lost.identity Main CFD Forum 3 August 2, 2010 11:23
convergence criteria Hadi Main CFD Forum 0 July 4, 2007 05:43
convergence criteria mujahid FLUENT 7 March 6, 2004 16:06


All times are GMT -4. The time now is 07:14.