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 29, 2012, 14:56
Default
  #21
Far
Super Moderator
 
Sijal
Join Date: Mar 2009
Location: Islamabad
Posts: 4,553
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 still believe that you should extend the domain. But first try with this domain and then compare results with extended one.
Far is offline   Reply With Quote

Old   May 29, 2012, 15:31
Default funny
  #22
Far
Super Moderator
 
Sijal
Join Date: Mar 2009
Location: Islamabad
Posts: 4,553
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 had problems in meshing same geomtry in ICEM, four months ago.
http://www.cfd-online.com/Forums/ans...d-vehicle.html

I was making one silly and small mistake in that blocking. Could some point-out , what was it?
Far is offline   Reply With Quote

Old   May 29, 2012, 15:45
Default
  #23
New Member
 
alessandro
Join Date: Oct 2010
Posts: 28
Rep Power: 15
alenglaro is on a distinguished road
Did you have difficulties on convergence? I see that with k-e realizable, all solution methods on second order and default solution controls, continuity residuals slowly diverge. But almost halving the values of relaxation seems to remain stable and slowly converge. With my previous mesh (2M elements but wall distance of 0.1 mm, orthogonal quality above 0.5) i got convergence in about 10k iterations and about 8 hours. Using the pseudo transient combined with fmg initialization surprisingly the solution converged in less than 500 iterations, in 1h30m. But now using this method leads to an immediate divergence
alenglaro is offline   Reply With Quote

Old   May 29, 2012, 15:47
Default
  #24
Far
Super Moderator
 
Sijal
Join Date: Mar 2009
Location: Islamabad
Posts: 4,553
Blog Entries: 6
Rep Power: 54
Far has a spectacular aura aboutFar has a spectacular aura about
Send a message via Skype™ to Far
which mesh you are using. Use far3
Far is offline   Reply With Quote

Old   May 29, 2012, 15:49
Default
  #25
New Member
 
alessandro
Join Date: Oct 2010
Posts: 28
Rep Power: 15
alenglaro is on a distinguished road
I'm actually using far3. What do you suggest?
alenglaro is offline   Reply With Quote

Old   May 29, 2012, 15:51
Default
  #26
Far
Super Moderator
 
Sijal
Join Date: Mar 2009
Location: Islamabad
Posts: 4,553
Blog Entries: 6
Rep Power: 54
Far has a spectacular aura aboutFar has a spectacular aura about
Send a message via Skype™ to Far
we have good convergence and drag is 0.275. (scipy is running it)
Far is offline   Reply With Quote

Old   May 29, 2012, 15:54
Default
  #27
New Member
 
alessandro
Join Date: Oct 2010
Posts: 28
Rep Power: 15
alenglaro is on a distinguished road
What settings and turbulence model?
alenglaro is offline   Reply With Quote

Old   May 29, 2012, 15:56
Default
  #28
Far
Super Moderator
 
Sijal
Join Date: Mar 2009
Location: Islamabad
Posts: 4,553
Blog Entries: 6
Rep Power: 54
Far has a spectacular aura aboutFar has a spectacular aura about
Send a message via Skype™ to Far
using enhanced wall treatment, first order scheme for few hundred iterations and then switched to 2nd order. But he has already done this on tetra + prism for same geometry.
Far is offline   Reply With Quote

Old   May 29, 2012, 16:00
Default
  #29
New Member
 
alessandro
Join Date: Oct 2010
Posts: 28
Rep Power: 15
alenglaro is on a distinguished road
Ok with my settings as I wrote here above now seems to be ok. I just switched to coupled solver with pseudo transient to speed things up and it's working. When finished I try with enhanced wall treatment
alenglaro is offline   Reply With Quote

Old   May 29, 2012, 16:03
Default
  #30
Far
Super Moderator
 
Sijal
Join Date: Mar 2009
Location: Islamabad
Posts: 4,553
Blog Entries: 6
Rep Power: 54
Far has a spectacular aura aboutFar has a spectacular aura about
Send a message via Skype™ to Far
because if the mesh has low yplus and you are using wall function then you certainly will have the problem. use either EWT or scalable wall function to keep the things under control.
Far is offline   Reply With Quote

Old   May 29, 2012, 17:45
Default
  #31
Senior Member
 
scipy's Avatar
 
Alex Pasic
Join Date: Aug 2011
Location: Croatia
Posts: 199
Rep Power: 15
scipy is on a distinguished road
Send a message via Skype™ to scipy
So, the mesh you posted initially (alenglaro) caused some problems. The residuals for z and x velocity were having oscilations and the whole thing was converging very slowly. Here is the picture of the residuals:



Afterwards I checked the contours of Cp on the body and the ground and it revealed some kind of a hole/break/error in the mesh right beneath the rear surface of the body:



The Cp there was ~47 (and max should be ~1), reference values were set correctly so we concluded it was an error with the mesh.

Using Far's 3rd mesh we've got perfect convergence after 400 iterations (I was away when I initially set 500 after switching to 2nd order discretization for momentum, k and epsilon).. here's a screenshot of the residuals:



The settings used were: RKE turbulence model, Enhanced wall treatment with pressure gradient effects, Coupled solver with momentum, k and epsilon in First order for 30-50 iterations, then switch to Second order on all 3 and iterate until converged. Courant was set to 50, Explicit relaxations were set to 0.4 and only turbulent viscosity under relaxation was decreased to 0.8 for the First order iterations, then it was brought up to 0.95 for Second order.

