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

[ANSYS Meshing] inflation around a cube

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 11, 2017, 12:41
Smile inflation around a cube
  #1
New Member
 
zeng
Join Date: Dec 2016
Posts: 14
Rep Power: 9
zeng1017 is on a distinguished road
Dear all,
Happy new year. I have tried to do inflation around a cube for two weeks, but still have problem. I would like to generate mesh like the Picture 1. However, what i got from ANSYS meshing is like Picture 2, which is a trapezoid, rather than a square. I have turned off collision avoidance.

I also tried to do it like Picture 3. I cut my domain into several parts in Design modeler, and do inflation for the edges of each part. However around the corner, I got Picture 4. The two interacted inflation couldn't cross each other.

The inflation group of Global mesh controls is shown as picture 5.

Ansys is new to me. If you have any idea, please let me know. Any help appreciated.
Attached Images
File Type: png picture 1.PNG (36.7 KB, 419 views)
File Type: png picture 2.PNG (16.2 KB, 148 views)
File Type: jpg Picture 3.jpg (64.2 KB, 396 views)
File Type: png Picture 4.PNG (12.7 KB, 127 views)
File Type: png picture 5.PNG (12.2 KB, 89 views)
zeng1017 is offline   Reply With Quote

Old   January 11, 2017, 12:51
Default
  #2
New Member
 
zeng
Join Date: Dec 2016
Posts: 14
Rep Power: 9
zeng1017 is on a distinguished road
Picture 6 is my local inflation control. Hope I have made my question clear.
Attached Images
File Type: png picture 6.PNG (9.5 KB, 79 views)
zeng1017 is offline   Reply With Quote

Old   January 13, 2017, 15:06
Default
  #3
Senior Member
 
Join Date: Feb 2011
Posts: 496
Rep Power: 18
Antanas is on a distinguished road
To get what's on image 1 try to split your geometry and use sweep/multizone with mapped face meshing (see attachment). To get what's on image 3 you should use inflation, but edge sizings (hard) with biasing.
Attached Images
File Type: png picture 2 (1).PNG (9.8 KB, 117 views)
Antanas is offline   Reply With Quote

Old   January 13, 2017, 15:27
Default
  #4
New Member
 
Join Date: Aug 2016
Posts: 14
Rep Power: 10
jjfm20 is on a distinguished road
Hello, I do recommend you to use local edge sizing, you can set there a bias and control in a better way the meshing. .. This work for multizone method, setting the sizing as "hard".

Regards

Sent from my LG-K430 using CFD Online Forum mobile app
jjfm20 is offline   Reply With Quote

Old   January 14, 2017, 00:03
Smile
  #5
New Member
 
zeng
Join Date: Dec 2016
Posts: 14
Rep Power: 9
zeng1017 is on a distinguished road
Quote:
Originally Posted by Antanas View Post
To get what's on image 1 try to split your geometry and use sweep/multizone with mapped face meshing (see attachment). To get what's on image 3 you should use inflation, but edge sizings (hard) with biasing.
Thanks a lot for your sketch, Antanas. I will try it out tomorrow. To be honest, I don't know how to use sweep and multizone. I am gonna to learn from the users guide.
zeng1017 is offline   Reply With Quote

Old   January 14, 2017, 00:12
Default
  #6
New Member
 
zeng
Join Date: Dec 2016
Posts: 14
Rep Power: 9
zeng1017 is on a distinguished road
Quote:
Originally Posted by jjfm20 View Post
Hello, I do recommend you to use local edge sizing, you can set there a bias and control in a better way the meshing. .. This work for multizone method, setting the sizing as "hard".

Regards

Sent from my LG-K430 using CFD Online Forum mobile app
Thanks a lot for your suggestion. It seems multizone is better than cutting the domain into pieces in the Design Modeler. I don't know how to use multizone, but I will learn that tomorrow. Thanks again.
zeng1017 is offline   Reply With Quote

