|
[Sponsors] |
November 24, 2011, 11:43 |
CFL condition heat equation 2D/3D
|
#1 |
New Member
Join Date: Aug 2009
Posts: 3
Rep Power: 17 |
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? |
|
February 4, 2012, 05:54 |
|
#2 |
New Member
Join Date: Aug 2009
Posts: 3
Rep Power: 17 |
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. |
|
February 4, 2012, 08:51 |
|
#3 |
Senior Member
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 6,896
Rep Power: 73 |
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 |
|
Tags |
cfl, dimension, fem, stability |
|
|
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 06:51 |
CFL condition for implicit CD schemes | turb | Main CFD Forum | 4 | August 16, 2005 13:56 |
CFL condition | Sergei | Main CFD Forum | 2 | October 13, 2004 16:38 |
Crank-Nicholson scheme for Heat Equation | Shmulik Uziel | Main CFD Forum | 4 | June 8, 2004 01:34 |
How to apply heat flux condition | L. Zhu | FLUENT | 2 | January 8, 2003 11:16 |