Foam fatal IO error
Hello everyone, I am new in Open foam and I'm just facing some problems that I am unable to solve. Once I created my mesh and I have done gmshTofoam and set all the values in the folders 0 constant and system, when I run checkMesh, an error appears but I don't know why, I leave you here the code:
Quote:
On the other hand, when I run icoFoam, another error appears and I can't contiune with my simulation: Quote:
Albert |
I think that the error may come from this line,
***Total number of faces on empty patches is not divisible by the number of cells in the mesh. Hence this mesh is not 1D or 2D. But I don't know how to solve it, any ideas? |
Hi!
Check your mesh definition. Is it a 2D or a 3D mesh? The second error means that you have a patch named defaultFaces in your mesh, but there is no definition for this patch in your p (and i think in U and etc.) file. When you import a mesh or create with blockMesh, every patch without definition automatically placed into patch called defaultFaces. |
Quote:
Hi, thanks for your remply! I have founded the solution. I just had to put empty on defaultFaces in the boundary archive. But now I am facing a new problem. One I start the simulation, an error appears after some iterations saying Quote:
I have been looking for this Floating point error but I can't solve it, any ideas? |
First of all, your Courant number is huge!!
Code:
Courant Number mean: 1.6328519e+32 max: 8.7269861e+35 If you'll still have problems you could check your boundary conditions. And also try to use nonOrthogonalCorrectors in your fvSolution. Code:
Mesh non-orthogonality Max: 80.129444 average: 12.836373 |
1 Attachment(s)
Quote:
What do you mean by bad mesh? Non-structured? Sorry for these basic questions but this is my first simulation in OpenFoam. I give you my .geo file so you can tell me what's wrong, if it is possible. Thank you in advance. |
I'm not so familiar with gmsh. I mean bad mesh like the quality of your mesh is bad. Your checkMesh already told you: "Failed 1 mesh checks."
You should fix it. |
Quote:
You need a balance of finer mesh (increases computation time) with corresponding smaller time step (increases computation time) and stability of the solution. |
All times are GMT -4. The time now is 12:51. |