Here are the Cd and Cl convergence files.

To reach full convergence, it took about ~56 minutes (8.2-3 sec per iteration).
Attached Files
File Type: txt cl-1-history.txt (13.5 KB, 8 views)
File Type: txt cd-1-history.txt (13.5 KB, 11 views)
scipy is offline   Reply With Quote

Old   May 29, 2012, 17:57
Default
  #32
New Member
 
alessandro
Join Date: Oct 2010
Posts: 28
Rep Power: 15
alenglaro is on a distinguished road
Thank you! This helps me a lot. Two questions. How can you set the courant number for pressure based steady solver? Coupled method is available only for pressure based. Did you use pseudo transient? Thanks again
alenglaro is offline   Reply With Quote

Old   May 29, 2012, 17:59
Default
  #33
Senior Member
 
scipy's Avatar
 
Alex Pasic
Join Date: Aug 2011
Location: Croatia
Posts: 199
Rep Power: 15
scipy is on a distinguished road
Send a message via Skype™ to scipy
No, I didn't use pseudo transient. Regular steady state and then Coupled instead of SIMPLE, Courant number is there under solution controls (i used 50 which is what I use for tetra meshes of lower quality/higher skewness) but in the end it only affects the convergence process.. end result is always the same, regardless of the courant/relaxation factors..
scipy is offline   Reply With Quote

Old   May 29, 2012, 22:24
Default
  #34
Far
Super Moderator
 
Sijal
Join Date: Mar 2009
Location: Islamabad
Posts: 4,553
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:
Regular steady state and then Coupled instead of SIMPLE, Courant number is there under solution controls (i used 50
He is talking about the pressure based coupled solver. fourth option whereas SIMPLE being the first option (SIMPLEC, PISO and Couple). This Courant is somehow different than the Courant no. of density based coupled solver.
Far is offline   Reply With Quote

Old   May 30, 2012, 11:21
Default
  #35
New Member
 
alessandro
Join Date: Oct 2010
Posts: 28
Rep Power: 15
alenglaro is on a distinguished road
Ok I run a simulation with your settings and got convergence in 250 iterations, with residuals below 10^-5. But cd is stable at 0.289. What's are your BCs?
alenglaro is offline   Reply With Quote

Old   May 30, 2012, 11:50
Default
  #36
Senior Member
 
scipy's Avatar
 
Alex Pasic
Join Date: Aug 2011
Location: Croatia
Posts: 199
Rep Power: 15
scipy is on a distinguished road
Send a message via Skype™ to scipy
Velocity inlet with 40 m/s (X direction), Intensity and Viscosity Ratio (1% and 10 %), Pressure outlet is at 0 gauge pressure obviously and also Intensity and Viscosity ratio (5 % and 10 %), ahmed body and the ground are stationary walls and symmetry, side and top are all symmetry (which is the same as a no-shear stress wall).
scipy is offline   Reply With Quote

Old   May 30, 2012, 12:11
Default
  #37
New Member
 
alessandro
Join Date: Oct 2010
Posts: 28
Rep Power: 15
alenglaro is on a distinguished road
Why 1% turbulence intensity? I set it to 2.5, but i wil try with your settings. Now i velocity inlet with 40m/s and ambient pressure, pressure outlet at the same ambient pressure ( with operating conditions set to 0, so it should be the same). Why do you use symmetry and not no-slip wall? It has a physical meaning or just for simplicity?
alenglaro is offline   Reply With Quote

Old   May 30, 2012, 12:14
Default Solver forum
  #38
Far
Super Moderator
 
Sijal
Join Date: Mar 2009
Location: Islamabad
Posts: 4,553
Blog Entries: 6
Rep Power: 54
Far has a spectacular aura aboutFar has a spectacular aura about
Send a message via Skype™ to Far
@alenglaro: Can we shift this discussion on Fluent forum?
Far is offline   Reply With Quote

Old   May 30, 2012, 12:15
Default
  #39
New Member
 
alessandro
Join Date: Oct 2010
Posts: 28
Rep Power: 15
alenglaro is on a distinguished road
Sorry I set turbulence intensity at 0.25% which is the upper limit of the wind tunnel
alenglaro is offline   Reply With Quote

Old   May 30, 2012, 12:16
Default
  #40
New Member
 
alessandro
Join Date: Oct 2010
Posts: 28
Rep Power: 15
alenglaro is on a distinguished road
Quote:
Originally Posted by Far View Post
@alenglaro: Can we shift this discussion on Fluent forum?
Yes you are right I'm going to create a new topic
alenglaro 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 09:38
Polyhedral Mesh Quality in Star-CCM+ niazaliahmed STAR-CCM+ 3 March 8, 2012 13:51
[ICEM] Tetra mesh quality before and after prism layer Chander ANSYS Meshing & Geometry 0 December 25, 2011 22:04
fluent add additional zones for the mesh file SSL FLUENT 2 January 26, 2008 11:55
Icemcfd 11: Loss of mesh from surface mesh option? Joe CFX 2 March 26, 2007 18:10


All times are GMT -4. The time now is 03:15.