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

How to choose the right courant number?

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

Like Tree34Likes

Reply
 
LinkBack Thread Tools Display Modes
Old   January 19, 2013, 16:36
Default
  #21
Senior Member
 
zaynah K.
Join Date: Jun 2012
Location: Mauritius
Posts: 138
Rep Power: 5
zaynah04 is on a distinguished road
Dear Mads,

Thanks to you analyssi, I have solved all other queries concerning the courant numbers..

I have one thing which is quite bothering me and i hope you can help me out of this tight spot.

I have a case where i am simulating wind flow over a sphere ( 2D), its incompressible, turbulent and stready.

I used pisoFoam and i got the same results which i obtained with Fluent for same mesh.
Now i am using simpleFOam, and solution converged. But in paraview i get completely nonsense results..

Your conclusion would be more than welcome dear Mads..
Thanking you in advance if you can help me out from this Tight spot..

Best Regards
Zaynah.
zaynah04 is offline   Reply With Quote

Old   February 11, 2013, 16:41
Default
  #22
Senior Member
 
immortality's Avatar
 
Ehsan
Join Date: Oct 2012
Location: Iran
Posts: 2,205
Rep Power: 17
immortality is on a distinguished road
hi
how is it possible to add "adjustableRunTime" into sonicFoam?
immortality is offline   Reply With Quote

Old   February 11, 2013, 17:25
Default
  #23
Senior Member
 
chegdan's Avatar
 
Daniel P. Combest
Join Date: Mar 2009
Location: St. Louis, USA
Posts: 546
Rep Power: 18
chegdan will become famous soon enough
Quote:
Originally Posted by immortality View Post
hi
how is it possible to add "adjustableRunTime" into sonicFoam?
See why adjustableRunTime doesn't work in sonicFoam?
__________________
Dan

Find me on twitter @dancombest and LinkedIn
chegdan is offline   Reply With Quote

Old   May 30, 2013, 16:23
Default
  #24
New Member
 
Arthur Piquet
Join Date: Mar 2013
Posts: 12
Rep Power: 4
halowine is on a distinguished road
Hi,

I'm trying to resolve supersonic compressible flow with OpenFOAM and I have some questions about the Courant Number calculation.

I fix my Courant number in the ControlDict file, and the time step try to adapt himself.

I look up on the C/H file of the courant number calcultation and I found that the formulation used looks like:

CFL = 0.5 * (sumFace of phi/rho) / VolumeCell ~ 0.5 * [ u * dt / dx + v * dt / dy + w * dt / dz ]

Thus, I don't understand why they put 0.5 coefficient, but I maybe misreaded the code...

I have also another question. For compressible flow where shock occurs, the CFL needs to be (for resolving acoustic and shock)
CFL_comp = dt * (U + a) / dt (a: speed of sound)

Does anyone know if it's the correct formulation for shocked flow?? or the normal form is better?

If I summarize all the CFL calculation (OpenFOAM + compressible/shock), the equation becomes :

CFL_comp = CFL_wanted (ex=0.5) / ( 2 * ( 1 + max(Mach number) ) )

(2 is for compensating the 0.5 coefficient of OpenFOAM and ( 1 + max(Mach number) ) is for (U + a))

right??

thx
immortality likes this.
halowine is offline   Reply With Quote

Old   October 3, 2013, 08:28
Default Courant number for non-newtonian fluids
  #25
Senior Member
 
Albrecht vBoetticher
Join Date: Aug 2010
Location: Zürich, Swizerland
Posts: 185
Rep Power: 7
vonboett is on a distinguished road
Dear modellers,

I have nice results for an adapted InterMixingFoam solver that works with a pressure dependent viscosity in one phase. I use maxCo 0.25 because that is what I got recommended for Large Eddy Simulations. Here I have no turbulence, but when I change maxCo, say to 0.4, the viscosity of the fluid increases!
Has anyone experience or ideas of explanation for this behavior with pressure dependent viscosities?
vonboett is offline   Reply With Quote

Old   October 14, 2014, 20:07
Default
  #26
New Member
 
Joana
Join Date: Oct 2014
Posts: 1
Rep Power: 0
deliberation is on a distinguished road
Hi, Mads!

I'm quite new here and I'm trying to understand Delf 3D so I can work in a model of a river to see the water level changing with this new construction.
I am sorry for my ignorance, but I can't understand how the velocity can affect Courant number. So far I've just added the grid and bathymetry. Can you please explain me?

Thanks a lot!

Joana
deliberation 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
Mesh Refinement Luiz Eduardo Bittencourt Sampaio (Sampaio) OpenFOAM Mesh Utilities 41 January 17, 2013 03:43
DecomposePar unequal number of shared faces maka OpenFOAM Pre-Processing 6 August 12, 2010 09:01
Unaligned accesses on IA64 andre OpenFOAM 5 June 23, 2008 10:37
Could anybody help me see this error and give help liugx212 OpenFOAM Running, Solving & CFD 3 January 4, 2006 19:07
Trimmed cell and embedded refinement mesh conversion issues michele OpenFOAM Other Meshers: ICEM, Star, Ansys, Pointwise, GridPro, Ansa, ... 2 July 15, 2005 04:15


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