gmshToFoam - insufficient geometrical tolerance?
Hallo fellow Gmshers,
I've recently stumbled across a warning in checkMesh and I'm not sure whether the problem indicated is leading to the problems I'm having in my simulations or not.
The gmsh I've created (see pic in attachments) is supposed to be a 2° wedge from a cylindrical water tank, and the holes represent a coil heat exchanger. My original thinking was that structured-hexahedra are preferable but with the simulation irregularities, I'm beginning to question this. In any case, I have parameterised the gmsh file for later optimisation.
But to return to the point, when I run checkMesh I get the following failure:
Is this warning to be taken seriously and if so, why doesn't gmshToFoam write a points file accurate enough?
If anyone can shed light otherwise, I'd be most thankful.
Maybe you have already solved your problem in the meantime.
For the sake of completeness: change writeFormat to binary in your controlDict before running gmshToFoam
gmsh saves the point positions with 16 digits of precision. gmsToFoam is truncating these big numbers, and thus making tiny shifts in the normal vectors of patch faces. Then the solver sees these tilts as non-planar. This problem doesn't occurs if the conversion is to binary data instead of ASCII.
I don't think these tiny point position shifts would impair your simulation.
I guess this problem could be solved in the source code of gmshToFoam with some sort of regularization of these truncation events.
|All times are GMT -4. The time now is 09:47.|