CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > General Forums > Main CFD Forum

Simulating High Hypersonic Flow Around Projectile

Register Blogs Community New Posts Updated Threads Search

Like Tree6Likes
  • 1 Post By aerosayan
  • 2 Post By agd
  • 1 Post By sa64r
  • 1 Post By aerosayan
  • 1 Post By aerosayan

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 8, 2021, 11:03
Default Simulating High Hypersonic Flow Around Projectile
  #1
New Member
 
Sagar Shah
Join Date: Feb 2021
Location: UK
Posts: 10
Rep Power: 5
sa64r is on a distinguished road
Hi Everyone,

I'm working on a masters project which is to understand the aerodynamic effects on a projectile that is launched from a railgun on a space-bound trajectory.

I'm having difficulties simulating flows around projectiles that have velocities of around 7+ km/s.

For context using an inviscid model, the density based solver and air to be an ideal gas my residuals never converge, in fact they keep diverging until the simulation cuts off due too high of a divergence.

Any help would be greatly appreciated
sa64r is offline   Reply With Quote

Old   February 9, 2021, 00:02
Default
  #2
Senior Member
 
Sayan Bhattacharjee
Join Date: Mar 2020
Posts: 495
Rep Power: 8
aerosayan is on a distinguished road
Can't say for sure what's causing the divergence without seeing the simulation setup, but most likely your mesh is either too coarse, or your timestep is too large while you may be trying to solve for transient cases, or your physics setup is wrong (least likely).

Try to gain experience by solving for transonic, supersonic and low hypersonic flows first.
Try to gain experience by solving only for steady state cases first, then for transient cases.
Try to use explicit solvers with a low timestep if you're solving for transient cases, as a high CFL and high timestep value used for implicit solver maybe failing to capture the flow physics. Although do be careful because explicit solvers can be slow if your timestep is too low.

You can use the case study of supersonic/hypersonic flow over a compression corner or wedge. You can validate your results from a gas table book for oblique shocks over compression corners.
aero_head likes this.
aerosayan is offline   Reply With Quote

Old   February 9, 2021, 05:51
Default
  #3
New Member
 
Sagar Shah
Join Date: Feb 2021
Location: UK
Posts: 10
Rep Power: 5
sa64r is on a distinguished road
Thanks for your reply Sayan.

I have solely tried steady state as I am quite new to CFD and don't have an extensive background in fluids simulation.

I think you're right about simulating lower mach numbers first, hopefully this can determine which mach number my simulation fails at.
sa64r is offline   Reply With Quote

Old   February 9, 2021, 07:18
Default
  #4
Senior Member
 
Sayan Bhattacharjee
Join Date: Mar 2020
Posts: 495
Rep Power: 8
aerosayan is on a distinguished road
Cool! Basically the idea behind simulating low mach no. flows is that, they're less computationally intense, and there's a lot of literature you can review to validate the results. But the most important benefit in your case, will be to identify the problems that may occur while simulating supersonic/hypersonic flows, and how you can solve them by changing the simulation setup.


Also, find a paper on your research topic and see how they have setup, executed, and validated their simulations.
aerosayan is offline   Reply With Quote

Old   February 10, 2021, 04:56
Default
  #5
New Member
 
Sagar Shah
Join Date: Feb 2021
Location: UK
Posts: 10
Rep Power: 5
sa64r is on a distinguished road
Ok yes this makes sense.

Thanks for the advice, I have been stuck on this for a while now :| but you've given me some avenues to explore so thanks for that.
sa64r is offline   Reply With Quote

Old   February 10, 2021, 05:50
Default
  #6
New Member
 
Sagar Shah
Join Date: Feb 2021
Location: UK
Posts: 10
Rep Power: 5
sa64r is on a distinguished road
I've performed a few more simulations this morning and I think one of the issues I keep encountering is when I use the density based model the residuals diverge compared to when I use the pressure based solved.

Any tips on how to mitigate that?
sa64r is offline   Reply With Quote

Old   February 10, 2021, 12:00
Default
  #7
Senior Member
 
Kira
Join Date: Nov 2020
Location: Canada
Posts: 435
Rep Power: 8
aero_head is on a distinguished road
Hello Sagar,

Which numerical model are you using for your simulations (i.e. SST)?

Also, how many iterations have you gone through, and what is your time step? What is your Courant number?

EDIT: Courant Number/CFL

Last edited by aero_head; February 11, 2021 at 11:19.
aero_head is offline   Reply With Quote

Old   February 11, 2021, 04:49
Default
  #8
New Member
 
Sagar Shah
Join Date: Feb 2021
Location: UK
Posts: 10
Rep Power: 5
sa64r is on a distinguished road
Hey Kira,

I'm using Spalart - Allamaras (1eqn).

Well at the moment the number of iterations is irrelevant as my simulation errors out with floating point error when I use the density solver.

Excuse me if I am not correct but since I am working on a steady state sim, I don't have courant number or time-step.
Please correct me if I am wrong haha.

