Gmsh, extrude a 2D mesh with grading
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;} |
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 |
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;} |
All times are GMT -4. The time now is 19:31. |