CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Meshing & Mesh Conversion

[mesh manipulation] extrudeMesh

Register Blogs Community New Posts Updated Threads Search

Like Tree6Likes
  • 4 Post By wyldckat
  • 2 Post By haakon

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 26, 2013, 17:19
Default extrudeMesh
  #1
Member
 
yu
Join Date: Nov 2010
Posts: 39
Rep Power: 15
xiyuqiu is on a distinguished road
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
xiyuqiu is offline   Reply With Quote

Old   April 1, 2013, 13:00
Default
  #2
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,975
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
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
In addition, the reference dictionary file is located at:
Code:
$WM_PROJECT_DIR/applications/utilities/mesh/generation/extrude/extrudeMesh/extrudeMeshDict
You can look at it online here: https://github.com/OpenFOAM/OpenFOAM...xtrudeMeshDict

Best regards,
Bruno
njdyck, aow, Ship Designer and 1 others like this.
__________________
wyldckat is offline   Reply With Quote

Old   April 2, 2013, 04:29
Default
  #3
Senior Member
 
Join Date: Dec 2011
Posts: 111
Rep Power: 19
haakon will become famous soon enough
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
aow and sourav90 like this.
haakon is offline   Reply With Quote

Old   April 2, 2013, 23:53
Default
  #4
Member
 
yu
Join Date: Nov 2010
Posts: 39
Rep Power: 15
xiyuqiu is on a distinguished road
Thank you guys. This is very helpful.
xiyuqiu is offline   Reply With Quote

Old   April 3, 2016, 23:58
Default
  #5
New Member
 
Jasmin Nohl
Join Date: Nov 2015
Location: germany
Posts: 3
Rep Power: 10
Jasmin is on a distinguished road
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
Jasmin is offline   Reply With Quote

Old   April 10, 2016, 14:01
Default
  #6
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,975
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
Quote:
Originally Posted by Jasmin View Post
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.
Quick note: Please follow the instructions given here: http://www.cfd-online.com/Forums/ope...-get-help.html

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.
wyldckat is offline   Reply With Quote

Old   May 17, 2016, 03:21
Default
  #7
New Member
 
Jasmin Nohl
Join Date: Nov 2015
Location: germany
Posts: 3
Rep Power: 10
Jasmin is on a distinguished road
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.
Jasmin is offline   Reply With Quote

Old   May 3, 2017, 09:17
Default
  #8
Member
 
Peter
Join Date: Nov 2015
Location: Hamburg, Germany
Posts: 57
Rep Power: 10
potentialFoam is on a distinguished road
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
in version 1606 (see link above). It also works with version 4.1. This case can be downloaded here:
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 11:06.
potentialFoam is offline   Reply With Quote

Old   December 7, 2017, 05:00
Default Issue solved (+)
  #9
Member
 
Peter
Join Date: Nov 2015
Location: Hamburg, Germany
Posts: 57
Rep Power: 10
potentialFoam is on a distinguished road
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
potentialFoam is offline   Reply With Quote

Old   April 5, 2018, 10:58
Default
  #10
New Member
 
mollyli
Join Date: Feb 2018
Posts: 3
Rep Power: 8
mollyli is on a distinguished road
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!
mollyli is offline   Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


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 20:46
[mesh manipulation] extrudeMesh limits Adaptive/Dynamic Mesh Refinenemt potentialFoam OpenFOAM Meshing & Mesh Conversion 3 January 29, 2018 03:42
[mesh manipulation] Generating 3-D axisymmetric mesh using extrudeMesh martyn88 OpenFOAM Meshing & Mesh Conversion 17 June 21, 2017 19:42
[snappyHexMesh] Problem with extrudeMesh sHM 2D airfoil mesh ssss OpenFOAM Meshing & Mesh Conversion 2 September 1, 2014 13:12
[snappyHexMesh] snappyHexMesh after extrudeMesh / Creating background mesh with extrudeMesh pythag0ra5 OpenFOAM Meshing & Mesh Conversion 3 September 11, 2013 09:10


All times are GMT -4. The time now is 13:32.