|
[Sponsors] |
[snappyHexMesh] Mesh both in- and outside geometry |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
December 17, 2019, 08:45 |
Mesh both in- and outside geometry
|
#1 |
Senior Member
Sita Drost
Join Date: Mar 2009
Location: Arnhem, The Netherlands
Posts: 227
Rep Power: 18 |
Hi all,
I'm trying to create a mesh for a ship, with a symmetry plane along the ship's longitudinal axis (using snappyHexMesh, OpenFOAM-7, Scientific Linux 7.3). As the DTCHull tutorial does exactly this, I'm using this as a basis. For a model scale hull I was able to create a mesh alright, but at full scale somehow both the interior and exterior of my ship are meshed, instead of just the exterior, as I intended. Only some thin parts on the outside of the ship geometry stay un-meshed I've checked the STL-file that I use in MeshLab, and it seems perfectly watertight. Also, I've played around with the locationInsideMesh, but no matter where I put that, everything ends up being meshed. Can anyone tell me how to fix this? Am I doing something wrong? Many thanks! Sita |
|
December 17, 2019, 16:55 |
|
#2 |
Senior Member
Herpes Free Engineer
Join Date: Sep 2019
Location: The Home Under The Ground with the Lost Boys
Posts: 932
Rep Power: 12 |
Difficult to assess since you have already carried out the basic fixes.
Any further info that you can provide? e.g. dictionaries, settings etc.
__________________
The OpenFOAM community is the biggest contributor to OpenFOAM: User guide/Wiki-1/Wiki-2/Code guide/Code Wiki/Journal Nilsson/Guerrero/Holzinger/Holzmann/Nagy/Santos/Nozaki/Jasak/Primer Governance Bugs/Features: OpenFOAM (ESI-OpenCFD-Trademark) Bugs/Features: FOAM-Extend (Wikki-FSB) Bugs: OpenFOAM.org How to create a MWE New: Forkable OpenFOAM mirror |
|
December 19, 2019, 02:35 |
|
#3 |
Senior Member
Sita Drost
Join Date: Mar 2009
Location: Arnhem, The Netherlands
Posts: 227
Rep Power: 18 |
Hi HPE,
Thanks for getting back. I'm attaching some paraView screenshots of my blockMesh and STL-geometry, plus my dict-files for snappyHexMesh. Hopefully you can spot my mistake. Many thanks, Sita P.S. In the attached version of snappyHexMeshDict, I set locationInsideMesh to a point inside the ship, to test whether in that case only the interior of the ship would be meshed (answer turned out to be no...) P.P.S. At least my problem seems to be consistent: I just tried meshing the entire ship, instead of just one half, and also in this case I end up with practically everything being meshed Last edited by sita; December 19, 2019 at 08:40. Reason: Additional info |
|
January 6, 2020, 02:32 |
|
#4 |
Senior Member
Sita Drost
Join Date: Mar 2009
Location: Arnhem, The Netherlands
Posts: 227
Rep Power: 18 |
Update: for now I've worked around this issue by meshing the model scale ship and then scaling the resulting mesh to full scale, using the transformPoints utility.
Still, I'd rather mesh the full scale geometry directly of course, so if anyone has any tips, I'd love to hear them! Many thanks, Sita |
|
|
|