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

[ICEM] Mesh Quality

Register Blogs Community New Posts Updated Threads Search

Like Tree11Likes

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 27, 2012, 18:33
Default Mesh Quality
  #1
New Member
 
alessandro
Join Date: Oct 2010
Posts: 28
Rep Power: 16
alenglaro is on a distinguished road
Hello,
I'm trying to mesh an ahmed body in ICEM. As you can see in the picture I achieved a fairly satisfactory result. Premesh quality is above 0.5, as well as orthogonal quality once i converted premesh into unstructured mesh. Determinant is above 0.75, min angle between 26 and 100 degrees. Tgrid skew (if it's meaningful for hexa elements) is less than 0.65. Apparently should be ok but when I import the mesh into fluent i get a warning about wall distance (probably due to high aspect ratio elements in the boundary layer) and the orthogonal quality (in fluent) is lower than 0.1.
Only if I increase first boundary layer thickness from 0.01 (that I need for the mesh) to 0.1 or higher quality rises above 0.5.
What's wrong and what can i do? Why ICEM tells me that's a good mesh when fluent thinks it's not?
Thank you very much
Attached Images
File Type: jpg ahmed.jpg (95.8 KB, 1040 views)
Grrzx likes this.
alenglaro is offline   Reply With Quote

Old   May 28, 2012, 01:31
Default
  #2
Far
Senior Member
 
Sijal
Join Date: Mar 2009
Location: Islamabad
Posts: 4,558
Blog Entries: 6
Rep Power: 54
Far has a spectacular aura aboutFar has a spectacular aura about
Send a message via Skype™ to Far
Can you attach the .tin and .blk files?
Far is offline   Reply With Quote

Old   May 28, 2012, 06:36
Default .tin and .blk files
  #3
New Member
 
alessandro
Join Date: Oct 2010
Posts: 28
Rep Power: 16
alenglaro is on a distinguished road
Thank you very much!
Attached Files
File Type: zip ahmed.zip (28.3 KB, 307 views)
alenglaro is offline   Reply With Quote

Old   May 28, 2012, 08:02
Default
  #4
Far
Senior Member
 
Sijal
Join Date: Mar 2009
Location: Islamabad
Posts: 4,558
Blog Entries: 6
Rep Power: 54
Far has a spectacular aura aboutFar has a spectacular aura about
Send a message via Skype™ to Far
the minimum orthogonal quality is 0.08 and required is 0.05 (or 0.01 I am not sure). The blocking is very good, however edge mesh parameters setting is not good. Try to improve edge bunching and you will even get higher quality.
Far is offline   Reply With Quote

Old   May 28, 2012, 08:47
Default
  #5
New Member
 
alessandro
Join Date: Oct 2010
Posts: 28
Rep Power: 16
alenglaro is on a distinguished road
where do you see that? in orthogonal quality icems shows me a minimum quality of 0.5. How can I improve edge parameters? Any advice?
Thanks
alenglaro is offline   Reply With Quote

Old   May 28, 2012, 09:51
Default
  #6
Far
Senior Member
 
Sijal
Join Date: Mar 2009
Location: Islamabad
Posts: 4,558
Blog Entries: 6
Rep Power: 54
Far has a spectacular aura aboutFar has a spectacular aura about
Send a message via Skype™ to Far
I meant that the transition of meshing between two blocks should be minimum. Do not copy the meshing, on the bod,y to farfield, in this way you will get cells with very high aspect ratio and low quality. These cells also disturb the convergence.

did you check the mesh in Fluent? are you still getting the warning about the mesh quality?
Dronzer likes this.
Far is offline   Reply With Quote

Old   May 28, 2012, 10:02
Default
  #7
Far
Senior Member
 
Sijal
Join Date: Mar 2009
Location: Islamabad
Posts: 4,558
Blog Entries: 6
Rep Power: 54
Far has a spectacular aura aboutFar has a spectacular aura about
Send a message via Skype™ to Far
Quote:
Originally Posted by alenglaro View Post
where do you see that
Thanks
In fluent, I check it
Far is offline   Reply With Quote

Old   May 28, 2012, 10:04
Default
  #8
New Member
 
alessandro
Join Date: Oct 2010
Posts: 28
Rep Power: 16
alenglaro is on a distinguished road
Yes I checked in fluent the mesh i attached here and asks me to repair wall distance. quality about 0.09, very low, and the simulations goes overflow (even in dp). Maximum aspect ratio over 30k (far from the body). I plotted contours of mesh quality in fluent and the worst elements are in the frontal-lateral surface of the ahmed body (the curved surface). The strange thing is that in icem those elements are marked as high quality
alenglaro is offline   Reply With Quote

Old   May 29, 2012, 02:28
Default
  #9
Far
Senior Member
 
