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

Setting a transient convergence criterion

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   December 23, 2016, 06:17
Default Setting a transient convergence criterion
  #1
New Member
 
Giovanni Bonino
Join Date: Dec 2016
Posts: 2
Rep Power: 0
giovannibonino is on a distinguished road
Hello everyone,

I'm a new to OF and I have some issues imposing convergence conditions in my transient runs. Please mind that I am using a customized multiphysics solver that is not part of the OF package and I have OF 4.0.

In short, I have this field named "flux" (i.e. neutron flux) and I want the run to stop when the relative variation of the flux between two subsequent time steps is less than 10e-5 everywhere in my domain.
Mathematically, this condition could be expressed as: max | flux(i+1,j)-flux(i,j) | / | flux(i,j) | < 10e-5 where "i" is the time step index and "j" is the spatial index.
Is it possible to do that by changing something in the controlDict file or would I have to modify the solver itself?

Thanks.
giovannibonino is offline   Reply With Quote

Reply

Tags
controldict., convergence criterion

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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
chtmultiregionsimpleFoam: how to set the convergence criterion huyidao OpenFOAM Running, Solving & CFD 6 January 21, 2016 08:20
transient convergence mohsen.samie CFX 8 September 15, 2015 10:18
In the case of convergence aja1345 FLUENT 1 July 31, 2015 03:58
chtMultiRegionFoam - Courant number, deltaT, convergence criterion turbulencious OpenFOAM 2 August 13, 2012 05:13
Poor Convergence for Transient Subsonic Diffuser sims with flow separation TWaung CFX 1 April 16, 2009 08:25


All times are GMT -4. The time now is 09:32.