|
[Sponsors] |
![]() |
![]() |
#1 |
Senior Member
Mehdi Baba Mehdi
Join Date: Jan 2011
Posts: 158
Rep Power: 14 ![]() |
I want to know if it is possible to extrude 2D mesh in Gmsh and have grading in the direction of extrusion. for example, in the command, it generate 12 layer in len of z direction with equal interval. I want to know that if it is possible to have grading in z direction
Code:
Extrude {0, 0, z_len} { Surface{1}; Layers{12}; Recombine;} Last edited by mb.pejvak; February 21, 2020 at 07:24. |
|
![]() |
![]() |
![]() |
![]() |
#2 |
Senior Member
Mehdi Baba Mehdi
Join Date: Jan 2011
Posts: 158
Rep Power: 14 ![]() |
For the users who may need the solution
HTML Code:
https://www.cfd-online.com/Forums/openfoam-meshing/179247-using-bump-extrude-layers-gmsh.html Last edited by mb.pejvak; February 22, 2020 at 10:49. |
|
![]() |
![]() |
![]() |
![]() |
#3 |
Senior Member
Mehdi Baba Mehdi
Join Date: Jan 2011
Posts: 158
Rep Power: 14 ![]() |
The method mentioned above can not generate 3D mesh, to solve the problem asked in the question, it should be done by manipulation Layer attribute in extrude command in this way
Code:
Extrude {0, 0, z_len} { Surface{1}; Layers{{6,3,2},{0.2,0.5,1}}; Recombine;} |
|
![]() |
![]() |
![]() |
Tags |
gmsh, grading |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
[mesh manipulation] Importing Multiple Meshes | thomasnwalshiii | OpenFOAM Meshing & Mesh Conversion | 18 | December 19, 2015 18:57 |
[ICEM] extrude surface mesh for solid wall | Daniel_Khazaei | ANSYS Meshing & Geometry | 13 | May 29, 2014 09:25 |
Convergence moving mesh | lr103476 | OpenFOAM Running, Solving & CFD | 30 | November 19, 2007 14:09 |
Icemcfd 11: Loss of mesh from surface mesh option? | Joe | CFX | 2 | March 26, 2007 18:10 |
How to control Minximum mesh space? | hung | FLUENT | 7 | April 18, 2005 09:38 |