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

External Aerodynamics Simulation not converging

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 8, 2020, 14:53
Default External Aerodynamics Simulation not converging
  #1
New Member
 
Join Date: Jan 2020
Location: Indonesia
Posts: 9
Rep Power: 6
tim13 is on a distinguished road
Hi,
I am doing a simulation of a 3D model of a train under a crosswind effect (or cross-flow). The flow in the model comes from the front and left inlet, and expected to cause a separation behind the body.

The mesh consists of a large box domain with hexahedral mesh and an inner box that contains the train in a tetra mesh and prism mesh.


I started the simulation with a steady first order k-w-SST turbulence model, and then change it to transient second order after about 500 iterations. The time step size is 1e-3, with 30 iterations per time step.



However, I noticed that the value of k is increasing slowly at the first iteration of every time step and eventually causing a floating point error after tens of time steps. This slowly-increasing problem is not happening to other residual components.



boundary conditon are as follows:
front: velocity inlet 44m/s, 1% turb intensity, 0.05 length scale
left: velocity inlet 20m/s, 1% turb intensity, 0.02 length scale
right: pressure outlet, 0 Pa, 1% backflow, 0.02 length scale
back: pressure outlet, 0 Pa, 1% backflow, 0.02 length scale
top: symmetry
bottom: moving wall 44m/s, specified shear=0


Can anybody enlighten me on what I have missed on the settings that caused the divergence of K? or is it something that has to do with the mesh?


I have tried changing the simulation to other turbulence models and even a DDES based on k-w-SST would still show the same problem for a 5.5M mesh and 8.1M mesh.



Thanks,
Tim
Attached Images
File Type: png domain.png (76.9 KB, 27 views)
File Type: png cut plane domain.png (33.4 KB, 32 views)
tim13 is offline   Reply With Quote

Old   May 8, 2020, 14:57
Default Mesh
  #2
Senior Member
 
vinerm's Avatar
 
Vinerm
Join Date: Jun 2009
Location: Nederland
Posts: 2,946
Blog Entries: 1
Rep Power: 35
vinerm will become famous soon enough
You have good mesh in the region of less importance and bad mesh in the region of high importance. Everything else is good. You don't need to use transient simulation or DDES. You can use steady-state simulation with either k-\varepsilon or k-\omega. But first, you have to improve the mesh. The region around train should have high quality mesh. If you cannot put hex mesh around the train, try to generate a very fine tet mesh and then convert it to polyhedral in Fluent.
__________________
Regards,
Vinerm

PM to be used if and only if you do not want something to be shared publicly. PM is considered to be of the least priority.
vinerm is offline   Reply With Quote

Old   May 8, 2020, 15:29
Default
  #3
New Member
 
Join Date: Jan 2020
Location: Indonesia
Posts: 9
Rep Power: 6
tim13 is on a distinguished road
Hi, thanks for your reply!



Now I know that the mesh around the train have to be improved. But how do you decids that the problem should be okay with steady instead of transient? I have read some paper saying that flows around train are unsteady and vortex shedding may occur.



What are the advantages of converting my mesh to polyhedra in fluent? And in case of polyhedra conversion, would it be okay to just convert the skewed cells or should I go with the whole domain being converted?



Thanks,

Tim.
tim13 is offline   Reply With Quote

Old   May 8, 2020, 15:38
Default Steady or Transient
  #4
Senior Member
 
vinerm's Avatar
 
Vinerm
Join Date: Jun 2009
Location: Nederland
Posts: 2,946
Blog Entries: 1
Rep Power: 35
vinerm will become famous soon enough
Each and every flow is transient, there is nothing called steady-flow. However, a flow may be statistically steady. But whether you run a steady simulation or transient depends primarily on the objective and not on the flow itself. If your objective is to study oscillations due to the vortex shedding or if you have boundary conditions or other parameters varying with time, you need to run a transient case, otherwise, you just need to run a steady-state one. Sometimes, case are run as transient because transient cases are more stable in running but there is no other objective.

Convert whole domain to polyhedral; do note that only the tet and triangular prisms are converted to polyhedral and not the hex cells. It will reduce the number of cells, make the convergence faster, but may make the simulation a little more unstable. However, I don't expect any unstable situations in your case. So, you can easily go ahead with full polyhedral.
__________________
Regards,
Vinerm

PM to be used if and only if you do not want something to be shared publicly. PM is considered to be of the least priority.
vinerm is offline   Reply With Quote

Old   May 12, 2020, 04:30
Default Turbulent Viscosity Limited
  #5
New Member
 
Join Date: Jan 2020
Location: Indonesia
Posts: 9
Rep Power: 6
tim13 is on a distinguished road
Thanks for your suggestion Vinerm.
I have already improved the mesh quality of the important part near the train, and the smaller box. ICEM CFD has shown minimum quality criterion of 0.1 and minimum orthogonal quality of 0.05. Fluent case check has no recommendation as well in terms of mesh quality


I have converted the tetra near the train to polyhedral. Now my cell count is decreased from 8M to around 7M, and it's good considering my hardware limitation during this work-from-home period. However, I am receving problem when running the case now in steady second order k-w-SST. After about 50 iterations I started to see a turbulent viscosity ratio limited. The value is increasing till it reached around 60K cells and never reach higher than 65K cells. Could my mesh still be the issue or should I check my settings again in terms of cross-flow of the train? The boundary conditions are like in my first post above. I have tried changing the outlet gauge pressure up to -100Pa but nothing works so far.



