|
[Sponsors] |
[mesh manipulation] Having difficulties using refineMesh and mesh refinement |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
April 19, 2016, 10:36 |
Having difficulties using refineMesh and mesh refinement
|
#1 |
Member
Eduardo Firvida
Join Date: Dec 2010
Posts: 53
Rep Power: 16 |
Hi I have the current blockMesh file, and I want to refine this mesh along the `x` and `y` axis, I have no problem with the z axis.
If I increment the blocks resolution of the mesh along the z axis the checkMesh utility say that the mesh its OK. for finer mesh and coarse mesh along this axis. If I increment the mesh resolution along the `x` or `y` axis the checkMesh throws errors. so I think that increase the blocks resolution its not the solution, and I want to try using the refineMesh utility, to see what's happen. But I don’t have any idea how to use it, I search for the web and see that a refineMeshDict is needed, but the first parameter of the dict is a set of cells to be refined and I don’t know haw to create it. So I really do not know what is the best choice for refine my mesh and how to do it, please any help? thanks for all |
|
April 26, 2016, 06:41 |
|
#2 |
Super Moderator
Tobias Holzmann
Join Date: Oct 2010
Location: Bad Wörishofen
Posts: 2,711
Blog Entries: 6
Rep Power: 52 |
Hi,
nice blockMesh work. Crazy never saw such stuff in blockMesh before. Why are you doing that? You want to parameterize you blockMeshDict? If not the work was not worth (in my opinion). Simple and easy meshing would be, STL + snappyHexMesh. Done in a few minutes. Anyway. I will not check your blockMeshDict further because it is really "blockMesh beyond the scope". To your problem. If you want to refine in x,y direction you really have to figure out which block you have to modify that in each block the amount of points are equal. My suggestion (although you investigated a lot of time into your blockMeshDict), throw it away and use snappyHexMesh + Layer. It is easier, and you have a lot of freedom in refining regions etc.
__________________
Keep foaming, Tobias Holzmann |
|
April 26, 2016, 09:20 |
|
#3 | |
Member
Eduardo Firvida
Join Date: Dec 2010
Posts: 53
Rep Power: 16 |
Quote:
|
||
April 26, 2016, 09:52 |
|
#4 |
Super Moderator
Tobias Holzmann
Join Date: Oct 2010
Location: Bad Wörishofen
Posts: 2,711
Blog Entries: 6
Rep Power: 52 |
SnappyHexMesh makes hybrid meshes. I think you forgot the layers or you are not familiar with snappyHexMesh and meshing using that tool? If you do not change your geometry, then snappyHexMesh would be my favorite in any case. Anyway I think you know what you do (:
So good luck in proceeding with your blockMeshDict. PS: It is clear why structured meshes will give better results (numerics) but handling your blockMeshDict is in my opinion crazy (: I think that if you have a good mesh with snappyHexMesh, you could also achieve the results you get using a structured grid.
__________________
Keep foaming, Tobias Holzmann |
|
April 26, 2016, 12:12 |
|
#5 | |
Member
Eduardo Firvida
Join Date: Dec 2010
Posts: 53
Rep Power: 16 |
Quote:
Thanks again I will continue breaking my head |
||
April 26, 2016, 14:08 |
|
#7 |
Member
Eduardo Firvida
Join Date: Dec 2010
Posts: 53
Rep Power: 16 |
||
April 26, 2016, 15:58 |
|
#9 | |
Member
Eduardo Firvida
Join Date: Dec 2010
Posts: 53
Rep Power: 16 |
Quote:
|
||
Tags |
blockmesh, mesh 3d, refine mesh, refinement |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[snappyHexMesh] Mesh around ship with appropriate free surface refinement | Hannes_Kiel | OpenFOAM Meshing & Mesh Conversion | 46 | October 4, 2019 08:28 |
[mesh manipulation] Unstructured tetrahedral mesh Refinement using REFINEMESH DICT UTILITY.???? POSSIBLE? | saddy | OpenFOAM Meshing & Mesh Conversion | 4 | February 1, 2019 06:58 |
[mesh manipulation] Using refineMesh for a unstructured mesh where direction is hard to define | Giantsda | OpenFOAM Meshing & Mesh Conversion | 5 | January 28, 2019 03:44 |
No convergence after mesh refinement | Andreas: | OpenFOAM Running, Solving & CFD | 14 | September 24, 2014 07:11 |
RefineMesh does not perform 2x2 refinement through the middle of edges | nicasch | OpenFOAM Running, Solving & CFD | 3 | March 14, 2008 05:12 |