Sijal
Join Date: Mar 2009
Location: Islamabad
Posts: 4,558
Blog Entries: 6
Rep Power: 54
Far has a spectacular aura aboutFar has a spectacular aura about
Send a message via Skype™ to Far
Quote:
Yes I checked in fluent the mesh i attached here and asks me to repair wall distance. quality about 0.09, very low, and the simulations goes overflow (even in dp). Maximum aspect ratio over 30k (far from the body). I plotted contours of mesh quality in fluent and the worst elements are in the frontal-lateral surface of the ahmed body (the curved surface).
Wall distance is the another measure of aspect ratio. It is required by SA and two equation omega based models. You should avoid the high aspect ratio at the far field. Higher aspect ratios are allowed (upto 1000 for dp), but I have also tested the aspect ratios up to 8000-10000 for NASA rotor 37 and results were still comparable to experiments with 2-3% error.

So rule of thumb is that you can go for higher aspect ratios (1000-10000 with dp) in boundary layer but you must avoid them in far field.

Minimum orthogonal quality required is 0.01 and if you are getting problem then you should check settings in Fluent, such as under-relaxation parameters, mesh scaling, mesh units, boundary condition etc..

Quote:
The strange thing is that in icem those elements are marked as high quality
What is the quality (numeric value) of these elements in ICEM?


I am also attaching another blocking today with some minor changes. It has somehow higher quality, although with simpler blocking.

PS: For simulation related problems, post a thread on Fluent (or CFX )forum and we can discuss this there in detail.
Far is offline   Reply With Quote

Old   May 29, 2012, 03:06
Default
  #10
Far
Senior Member
 
Sijal
Join Date: Mar 2009
Location: Islamabad
Posts: 4,558
Blog Entries: 6
Rep Power: 54
Far has a spectacular aura aboutFar has a spectacular aura about
Send a message via Skype™ to Far
Oh, I check the domain extents and they are too close to the body. Body length is approx. 1000 units and downstream is 5000 units (5 lengths) and upstream boundary is 2000 units (2 lengths). And the flow is low subsonic. For this you need at least 10-15 lengths upstream and 20-30 lengths downstream. Similarly 10-15 lengths in Y and Z direction.
Far is offline   Reply With Quote

Old   May 29, 2012, 04:10
Default
  #11
Senior Member
 
scipy's Avatar
 
Alex Pasic
Join Date: Aug 2011
Location: Croatia
Posts: 199
Rep Power: 16
scipy is on a distinguished road
Send a message via Skype™ to scipy
Quote:
Originally Posted by Far View Post
Oh, I check the domain extents and they are too close to the body. Body length is approx. 1000 units and downstream is 5000 units (5 lengths) and upstream boundary is 2000 units (2 lengths). And the flow is low subsonic. For this you need at least 10-15 lengths upstream and 20-30 lengths downstream. Similarly 10-15 lengths in Y and Z direction.
I think he's actually trying to replicate the results of the LSTM wind tunnel testing on the Ahmed body done by Lienhart and that wind tunnel is 1.4 m high, 1.87 m wide (so half of that since symmetry is used), the downstream length is 5L (5*1044) and upstream of 1.3L (he chose 2L).

I've managed to get 1 % agreement with experimental results with a hybrid prism/tetra mesh for the same domain, so I wonder, is the necessity for a larger domain purely because of the hexa elements or? Since I thought they were higher quality elements and as such should experience even less problems than tetras?

In any case, I know for a fact that people from the car industry recommend upstream of about 7-10L max (or at least 100 cells in the direction of the flow before the stagnation point) and downstream of 12-15L, so, why the need for 30L?
Anna Tian likes this.
scipy is offline   Reply With Quote

Old   May 29, 2012, 05:35
Talking Some thoughts
  #12
Far
Senior Member
 
Sijal
Join Date: Mar 2009
Location: Islamabad
Posts: 4,558
Blog Entries: 6
Rep Power: 54
Far has a spectacular aura aboutFar has a spectacular aura about
Send a message via Skype™ to Far
Quote:
I think he's actually trying to replicate the results of the LSTM wind tunnel testing on the Ahmed body done by Lienhart and that wind tunnel is 1.4 m high, 1.87 m wide (so half of that since symmetry is used), the downstream length is 5L (5*1044) and upstream of 1.3L (he chose 2L).

I've managed to get 1 % agreement with experimental results with a hybrid prism/tetra mesh for the same domain, so I wonder, is the necessity for a larger domain purely because of the hexa elements or? Since I thought they were higher quality elements and as such should experience even less problems than tetras?

In any case, I know for a fact that people from the car industry recommend upstream of about 7-10L max (or at least 100 cells in the direction of the flow before the stagnation point) and downstream of 12-15L, so, why the need for 30L?
Very good information and thanks for sharing. I didn't know this before.


