CFD Online Logo CFD Online URL
Home > Forums > ANSYS Meshing & Geometry

[ICEM] Mesh stretching with tetrahedras

Register Blogs Members List Search Today's Posts Mark Forums Read

LinkBack Thread Tools Display Modes
Old   December 8, 2011, 08:52
Default Mesh stretching with tetrahedras
New Member
Join Date: Sep 2010
Posts: 11
Rep Power: 9
MrAnderson is on a distinguished road
Dear All,

Is there anyone who knows how to perform stretching of tetrahedral mesh. I have a simple case where the fluid is supposed to flow past a rectangular beam in a rectangular channel. Basically, I want have a dense mesh just behind the beam and then gradually coarsen towards the outlet of the channel. I did try the function under Edit Mesh -> Adjust Mesh Density, however this function did not yield a gradual change of the mesh.

I am looking forward to any kind of help.

MrAnderson is offline   Reply With Quote

Old   December 9, 2011, 11:03
Default Delaunay generates a smoother mesh...
Retired from CFD Online
PSYMN's Avatar
Simon Pereira
Join Date: Mar 2009
Location: Ann Arbor, MI
Posts: 2,665
Blog Entries: 1
Rep Power: 39
PSYMN has a spectacular aura aboutPSYMN has a spectacular aura about
If you just want a more gradual change from a refined area to a coarse area, you should probably use a density region to refine the fine area and replace your octree mesh with delaunay. By definition, Octree mesh needs to change sizes in powers of 2. But if you start with an Ocree mesh and then smooth the surface mesh, and then go back to generate mesh and switch to "Delaunay" "From existing surface mesh" you can generate the smoother transitioning mesh you are looking for. Don't forget to add the density box to control the max size int he volume of interest.

If you are looking for stretched (anisotripic) tet, ICEM CFD generates only isotropic meshes. One way around this is the squish and stretch... You scale the geometry in one or two dimensions to squish it... Then you mesh it. Then you scale the geometry and mesh back to the original dimensions to stretch it back out again... But this gives a uniform stretch to the entire mesh...
Please help guide development at ANSYS by filling in these surveys

Public ANSYS ICEM CFD Users Survey

This second one is more general (Gambit, TGrid and ANSYS Meshing users welcome)...

CFD Online Users Survey
PSYMN is offline   Reply With Quote

Old   December 28, 2011, 07:49
Default Delaunay for a smoother mesh
New Member
Join Date: Sep 2010
Posts: 11
Rep Power: 9
MrAnderson is on a distinguished road
Dear Sir,

Many thanks for your guide!

If I follow the first part of your description, does it mean that I only need to add the density region at the back surface of the beam.
Actually I did this, however, by doing this I only can get refinement at the proximity of the beam. That is, I would like to have a much more slowly coarsening mesh all the way to the outlet, since in my case the mesh gets coarsen already after a short distance behind the beam and then is completely uniform.

Do I have to perhaps add a density region at the walls of the fluid-domain as well??
MrAnderson is offline   Reply With Quote

Old   December 29, 2011, 04:52
Default Hi again,
New Member
Join Date: Sep 2010
Posts: 11
Rep Power: 9
MrAnderson is on a distinguished road
Here I attach a cut of the computational domain consisting of the beam at a distance of 4D from the inlet. As you can see, I can manage the high density region at the proximity of the beam. Also, the transition from the high-density region to low-density region is quite smooth. This has been done by utilizing the 'Create Mesh Density' button under the 'Mesh' tab in the main menu. The back surface of the beam was chosen as the density location.

Nevertheless, what I actually would like to be able to do is to perform a more gradual coarsening of the mesh from the back of the beam to the outlet of the channel. As it is now, I have a constant high-density region from the back of the beam to a certain distance in the channel, then a smooth transition from the high- to low-density region, and then again a constant low-density region. My actual purpose is basically to perform a continuous coarsening of the mesh from the beam towards the outlet and the side-walls of the channel.

If anyone knows how to perform this for unstructured tetrahedral mesh, please let me know.
A detailed guide would be appreciated since I am a beginner with ICEM.
Attached Images
File Type: jpg BeamInFluidDomain.jpg (70.6 KB, 29 views)
MrAnderson is offline   Reply With Quote


Thread Tools
Display Modes

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 On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
[ICEM] surface mesh merging problem everest ANSYS Meshing & Geometry 44 April 14, 2016 06:41
Converting Starccm+ mesh Ladnam OpenFOAM 0 September 14, 2011 06:30
engrid -> save as .stl with boundarie codes Zymon enGrid 31 August 29, 2011 13:40
snappyHexMesh won't work - zeros everywhere! sc298 OpenFOAM Native Meshers: snappyHexMesh and Others 2 March 27, 2011 21:11
basic of mesh refinement arya CFX 4 June 19, 2007 12:21

All times are GMT -4. The time now is 20:09.