CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Main CFD Forum

CFL condition heat equation 2D/3D

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

Reply
 
LinkBack Thread Tools Display Modes
Old   November 24, 2011, 11:43
Default CFL condition heat equation 2D/3D
  #1
New Member
 
Join Date: Aug 2009
Posts: 3
Rep Power: 7
pepgma is on a distinguished road
I am solving the heat equation in a non comercial C++ finite elements code with explicit euler stepping, and gmesh adaptive meshes (coarse in the boundaries and finer in the center). I am aware the CFL condition for the heat equation depends on dt/h**2 for the 1D, 2D, 3D case. When I solve the equation in 2D this principle is followed and I require smaller grids following dt<h**2.

But in 3D the problem seems to be requiring finner and finer grids as I decrease the timestep in what appears to be a dt/h**3 behaviour. Does anyone have an idea what could be happening? is the CFL no longer valid in FEM and 3D? What other factors could be influencing?
pepgma is offline   Reply With Quote

Old   February 4, 2012, 05:54
Default
  #2
New Member
 
Join Date: Aug 2009
Posts: 3
Rep Power: 7
pepgma is on a distinguished road
Finally, the issue was merely a meshing problem. I am using gmsh, which allows to provide a 1d parameter of "typical length". Although this parameter is well conserved in 2d meshes, 3d meshes seem to result with very deformed elements (e.g. tetrahedron with one of the edges near to zero). Optimizing the mesh with the two 'optimize' buttons in Gmsh, helped tough, but still some of the tetrahedrons where very small.

To corroborate, I solved the same equations in a regular 3D grid, where I was sure the element size was conserved, and indeed, the dt<h**2 was followed.
pepgma is offline   Reply With Quote

Old   February 4, 2012, 08:51
Default
  #3
Senior Member
 
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 1,645
Rep Power: 23
FMDenaro will become famous soon enough
you can easily check the stability constraint for the parabolic equation

Ut = k (Uxx + Uyy +Uzz)

using FTCS FD-based scheme, you will see that the constraint involves simultaneously the three mesh steps... Hence the dt must be chosen smaller for multidimensional flows.
However, for FEM the stability constraint can be different depending on the shape functions
FMDenaro is online now   Reply With Quote

Reply

Tags
cfl, dimension, fem, stability

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
How to find the inbuilt equation in fluent for Heat Transfer Flux? rohitjvbibin Main CFD Forum 0 October 26, 2010 05:51
CFL condition for implicit CD schemes turb Main CFD Forum 4 August 16, 2005 12:56
CFL condition Sergei Main CFD Forum 2 October 13, 2004 15:38
Crank-Nicholson scheme for Heat Equation Shmulik Uziel Main CFD Forum 4 June 8, 2004 00:34
How to apply heat flux condition L. Zhu FLUENT 2 January 8, 2003 11:16


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