Problem with using icoFoam for flow in a straight tube
1 Attachment(s)
Hi:
I am trying to use OpenFoam to simulate incompressible, laminar flow of Newtonian fluids in a straight tube. And the 3-d mesh is converted from .msh file of Gmsh. After setting up boundary condition and running the simulation, the courant number mean increases so fast and becomes nearly infinite. Then the simulation stops with the information below: Code:
Courant Number mean: 4.47866e+122 max: 1.17861e+124 Thanks a lot! :) |
A blind guess: Try to reduce your time step to suffice the CFL condition.
|
Hi,
it seems your problem came from the fvSolution and fvSchemes file. Replace them with the original ones from the cavity tutorial. However the mesh is very bad ! Regards, Jean |
Thanks a lot! After reading user guide, the incompressible steady state flow just can be simulated by simpleFoam. If icoFoam is used with steadyState, the solution will not converge.
By the way, Jean EI-Hajal, could you tell me how do you determine the mesh is bad or not? This mesh is generated by Gmsh automatically with the characteristic length. I feel headache to check this 3-d mesh......... |
Run checkMesh and post the output. That tool checks the quality of the mesh and prints some statistics to your console.
|
All times are GMT -4. The time now is 22:28. |