CFD Online Logo CFD Online URL
Home > Forums > Software User Forums > OpenFOAM

Naming regions in stl file for snappyHexMesh

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

Like Tree4Likes
  • 4 Post By virengos

LinkBack Thread Tools Search this Thread Display Modes
Old   June 9, 2019, 13:58
Default Naming regions in stl file for snappyHexMesh
New Member
Join Date: Jun 2019
Posts: 14
Rep Power: 6
kauraajn is on a distinguished road
Hi all,

I am relatively new to OpenFOAM, and need some help in creating an stl file with named regions. I am trying to model scalar transport in an arbitrary geometry. For starters, if I had to mesh the region inside a cylinder using snappyHexMesh, with defined inlet, outlet and wall to assign boundary conditions, how should I go about this? Thanks.
kauraajn is offline   Reply With Quote

Old   June 10, 2019, 10:38
Damian Berghof
Join Date: May 2019
Posts: 41
Rep Power: 10
virengos will become famous soon enough
Hi kauraajn,
that's not really rocket science and you will find everything about this topic in the forum here. You can use the 'Search' function to get it.

1.) Just few examples what's already available:
Creating waterproof STL using snappyHexMesh or salome
(obligatory to read and to understand)

Giving patch names within stl files
how to define patches with snappyHexMesh from a STL file ?
Patch Names in STL file for snappyHexMesh
snappyHexMesh - different patch names from stl file

2.) Check free available OS Software for STL creation and meshing: 'Salome Meca' and 'FreeCAD'

3.) Use exisitng Linux commands to manipulate and check ASCII STL files
cat, split, grep, ...

4.) and OpenFOAM utilities
surfaceAutoPatch, surfaceRefineRedGreen, surfaceCheck, ...

5.) Use 'ParaView' to check your STL geometry

6.) Start with some simple tutorials, e.g. 'motorBike', 'elbow'

And let me know if you need more support ...

elvis, Tobi, Germilly and 1 others like this.
virengos is offline   Reply With Quote

Old   August 14, 2019, 12:29
New Member
Join Date: Jun 2019
Posts: 14
Rep Power: 6
kauraajn is on a distinguished road
Sorry for the late acknowledgement, but thank you so much Damian. This was really helpful
kauraajn is offline   Reply With Quote


named regions, snappyhexmesh, stl format

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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 Off
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
OpenFoam "Permission denied" and "command not found" problems. OpenFOAM Running, Solving & CFD 11 January 2, 2018 06:47
polynomial BC srv537 OpenFOAM Pre-Processing 4 December 3, 2016 09:07
[] Compile OF 2.3 on Mac OS X .... the patch gschaider OpenFOAM Installation 225 August 25, 2015 19:43
[Other] Adding solvers from DensityBasedTurbo to foam-extend 3.0 Seroga OpenFOAM Community Contributions 9 June 12, 2015 17:18
Version 15 on Mac OS X gschaider OpenFOAM Installation 113 December 2, 2009 10:23

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