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

Convergence Issues at Hypersonic Simulation

Register Blogs Community New Posts Updated Threads Search

Like Tree2Likes

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 24, 2020, 11:19
Default Convergence Issues at Hypersonic Simulation
  #1
Member
 
Cpt. Convergence
Join Date: Feb 2020
Posts: 98
Rep Power: 8
Captain Convergence is on a distinguished road
I am facing serious issues with the convergence of my 2D hypersonic case. I gave up trying to perform a full-multigrid intiliazation because it diverges at the back part of my body (the pressure was prone to go below 0 Pa in that region). Therefore I switched to a hybrid initialization. My case is pretty "simple", it is a 2D section of a blunt delta and the free stream conditions are:

Mach 9.6
Temperature 47.18 Kelvin
Pstatic 141.36 Pa
Operating Conditions 0 Pa

I have double checked them with a NASA report of an experiment carried out at the same wind tunnel and they match for the same Mach Number.

At the moment I am performing an inviscid simulation with ideal-gas formulation and pressure far field and symmetries as boundary conditions. However I am experiencing divergence issues because the pressure drops at local points (specially at the symmetry) and this makes the velocity to build up dramatically. I consider that I am using the right solver controls for starting the calculations and ensuring the convergence but correct me if I am wrong:

Density based solver in explicit mode (theoretically more robust than implicit)
Courant number = 0.05
High order terms under-relaxation factor =0.05 (applied to all variables)
Algebraic multigrid with 5 levels in V cycle (rest of setting left by default)

I have attached images of the used mesh. I enabled the MG verbosity (see attached images) and I am suspecting that the solver doesn´t visit the coarser levels of the multigrid because in the console the residuals are not displayed at any level, it only displays ->1.->2.->3.->4.->5.<.....<.....<.....<.....<.... with dots where the residuals should be displayed. However this shouldn´t be the source of the divergence but an indication that I am not setting up the solver properly.

Is there any solver control that I should look at? Thank you in advance!
Attached Images
File Type: jpeg FullMesh.jpeg (38.7 KB, 45 views)
File Type: jpeg NoseMesh.jpeg (189.9 KB, 41 views)
File Type: jpeg TrailingEdgeMesh.jpeg (173.5 KB, 26 views)
File Type: jpeg MG-verbosity.jpeg (75.8 KB, 23 views)
Captain Convergence is offline   Reply With Quote

Old   March 24, 2020, 11:32
Default Mesh and Outer Boundary
  #2
Senior Member
 
vinerm's Avatar
 
Vinerm
Join Date: Jun 2009
Location: Nederland
Posts: 2,946
Blog Entries: 1
Rep Power: 36
vinerm will become famous soon enough
Your bluff body is very close to the entrance. That could cause issues. Could you share the link or the paper that you are referring to?

What's your mesh count? Could you share the mesh file, or better, dimensions of the bluff body?
__________________
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   March 24, 2020, 12:34
Default
  #3
Member
 
Cpt. Convergence
Join Date: Feb 2020
Posts: 98
Rep Power: 8
Captain Convergence is on a distinguished road
The paper that I am referring to is this one:

https://ntrs.nasa.gov/search.jsp?R=1...atchallpartial

On the second paragraph page 19 (21 at the PDF), it mentions the free stream conditions that are being assumed.

My mesh has 506K elements (2D), I cannot upload it here because it is 17 megabytes, which is over the upload limit. I have attached an image with the dimensions of the bluff body, it is non-dimensionalized with the thickness t (0.75 in/19.05 mm) therefore the model is 115.062 mm long with a 70 deg sweep.

I am positioning the body that close to the entrance because the propagations will not travel upstream. I almost managed to get a fairly good FMG initialization (see the attached image) and the issue was not at the front, it was at the back because behind the base area the presure is very very low and the CFD solver converges to a negative value which is completely unphysical and leads to divergence.

Thank you for the answer!
Attached Images
File Type: png Geometry.PNG (32.2 KB, 24 views)
File Type: jpeg FMG-Initialization.jpeg (106.3 KB, 31 views)
Captain Convergence is offline   Reply With Quote

Old   March 24, 2020, 13:12
Default Low Pressure
  #4
Senior Member
 
vinerm's Avatar
 
Vinerm
Join Date: Jun 2009
Location: Nederland
Posts: 2,946
Blog Entries: 1
Rep Power: 36
vinerm will become famous soon enough
141 Pa is free stream pressure, however, it appears that you are using that value as Initial Supersonic pressure as well, leading to low pressure at the back of the body. Static pressure should settle down to 141 Pa but for initialization, you have to use higher value. Instead of mesh, could you attach your CAD model here? CAD file would be much smaller.
__________________
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   March 24, 2020, 14:25
Default
  #5
Member
 
Cpt. Convergence
Join Date: Feb 2020
Posts: 98
Rep Power: 8
Captain Convergence is on a distinguished road
I have attached a .zip with the geometry in .igs format in case you don´t have ANSYS 19 (i couldn´t upload it in .igs format directly).

