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

SalomeNetgenOpenFoam

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

Reply
 
LinkBack Thread Tools Display Modes
Old   August 2, 2007, 03:39
Default Can you send a small test file
  #21
Super Moderator
 
Mattijs Janssens
Join Date: Mar 2009
Posts: 1,416
Rep Power: 16
mattijs is on a distinguished road
Can you send a small test file
mattijs is offline   Reply With Quote

Old   August 3, 2007, 02:40
Default Good day, I installed SALOM
  #22
Member
 
Ruben I. Mukhamadeev
Join Date: Mar 2009
Location: Obninsk, Kaluga reg., Russian Federation
Posts: 69
Rep Power: 8
benru is on a distinguished road
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 is offline   Reply With Quote

Old   August 3, 2007, 02:53
Default and if i try to use ideasUnvTo
  #23
Member
 
Ruben I. Mukhamadeev
Join Date: Mar 2009
Location: Obninsk, Kaluga reg., Russian Federation
Posts: 69
Rep Power: 8
benru is on a distinguished road
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 !
benru is offline   Reply With Quote

Old   August 3, 2007, 03:21
Default Dear Ruben, did you have te
  #24
Member
 
sradl's Avatar
 
Stefan Radl
Join Date: Mar 2009
Location: Graz, Austria
Posts: 82
Rep Power: 9
sradl is on a distinguished road
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
sradl is offline   Reply With Quote

Old   August 3, 2007, 08:49
Default Stefan, thanks for your answer
  #25
Member
 
Ruben I. Mukhamadeev
Join Date: Mar 2009
Location: Obninsk, Kaluga reg., Russian Federation
Posts: 69
Rep Power: 8
benru is on a distinguished road
Stefan, thanks for your answer ! Mesh has tets, and i have just sent mesh file to you.

Ruben
benru is offline   Reply With Quote

Old   August 6, 2007, 03:13
Default Stefan, Thanks a Lot for your
  #26
Member
 
Ruben I. Mukhamadeev
Join Date: Mar 2009
Location: Obninsk, Kaluga reg., Russian Federation
Posts: 69
Rep Power: 8
benru is on a distinguished road
Stefan, Thanks a Lot for your Help !
benru is offline   Reply With Quote

Old   March 23, 2009, 14:53
Default prism conversion error?
  #27
Senior Member
 
Michael Jaworski
Join Date: Mar 2009
Location: Champaign, IL, USA
Posts: 126
Rep Power: 8
mike_jaworski is on a distinguished road
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:olyMesh
(
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.
mike_jaworski 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
SalomeNetgenOpenFoam nico OpenFOAM Running, Solving & CFD 3 December 10, 2005 16:32
SalomeNetgenOpenFoam nico OpenFOAM Pre-Processing 0 December 8, 2005 12:56


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