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

CFL Number in CFX RANS

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 28, 2017, 11:59
Default CFL Number in CFX RANS
  #1
Senior Member
 
Join Date: Mar 2013
Location: Germany
Posts: 357
Rep Power: 14
AS_Aero is on a distinguished road
Hi

I have a doubt regarding the CFL number in CFX. When you do a RANS computation in CFX and you are not able to give precisely a delta T or time step and which means I have given auto time scale factor of 1 and I am getting a CFL number maximum of 2000 also my simulation gets converged though. So should I really bother for RANS computation my CFL number which is really high though. If YES !! How can I change my deltaT in CFX for RANS ?
Thanks in advance !!
AS_Aero is offline   Reply With Quote

Old   March 28, 2017, 20:32
Default
  #2
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,870
Rep Power: 144
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
Quote:
When you do a RANS computation in CFX and you are not able to give precisely a delta T or time step
? This is wrong. Yes, you can specify the time step in CFX. In steady state simulations it is a pseudo-timestep.

If you are doing a steady state simulation then the CFL number based on the pseudo-time step is not important. In a steady state simulation all the transient features should converge to zero. CFX is an implicit solver anyway and is therefore not limited to a fixed CFL number.
ghorrocks is offline   Reply With Quote

Old   March 29, 2017, 02:48
Default
  #3
Senior Member
 
Join Date: Mar 2013
Location: Germany
Posts: 357
Rep Power: 14
AS_Aero is on a distinguished road
Thanks for the explanation !! I was doing a Steady State RANs and then when I calculate the CFL Number in cFX in Post Process
the maximum val of CFL number is around 1000. So I was kind of puzzled. Doesnt it affect my results
AS_Aero is offline   Reply With Quote

Old   March 29, 2017, 06:21
Default
  #4
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,870
Rep Power: 144
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
CFL can be ignored for steady state simulations. It is only of relevance to transient simulations, and even then it is only of marginal use IMHO.
ghorrocks is offline   Reply With Quote

Old   April 1, 2019, 23:41
Default
  #5
New Member
 
luo dan
Join Date: Sep 2018
Posts: 27
Rep Power: 8
LUO DAN is on a distinguished road
I have a question about CFL. Recently I am simulating a co2 two phase flow in a nozzle, it can run only with a very small timestep (choose auto timescale——timescale factor is 10^-6, the case can not run with a bigger timestep) , so it is hard to converge even it runs 60,000 steps.
I read a paper about co2 two phase flow named"AN INVESTIGATION OF REAL GAS EFFECTS IN SUPERCRITICAL CO2 CENTRIFUGAL COMPRESSORS", in which "The CFL number in the steady calculation was decreased below 1 when approaching the critical point, while the acoustic CFL number was kept close to unity" was mentioned. I checked the max-CFL in my CFX-post is 0.0001838, it is so small. When I simulated the steady case, I can not find the option to change the CFL in CFX-pre. I am so confused why my case is so hard to converge.
thank you
LUO DAN is offline   Reply With Quote

Old   April 2, 2019, 00:48
Default
  #6
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,870
Rep Power: 144
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
CFX does use a pseudo-time step for steady state simulations, but has no options for setting it by the CFL number. That is because in my experience it is of little use. The best way to set a steady state simulation time step is to start with a reasonable guess (auto time scale is OK for this) and then manually adjust it up or down using "Edit run in progress" depending on how the convergence is progressing.

CFX has options to use CFL based time stepping for transient simulations, but I do not recommend it for most applications. adaptive time stepping homing in on 3-5 coeff loops per iteration is much preferred, or a fixed time step set by a sensitivity analysis.

If you need to run with a tiny CFL it suggests that your simulation is very numerically unstable. You say this is a two phase CO2 model, so you are running some complex physics - numerical problems are to be expected here. But the simulation can be improved by improving mesh quality and using double precision numerics.
__________________
Note: I do not answer CFD questions by PM. CFD questions should be posted on the forum.
ghorrocks is offline   Reply With Quote

Old   April 2, 2019, 04:04
Default
  #7
New Member
 
luo dan
Join Date: Sep 2018
Posts: 27
Rep Power: 8
LUO DAN is on a distinguished road
yes, I have used double precision in my case, and I tried different timesteps, only 10^-6 or even smaller timestep can make it. Thank you very much for explaining me about the CFL, I learned that.
LUO DAN 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
decomposePar -allRegions stru OpenFOAM Pre-Processing 2 August 25, 2015 04:58
DecomposePar unequal number of shared faces maka OpenFOAM Pre-Processing 6 August 12, 2010 10:01
[blockMesh] BlockMeshmergePatchPairs hjasak OpenFOAM Meshing & Mesh Conversion 11 August 15, 2008 08:36
Unaligned accesses on IA64 andre OpenFOAM 5 June 23, 2008 11:37
ICEM and CFX report different number of elements Chris Basciano CFX 0 July 20, 2007 18:24


All times are GMT -4. The time now is 16:02.