CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Meshing & Mesh Conversion

[Gmsh] Gmsh conversion but error in paraview

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 13, 2016, 17:03
Default Gmsh conversion but error in paraview
  #1
New Member
 
Lewis
Join Date: Dec 2015
Posts: 14
Rep Power: 10
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, 04:15
Default
  #2
Senior Member
 
Alexey Matveichev
Join Date: Aug 2011
Location: Nancy, France
Posts: 1,930
Rep Power: 38
alexeym has a spectacular aura aboutalexeym has a spectacular aura about
Send a message via Skype™ to alexeym
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, 06:46
Default
  #3
New Member
 
Lewis
Join Date: Dec 2015
Posts: 14
Rep Power: 10
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


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 Off
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 18 May 11, 2018 07:31
[Gmsh] Rendering gmsh files in ParaView doyled OpenFOAM Meshing & Mesh Conversion 2 July 25, 2014 23:11
[Gmsh] gmshToFoam problem: not the same mesh in Gmsh vs. paraview zhernadi OpenFOAM Meshing & Mesh Conversion 8 July 7, 2011 02:28
[Gmsh] Import problem ARC OpenFOAM Meshing & Mesh Conversion 0 February 27, 2010 10:56
paraFoam reader for OpenFOAM 1.6 smart OpenFOAM Installation 13 November 16, 2009 21:41


All times are GMT -4. The time now is 15:22.