CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > ANSYS Meshing & Geometry

[ANSYS Meshing] Problem with specifying first element size in 2D Mesh

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

Reply
 
LinkBack Thread Tools Display Modes
Old   November 13, 2012, 08:04
Default Problem with specifying first element size in 2D Mesh
  #1
New Member
 
Join Date: Oct 2012
Posts: 4
Rep Power: 4
sigmundab is on a distinguished road
Hi

I'm trying to model turbulent flow in an axis symetric pipe using fluent. This requires high control of the first node from the wall (y ~10^-4). For the time being I have accomplished this using sizing with bias on the edges (in Ansys Meshing). When using this approach, I do not feel I'm in control of the first node, regardless of choosing element size or numbers of divisions.

I would like to specify first node size and a growth factor, is there a way to do that?

I have included an example mesh below.

Regards
Sigmund
Attached Images
File Type: jpg mesh.jpg (70.0 KB, 93 views)

Last edited by sigmundab; November 13, 2012 at 10:44.
sigmundab is offline   Reply With Quote

Old   November 13, 2012, 09:53
Default
  #2
New Member
 
A
Join Date: Nov 2012
Location: France
Posts: 7
Rep Power: 4
bansa9643 is on a distinguished road
Hello Sigmund,

I have a similar problem.. I would like to control the first element size (i.e. boundary layer size) once bias has been used in Ansys Meshing for edge sizes. (in case of a structured mesh)

When face sizing is used, one can use a boundary layer(inflation) option where one can control the first element size. But in this case, the resulting mesh is unstructured!

Any suggestions where one can control the boundary layer element size while ensuring a structured mesh would be very helpful!

bansa9643
bansa9643 is offline   Reply With Quote

Old   November 18, 2012, 13:40
Default
  #3
New Member
 
Join Date: Oct 2012
Posts: 4
Rep Power: 4
sigmundab is on a distinguished road
Nice to see that there are more people out there with similar problems. Hopefully there is someone out there with the answer to our problem as well. The floor is open
sigmundab is offline   Reply With Quote

Old   November 18, 2012, 14:52
Default
  #4
Super Moderator
 
diamondx's Avatar
 
Ghazlani M. Ali
Join Date: May 2011
Location: Canada
Posts: 1,291
Blog Entries: 23
Rep Power: 20
diamondx will become famous soon enough
i had never used ansys meshing to meshing a 2d case, i always use icem. the feature that can allow you to do so is by applying inflation. try this, select that edge, right button click, insert inflation. While setting up the parameter for inflation you can give it the size of the first element. i do this with surface in 3d, i guess it will work in 2d two.
I hope it can help
__________________
Regards,
New to ICEM CFD, try this document --> http://goo.gl/G2gkE
Ali
diamondx is offline   Reply With Quote

Old   November 19, 2012, 06:17
Default
  #5
New Member
 
Join Date: Oct 2012
Posts: 4
Rep Power: 4
sigmundab is on a distinguished road
Thanks for the response Ali.

The inflation function works fine, the problem is what happens beyond the inflated area. I want that area to be structured, but it ends up being unstructured.

What I thought would be the solution, was to combine inflation with size functions and/or mapped face meshing. With size functions it was still unstructured and the combination of inflation and "mapped face meshing" is invalid (at least with the default settings).

The only way I've been able to create a structured mesh is by using sizing functions with bias (in combo with mapped face surface), but then again I cannot get the accurate first element size close to the wall.

Should I try a different meshing program, or do anyone know how to solve this in Ansys Meshing?

Regards
Sigmund
sigmundab is offline   Reply With Quote

Old   November 19, 2012, 10:36
Default
  #6
Super Moderator
 
diamondx's Avatar
 
Ghazlani M. Ali
Join Date: May 2011
Location: Canada
Posts: 1,291
Blog Entries: 23
Rep Power: 20
diamondx will become famous soon enough
as i never tried, it is hard to believe that it's impossible to do it with ansys meshing. What i can suggest you is ICEM CFD. very easy to use with 2d geometries and you have total control over your fist cell height ... we can help you with icem cfd more than ansys meshing. can you post some screenshot of your geometry ?
__________________
Regards,
New to ICEM CFD, try this document --> http://goo.gl/G2gkE
Ali
diamondx is offline   Reply With Quote

Old   November 21, 2012, 10:57
Default Not exectly a solution...
  #7
New Member
 
Join Date: Oct 2012
Posts: 4
Rep Power: 4
sigmundab is on a distinguished road
Today I received an answer from Ansys support center. They could inform me that in Ansys meshing one can not use inflation and get a structured grid (in 2D). The only solution is to use sizing with bias and mapped face meshing, and a great amount of trial and error to get desired result.

Sigmund
sigmundab is offline   Reply With Quote

Old   November 21, 2012, 11:32
Default
  #8
Super Moderator
 
diamondx's Avatar
 
Ghazlani M. Ali
Join Date: May 2011
Location: Canada
Posts: 1,291
Blog Entries: 23
Rep Power: 20
diamondx will become famous soon enough
Quote:
Originally Posted by sigmundab View Post
Today I received an answer from Ansys support center. They could inform me that in Ansys meshing one can not use inflation and get a structured grid (in 2D). The only solution is to use sizing with bias and mapped face meshing, and a great amount of trial and error to get desired result.

Sigmund
thanks you for sharing this...
__________________
Regards,
New to ICEM CFD, try this document --> http://goo.gl/G2gkE
Ali
diamondx is offline   Reply With Quote

Old   November 25, 2012, 02:29
Default
  #9
Senior Member
 
Crank-Shaft's Avatar
 
Ovi
Join Date: Oct 2012
Location: Sydney, Australia
Posts: 141
Rep Power: 4
Crank-Shaft is on a distinguished road
I have thought about this problem in the past as well however, did not investigate any further and simply found that the y+ values were suitable for my analysis by SOME trial and error.

After having learnt about the definitions themselves however, I believe you should be able to do some simple, manual calculations and implement this using the Element Size option. Based on limited knowledge, you could firstly specify the largest cell size you want in the wall-normal direction and then using the definition of bias factor as simply a length ratio between the largest and smallest cells to calculate the required value.

I guess this technique is not exactly accurate but should save you a lot of iterations compared to a complete trial and error approach.
__________________
--
Mechanical Engineering
Sydney, Australia


Crank-Shaft is offline   Reply With Quote

Reply

Tags
2d meshing, sizing, turbulent boundary layer

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
No layers in a small gap bobburnquist OpenFOAM Native Meshers: snappyHexMesh and Others 6 August 26, 2015 09:38
Number of cells in mesh don't match with size of cellLevel colinB OpenFOAM Native Meshers: snappyHexMesh and Others 11 January 13, 2015 12:47
[ICEM] Generating Mesh for STL Car in Windtunnel Simulation tommymoose ANSYS Meshing & Geometry 48 April 15, 2013 04:24
Deciding the mesh element size in CFD saisanthoshm88 Main CFD Forum 5 August 3, 2012 10:48
2D Mesh Generation Tutorial for GMSH aeroslacker Open Source Meshers: Gmsh, Netgen, CGNS, ... 12 January 19, 2012 04:52


All times are GMT -4. The time now is 21:40.