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

[Salome] Export .eMesh from edge set of Salome mesh

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 25, 2017, 11:54
Default Export .eMesh from edge set of Salome mesh
  #1
Senior Member
 
Gerhard Holzinger
Join Date: Feb 2012
Location: Austria
Posts: 342
Rep Power: 28
GerhardHolzinger will become famous soon enoughGerhardHolzinger will become famous soon enough
If you are - for whatever reason - not satisfied with OpenFOAM's tool to extract feature edges from STLs created with Salome, you may wish to be able to directly extract feature edges from Salome, since all the information is already there.
There is a script for doing exactly that kind of job, see the attachment which is based on the script posted originally at http://www.salome-platform.org/forum/forum_10/714480261

How it works:
  • Create the geometry in Salome
  • Create a group of edges in the GEOM module
  • Create the (surface) mesh in the MESH module
  • Create a Group from Geometry
    • Select the edge group previously created in the GEOM module
  • Select the newly created group of edges
  • Run the script via "File -> Load Script" or "execfile()" in the Python Terminal
  • The feature edges are written to /tmp/test.eMesh
The script is known to work with Salome 8.2 and OpenFOAM-4.0
Attached Files
File Type: zip export_eMeshV02.py.zip (1.4 KB, 39 views)
GerhardHolzinger is offline   Reply With Quote

Old   November 16, 2017, 06:29
Default now also compatible with Helyx-OS 2.4.0
  #2
New Member
 
Join Date: Nov 2015
Posts: 2
Rep Power: 0
saladinheart is on a distinguished road
Did little modifications to make it compatible with Helyx-OS 2.4.0 too.
Attached Files
File Type: gz export_eMeshV03.py.gz (1.3 KB, 31 views)
saladinheart 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
decomposePar problem: Cell 0contains face labels out of range vaina74 OpenFOAM Pre-Processing 37 July 20, 2020 06:38
[OpenFOAM.org] Compiling OpenFOAM 5.0 on the Titan Supercomputer wildfire230 OpenFOAM Installation 20 May 6, 2020 08:30
[snappyHexMesh] SnappyHexMesh for internal Flow vishwa OpenFOAM Meshing & Mesh Conversion 24 June 27, 2016 09:54
[snappyHexMesh] No layers in a small gap bobburnquist OpenFOAM Meshing & Mesh Conversion 6 August 26, 2015 10:38
gambit edge mesh ratio export command? sophie FLUENT 0 May 14, 2007 02:51


All times are GMT -4. The time now is 21:03.