Quote:
I've managed to get 1 % agreement with experimental results with a hybrid prism/tetra mesh for the same domain
Once I talked to Dr Florain Menter (Or Dr Knopp from DLR http://num.math.uni-goettingen.de/knopp/)on same aspect that the my results with this model and this mesh are closer to experiments and with this other model and mesh (better model, mesh and Y+) are away from experiments. He replied that "in CFD it is important you should follow the systemic approach rather than comparing to experiments (although it is also important, but this should be done when you are fine tuning physical model). For example we all know that K-epsilon model is not good at predicting the stall as compared to SST model, but if you are getting close results then this is due to fortunate cancellation of errors rather than accuracy of physical model.

The check would be the sensitively analysis. Take three domains with 2 lengths downstream, 15 lengths downstream and 25 lengths downstream with fixed upstream 15 lengths.
manowars, Anna Tian, koray and 2 others like this.
Far is offline   Reply With Quote

Old   May 29, 2012, 05:57
Default
  #13
New Member
 
alessandro
Join Date: Oct 2010
Posts: 28
Rep Power: 16
alenglaro is on a distinguished road
Quote:
Originally Posted by Far View Post
What is the quality (numeric value) of these elements in ICEM?

I am also attaching another blocking today with some minor changes. It has somehow higher quality, although with simpler blocking.
Using Orthogonality quality criterion those elements are above 0.8 but i think that's not the same criterion used by Fluent. What criterion should I check? In icem worst elements are on the lateral corners of the body, but this make sense
Could you please attach your mesh please? Thank you
alenglaro is offline   Reply With Quote

Old   May 29, 2012, 06:05
Default
  #14
New Member
 
alessandro
Join Date: Oct 2010
Posts: 28
Rep Power: 16
alenglaro is on a distinguished road
Quote:
Originally Posted by scipy View Post
I think he's actually trying to replicate the results of the LSTM wind tunnel testing on the Ahmed body done by Lienhart and that wind tunnel is 1.4 m high, 1.87 m wide (so half of that since symmetry is used), the downstream length is 5L (5*1044) and upstream of 1.3L (he chose 2L).
Yes I'm trying to replicate that experiment. For now I'm only doing a mesh convergence study, with a basic k-epsilon model, surprisingly obtaining a good prediction of cd (less than 2% error, despite a first boundary thickness of 0.1mm and an y+ between 3 and 80)
alenglaro is offline   Reply With Quote

Old   May 29, 2012, 13:41
Default blocking
  #15
Far
Senior Member
 
Sijal
Join Date: Mar 2009
Location: Islamabad
Posts: 4,558
Blog Entries: 6
Rep Power: 54
Far has a spectacular aura aboutFar has a spectacular aura about
Send a message via Skype™ to Far
I am attaching three blocking schemes, almost similar in general layout, but different in edge mesh parameters, edge settings etc. This has also huge impact on the quality. With case 3, I am getting orthogonal quality of 0.2 with very fine mesh in boundary layer (I guess Y+ is order ~1, please confirm it and let me know).
Attached Files
File Type: zip Ahmedbody.zip (63.9 KB, 146 views)
Far is offline   Reply With Quote

Old   May 29, 2012, 13:51
Wink Pics
  #16
Far
Senior Member
 
Sijal
Join Date: Mar 2009
Location: Islamabad
Posts: 4,558
Blog Entries: 6
Rep Power: 54
Far has a spectacular aura aboutFar has a spectacular aura about
Send a message via Skype™ to Far





Far is offline   Reply With Quote

Old   May 29, 2012, 14:20
Default
  #17
New Member
 
alessandro
Join Date: Oct 2010
Posts: 28
Rep Power: 16
alenglaro is on a distinguished road
Thank you for your help, but when I load your files .prj icem tells me that file .atr or .fpb is missing and the premesh looks distorted as you can see in the picture. What's wrong?
Attached Images
File Type: jpg errors.jpg (98.0 KB, 259 views)
alenglaro is offline   Reply With Quote

Old   May 29, 2012, 15:08
Default
  #18
Far
Senior Member
 
Sijal
Join Date: Mar 2009
Location: Islamabad
Posts: 4,558
Blog Entries: 6
Rep Power: 54
Far has a spectacular aura aboutFar has a spectacular aura about
Send a message via Skype™ to Far
turn off the solid and VORFN


Quote:
.atr or .fpb
these files are not important, just press cancel.
Far is offline   Reply With Quote

Old   May 29, 2012, 15:29
Default
  #19
New Member
 
alessandro
Join Date: Oct 2010
Posts: 28
Rep Power: 16
alenglaro is on a distinguished road
Ok now it works. I'm going to launch simulation. Why you use material point? What is its utility?
alenglaro is offline   Reply With Quote

Old   May 29, 2012, 15:31
Default
  #20
Far
Senior Member
 
Sijal
Join Date: Mar 2009
Location: Islamabad
Posts: 4,558
Blog Entries: 6
Rep Power: 54
Far has a spectacular aura aboutFar has a spectacular aura about
Send a message via Skype™ to Far
material is used to define the fluid region/solid region in 3d
Far 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
[snappyHexMesh] No layers in a small gap bobburnquist OpenFOAM Meshing & Mesh Conversion 6 August 26, 2015 10:38
Polyhedral Mesh Quality in Star-CCM+ niazaliahmed STAR-CCM+ 3 March 8, 2012 14:51
[ICEM] Tetra mesh quality before and after prism layer Chander ANSYS Meshing & Geometry 0 December 25, 2011 23:04
fluent add additional zones for the mesh file SSL FLUENT 2 January 26, 2008 12:55
Icemcfd 11: Loss of mesh from surface mesh option? Joe CFX 2 March 26, 2007 19:10


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