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

Convergence in OpenFoam

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

Like Tree7Likes

Reply
 
LinkBack Thread Tools Display Modes
Old   September 8, 2011, 05:30
Default hello every one
  #21
Member
 
Jignesh
Join Date: Aug 2011
Location: India
Posts: 68
Rep Power: 5
jignesh_thaker2007 is on a distinguished road
Send a message via Yahoo to jignesh_thaker2007
hi
i m using openfoam200 & i solved tutorial of LCD so i have one doubt is it possible in openfoam to give the residue limits & after achieving that limit the program will stop? if yes then plz tel me how is it possible?

i m still waiting for reply
jignesh_thaker2007 is offline   Reply With Quote

Old   September 8, 2011, 13:03
Default
  #22
Senior Member
 
David Gaden
Join Date: Apr 2009
Location: Winnipeg, Canada
Posts: 397
Rep Power: 12
marupio is on a distinguished road
Residual limits? I assume you mean the convergence criteria. These are located in the fvSolution file.
marupio is offline   Reply With Quote

Old   September 8, 2011, 16:58
Default
  #23
Senior Member
 
Alberto Passalacqua
Join Date: Mar 2009
Location: Ames, Iowa, United States
Posts: 1,894
Rep Power: 26
alberto will become famous soon enoughalberto will become famous soon enough
The "search" function is always your friend ;-)
__________________
Alberto Passalacqua

GeekoCFD - A free distribution based on openSUSE 64 bit with CFD tools, including OpenFOAM. Available as live DVD/USB, hard drive image and virtual image.
OpenQBMM - An open-source implementation of quadrature-based moment methods
alberto is offline   Reply With Quote

Old   September 9, 2011, 05:56
Default devid sir,
  #24
Member
 
Jignesh
Join Date: Aug 2011
Location: India
Posts: 68
Rep Power: 5
jignesh_thaker2007 is on a distinguished road
Send a message via Yahoo to jignesh_thaker2007
yes sir i know it is placed in fvsol dict. but i dont know that how to stop the programe when conversion limit cross.

like in fluent when conversion criteria satisfy then stop the program automatically but in openfoam when it reach the exit time then it stop

so i eager to know sir how can i stop my program automatically when it reaches over the conversion limits

plz reply me

yours faithfully
jignesh
jignesh_thaker2007 is offline   Reply With Quote

Old   September 9, 2011, 15:20
Default
  #25
Senior Member
 
Alberto Passalacqua
Join Date: Mar 2009
Location: Ames, Iowa, United States
Posts: 1,894
Rep Power: 26
alberto will become famous soon enoughalberto will become famous soon enough
If you specify a convergence criterion, the solver will stop automatically.

Best,
__________________
Alberto Passalacqua

GeekoCFD - A free distribution based on openSUSE 64 bit with CFD tools, including OpenFOAM. Available as live DVD/USB, hard drive image and virtual image.
OpenQBMM - An open-source implementation of quadrature-based moment methods
alberto is offline   Reply With Quote

Old   September 9, 2011, 16:07
Default hello sir
  #26
Member
 
Jignesh
Join Date: Aug 2011
Location: India
Posts: 68
Rep Power: 5
jignesh_thaker2007 is on a distinguished road
Send a message via Yahoo to jignesh_thaker2007
Quote:
Originally Posted by alberto View Post
If you specify a convergence criterion, the solver will stop automatically.

Best,

ya i know but suppose in cavity tutorial tolerance is given same as conversion criteria.
so if i want to stop my program when it will go beyond my conversion criteria then what should i write in fvsol dict.

plz tel me
jignesh_thaker2007 is offline   Reply With Quote

Old   March 6, 2013, 14:05
Default
  #27
New Member
 
Join Date: Apr 2012
Posts: 21
Rep Power: 5
Yahoo is on a distinguished road
I am trying to solve equation

fvScalarMatrix CEqn
(
fvm::ddt(C)
+ fvm::div(phi, C)

);
CeqnResidual = CEqn.solve().initialResidual();

In case where phi is zero (i.e. no flow), my initial residuals are always high (~ 0.3). When I am forcing the solver to exit without satisfying the convergence criterion (by setting a maximum for the iterations), I see that phi is zero everywhere and C is constant, as I expect. But, I don't know why CeqnResidual is high!
Yahoo 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
Superlinear speedup in OpenFOAM 13 msrinath80 OpenFOAM Running, Solving & CFD 18 March 3, 2015 06:36
Modified OpenFOAM Forum Structure and New Mailing-List pete Site News & Announcements 0 June 29, 2009 05:56
Convergence of CFX field in FSI analysis nasdak CFX 2 June 29, 2009 01:17
64bitrhel5 OF installation instructions mirko OpenFOAM Installation 2 August 12, 2008 18:07
OpenFOAM Debian packaging current status problems and TODOs oseen OpenFOAM Installation 9 August 26, 2007 13:50


All times are GMT -4. The time now is 12:57.