extrudeMesh
Hello
Can anyone give a quick overview on how to use extrudeMesh utility? Or maybe point out a tutorial for it? I have been trying to get a basic instruction on how to use this utility but found none. thanks |
Greetings xiyuqiu,
extrudeMesh is very simple to use... it's usually part of more complex tutorials, such as this one: http://openfoamwiki.net/index.php/Ma...Examples/2DsHM You can also find which tutorials use extrudeMesh by running: Code:
find . -name "Allrun" | xargs grep extrudeMesh -sl Code:
$WM_PROJECT_DIR/applications/utilities/mesh/generation/extrude/extrudeMesh/extrudeMeshDict Best regards, Bruno |
Here are also some tutorials with extrudeMesh:
https://www.hpc.ntnu.no/display/hpc/...llway+Tutorial https://www.hpc.ntnu.no/display/hpc/...l+Calculations |
Thank you guys. This is very helpful.
|
Hi Guys,
I also have a question to extrudemesh, maybe I'm just blind and don't see the obious answer but I didn't find it yet... I'm using openFoam 2.4 water channel example. The example works fine, but if I increase the number of cells extrudemesh is not generated. I assume that there is a problem with the nLayers but I'm not sure. I need to increase the number of cells to get a time dependency of different solvers. Thanks in advance for your help Jasmin |
Quote:
I don't know if anyone else has the time to go one step a time with you, but unfortunately I don't have enough time (at least today/this week) to try and deduce what steps you've taken :( If you had been more specific with more details in your post, I might have been able to give you a clearer answer than this :( My guess is that the output given by extrudeMesh upon execution should have been fairly clear on what went wrong. |
Sorry for not giving enaugh information, I'm new to all this, and sorry for the long time until I answer now, I was very ill.
Im running the waterChannel tutorium openfoam 2.4 model ras. I like to do a time mesure of different solvers in file fvSolution, therefore I need to raise the number of cells. When I do that, extrudemes doesnt work anymore, and the simulation does not work. I assume that raising the cells in blockMeshDict but not changing extrudeMeshDict causes the problem, probably the line "nLayers 40", but I'm not sure, and the documentation on openfoam does not solve my problem to understand what I have to change. But…. Whatever caused the problem it solved itselfe... Thanks anyway for all the support you guys gave me. |
Dear Foamers,
I have another issue using the utility 'extrudeMesh' (foam version 1606+ or 4.1): Using Snappy works fine for dynamic mesh refinement (or adaptive mesh refinement, AMR), like here http://www.openfoam.com/version-v1606+/meshing.php The problem occurs if 'extrudeMesh' is used after using Snappy - all cells with a hanging node will become protected from refinement. I prepared a simple case to demonstrate this problem. This case is based on the tutorial Code:
$FOAM_TUTORIALS/multiphase/interDyMFoam/ras/motorBike https://www.dropbox.com/s/3g40075603...rBike.zip?dl=0 Two figures illustrate this problem. The grey colored cells show the 'protectedCells' which cannot be refined. Firstly, this result is gained for the standard tutorial case: https://s13.postimg.org/r9ai68zv7/pr...trude_Mesh.png Secondly, the following figure shows the result after 'extrudeMesh' was used: https://s29.postimg.org/o49ig5js3/pr...trude_Mesh.png Three scripts lead to different results: - 'runscript_likeTutorial': creates more or less the tutorial case (corresponds to the first figure). - 'runscript_extrude1/2': uses 'extrudeMesh' in two different ways (lead to second figure). Question: How can you use 'extrudeMesh' and dynamic mesh refinement together? Best Regards, Peter Details: 1.) One problem is that the fields cellLevel and pointLevel in the directory constant/polyMesh need to be deleted for 'interDyMFoam'. In 'runscript_extrude1' they are deleted, in 'runscript_extrude2' the cellLevel field is kind of reconstructed with the 'refinementLevel'-utility. Both do not work (-> many protected cells). edit: same question asked here: https://www.cfd-online.com/Forums/op...tml#post647510 |
Issue solved (+)
This issue will probably be solved in the next openfoam.com-version (1712), as Mattijs Janssens improved the code, see
https://develop.openfoam.com/Develop...lus/issues/471 |
Dear Jasmin,
Hi, I also face a similar problem. When I try to increase the cell number the extrudeToRegionMesh utility may not run, the error says that :'Zone panel is not consistently all internal or all boundary faces. Face 53248 at (0 1.20625 0.1) is the first occurrence.', and I cannot understand it. Could you please provide some information to help me to solve the problem? Thanks a lot! |
All times are GMT -4. The time now is 04:54. |