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

[surface handling] edge mesh

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 16, 2018, 11:17
Default edge mesh
  #1
New Member
 
Join Date: Mar 2018
Posts: 16
Rep Power: 8
zizou1 is on a distinguished road
Hello,
how can I obtain an object.eMesh file from a stl object?
Thank you
zizou1 is offline   Reply With Quote

Old   May 17, 2018, 05:15
Default
  #2
Senior Member
 
anonymous
Join Date: Jan 2016
Posts: 416
Rep Power: 14
simrego is on a distinguished road
Hi!

Using the surfaceFeatureExtract utility. In the tutorials/mesh/snappyHexMesh find a tutorial which contains a surfaceFeatureExtractDict in its system directory. Just copy it into your system folder, and rewrite the file names in it. It will generate the .eMesh files into your triSurface folder.

Here you can find one. rewrite the motorBike.obj, to yourFile.stl with the includedAngle you can play a bit.
https://github.com/OpenFOAM/OpenFOAM...ureExtractDict

OR, you can use paraView. Using the feature edges filter on your stl file, and then you can export it. I'm not sure if paraView writes .eMesh file, but i think it can export .obj which is also good for you.
simrego is offline   Reply With Quote

Old   May 17, 2018, 07:58
Default
  #3
New Member
 
Join Date: Mar 2018
Posts: 16
Rep Power: 8
zizou1 is on a distinguished road
Dear simrego,
i think i'll manage with a surfaceFeatureExtractDict, anyway thank you really much!
zizou1 is offline   Reply With Quote

Old   May 17, 2018, 08:05
Default
  #4
Senior Member
 
anonymous
Join Date: Jan 2016
Posts: 416
Rep Power: 14
simrego is on a distinguished road
You're welcome!

If you have multiple STLs, just write them in the dict like this:

"Header of the dict file"
STL1.stl
{
"lot of stuff"
}
STL2.stl
{
"the same lot of stuff"
}
etc...
simrego 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
sliding mesh problem in CFX Saima CFX 46 September 11, 2021 07:38
[snappyHexMesh] Help with Snappy: no layers growing GianF OpenFOAM Meshing & Mesh Conversion 2 September 23, 2020 08:26
[ICEM] Hexa mesh, curve mesh setup, bunching law Anorky ANSYS Meshing & Geometry 4 November 12, 2014 00:27
[snappyHexMesh] snappyHexMesh won't work - zeros everywhere! sc298 OpenFOAM Meshing & Mesh Conversion 2 March 27, 2011 21:11
Where's the singularity/mesh flaw? audrich FLUENT 3 August 4, 2009 01:07


All times are GMT -4. The time now is 18:33.