UPDATE:
So I discovered there was a Pseudo Transient setting selected in the solution methods tab, I've unckeched that and it seems to allow the simulation to run without crashing after 9 iterations. However still my residuals diverge greatly
sa64r is offline   Reply With Quote

Old   February 11, 2021, 08:41
Default
  #9
agd
Senior Member
 
Join Date: Jul 2009
Posts: 357
Rep Power: 19
agd is on a distinguished road
The physics of a 7km/s flowfield are extremely complex. What solver are you using? What chemistry model are you using? Just starting a flow simulation at 7km/s can be almost impossible with many solvers. Consider the basic physics of the flow at the base of a projectile during startup. If you initialize your flow field to a 7km/s freestream and then turn on the simulation, you get a very large instantaneous pressure drop in the base region as the fluid moves away from the base. This large pressure drop (which is an artifact of the starting process) can break a solver, particularly if you assume ideal gas. A real flow undergoing that expansion would experience physical/chemistry effects that would limit the pressure and density drop to some extent. You might try ramping the Mach number up over a number of iterations. But if you don't have a good understanding of the physics of hypersonic flow and how the flow solver works in that regime you may never find a good solution.
aerosayan and aero_head like this.
agd is offline   Reply With Quote

Old   February 11, 2021, 09:17
Arrow Is ANSYS Fluent good for simulation of a three phase reactor?
  #10
Member
 
sadra mahmoudi
Join Date: Feb 2021
Location: Austria
Posts: 39
Rep Power: 5
sadra2003 is on a distinguished road
Hello everybody, I would like to simulate a three phase reactor and study its hydrodynamics. I would like to know which type of software is better? I have a good command of ANSYS Fluent and I am really convenient with it but i have no experience of working with OPEN FOAM or CFX ...
Do you recommend to use another one? please let me know your opinion.
Thanks
sadra2003 is offline   Reply With Quote

Old   February 11, 2021, 09:22
Default
  #11
New Member
 
Sagar Shah
Join Date: Feb 2021
Location: UK
Posts: 10
Rep Power: 5
sa64r is on a distinguished road
Quote:
Originally Posted by sadra2003 View Post
Hello everybody, I would like to simulate a three phase reactor and study its hydrodynamics. I would like to know which type of software is better? I have a good command of ANSYS Fluent and I am really convenient with it but i have no experience of working with OPEN FOAM or CFX ...
Do you recommend to use another one? please let me know your opinion.
Thanks
Hi, I think you may want to post this as an isolate thread instead of inside this one if you want help
sa64r is offline   Reply With Quote

Old   February 11, 2021, 09:25
Default
  #12
New Member
 
Sagar Shah
Join Date: Feb 2021
Location: UK
Posts: 10
Rep Power: 5
sa64r is on a distinguished road
Quote:
Originally Posted by agd View Post
The physics of a 7km/s flowfield are extremely complex. What solver are you using? What chemistry model are you using? Just starting a flow simulation at 7km/s can be almost impossible with many solvers. Consider the basic physics of the flow at the base of a projectile during startup. If you initialize your flow field to a 7km/s freestream and then turn on the simulation, you get a very large instantaneous pressure drop in the base region as the fluid moves away from the base. This large pressure drop (which is an artifact of the starting process) can break a solver, particularly if you assume ideal gas. A real flow undergoing that expansion would experience physical/chemistry effects that would limit the pressure and density drop to some extent. You might try ramping the Mach number up over a number of iterations. But if you don't have a good understanding of the physics of hypersonic flow and how the flow solver works in that regime you may never find a good solution.


You have a lot of good points, and yes I don't have a strong understanding of Hypersonics or the physics at such high speed flows.

I perhaps should explore these first before even attempting working with CFD.
aero_head likes this.
sa64r is offline   Reply With Quote

Old   February 11, 2021, 11:13
Default
  #13
Senior Member
 
Sayan Bhattacharjee
Join Date: Mar 2020
Posts: 495
Rep Power: 8
aerosayan is on a distinguished road
Quote:
Originally Posted by sa64r View Post
Hey Kira,

I'm using Spalart - Allamaras (1eqn).

Well at the moment the number of iterations is irrelevant as my simulation errors out with floating point error when I use the density solver.

Excuse me if I am not correct but since I am working on a steady state sim, I don't have courant number or time-step.
Please correct me if I am wrong haha.

UPDATE:
So I discovered there was a Pseudo Transient setting selected in the solution methods tab, I've unckeched that and it seems to allow the simulation to run without crashing after 9 iterations. However still my residuals diverge greatly

Your solver most likely uses local tiimestepping to accelerate the convergence of the steady state simulation. That itself requires the CFL value to be given, Please check if your CFL value is over 1. That can cause an error.


And as Kira mentioned, the flow physics at such a high speed is extremely complicated, and you'll have such high temperatures, that the gas itself will dissociate into ions, and form a plasma around the projectile.


Run the simulation on Mach 1, 2, 3, 4, 5, ..., N for a few thousand iterations and see at which Mach No., the solutions starts to diverge.


