CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Meshing & Mesh Conversion (https://www.cfd-online.com/Forums/openfoam-meshing/)
-   -   [Salome] SalomeNetgenOpenFoam (https://www.cfd-online.com/Forums/openfoam-meshing/61955-salomenetgenopenfoam.html)

mattijs August 2, 2007 03:39

Can you send a small test file
 
Can you send a small test file

benru August 3, 2007 02:40

Good day, I installed SALOM
 
Good day,

I installed SALOME, generated geometry, generated mesh (netgen), saved mesh as mesh.unv. Could you explain, how get this mesh from OpenFOAM - so my attempts try to use neutralNetgenToFoam lead to error:

--> FOAM FATAL IO ERROR : Attempt to get back from bad stream

file: mesh.unv at line 1.

From function void Istream::getBack(token& t)
in file db/IOstreams/IOstreams/Istream.C at line 44.

FOAM exiting

What's wrong - may be, it's need to use another types of mesh or something else ?

benru August 3, 2007 02:53

and if i try to use ideasUnvTo
 
and if i try to use ideasUnvToFoam i get:

--> FOAM FATAL ERROR : Cannot open file "mesh.unv"

From function ideasUnvToFoam
in file ideasUnvToFoam.C at line 504.

FOAM exiting

Need Help !

sradl August 3, 2007 03:21

Dear Ruben, did you have te
 
Dear Ruben,

did you have tets or hexes in your mesh?

if you send me your mesh.unv file, I can try it with my modification of the converter.

br
Stefan Radl
email:
stefan <dot> radl <at> tugraz <dot> at

benru August 3, 2007 08:49

Stefan, thanks for your answer
 
Stefan, thanks for your answer ! Mesh has tets, and i have just sent mesh file to you.

Ruben

benru August 6, 2007 03:13

Stefan, Thanks a Lot for your
 
Stefan, Thanks a Lot for your Help !

mike_jaworski March 23, 2009 13:53

prism conversion error?
 
Hello Foamers,
I wanted to ask whether these issues have been fixed in the 1.5(-dev) version of OpenFOAM yet or not.

I have used SALOME to create a mesh which I hoped to use in 2D with "empty" patches on front and back. It is prismatic (or should be) and made following the process shown in this tutorial: http://www.caelinux.org/wiki/index.p...ELinux_2008.29

I keep getting an error with the ideasUnvToFoam converter with these meshes that says:
*snip*
Writing boundary faces to STL file boundaryFaces.stl

Constructing mesh with non-default patches of size:
Faces 1404
Interior 16
OutsideWalls 47



Trying to specify a boundary face 3(397 398 396) on the face on cell 144 which is either an internal face or already belongs to some other patch. This is face 702 of patch 0 named Faces.

From function polyMesh::polyMesh
(
const IOobject& io,
const pointField& points,
const cellShapeList& cellsAsShapes,
const faceListList& boundaryFaces,
const wordList& boundaryPatchTypes,
const wordList& boundaryPatchNames,
const word& defaultBoundaryPatchType
)
in file meshes/polyMesh/polyMeshFromShapeMesh.C at line 487.

FOAM aborting

Aborted
*snip*

Has anyone seen this issue? Was this part of the patching that is described in this thread?

Best regards,
Mike J.


All times are GMT -4. The time now is 20:14.