CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Special Topics > Mesh Generation & Pre-Processing

Extrusion for non-uniform meshes in GMSH

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 10, 2024, 22:31
Default Extrusion for non-uniform meshes in GMSH
  #1
New Member
 
Priyanshu Pokhrel
Join Date: Oct 2024
Posts: 1
Rep Power: 0
priyanshuFSI is on a distinguished road
Hi everyone,

I'm new to GMSH and having some trouble with creating a 3D mesh from a surface extrusion.

Here’s the situation: I have a 2D surface with non-uniform element sizes. Near the walls, the elements are much smaller—about 20 times smaller than those further away. When I extrude this surface to create a 3D mesh, I have the option to set the number of layers. From what I understand, the number of layers will control the element size in the third dimension, right?

The problem is, if I choose a number of layers that matches the size of the larger elements (away from the walls), the aspect ratio of the smaller elements (near the walls) gets distorted. But if I adjust for the smaller elements, the larger ones end up being too thin and stretched.

Is there a way in GMSH to control the extrusion size in the third dimension in a way that avoids messing up the aspect ratios? Any suggestions on how to tackle this would be greatly appreciated!.

Thanks in advance
priyanshuFSI is offline   Reply With Quote

Reply

Tags
extrusion, gmsh


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
How to apply a turbulence model to the rhoCentralFoam solver? arussell92 OpenFOAM Pre-Processing 18 July 25, 2022 05:26
twoPhaseEulerFoam confined plunging jet simulation failed ves OpenFOAM Running, Solving & CFD 2 June 17, 2020 06:08
Fluid stuck in pipe simulating jet in crossflow jammy4536 OpenFOAM Running, Solving & CFD 7 June 2, 2020 06:55
Boundary Conditions MtnRunBeachBum OpenFOAM Pre-Processing 1 April 30, 2015 17:33
simpleFoam Floating point error (Core Dumped) sam.ho OpenFOAM Running, Solving & CFD 2 December 31, 2013 07:57


All times are GMT -4. The time now is 10:44.