I attached some picture below related to the problem, mesh quality in ICEM CFD, and pressure contours as well. Thanks.


Best,
Tim

Last edited by tim13; May 12, 2020 at 04:46. Reason: typo
tim13 is offline   Reply With Quote

Old   May 12, 2020, 09:28
Default Convergence
  #6
Senior Member
 
vinerm's Avatar
 
Vinerm
Join Date: Jun 2009
Location: Nederland
Posts: 2,946
Blog Entries: 1
Rep Power: 35
vinerm will become famous soon enough
From the residual perspective, convergence is alright. Over prediction of turbulent kinetic energy leading to over prediction of eddy viscosity is normal with EVMs. You can enable Production Limiter under Viscous panel to reduce it. However, if the number of cells with high eddy viscosity reduce to almost nil, then you don't need to worry about those. As far as mesh is concerned, k-\omega should be used if mesh has y^+ of the order of 1. If that is not the case, refine the mesh further closer to the vehicle. Reduction of outlet pressure will not have any effect. It's equivalent to shifting total pressure field down; it does not affect the flow-field.
__________________
Regards,
Vinerm

PM to be used if and only if you do not want something to be shared publicly. PM is considered to be of the least priority.
vinerm is offline   Reply With Quote

Old   May 12, 2020, 12:48
Default Turbulent Viscosity Ratio Limited
  #7
New Member
 
Join Date: Jan 2020
Location: Indonesia
Posts: 9
Rep Power: 6
tim13 is on a distinguished road
Thanks for the reply again.
The turbulent viscosity ratio limit problem is rather confusing for me. Especially with the fact that production limit option is already selected by default and still causing around 60.000 cells being limited.
Considering that many of cells from about 7M cells in total, can this problem be neglected? Would there be any significant problem if I increased the limit of turbulent viscosity ratio up to 1 order (or up to 10^6)?
tim13 is offline   Reply With Quote

Old   May 12, 2020, 13:28
Default Turbulent Viscosity
  #8
Senior Member
 
vinerm's Avatar
 
Vinerm
Join Date: Jun 2009
Location: Nederland
Posts: 2,946
Blog Entries: 1
Rep Power: 35
vinerm will become famous soon enough
Setting higher value for turbulence viscosity does not help. Most likely the mesh at the transition from tet region to hex is not good. Or there are sudden changes. Since the flow is not aligned with any particular axis, I'd suggest you to generate a full tetrahedral mesh with smooth transition and then either convert it to polyhedral or run the case with full tet. Large mesh transitions could cause such issues. Furthermore, if you are using first-order scheme for turbulence, then change it to second-order before trying full tet or polyhedral mesh.
__________________
Regards,
Vinerm

PM to be used if and only if you do not want something to be shared publicly. PM is considered to be of the least priority.
vinerm is offline   Reply With Quote

Old   May 14, 2020, 08:41
Default
  #9
New Member
 
Join Date: Jan 2020
Location: Indonesia
Posts: 9
Rep Power: 6
tim13 is on a distinguished road
Quote:
Since the flow is not aligned with any particular axis, I'd suggest you to generate a full tetrahedral mesh with smooth transition and then either convert it to polyhedral or run the case with full tet.
Hi vinerm, Why would you suggest to generate full tetra mesh in such case where no flow is aligned to any particular axis? Is there any correlation between hybrid tetra and hexa mesh with fluid flowing straight ahead in terms of solving the equation?
Thanks.
__________________
Regards,
Tim
tim13 is offline   Reply With Quote

Old   May 14, 2020, 08:48
Default Hex and Tet Mesh
  #10
Senior Member
 
vinerm's Avatar
 
Vinerm
Join Date: Jun 2009
Location: Nederland
Posts: 2,946
Blog Entries: 1
Rep Power: 35
vinerm will become famous soon enough
While using higher order schemes, hex mesh loses its numerical advantage over tetrahedral mesh if flow is not aligned with the mesh. In other words, if flow is not flowing along the mesh lines, then tet and hex will give you almost same results, provided higher order schemes are used. The only advantages hex has over tet is that the number of cells as well as number of iterations required will be lower that those of tet. I suggested it because right now you have high quality mesh outside the core region while low quality mesh in the core region around the vehicle. Better to make it all tet with a slow transition so that quality around the vehicle could be maintained.
__________________
Regards,
Vinerm

PM to be used if and only if you do not want something to be shared publicly. PM is considered to be of the least priority.
vinerm 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
Choosing l in external aero simulation & nu used in motorbike tutorial edomalley1 OpenFOAM Running, Solving & CFD 0 November 28, 2017 12:39
CGNS Compiling Diego Main CFD Forum 17 December 21, 2014 01:40
How big should be the domain for an automotive external aerodynamics calculation mali28 FLUENT 0 May 12, 2012 09:13
Dynamic mesh simulation not converging mrestrepo30 FLUENT 0 March 8, 2010 14:15
Blunt body aerodynamics simulation cases needed David FLUENT 0 June 1, 2003 11:40


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