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

[Commercial meshers] [fluent3DMeshToFoam] High aspect ratio cells found (mesh from ICEM)

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

Like Tree4Likes
  • 2 Post By lth
  • 1 Post By gonpe
  • 1 Post By kalyangoparaju

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 24, 2012, 10:34
Default [fluent3DMeshToFoam] High aspect ratio cells found (mesh from ICEM)
  #1
Member
 
Join Date: Apr 2010
Posts: 61
Rep Power: 15
alquimista is on a distinguished road
Hello,

I'm converting a mesh with the fluent3DMeshToFoam tool. Everything seems to be ok but checkMesh gives me:

***High aspect ratio cells found, Max aspect ratio: 4053.52, number of cells 1 Threshold = 1000

I tried to repair it in ICEM CFD but I don't obtain errors checking the mesh with that software.

How can I repair it in ICEM or just see if there's some bad elements after conversion?

or
How can I repair it in OpenFOAM?
alquimista is offline   Reply With Quote

Old   May 24, 2012, 14:51
Default
  #2
lth
Member
 
lth's Avatar
 
lth
Join Date: Mar 2009
Location: Madison, WI, USA
Posts: 37
Blog Entries: 45
Rep Power: 17
lth is on a distinguished road
Perhaps increase the number of cells in ICEM and see if that reduces your aspect ratio issue. Also, in ICEM, there is an option to check aspect ratios in the Blocking / premesh-Q tab. Scroll down to aspect ratio under criterion and click on bars that are highest in the results window. This will highlight the elements in question.

Best, Lori
m.goudarzi and calf.Z like this.
lth is offline   Reply With Quote

Old   May 25, 2012, 09:07
Default
  #3
Member
 
Goncalo Pedro
Join Date: Nov 2009
Location: Victoria, British Columbia
Posts: 30
Rep Power: 16
gonpe is on a distinguished road
Check out the refineMesh and refineHexMesh commands.

Also, the mesh checking algorithms used in Icem and Openfoam have different thresholds. Aspect ratio is a quality issue, not so much an error in my mind.

A worse problem would be a negative volume or wrong oriented face error.
mm.abdollahzadeh likes this.

Last edited by gonpe; May 25, 2012 at 09:23.
gonpe is offline   Reply With Quote

Old   May 25, 2012, 11:10
Default
  #4
Member
 
Join Date: Apr 2010
Posts: 61
Rep Power: 15
alquimista is on a distinguished road
Quote:
Originally Posted by lth View Post
Perhaps increase the number of cells in ICEM and see if that reduces your aspect ratio issue. Also, in ICEM, there is an option to check aspect ratios in the Blocking / premesh-Q tab. Scroll down to aspect ratio under criterion and click on bars that are highest in the results window. This will highlight the elements in question.

Best, Lori
Thanks Lori. My mesh is unstructured and I already checked the quality mesh in Edit Mesh -> Check Quality, I can see the distribution of aspect ratios but ICEM don't show bad values. I'll try to refine the mesh and check it, but I'm doing a model with a complex geometry and near 20 millions of elements. When I mesh something with blocks I don't obtain errors with checkMesh but with other methods I do. Although normally I get convergence.


Quote:
Originally Posted by gonpe View Post
Check out the refineMesh and refineHexMesh commands.

Also, the mesh checking algorithms used in Icem and Openfoam have different thresholds. Aspect ratio is a quality issue, not so much an error in my mind.

A worse problem would be a negative volume or wrong oriented face error.
Thans gonpe. I'm trying to delete that errors related with the quality because I get divergence problems running simpleFoam, pisoFoam or even potentialFoam. My BC are ok (I checked it in a simplified model), but when I add some componentes the mesh quality descreases a bit, but I run without problems and good convergence in ANSYS CFX even using LES turbulence model.

Checking in OpenFOAM the solution beforte divergence starts (time step continuity errors increase and maximum vallues increasing fastly) the field data have reasonable values but just fail in some cells. I work-around playing with fvSchemes adding some limiters in divergence, gradient, laplacians.... and fvSolution.

ANSYS CFX has some secrets tricks to get convergence in "bad meshes", but I have problems to control it in OpenFOAM or check when mesh is not good enough before simulate it.
alquimista is offline   Reply With Quote

Old   May 25, 2012, 11:19
Default
  #5
Member
 
Goncalo Pedro
Join Date: Nov 2009
Location: Victoria, British Columbia
Posts: 30
Rep Power: 16
gonpe is on a distinguished road
Hi alquimista

Is the high aspect ratio cell in a critical location (high gradients)? Then I could see some issues develop.

You could cellSet those cells and refine them to test that theory.

I don't know what your solver settings are but adding nOrthogonalCorrector (pressure) steps sometimes helps.

