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

convergence criteria in openfoam

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread 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: 14
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,266
Blog Entries: 1
Rep Power: 24
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: 14
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: 14
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,266
Blog Entries: 1
Rep Power: 24
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: 14
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


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 Off
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 15:06


All times are GMT -4. The time now is 18:13.