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

[snappyHexMesh] Generating mesh for existing .stl file

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 8, 2021, 01:45
Default Generating mesh for existing .stl file
  #1
New Member
 
Sohrab Askarli
Join Date: Jul 2021
Location: Saudi Arabia
Posts: 15
Rep Power: 5
askarli is on a distinguished road
Hi everyone,

My question is related to how can we create a mesh file for the existing .stl file. Basically, I downloaded stl file from the internet and I want to have a mesh file for it on openFOAM. Is it even possible to do that? I'm totally new on openFOAM. Please accept my apologies if my question is so stupid

Thanks,
askarli.
askarli is offline   Reply With Quote

Old   July 8, 2021, 04:25
Default
  #2
Senior Member
 
Yann
Join Date: Apr 2012
Location: France
Posts: 1,207
Rep Power: 28
Yann will become famous soon enough
Hi Askarli,

Yes this is possible, using the snappyHexMesh utility.
Have a look at the user guide here : https://cfd.direct/openfoam/user-gui...h/#x23-1670005

I suggest you to do some tutorials using snappyHexMesh in order to understand how it works before moving on meshing your own geometry.

Have fun!
Yann
Yann is offline   Reply With Quote

Old   July 13, 2021, 03:35
Default
  #3
New Member
 
Sohrab Askarli
Join Date: Jul 2021
Location: Saudi Arabia
Posts: 15
Rep Power: 5
askarli is on a distinguished road
Thank you very much for your reply, Yan!

Reading the user guide one more time helped me a lot.

Cheers,
askarli.
askarli is offline   Reply With Quote

Reply

Tags
cfd, meshing, openfoam, stl file


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
[swak4Foam] swak4foam building problem GGerber OpenFOAM Community Contributions 54 April 24, 2015 17:02
Moving mesh Niklas Wikstrom (Wikstrom) OpenFOAM Running, Solving & CFD 122 June 15, 2014 07:20
Trouble compiling utilities using source-built OpenFOAM Artur OpenFOAM Programming & Development 14 October 29, 2013 11:59
[swak4Foam] build problem swak4Foam OF 2.2.0 mcathela OpenFOAM Community Contributions 14 April 23, 2013 14:59
DxFoam reader update hjasak OpenFOAM Post-Processing 69 April 24, 2008 02:24


All times are GMT -4. The time now is 13:14.