By now I am trying with pressure far-field where I only specify the Mach number (9.6), static pressure (141 Pa) and static temperature (47 K). But you are right I will have to set a Initial Supersonic pressure once I switch to real-gas model because I won´t be able to use pressure far-field. In another thread you commented that it should be close to the specified total pressure at the inlet, I will try to do so once I am at that stage
Attached Files
File Type: zip 2DBluntDelta.zip (7.7 KB, 0 views)
Captain Convergence is offline   Reply With Quote

Old   March 24, 2020, 15:35
Default Good
  #6
Senior Member
 
vinerm's Avatar
 
Vinerm
Join Date: Jun 2009
Location: Nederland
Posts: 2,946
Blog Entries: 1
Rep Power: 36
vinerm will become famous soon enough
I have multiple versions of Ansys, starting from v11 all the way upto 2020 R1. So, it would be better if you share SCDM or DM file, provided you used those tools. IGES may have data loss.
__________________
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   March 24, 2020, 15:40
Default
  #7
Member
 
Cpt. Convergence
Join Date: Feb 2020
Posts: 98
Rep Power: 8
Captain Convergence is on a distinguished road
Done, I have uploaded the updated .zip with the DM file
Attached Files
File Type: zip 2DBluntDelta.zip (35.9 KB, 3 views)
Captain Convergence is offline   Reply With Quote

Old   March 25, 2020, 04:57
Default Delta Wing
  #8
Senior Member
 
vinerm's Avatar
 
Vinerm
Join Date: Jun 2009
Location: Nederland
Posts: 2,946
Blog Entries: 1
Rep Power: 36
vinerm will become famous soon enough
It is a delta wing and you are using 2D model. As far as simulation is concerned it should work but the results will be different from the paper. Are you using 2D planar simulation?
__________________
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   March 25, 2020, 08:17
Default
  #9
Member
 
Cpt. Convergence
Join Date: Feb 2020
Posts: 98
Rep Power: 8
Captain Convergence is on a distinguished road
I am aware of that, I started doing a 2D case to test how the solver controls and my real-gas model work. If I haved had started with the 3D case, it would take me ages to test my solver settings.

However it is not working for me in 2D even though I am using a conservative solver configuration (i.e. explicit mode and low courant number).
Captain Convergence is offline   Reply With Quote

Old   March 25, 2020, 08:23
Default Mesh Resolution
  #10
Senior Member
 
vinerm's Avatar
 
Vinerm
Join Date: Jun 2009
Location: Nederland
Posts: 2,946
Blog Entries: 1
Rep Power: 36
vinerm will become famous soon enough
Even in 2D, you appear to be using a very fine mesh. Benefit of running in 2D is being offset due to that, I suppose. Anyway, I tried with Inviscid model and fmg initialization using far-field boundary. I did not use symmetry. Case runs alright with first-order, Implicit. Did not try explicit yet. And I suppose you are modeling viscous flow, are you? Which turbulence model are you using then?
__________________
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   March 25, 2020, 08:33
Default
  #11
Member
 
Cpt. Convergence
Join Date: Feb 2020
Posts: 98
Rep Power: 8
Captain Convergence is on a distinguished road
So have you mirror the domain? I don't think I can use pressure far-field where I have my symmetry because it is in contact with the body.

Really? Did it work for you? With the same flow conditions I specified in the first post? I haven´t tried first order momentum equation, only second order. Would you mind attaching an image with the Mach number contour right after the fmg-initialization?

I was planning to do an study with inviscid, k-epsilon and SST and compare them with the experimental data.
Captain Convergence is offline   Reply With Quote

Old   March 25, 2020, 08:45
Default Images
  #12
Senior Member
 
vinerm's Avatar
 
Vinerm
Join Date: Jun 2009
Location: Nederland
Posts: 2,946
Blog Entries: 1
Rep Power: 36
vinerm will become famous soon enough
Pressure, Mach number, Velocity, and Density values right after fmg-initialization are attached. Far-field pressure is 141 Pa abs. and Temperature is 47 K
Attached Images
File Type: png mach0.png (9.4 KB, 30 views)
File Type: png pr0.png (6.6 KB, 21 views)
File Type: png rho0.png (8.5 KB, 17 views)
File Type: png vel0.png (7.2 KB, 16 views)
__________________
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   March 25, 2020, 08:48
Default After 500 iterations
  #13
Senior Member
 
vinerm's Avatar
 
Vinerm
Join Date: Jun 2009
Location: Nederland
Posts: 2,946
Blog Entries: 1
Rep Power: 36
vinerm will become famous soon enough
These are the images after 500 iterations with Implicit Roe-FDS with Pseudo-Transient.
Attached Images
File Type: png temp.png (8.2 KB, 31 views)
File Type: png rho.png (8.7 KB, 19 views)
File Type: png vel.png (6.9 KB, 19 views)
File Type: png pr.png (6.5 KB, 18 views)
File Type: png mach.png (9.4 KB, 15 views)
Aerocats likes this.
__________________
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   March 25, 2020, 08:50
Default
  #14
