CFD Online Logo CFD Online URL
Home > Forums > FLUENT

Courant number alert/pause simulation in fluent 2d

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

LinkBack Thread Tools Display Modes
Old   April 15, 2015, 14:50
Default Courant number alert/pause simulation in fluent 2d
New Member
Join Date: May 2014
Posts: 16
Rep Power: 3
aarratia is on a distinguished road
Hi Guys,

I am running a simulation in Ansys Fluent, where I have a 2D settling tank for 2 different fluids. When running the simulation, I start with a very small time step size meanwhile using time stepping method "Variable". This method changes the time step to a larger number every interval. My problem is that after a while the Global Courant Number increases overtime to the point where it reaches 250 and Fluent crashes. So I usually babysit the simulation manually pausing it and giving it smaller time steps when needed.
Is there a way to set some type of warning so simulation stops (automatically) before actually crashing?

Best Regards,
aarratia is offline   Reply With Quote

Old   April 16, 2015, 02:07
Senior Member
Join Date: Mar 2015
Posts: 369
Rep Power: 4
`e` is on a distinguished road
We've had a few recent discussions on how to stop Fluent partway through a simulation using Scheme and UDFs (it's a little messy and probably easier if you avoid this solution pathway). Have a read of those threads if you'd like to try and stop the simulation at a particular maximum Courant number.

Have you tried using a dynamic time step (either through what's available in Fluent already or with a custom UDF time step as a function of Courant number/similar)?
`e` is offline   Reply With Quote


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
TwoPhaseEulerFoam high courant number mwaqas OpenFOAM Running, Solving & CFD 4 March 18, 2015 15:04
Visualizing mesh regions with high courant number? Endel OpenFOAM 2 August 20, 2013 03:57
AMI interDyMFoam for mixer danny123 OpenFOAM Running, Solving & CFD 4 June 19, 2013 04:49
AMI speed performance danny123 OpenFOAM 19 October 24, 2012 07:44
Upgraded from Karmic Koala 9.10 to Lucid Lynx10.04.3 bookie56 OpenFOAM Installation 8 August 13, 2011 04:03

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