CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Open Source Meshers: Gmsh, Netgen, CGNS, ...

Gmsh conversion but error in paraview

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   February 13, 2016, 18:03
Default Gmsh conversion but error in paraview
  #1
New Member
 
Lewis
Join Date: Dec 2015
Posts: 14
Rep Power: 3
levvis is on a distinguished road
Hi all

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:

Checking geometry...
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.

Mesh OK.

End

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.

FOAM exiting

Segmentation fault (core dumped)


Any ideas whatsoever are very welcome!
levvis is offline   Reply With Quote

Old   February 14, 2016, 05:15
Default
  #2
Senior Member
 
Alexey Matveichev
Join Date: Aug 2011
Location: Nancy, France
Posts: 1,521
Rep Power: 26
alexeym will become famous soon enoughalexeym will become famous soon enough
Hi,

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:

Code:
Cannot find patchField entry for front

file: /home/.../AeroFoam/0/p.boundaryField from line 26 to line 50.
Your mesh has front boundary, yet it is not specified in 0/p file.
alexeym is offline   Reply With Quote

Old   February 15, 2016, 07:46
Default
  #3
New Member
 
Lewis
Join Date: Dec 2015
Posts: 14
Rep Power: 3
levvis is on a distinguished road
Thank you very much! I forgot about the files in the 0 directory, too busy trying to get the mesh sorted.
levvis is offline   Reply With Quote

Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
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


All times are GMT -4. The time now is 01:00.