|
[Sponsors] |
March 26, 2013, 18:19 |
extrudeMesh
|
#1 |
Member
yu
Join Date: Nov 2010
Posts: 39
Rep Power: 16 |
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 |
|
April 1, 2013, 14:00 |
|
#2 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
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
__________________
|
|
April 2, 2013, 05:29 |
|
#3 |
Senior Member
Join Date: Dec 2011
Posts: 111
Rep Power: 20 |
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 |
|
April 3, 2013, 00:53 |
|
#4 |
Member
yu
Join Date: Nov 2010
Posts: 39
Rep Power: 16 |
Thank you guys. This is very helpful.
|
|
April 4, 2016, 00:58 |
|
#5 |
New Member
Jasmin Nohl
Join Date: Nov 2015
Location: germany
Posts: 3
Rep Power: 11 |
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 |
|
April 10, 2016, 15:01 |
|
#6 | |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
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. |
||
May 17, 2016, 04:21 |
|
#7 |
New Member
Jasmin Nohl
Join Date: Nov 2015
Location: germany
Posts: 3
Rep Power: 11 |
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. |
|
May 3, 2017, 10:17 |
|
#8 |
Member
Peter
Join Date: Nov 2015
Location: Hamburg, Germany
Posts: 57
Rep Power: 11 |
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: Secondly, the following figure shows the result after 'extrudeMesh' was used: 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: Adaptive mesh refinement Last edited by potentialFoam; May 3, 2017 at 12:06. |
|
December 7, 2017, 06:00 |
Issue solved (+)
|
#9 |
Member
Peter
Join Date: Nov 2015
Location: Hamburg, Germany
Posts: 57
Rep Power: 11 |
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 |
|
April 5, 2018, 11:58 |
|
#10 |
New Member
mollyli
Join Date: Feb 2018
Posts: 3
Rep Power: 8 |
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! |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[mesh manipulation] extrudeMesh can't find any patches | shang2 | OpenFOAM Meshing & Mesh Conversion | 6 | February 26, 2021 21:46 |
[mesh manipulation] extrudeMesh limits Adaptive/Dynamic Mesh Refinenemt | potentialFoam | OpenFOAM Meshing & Mesh Conversion | 3 | January 29, 2018 04:42 |
[mesh manipulation] Generating 3-D axisymmetric mesh using extrudeMesh | martyn88 | OpenFOAM Meshing & Mesh Conversion | 17 | June 21, 2017 20:42 |
[snappyHexMesh] Problem with extrudeMesh sHM 2D airfoil mesh | ssss | OpenFOAM Meshing & Mesh Conversion | 2 | September 1, 2014 14:12 |
[snappyHexMesh] snappyHexMesh after extrudeMesh / Creating background mesh with extrudeMesh | pythag0ra5 | OpenFOAM Meshing & Mesh Conversion | 3 | September 11, 2013 10:10 |