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

[Salome] how to create geometry with salome to make "IdeasUnvToFoam" working!

Register Blogs Community New Posts Updated Threads Search

Like Tree2Likes
  • 2 Post By RGoersch

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 5, 2013, 05:14
Default how to create geometry with salome to make "IdeasUnvToFoam" working!
  #1
New Member
 
laura lopez cifuentes
Join Date: May 2013
Posts: 8
Rep Power: 12
amorenelchino is on a distinguished road
Hello!!

I am working with Salome to create a mesh with NETGEN 1D-2D-3D, i export to .unv but IdeasUnvtoFOam works but makes nothing! I know that the problem is in my geometry, but i dont know how to do it...this is the message error:

Case : /home/amorenelchino/openfoam/amorenelchino-2.2.0/run/tempel
nProcs : 1
sigFpe : Enabling floating point exception trapping (FOAM_SIGFPE).
fileModificationChecking : Monitoring run-time modified files using timeStampMaster
allowSystemOperations : Disallowing user-supplied system call operations

// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
Create time

Sorting boundary faces according to group (patch)

Constructing mesh with non-default patches of size:

End


what i make in geomety, its to cut two solid, one of them is a "primitive box" and the other one is a fuse, and the fuse is a union from "Hexahedral solid", and them were maked with 2 faces, it is something not allowed???

