|
[Sponsors] |
June 4, 2011, 15:44 |
Is there an easy way to mesh this room?
|
#1 |
Member
Kevin
Join Date: May 2011
Posts: 33
Rep Power: 14 |
This doesn't seem like it should be too difficult, but I've been struggling with this for days. I'm wondering if I'm going about this in the wrong way and if someone else would do it differently.
Here is a picture of the room I am trying to model. It has an inlet that I will patch with a cold/hot airflow, and outlet that I will patch with a zero gradient, and a window that I will patch with a heat gain/loss. Everything else is a wall. If anyone has any suggestions on how to approach this problem, I would greatly appreciate it. Thanks. |
|
June 4, 2011, 17:40 |
|
#2 |
Senior Member
Alberto Passalacqua
Join Date: Mar 2009
Location: Ames, Iowa, United States
Posts: 1,912
Rep Power: 36 |
If you want to use blockMesh, it is a bit annoying. You have to project the BC's (window, inlet, outlet) on the opposite face, and then split the domain in many hex blocks, and mesh them.
A CAD + mesher would do this in a few minutes. Best,
__________________
Alberto Passalacqua GeekoCFD - A free distribution based on openSUSE 64 bit with CFD tools, including OpenFOAM. Available as in both physical and virtual formats (current status: http://albertopassalacqua.com/?p=1541) OpenQBMM - An open-source implementation of quadrature-based moment methods. To obtain more accurate answers, please specify the version of OpenFOAM you are using. |
|
June 4, 2011, 18:02 |
|
#3 |
Member
Kevin
Join Date: May 2011
Posts: 33
Rep Power: 14 |
Yeah I've been using blockMesh and it has been a pain. At least I know now that it wasn't just me, haha. I guess I'll have to look into using salome or something.
|
|
June 4, 2011, 19:26 |
|
#4 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,974
Blog Entries: 45
Rep Power: 128 |
Greetings to both!
Mmm, if the geometries are going to be this simple, you can try Discretizer: http://www.discretizer.org/ Discretizer comes with two GUIs:
Another option is enGrid, which acts as a mesher and partial frontend to OpenFOAM: http://engits.eu/ But wait, there's more: http://openfoamwiki.net/index.php/GUI On a more low level side, there is also OpenFOAM's snappyHexMesh, but until 1.8.0 is released, those sharp edges/corners can be tamed with snapEdge: http://openfoamwiki.net/index.php/Contrib_snapEdge Best regards, Bruno
__________________
|
|
June 6, 2011, 02:46 |
|
#5 |
Senior Member
Karl-Johan Nogenmyr
Join Date: Mar 2009
Location: Linköping
Posts: 279
Rep Power: 21 |
Hi,
you could also mesh this geometry with 3 blocks in blockMesh, and then create your patches with the faceSet and createPatch utilities... it might be hard to control the exact distribution of the cells as well as the exact extent of the patches, though... for full control you need plenty of blocks, like Alberto says. K |
|
April 18, 2020, 06:59 |
|
#6 |
New Member
JSH
Join Date: Dec 2019
Posts: 6
Rep Power: 6 |
Hi, How did you finally solve it? a better way? please
|
|
April 18, 2020, 14:15 |
|
#7 |
Member
Kevin
Join Date: May 2011
Posts: 33
Rep Power: 14 |
Hi jshjsh,
Unfortunately, I don't remember. I think this was basically my first and only attempt in using CFD. I haven't been on this forum in almost a decade. Wow. Kinda nostalgic now. |
|
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[snappyHexMesh] Number of cells in mesh don't match with size of cellLevel | colinB | OpenFOAM Meshing & Mesh Conversion | 14 | December 12, 2018 09:07 |
[ICEM] surface mesh merging problem | everest | ANSYS Meshing & Geometry | 44 | April 14, 2016 07:41 |
engrid -> save as .stl with boundarie codes | Zymon | enGrid | 31 | August 29, 2011 14:40 |
fluent add additional zones for the mesh file | SSL | FLUENT | 2 | January 26, 2008 12:55 |
unstructured vs. structured grids | Frank Muldoon | Main CFD Forum | 1 | January 5, 1999 11:09 |