Member
 
Cpt. Convergence
Join Date: Feb 2020
Posts: 98
Rep Power: 8
Captain Convergence is on a distinguished road
Thank you very much for the contours!

I guess that you have used fmg-initialization with the default values right?

Then the issue in my case is the symmetry? I don't really understand how it affects the pressure far-field. If it its, it means that I won't be able to use symmetry in my 3D case and my computational cost will increase dramatically.
Captain Convergence is offline   Reply With Quote

Old   March 25, 2020, 08:51
Default Far-Field
  #15
Senior Member
 
vinerm's Avatar
 
Vinerm
Join Date: Jun 2009
Location: Nederland
Posts: 2,946
Blog Entries: 1
Rep Power: 36
vinerm will become famous soon enough
Pressure far-field condition cannot touch any other boundary. So, you have to use full body. But you may not require the resolution you are using.
__________________
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   March 25, 2020, 09:00
Default Difference
  #16
Senior Member
 
vinerm's Avatar
 
Vinerm
Join Date: Jun 2009
Location: Nederland
Posts: 2,946
Blog Entries: 1
Rep Power: 36
vinerm will become famous soon enough
There are two very important differences in yours and my cases. First one is the placement of the upstream boundary. Though I have also kept it close to the wing, but it is still farther than in your case. It needs to be even farther upstream. Secondly, the shape of the domain. It is recommended to use a parabolic shape instead of a rectangular or some other shape. You might be able to work with symmetry but you have to change the shape of the outer domain to a parabolic one and move the inlet upstream. That should make far-field work properly.
__________________
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   March 25, 2020, 10:07
Default
  #17
Member
 
Cpt. Convergence
Join Date: Feb 2020
Posts: 98
Rep Power: 8
Captain Convergence is on a distinguished road
I tried to do the same changes (see the attached image) but I still having the same issue, the fmg doesn't even converge. I have attached also an extract of the journal file that I am using, please run it in your Fluent and let me know if you have any issue. I am very confused with my method.

Thank you for your time, I really appreciate it!
Attached Images
File Type: jpeg Density Contour.jpeg (109.5 KB, 16 views)
Attached Files
File Type: txt Solver_Journal.txt (5.4 KB, 6 views)
Captain Convergence is offline   Reply With Quote

Old   March 25, 2020, 10:13
Default Initialization
  #18
Senior Member
 
vinerm's Avatar
 
Vinerm
Join Date: Jun 2009
Location: Nederland
Posts: 2,946
Blog Entries: 1
Rep Power: 36
vinerm will become famous soon enough
Default initialization in Fluent is Hybrid. You have to set it to Standard, then use compute from far-field, and then initialize. After that, initialize with fmg. Set operating pressure to exactly 0.
__________________
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   March 25, 2020, 12:25
Default
  #19
Member
 
Cpt. Convergence
Join Date: Feb 2020
Posts: 98
Rep Power: 8
Captain Convergence is on a distinguished road
Thank you so much for the tip, that fixed the issue with the initialization, is someone is reading this thread, the way to do it from command line is:

;;--------------------------------------------------------------------------------------------------
;; INITIALIZATION
(ti-menu-load-string (format #f "/solve/initialize/compute-defaults pressure-far-field inlet \n"))
(ti-menu-load-string (format #f "/solve/initialize/initialize-flow yes \n"))
(ti-menu-load-string (format #f "/solve/initialize/fmg-initialization yes \n"))
;;--------------------------------------------------------------------------------------------------

However I am not sure if you have pushed enough the simulation but due to the local velocity peaks from the initialization (see the attached image), the simulation starts to diverge because it doesn't handle properly the shockwave formation. I am starting to think that I should switch to an structured mesh with quads because the triangles might be inducing an intense false diffusion.
Attached Images
File Type: png Screenshot.PNG (21.8 KB, 17 views)
Captain Convergence is offline   Reply With Quote

Old   March 25, 2020, 12:28
Default Mesh
  #20
Senior Member
 
vinerm's Avatar
 
Vinerm
Join Date: Jun 2009
Location: Nederland
Posts: 2,946
Blog Entries: 1
Rep Power: 36
vinerm will become famous soon enough
Yes, structured mesh is better. That will reduce the mesh count. I didn't use structured mesh but quadrilaterals. With that, I was able to run even with second order.
__________________
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
Convergence in multiphase flow(transient) simulation mari009 Fluent Multiphase 4 October 6, 2018 19:00
Convergence Problem - Transient Simulation gemxx Main CFD Forum 0 July 15, 2018 10:36
Convergence issues for a 3D Centrifugal pump simulation using ANSYS CFX enr_venkat CFX 7 August 31, 2016 19:58
Convergence issues with heat transfer from tube wall Gadders FLUENT 3 October 12, 2015 10:03
Is there any software for hypersonic flow simulation? atmcfd Main CFD Forum 3 November 29, 2010 00:28


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