i hope i expressed it gut...sorry for my english...:-(

And thanks a lot!!i tried lot of things, and i dont know how to do it...i am really lost...
amorenelchino is offline   Reply With Quote

Old   May 14, 2013, 03:54
Default Look into my blog
  #2
New Member
 
Rafael Goersch
Join Date: Feb 2013
Location: Brazil
Posts: 3
Rep Power: 13
RGoersch is on a distinguished road
Hi Laura,

take a look into my blog. Over there I'm explaining how you can set a good geometry to be exported to Openfoam.


You are having this issue because you didn't set your boundaries in your mesh.

chasingaftermystuff.blogspot.com.br

Over there you will what you are probably missing.

Cheers.
laurentb and amorenelchino like this.

Last edited by RGoersch; May 14, 2013 at 04:01. Reason: Typos
RGoersch is offline   Reply With Quote

Old   May 14, 2013, 06:04
Default
  #3
New Member
 
laura lopez cifuentes
Join Date: May 2013
Posts: 8
Rep Power: 12
amorenelchino is on a distinguished road
Thanks Rafael!

I was watching a bit your blog, and i think i can use lot of things! I was really tired from this mesh error and now i am trying with .stl (salome) and snappymesh...but i still want to know how to export properly the mesh with salome to use with openfoam...

Cheers!!
amorenelchino is offline   Reply With Quote

Old   May 14, 2013, 19:58
Default
  #4
New Member
 
Rafael Goersch
Join Date: Feb 2013
Location: Brazil
Posts: 3
Rep Power: 13
RGoersch is on a distinguished road
Laura,

what you are doing is correct. The problem is that you are not creating the boundaries in your mesh, so, when the grid is exported using UNV you won't have boundaries and Openfoam is not going to accept.

In http://chasingaftermystuff.blogspot....ting-mesh.html I'm showing how you can use your geometry to set you boundary mesh.

If you still have doubts send me a dump of your Salome problem so I can take a look.

Cheers.
RGoersch is offline   Reply With Quote

Old   May 15, 2013, 03:02
Default :D
  #5
New Member
 
laura lopez cifuentes
Join Date: May 2013
Posts: 8
Rep Power: 12
amorenelchino is on a distinguished road
Thanks again,

that was the post i was watching...i understand the problem..so i will try to fix it and i hope it will work! if i still having problems, i will send you my geometry and things from salome, thanks! for your support!its really difficult at the beginnig but i really like this program and i want to learn who to use properly...

Best regards!
amorenelchino is offline   Reply With Quote

Old   June 24, 2013, 10:35
Thumbs up RE: how to create geometry with salome to make "IdeasUnvToFoam" working!
  #6
Member
 
pici's Avatar
 
Pierluigi Cirrottola
Join Date: Jun 2013
Posts: 52
Rep Power: 12
pici is on a distinguished road
Quote:
Originally Posted by amorenelchino View Post
Hello!!

I am working with Salome to create a mesh with NETGEN 1D-2D-3D, i export to .unv but IdeasUnvtoFOam works but makes nothing! I know that the problem is in my geometry, but i dont know how to do it...this is the message error:

Case : /home/amorenelchino/openfoam/amorenelchino-2.2.0/run/tempel
nProcs : 1
sigFpe : Enabling floating point exception trapping (FOAM_SIGFPE).
fileModificationChecking : Monitoring run-time modified files using timeStampMaster
allowSystemOperations : Disallowing user-supplied system call operations

// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
Create time

Sorting boundary faces according to group (patch)

Constructing mesh with non-default patches of size:

End


what i make in geomety, its to cut two solid, one of them is a "primitive box" and the other one is a fuse, and the fuse is a union from "Hexahedral solid", and them were maked with 2 faces, it is something not allowed???

i hope i expressed it gut...sorry for my english...:-(

And thanks a lot!!i tried lot of things, and i dont know how to do it...i am really lost...
Hi Laura,
I hope I'm arriving too late and you already solved any your problem, but I want add something to nice Rafael Goersch replies.
I have to notice that if you miss wall's definition in Salomé, OpenFOAM should anyway be capable to find at least one group of boundary faces and name it patch0, at least for cavity problems (I'm working with VOF to study sloshing at present, and obviously all my domains are cavities).
Generally, error you have should mean that you have noting in .unv file; in effect, when .unv file is bad, you should receive some error like this:
Quote:
For group 8 named PressRef trying to read 1 patch face indices.
--> FOAM Warning :
From function readSets(..)
in file ideasUnvToFoam.C at line 552
Reading "Vessel-Fori_Mesh.unv" at line 3182125

When reading patches expect entity type code 8
Skipping group code 7
For group 9 named WaterLine-1 trying to read 262 patch face indices.
For group 10 named WaterLine-2 trying to read 256 patch face indices.
For group 11 named HCLine-1 trying to read 246 patch face indices.
For group 12 named HCLine-2 trying to read 188 patch face indices.
For group 13 named ExtLine-1 trying to read 131 patch face indices.
For group 14 named ExtLine-2 trying to read 130 patch face indices.
For group 15 named VesselWalls trying to read 86594 patch face indices.

Sorting boundary faces according to group (patch)
0: WaterLine-1 is faceZone


--> FOAM FATAL ERROR:
3015 not found in table. Valid entries:
...
...
From function HashTable<T, Key, Hash>:Operator[](const Key&)
in file /home/opencfd/OpenFOAM/OpenFOAM-2.1.0/src/OpenFOAM/lnInclude/HashTableI.H at line 117.

FOAM exiting
This was a series of error that I received because I did a small imprecision in Salomé interactive session.
If you didn't already, you should read Salomé tutorial (look at www.caelinux.com website) an help files, to learn how to use it; I also suggest to not start directly in Pyton programming, because Salomé is developed to be used principally in interactive way (just like a CAD system or like Femap, Patran etc...) and, if you have some skill in parametric CAD, is very effective and nice to use specially for very complicated geometry.
Have a a nice day,
Piero
pici 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
making geometry in Salome so that meshing is optimal Frisii Mesh Generation & Pre-Processing 0 April 2, 2019 08:29
[CAD formats] Unable to import STL properly to create final geometry miguel.delasheras OpenFOAM Meshing & Mesh Conversion 2 January 27, 2019 06:27
How to make changes in geometry and mesh from case file casperp ANSYS 0 December 9, 2017 08:14
How to make optimal geometry for cylindrical geometry with radial inlets manually? rv82 Mesh Generation & Pre-Processing 0 November 5, 2013 03:48
Actuator disk model audrich FLUENT 0 September 21, 2009 07:06


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