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

Naming regions in stl file for snappyHexMesh

Register Blogs Community New Posts Updated Threads Search

Like Tree5Likes
  • 5 Post By virengos

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 9, 2019, 14:58
Default Naming regions in stl file for snappyHexMesh
  #1
New Member
 
Kaushik
Join Date: Jun 2019
Posts: 14
Rep Power: 7
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, 11:38
Default
  #2
Member
 
Damian Berghof
Join Date: May 2019
Posts: 41
Rep Power: 11
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
etc.



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
https://cfd.direct/openfoam/user-gui...#x14-1090003.6
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 ...

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

Old   August 14, 2019, 13:29
Default
  #3
New Member
 
Kaushik
Join Date: Jun 2019
Posts: 14
Rep Power: 7
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

Reply

Tags
named regions, snappyhexmesh, stl format


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. iyidaniel@yahoo.co.uk OpenFOAM Running, Solving & CFD 11 January 2, 2018 07:47
polynomial BC srv537 OpenFOAM Pre-Processing 4 December 3, 2016 10:07
[OpenFOAM.org] Compile OF 2.3 on Mac OS X .... the patch gschaider OpenFOAM Installation 225 August 25, 2015 20:43
[Other] Adding solvers from DensityBasedTurbo to foam-extend 3.0 Seroga OpenFOAM Community Contributions 9 June 12, 2015 18:18
Version 15 on Mac OS X gschaider OpenFOAM Installation 113 December 2, 2009 11:23


All times are GMT -4. The time now is 16:29.