CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM Running, Solving & CFD (http://www.cfd-online.com/Forums/openfoam-solving/)
-   -   /multiphase/LTSInterFoam/wigleyHull (http://www.cfd-online.com/Forums/openfoam-solving/99548-multiphase-ltsinterfoam-wigleyhull.html)

 parkh32 April 5, 2012 22:18

/multiphase/LTSInterFoam/wigleyHull

Hi all

Is there anyone familiar with these Warnings and Errors ?

\$ snappyHexMesh

Morph iteration 0
-----------------
Calculating patchDisplacement as distance to nearest surface point ...
Wanted displacement : average:0.0268186 min:6.09635e-06 max:0.0622069
Calculated surface displacement in = 0.14 s
--> FOAM Warning : Displacement (-0.000832685 0.0136869 -0.00323482) at mesh point 44104 coord (-11.0566 3.70836 -2.29274) points through the surrounding patch faces
Smoothing displacement ...
Iteration 0
Iteration 10
Iteration 20
Displacement smoothed in = 6.12 s

Undo iteration 0
----------------
Checking faces in error :
non-orthogonality > 65 degrees : 0
faces with face pyramid volume < 1e-13 : 0
faces with face-decomposition tet quality < 1e-30 : 0
faces with concavity > 80 degrees : 0
faces with skewness > 4 (internal) or 20 (boundary) : 0
faces with interpolation weights (0..1) < 0.05 : 0
faces with volume ratio of neighbour cells < 0.01 : 0
faces with face twist < 0.05 : 0
faces on cells with determinant < 0.001 : 0
Snapped mesh : cells:469687 faces:1458423 points:521507
Cells per refinement level:
0 7051
1 9326
2 387495
3 65815
Writing mesh to time 2
Wrote mesh in = 38.21 s.
Mesh snapped in = 86.3 s.
--> FOAM Warning :
From function layerParameters::layerParameters(..)
in file autoHexMesh/autoHexMeshDriver/layerParameters/layerParameters.C at line 379
Layer specification for hull does not match any patch.
Valid patches are
5
(
inlet
outlet
atmosphere
sides
hull_bodyCreatedbyGmsh
)

\$ paraFoam

--> FOAM Warning :
in file meshes/polyMesh/polyMeshIO.C at line 204
Number of patches has changed. This may have unexpected consequences. Proceed with care.

--> FOAM FATAL IO ERROR:
size 14400 is not equal to the given value of 469687

From function Field<Type>::Field(const word& keyword, const dictionary&, const label)
in file /home/opencfd/OpenFOAM/OpenFOAM-2.1.0/src/OpenFOAM/lnInclude/Field.C at line 236.

FOAM exiting

thanks
HS//

 stainboy November 12, 2012 09:20

Hello,

Quote:
 --> FOAM Warning : Displacement (-0.000832685 0.0136869 -0.00323482) at mesh point 44104 coord (-11.0566 3.70836 -2.29274) points through the surrounding patch faces Smoothing displacement ... Iteration 0 Iteration 10 Iteration 20 Displacement smoothed in = 6.12 s
I'm very interested in this warning as well. What I've noticed when I've got this message during meshing process I'm obtaining mesh with strange holes. This problem is raised here

Is your mesh ok when you are obtaining this error?

Quote:
 --> FOAM Warning : From function layerParameters::layerParameters(..) in file autoHexMesh/autoHexMeshDriver/layerParameters/layerParameters.C at line 379 Reading "/home/administrator/OpenFOAM/administrator-2.1.0/run/tutorials/multiphase/LTSInterFoam/vor70/system/snappyHexMeshDict::addLayersControls::layers" from line 240 to line 240 Layer specification for hull does not match any patch. Valid patches are 5 ( inlet outlet atmosphere sides hull_bodyCreatedbyGmsh )
For that I believe you have used wrong patch name in the addLayers step. Just change the name to one mentioned in the list. it should be propably like this:

Code:

```layers     {         hull_bodyCreatedbyGmsh  // a_surface_name         {             nSurfaceLayers 3;         }```
The last error shows usually when you are reading steps generated by snappyHexMesh program. Every step often contain different number of cells due to meshing process therefore it can cause problems as you have here.

Best regards.
Jakub

 All times are GMT -4. The time now is 02:37.