Based on that, you can survey the literature to figure out what kind of initial conditions you need to setup, and what kind of physics setup you need, As Kira mentioned, the solver might break due to the sudden change in pressure and energy.
aero_head likes this.
aerosayan is offline   Reply With Quote

Old   February 11, 2021, 11:25
Default
  #14
Senior Member
 
Sayan Bhattacharjee
Join Date: Mar 2020
Posts: 495
Rep Power: 8
aerosayan is on a distinguished road
Quote:
Originally Posted by sa64r View Post
You have a lot of good points, and yes I don't have a strong understanding of Hypersonics or the physics at such high speed flows.

I perhaps should explore these first before even attempting working with CFD.
Keep trying to run the CFD solution along with studying more about your research topic.
You'll learn more by trying and failing, and get more experience with the software so that will be helpful.


I'm also interested in flows with shockwaves, so I'm making my own solver, but the progress is slow. Really slow. So, don't get discouraged along the way, and take things one step at a time.


Instead of a 3D simulation, try with an axisymmetric 2D simulation, and see if that works. Expect your simulation to run for a long time, so try to be patient. Try to see if your CFD solver works on structured grids, and runs faster in structured grids. If so, you can surely use that to accelerate your CFD solution.



Since you're doing Master's you probably only have 2 years of time. In my experience, CFD projects can take some time, so it might be helpful to you if you start as soon as possible, and try to finish your project six months before your deadline.


If you drag the deadline until the last minute, you might not finish in time.
aero_head likes this.
aerosayan is offline   Reply With Quote

Old   February 17, 2021, 04:45
Default
  #15
New Member
 
Sagar Shah
Join Date: Feb 2021
Location: UK
Posts: 10
Rep Power: 5
sa64r is on a distinguished road
Hey Sayan,

Thanks so much for the advice you have given.

I am indeed simulating the flow as a 2D Axisymmetric flow, but my masters is 1 year long and I've only around 4 months to complete my project :|

I have read around what challenges are common when simulating high speed flow and like many people here have said, the intermolecular physics is non-negligible for this type of flow and so simulating it is extremely complex.

I think I underestimated this project given my lack of CFD experience, I thought it was going to be relatively straight forward haha, how naive.

I really chose to simulate railgun projectiles out of interest of the technology rather than my ability to carry out this project lol.
sa64r is offline   Reply With Quote

Old   February 17, 2021, 05:20
Default
  #16
New Member
 
Sagar Shah
Join Date: Feb 2021
Location: UK
Posts: 10
Rep Power: 5
sa64r is on a distinguished road
Hey Sayan & Kira, I just found my CFL number and it is 5. So yes, definitely over 1.
sa64r is offline   Reply With Quote

Old   February 17, 2021, 06:41
Default
  #17
Senior Member
 
Joern Beilke
Join Date: Mar 2009
Location: Dresden
Posts: 507
Rep Power: 20
JBeilke is on a distinguished road
Here are two OpenFOAM solvers with tutorials, which are suitable for you:

https://hisa.gitlab.io/archive.html
https://github.com/unicfdlab/hybridCentralSolvers

Mesh generation for this type of flow is also very important. Check the GridPro blog.

https://blog.gridpro.com
https://blog.gridpro.com/know-your-m...ntry-capsules/
JBeilke is offline   Reply With Quote

Old   December 18, 2023, 15:48
Default
  #18
New Member
 
David
Join Date: Dec 2023
Posts: 1
Rep Power: 0
Mik7 is on a distinguished road
Quote:
Originally Posted by aerosayan View Post
Your solver most likely uses local tiimestepping to accelerate the convergence of the steady state simulation. That itself requires the CFL value to be given, Please check if your CFL value is over 1. That can cause an error.


And as Kira mentioned, the flow physics at such a high speed is extremely complicated, and you'll have such high temperatures, that the gas itself will dissociate into ions, and form a plasma around the projectile.


Run the simulation on Mach 1, 2, 3, 4, 5, ..., N for a few thousand iterations and see at which Mach No., the solutions starts to diverge.


Based on that, you can survey the literature to figure out what kind of initial conditions you need to setup, and what kind of physics setup you need, As Kira mentioned, the solver might break due to the sudden change in pressure and energy.
The suggestion here makes no sense. Flow physics is extremely important to tweaking the solution, and M=1, 5, and 20 all have completely different flow physics.
Mik7 is offline   Reply With Quote

Reply

Tags
cfd, hypersonic, projectile


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
Flow past a 2D cylinder - High Re (1E+05) - Cd too high Pervispasco OpenFOAM Running, Solving & CFD 4 March 14, 2022 02:19
High velocity in Laminar flow Manojmech FLUENT 0 November 3, 2016 04:37
Too high omega and k values in vortex flow simulation thomas. OpenFOAM Running, Solving & CFD 9 March 30, 2016 06:45
Convergence of laminar flow model for high Re Chander Main CFD Forum 0 December 16, 2010 05:10
Difficulties in solving a high Reynolds number Flow? wowakai Main CFD Forum 10 December 29, 1998 13:46


All times are GMT -4. The time now is 02:01.