Old   January 16, 2017, 14:07
Default
  #7
New Member
 
zeng
Join Date: Dec 2016
Posts: 14
Rep Power: 9
zeng1017 is on a distinguished road
Quote:
Originally Posted by Antanas View Post
To get what's on image 1 try to split your geometry and use sweep/multizone with mapped face meshing (see attachment). To get what's on image 3 you should use inflation, but edge sizings (hard) with biasing.
Quote:
Originally Posted by jjfm20 View Post
Hello, I do recommend you to use local edge sizing, you can set there a bias and control in a better way the meshing. .. This work for multizone method, setting the sizing as "hard".

Regards

Sent from my LG-K430 using CFD Online Forum mobile app

Hi Antanas and jjfm20,
I have finally generated the mesh I want. However, the Fluent calculation diverged when using this mesh (please see picture 7). Then I generated mesh again by only using "inflation" and "face sizing"(please see picture 8). This time it worked well. I found the maximum corner angle is 137.76 ° for picture 7. Is it the reason?

Thanks in advanced.
Attached Images
File Type: jpg picture7.jpg (89.0 KB, 116 views)
File Type: png picture8.PNG (37.3 KB, 111 views)
zeng1017 is offline   Reply With Quote

Old   January 17, 2017, 03:05
Default
  #8
siw
Senior Member
 
Stuart
Join Date: Jul 2009
Location: Portsmouth, England
Posts: 739
Rep Power: 26
siw will become famous soon enough
You have a significant element size change between the last inflation layer element and the first quad element. If you are modelling the flow over the cube then this region would be have some flowfield features, unlike in the farfield, so make more inflation layers to have a smoother size transition. Would finer mesh resolution in the wake of the cube improve your solution convergence? You have not given any information about the simulation this mesh is for.

This is all covered in the ANSYS Meshing training material (see the Lecture 5 presentation) which, as an ANSYS customer, you can download from their customer portal.
siw is offline   Reply With Quote

Old   January 17, 2017, 06:04
Default
  #9
New Member
 
zeng
Join Date: Dec 2016
Posts: 14
Rep Power: 9
zeng1017 is on a distinguished road
Quote:
Originally Posted by siw View Post
You have a significant element size change between the last inflation layer element and the first quad element. If you are modelling the flow over the cube then this region would be have some flowfield features, unlike in the farfield, so make more inflation layers to have a smoother size transition. Would finer mesh resolution in the wake of the cube improve your solution convergence? You have not given any information about the simulation this mesh is for.

This is all covered in the ANSYS Meshing training material (see the Lecture 5 presentation) which, as an ANSYS customer, you can download from their customer portal.
Hi Stuart,
Thanks a lot for your reply. I am modeling the flow over cubes(please see picture 9). I am using periodic boundary conditions. The inlet and outlet are cyclic. I know it is not good to have a significant element size change between the last inflation layer element and the first quad element. However, In order to get rid of the element size jump, the inflation may need to be increased to 42 layers. Would that be too many layers?
Attached Images
File Type: jpg picture9.jpg (174.1 KB, 80 views)
zeng1017 is offline   Reply With Quote

Old   January 17, 2017, 08:51
Default
  #10
siw
Senior Member
 
Stuart
Join Date: Jul 2009
Location: Portsmouth, England
Posts: 739
Rep Power: 26
siw will become famous soon enough
I have done similar simulations myself . You cannot have too many inflation layers, just keep layering them to transition smoothly into the farfield mesh and since those are quad elements then you should not really see where the inflation layer ends. Also their aspect ratio will reduce away from the wall to be more suited to the separated flow around those cubes.

See Slide 97 of the ANSYS Meshing presentation here https://www.ozeninc.com/wp-content/u...KSHOP_2014.pdf.

Last edited by siw; January 17, 2017 at 11:15. Reason: Typo
siw is offline   Reply With Quote

Old   January 17, 2017, 11:35
Default
  #11
