|
[Sponsors] |
[snappyHexMesh] how to define patches with snappyHexMesh from a STL file ? |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
May 9, 2011, 06:46 |
how to define patches with snappyHexMesh from a STL file ?
|
#1 |
Senior Member
Cyprien
Join Date: Feb 2010
Location: Stanford University
Posts: 299
Rep Power: 18 |
Hi!
I had a mesh defined as a STL file. Let's say my geometry is a cylinder. However my STL file only provides a default patche and I would like to define 3 different patches (inlet, outlet, wall). Do you know how can I do such a thing with snappyHexMesh (or another tool) ? Best regards, Cyp |
|
May 9, 2011, 09:14 |
|
#2 |
Senior Member
Roman Thiele
Join Date: Aug 2009
Location: Eindhoven, NL
Posts: 374
Rep Power: 21 |
you can use names stl files, where the patches of your cylinder have names (check the motorbike tutorial for this)
or provide multiple stl files where each one contains the patch that is supposed to me meshed.
__________________
~roman |
|
March 14, 2012, 12:35 |
|
#3 | |
New Member
Soufien T
Join Date: Nov 2011
Posts: 2
Rep Power: 0 |
Quote:
I know the thread is quite old but I wanted to ask the same question you already asked on the forum. Did you manage to define inlet and outlet patches when using snappyhexmesh. If yes, could you please let me know how you did. thank you Sofiene |
||
March 14, 2012, 20:08 |
|
#4 |
Senior Member
Mihai Pruna
Join Date: Apr 2010
Location: Boston
Posts: 195
Rep Power: 16 |
If you have one stl file with multiple solids defined one after another:
geometry { yourfile.stl { type triSurfaceMesh; name whatever; regions { solid1_name_in_stl_file { name whatever1; } solid2_name_in_stl_file { name whatever2; } .....
__________________
Mihai Pruna's Bio |
|
March 15, 2012, 12:30 |
|
#5 |
Senior Member
|
||
March 16, 2012, 14:28 |
|
#6 |
New Member
Soufien T
Join Date: Nov 2011
Posts: 2
Rep Power: 0 |
thank you!!
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[swak4Foam] swak4foam for OpenFOAM 4.0 | mnikku | OpenFOAM Community Contributions | 80 | May 17, 2022 09:06 |
SparceImage v1.7.x Issue on MAC OS X | rcarmi | OpenFOAM Installation | 4 | August 14, 2014 07:42 |
[swak4Foam] Error bulding swak4Foam | sfigato | OpenFOAM Community Contributions | 18 | August 22, 2013 13:41 |
friction forces icoFoam | ofslcm | OpenFOAM | 3 | April 7, 2012 11:57 |
"parabolicVelocity" in OpenFoam 2.1.0 ? | sawyer86 | OpenFOAM Running, Solving & CFD | 21 | February 7, 2012 12:44 |