|
[Sponsors] |
May 20, 2018, 07:55 |
Foam fatal IO error
|
#1 | ||
New Member
Albert
Join Date: May 2018
Posts: 4
Rep Power: 8 |
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 |
|||
May 20, 2018, 10:23 |
|
#2 |
New Member
Albert
Join Date: May 2018
Posts: 4
Rep Power: 8 |
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? |
|
May 20, 2018, 10:58 |
|
#3 |
Senior Member
anonymous
Join Date: Jan 2016
Posts: 416
Rep Power: 14 |
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. |
|
May 20, 2018, 11:02 |
|
#4 | ||
New Member
Albert
Join Date: May 2018
Posts: 4
Rep Power: 8 |
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? |
|||
May 20, 2018, 11:11 |
|
#5 |
Senior Member
anonymous
Join Date: Jan 2016
Posts: 416
Rep Power: 14 |
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 *Number of severely non-orthogonal (> 70 degrees) faces: 8. Non-orthogonality check OK. <<Writing 8 non-orthogonal faces to set nonOrthoFaces Face pyramids OK. ***Max skewness = 5.1180369, 15 highly skew faces detected which may impair the quality of the results <<Writing 15 skew faces to set skewFaces |
|
May 20, 2018, 11:31 |
|
#6 | |
New Member
Albert
Join Date: May 2018
Posts: 4
Rep Power: 8 |
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. |
||
May 20, 2018, 11:37 |
|
#7 |
Senior Member
anonymous
Join Date: Jan 2016
Posts: 416
Rep Power: 14 |
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. |
|
June 26, 2018, 06:54 |
|
#8 | |
Senior Member
Deep
Join Date: Oct 2017
Posts: 180
Rep Power: 9 |
Quote:
You need a balance of finer mesh (increases computation time) with corresponding smaller time step (increases computation time) and stability of the solution. |
||
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Mesquite - Adaptive mesh refinement / coarsening? | philippose | OpenFOAM Running, Solving & CFD | 94 | January 27, 2016 10:40 |
simpleFoam parallel | AndrewMortimer | OpenFOAM Running, Solving & CFD | 12 | August 7, 2015 19:45 |
Compiling dynamicTopoFvMesh for OpenFOAM 2.1.x | Saxwax | OpenFOAM Installation | 25 | November 29, 2013 06:34 |
checking the system setup and Qt version | vivek070176 | OpenFOAM Installation | 22 | June 1, 2010 13:34 |
Version 15 on Mac OS X | gschaider | OpenFOAM Installation | 113 | December 2, 2009 11:23 |