New Member
 
zeng
Join Date: Dec 2016
Posts: 14
Rep Power: 9
zeng1017 is on a distinguished road
Quote:
Originally Posted by siw View Post
I have done similar simulations myself . You cannot have too many inflation layers, just keep layering them to transition smoothly into the farfield mesh and since those are quad elements then you should not really see where the inflation layer ends. Also their aspect ratio will reduce away from the wall to be more suited to the separated flow around those cubes.

See Slide 97 of the ANSYS Meshing presentation here https://www.ozeninc.com/wp-content/u...KSHOP_2014.pdf.
Thanks a lot for your information. It is very useful. I will spend a day trying to understand and then modify my mesh. By the way, which kind of mesh may give better result? I find the following two mesh are commonly used.
zeng1017 is offline   Reply With Quote

Old   January 17, 2017, 12:39
Default
  #12
siw
Senior Member
 
Stuart
Join Date: Jul 2009
Location: Portsmouth, England
Posts: 739
Rep Power: 26
siw will become famous soon enough
As always there are pros and cons with both, and different CFDers may give different answers.

I would say the first picture avoids the propagation of the very high aspect ratio cells at the cube walls extending into the flowfield which is not suitable for the turbulent wake regions (hence LES in that area should have cells with unity aspect ratio). However, in the first picture the cells angles deviate from 90deg due to the corners. Which gives the lowest total cell quantity? I would go with the first picture.

But the best way to find out is to run a solution on each mesh and compare the results.
siw is offline   Reply With Quote

Old   January 17, 2017, 13:03
Default
  #13
New Member
 
zeng
Join Date: Dec 2016
Posts: 14
Rep Power: 9
zeng1017 is on a distinguished road
Quote:
Originally Posted by siw View Post
As always there are pros and cons with both, and different CFDers may give different answers.

I would say the first picture avoids the propagation of the very high aspect ratio cells at the cube walls extending into the flowfield which is not suitable for the turbulent wake regions (hence LES in that area should have cells with unity aspect ratio). However, in the first picture the cells angles deviate from 90deg due to the corners. Which gives the lowest total cell quantity? I would go with the first picture.

But the best way to find out is to run a solution on each mesh and compare the results.
You perfectly answered my question. I appreciate your help. I would spend a day to understand the suggestions in the post and then generate a mesh. Have a good evening. Thanks again.
zeng1017 is offline   Reply With Quote

Old   January 18, 2017, 11:49
Default
  #14
New Member
 
hemant mittal
Join Date: Feb 2016
Posts: 21
Rep Power: 10
hemmt is on a distinguished road
Quote:
Originally Posted by zeng1017 View Post
You perfectly answered my question. I appreciate your help. I would spend a day to understand the suggestions in the post and then generate a mesh. Have a good evening. Thanks again.
hello zeng.

I m also working on similar type of simulation.
so please guide me generate this type of mesh.
hemmt is offline   Reply With Quote

Old   January 18, 2017, 12:01
Default
  #15
New Member
 
zeng
Join Date: Dec 2016
Posts: 14
Rep Power: 9
zeng1017 is on a distinguished road
Quote:
Originally Posted by hemmt View Post
hello zeng.

I m also working on similar type of simulation.
so please guide me generate this type of mesh.
Hi Hemant,
I hope I can help. The following pictures are what I got in this few days.
"mapped face meshing" has been removed from V171, so I just used multizone and inflation.
I am still looking a way to generate mesh like picture 1.
If anybody has any idea, please let us know.
Attached Images
File Type: jpg IMG_20170117_1521573.jpg (207.1 KB, 74 views)
File Type: jpg IMG_20170117_2022483.jpg (201.2 KB, 66 views)
zeng1017 is offline   Reply With Quote

Old   January 18, 2017, 12:27
Default
  #16
siw
Senior Member
 