On CFX's secret convergence tricks ... don't let them trick you

Goncalo
gonpe is offline   Reply With Quote

Old   May 25, 2012, 11:26
Default
  #6
lth
Member
 
lth's Avatar
 
lth
Join Date: Mar 2009
Location: Madison, WI, USA
Posts: 37
Blog Entries: 45
Rep Power: 17
lth is on a distinguished road
I agree that nOrthogonalCorrector can sometimes help in high gradient areas.

Best, Lori
lth is offline   Reply With Quote

Old   May 25, 2012, 11:35
Default
  #7
Member
 
Join Date: Apr 2010
Posts: 61
Rep Power: 15
alquimista is on a distinguished road
Quote:
Originally Posted by gonpe View Post
Hi alquimista
Hi alquimista

Is the high aspect ratio cell in a critical location (high gradients)? Then I could see some issues develop.

You could cellSet those cells and refine them to test that theory.

I don't know what your solver settings are but adding nOrthogonalCorrector (pressure) steps sometimes helps.

On CFX's secret convergence tricks ... don't let them trick you

Goncalo

Yes Goncalo, the high aspect ratios are just in a gradient area (some kind of wings) and cilindrical shapes (after some simplifications)

So... I'm going to follow the way to cellSet bad values and refineMesh that set in order to increase the quality, is this possible?

I tried with nOrthogonalCorrector but nothing happens.

ANSYS CFX has a lot of disadvantages, but the control of the convergence is a great thing, maybe state scret, without it they would be forced to go out of business
alquimista is offline   Reply With Quote

Old   May 25, 2012, 11:38
Default
  #8
Member
 
Join Date: Apr 2010
Posts: 61
Rep Power: 15
alquimista is on a distinguished road
Quote:
Originally Posted by lth View Post
I agree that nOrthogonalCorrector can sometimes help in high gradient areas.

Best, Lori
I tried more than 5 correctors in potentialFoam! Do you think that it's enough?
alquimista is offline   Reply With Quote

Old   May 25, 2012, 11:47
Default
  #9
lth
Member
 
lth's Avatar
 
lth
Join Date: Mar 2009
Location: Madison, WI, USA
Posts: 37
Blog Entries: 45
Rep Power: 17
lth is on a distinguished road
yes, in the past for me 4 correctors has converged for high aspect ratios with highly stressed materials.
lth is offline   Reply With Quote

Old   May 27, 2012, 01:48
Default
  #10
Member
 
Kalyan
Join Date: Oct 2011
Location: Columbus, Ohio
Posts: 53
Blog Entries: 1
Rep Power: 14
kalyangoparaju is on a distinguished road
Guys,

I've been facing the same problem for the past couple of days. I have a very decent mesh built in ICEM which runs flawlessly in Fluent but doesn't even come close to converging in OpenFOAM.

I've tried the following.

1. Decreasing the under-relaxation factors.
2. Playing with the pressure laplacian settings
3. Increasing nNonOrthogonalCorrectors.

But to no avail. The time step continuity just shoots up after a few iterations and the solution fails. One thing which I have to say is that, my mesh has a max non-orthogonality of around 88 and a max aspect ratio of 27000 according to checkMesh.

I am simulating a case where I require a mesh of y+=1 and hence I don't think I can afford to have lower aspect ratios without drastically increasing the number of cells. Is there any other solution to this problem other than refining the mesh ?

Thanks,
Kalyan
ama294 likes this.
kalyangoparaju is offline   Reply With Quote

Old   January 29, 2013, 15:28
Default
  #11
Member
 
Anonymous
Join Date: Jan 2012
Location: Canada
Posts: 65
Rep Power: 14
Industrial_CFD is on a distinguished road
Hi Kalyan,

I am having similar issues. I made a nice hex mesh in ICEM, used fluent3dtofoam to convert it to openfoam, and it blows up. If I use snappyHexMesh, the solution is stable. I wonder if something is going on. Did you solve your problem?
Industrial_CFD is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
[snappyHexMesh] snappyHexMesh does not create any mesh except one for the reference cell Arman_N OpenFOAM Meshing & Mesh Conversion 1 May 20, 2019 17:16
Gmsh installation on terminal help spitfire Main CFD Forum 4 July 27, 2017 15:11
[Commercial meshers] converting Fluent mesh to openfoam standard mesh deepesh OpenFOAM Meshing & Mesh Conversion 31 March 29, 2017 05:59
[snappyHexMesh] sHM layer process keeps getting killed MBttR OpenFOAM Meshing & Mesh Conversion 4 August 15, 2016 03:21
snappyhexmesh remove blockmesh geometry philipp1 OpenFOAM Running, Solving & CFD 2 December 12, 2014 10:58


All times are GMT -4. The time now is 08:16.