|February 13, 2016, 18:03||
Gmsh conversion but error in paraview
Join Date: Dec 2015
Posts: 14Rep Power: 3
I've created a mesh around an aerofoil in gmsh, and converted it to OpenFOAM via the gmshToFoam command which came out with the following warning:
--> FOAM Warning :
From function polyMesh:olyMesh(... construct from shapes...)
in file meshes/polyMesh/polyMeshFromShapeMesh.C at line 627
Found 69421 undefined faces in mesh; adding to default patch.
but used checkMesh, terminal told me:
Overall domain bounding box (-5 -4 0) (5 4 1)
Mesh (non-empty, non-wedge) directions (1 1 1)
Mesh (non-empty) directions (1 1 1)
Boundary openness (1.12865e-18 -8.92402e-18 -3.0121e-15) OK.
Max cell openness = 1.86858e-16 OK.
Max aspect ratio = 880.922 OK.
Minimum face area = 5.43055e-06. Maximum face area = 0.277767. Face area magnitudes OK.
Min volume = 5.43055e-06. Max volume = 0.0247845. Total volume = 79.9177. Cell volumes OK.
Mesh non-orthogonality Max: 38.9542 average: 7.75624
Non-orthogonality check OK.
Face pyramids OK.
Max skewness = 0.559458 OK.
Coupled point location match (average 0) OK.
And so I finally called the command paraFoam, to check the mesh in paraview and when selecting the meshed parts and clicking apply, I get thrown out of paraview and get this returned to me in the terminal:
--> FOAM FATAL IO ERROR:
Cannot find patchField entry for front
file: /home/lwsedgeworth/OpenFOAM/lwsedgeworth-2.4.0/run/fyp/AeroFoam/Tutorials-2.4.0/incompressible/AeroFoam/0/p.boundaryField from line 26 to line 50.
From function GeometricField<Type, PatchField, GeoMesh>::GeometricBoundaryField::readField(const DimensionedField<Type, GeoMesh>&, const dictionary&)
in file /home/openfoam/OpenFOAM/OpenFOAM-2.4.0/src/OpenFOAM/lnInclude/GeometricBoundaryField.C at line 209.
Segmentation fault (core dumped)
Any ideas whatsoever are very welcome!
|February 14, 2016, 05:15||
Join Date: Aug 2011
Location: Nancy, France
Posts: 1,521Rep Power: 26
Names of boundaries in your mesh (msh file) and in your initial/boundary conditions (files in 0 folder) are out of sync. Just like the error message said:
Cannot find patchField entry for front file: /home/.../AeroFoam/0/p.boundaryField from line 26 to line 50.
|Thread||Thread Starter||Forum||Replies||Last Post|
|CFD by anderson, chp 10.... supersonic flow over flat plate||varunjain89||Main CFD Forum||17||February 11, 2015 10:47|
|Rendering gmsh files in ParaView||doyled||Open Source Meshers: Gmsh, Netgen, CGNS, ...||2||July 25, 2014 23:11|
|gmshToFoam problem: not the same mesh in Gmsh vs. paraview||zhernadi||Open Source Meshers: Gmsh, Netgen, CGNS, ...||8||July 7, 2011 02:28|
|Import problem||ARC||Open Source Meshers: Gmsh, Netgen, CGNS, ...||0||February 27, 2010 11:56|
|paraFoam reader for OpenFOAM 1.6||smart||OpenFOAM Installation||13||November 16, 2009 22:41|