Stuart
Join Date: Jul 2009
Location: Portsmouth, England
Posts: 739
Rep Power: 26
siw will become famous soon enough
The only way to get the mesh shown in Picture 1 using ANSYS Meshing is to decompose the geometry into 4-sided (if this is 2D) blocks. Unlike ICEM in which you can make the blocking topology at the mesh level, ANSYS Meshing requires this to be done at the geometry level, so for instance smoothing of the mesh across geometry blocks is not possible.

Use DesignModeler or similar to slice your domain into blocks and then you can use edge sizings (with bias if you like).

I have attached a quick test of what I think you want using DesignModeler and Meshing inside Workbench using v17.2. Unzip and then un-archive in Workbench. I have used a MultiBody Part and notice there is no smoothing.
Attached Files
File Type: zip Mesh.zip (87.0 KB, 18 views)
siw is offline   Reply With Quote

Old   January 18, 2017, 12:53
Default
  #17
New Member
 
zeng
Join Date: Dec 2016
Posts: 14
Rep Power: 9
zeng1017 is on a distinguished road
Quote:
Originally Posted by siw View Post
The only way to get the mesh shown in Picture 1 using ANSYS Meshing is to decompose the geometry into 4-sided (if this is 2D) blocks. Unlike ICEM in which you can make the blocking topology at the mesh level, ANSYS Meshing requires this to be done at the geometry level, so for instance smoothing of the mesh across geometry blocks is not possible.

Use DesignModeler or similar to slice your domain into blocks and then you can use edge sizings (with bias if you like).

I have attached a quick test of what I think you want using DesignModeler and Meshing inside Workbench using v17.2. Unzip and then un-archive in Workbench. I have used a MultiBody Part and notice there is no smoothing.

Hi Stuart,
Nice to hear from you again. I drew a sketch for better understanding your idea. Is it what you mean?
Attached Images
File Type: jpg IMG_20170118_1143010.jpg (118.3 KB, 60 views)
zeng1017 is offline   Reply With Quote

Old   January 18, 2017, 14:00
Default
  #18
siw
Senior Member
 
Stuart
Join Date: Jul 2009
Location: Portsmouth, England
Posts: 739
Rep Power: 26
siw will become famous soon enough
Basically, yes. Take a look at the file I uploaded.
siw is offline   Reply With Quote

Old   January 18, 2017, 22:53
Default
  #19
New Member
 
hemant mittal
Join Date: Feb 2016
Posts: 21
Rep Power: 10
hemmt is on a distinguished road
Quote:
Originally Posted by zeng1017 View Post
Hi Hemant,
I hope I can help. The following pictures are what I got in this few days.
"mapped face meshing" has been removed from V171, so I just used multizone and inflation.
I am still looking a way to generate mesh like picture 1.
If anybody has any idea, please let us know.
thanks Zeng,
for your inputs
now let me try it again.
hemmt is offline   Reply With Quote

Old   January 19, 2017, 03:16
Default
  #20
Senior Member
 
Join Date: Feb 2011
Posts: 496
Rep Power: 18
Antanas is on a distinguished road
Quote:
Originally Posted by zeng1017 View Post
"mapped face meshing" has been removed from V171
Wrong. It's still there.
Attached Images
File Type: png fm.png (35.3 KB, 51 views)
Antanas is offline   Reply With Quote

Reply


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
[ANSYS Meshing] Problems with creating a hex-uniform MultiZone Mash with Inflation AnnaF ANSYS Meshing & Geometry 4 April 19, 2019 07:24
Cooling cube in a room John_Major System Analysis 0 July 4, 2015 04:24
[snappyHexMesh] snappyHexMesh on sharp corners (cube) Regis_ OpenFOAM Meshing & Mesh Conversion 0 June 5, 2015 00:47
Fluent diverges when using inflation layers ziggo FLUENT 4 August 9, 2013 13:11
Gambit help: Cube inside cube Jack Martinez FLUENT 13 August 11, 2010 07:29


All times are GMT -4. The time now is 22:56.