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

Need help with a rocket nozzle simulation

Register Blogs Community New Posts Updated Threads Search

Like Tree2Likes
  • 1 Post By ghorrocks
  • 1 Post By ghorrocks

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 13, 2013, 08:01
Exclamation Need help with a rocket nozzle simulation
  #1
Member
 
Join Date: May 2013
Posts: 45
Rep Power: 13
badboyz31 is on a distinguished road
Hello members of CFD Online. I've got a problem with a rocket nozzle simulation.

In this simulation, I have a supersonically moving rocket nozzle with internal combustion. You may see how I doid the meshing with ICEM CFD (unstructured mesh) in this picture :


The rocket nozzle is encased inside a tube structure (there is no volume mesh in the space between the nozzle and the case. The rocket also ejects high speed air through the nozzle which I modelled as a inlet in front of the nozzle.

Then, I ran it in CFX. The inlet inside the rocket were meant to be releasing air at 80 bar and 3000 K. The rocket itself is moving at 640 m/s at sea level condition.

CFX gave me an immediate overflow error in the process. However, by setting the inlet inside the rocket to release air at 60 bar and 1000 K. The calculation went smoothly until the 91st iteration.

I would like to know what could have made the error and if you need more information, I'll be glad to give it to you.

And I'd want to know how to set the heat capacity ratio (gamma) of the air inside CFX ? (in the simulation, I used Air Ideal Gas, but I want to change some properties of it)
badboyz31 is offline   Reply With Quote

Old   June 13, 2013, 19:51
Default
  #2
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,871
Rep Power: 144
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
gamma is the ratio of specific heats, so change the specific heats and you will change gamma.

Your convergence problems sound like typical failures to converge - have a look at this FAQ: http://www.cfd-online.com/Wiki/Ansys...gence_criteria
ghorrocks is offline   Reply With Quote

Old   June 13, 2013, 20:10
Default
  #3
Super Moderator
 
diamondx's Avatar
 
Ghazlani M. Ali
Join Date: May 2011
Location: Tokyo, Japan
Posts: 1,385
Blog Entries: 23
Rep Power: 29
diamondx will become famous soon enough
go with a structured mesh, it easy to do it in icem, we can help you in the geometry and meshing section
__________________
Regards,
New to ICEM CFD, try this document --> https://goo.gl/KAOIwm
Ali
diamondx is offline   Reply With Quote

Old   June 13, 2013, 21:50
Default
  #4
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,871
Rep Power: 144
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
I agree, improved mesh quality is a really good place to start with simulations which are tricky to converge.
ghorrocks is offline   Reply With Quote

Old   June 20, 2013, 07:00
Default
  #5
Member
 
Join Date: May 2013
Posts: 45
Rep Power: 13
badboyz31 is on a distinguished road
Quote:
Originally Posted by ghorrocks View Post
I agree, improved mesh quality is a really good place to start with simulations which are tricky to converge.
Alright then, remeshing.

However one more thing, I noticed that the maximum mach number increases to a thousand mach with each iteration. I think that it's the signal for bad iteration. Is there a way to avoid it ?
badboyz31 is offline   Reply With Quote

Old   June 20, 2013, 07:32
Default
  #6
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,871
Rep Power: 144
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
That means your simulation is diverging. You need to improve the numerical stability of your simulation. Assuming the physics is correctly set up that would mean double precision numerics, better mesh quality, smaller timestep or a better initial condition.
ghorrocks is offline   Reply With Quote

Old   June 24, 2013, 09:38
Default
  #7
Member
 
Join Date: May 2013
Posts: 45
Rep Power: 13
badboyz31 is on a distinguished road
Alright, got it. Although i got to wait for several hours to get the simulation done, but finally it converges.

Thanks everyone
badboyz31 is offline   Reply With Quote

Old   June 24, 2013, 09:47
Default
  #8
Member
 
Join Date: May 2013
Posts: 45
Rep Power: 13
badboyz31 is on a distinguished road
Oh, one more thing.

Once I'm done with the simulation, I need to know the presssure coefficient along a X-wise polyline (which is on the inner surface of the nozzle) and plot it into a X-Y graph in CFD Post. I can't find the function Cp in the graph properties. Any trick that does it ?

And is there a way to plot 3D graph on CFD Post ? I need to plot total temperature at the cross section of the nozzle's throat (that means, X-Y-Temperature graph).
badboyz31 is offline   Reply With Quote

Old   June 24, 2013, 21:05
Default
  #9
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,871
Rep Power: 144
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
Your first question sounds like simple chart processing. You might need to define a variable for your Cp, but it is then easy to make a chart of it along a line.

But CFD-Post has limited capabilities to do the 2D surface/3D chart you describe. I would export it and do that in python, matlab or tecplot.
badboyz31 likes this.
ghorrocks is offline   Reply With Quote

Old   June 25, 2013, 20:02
Default
  #10
Member
 
Join Date: May 2013
Posts: 45
Rep Power: 13
badboyz31 is on a distinguished road
So i just get to the table viewer and define Cp as a new variable with its own equation ?
Am I going to type something like this in the table viewer : Cp=(2/1.4*Mach_number@X)*(@X/pressure@freestream-1)


And then, how to export the data on a cross section ? I only know how to export data from a chart (since there is an export button).


Finally, is it possible to pause an iteration process inside the solver manager while it's running and then resume it later ? (Let's say that I had to shut it down first to prevent overheating from long-duration calculation)
Sorry for asking so much, but I'm really a noob in CFX.
badboyz31 is offline   Reply With Quote

Old   June 26, 2013, 07:04
Default
  #11
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,871
Rep Power: 144
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
The CFD-Post tutorials describe how to add a variable and do stuff with it. You want to define a general variable (not just a spreadsheet cell) so you can use it as a variable to plot on objects.

File/export

Pause - you can stop a simulation with stop and restart using an initial conditions where you use the results from the last simulation. But thsi can take several minutes to actually stop by the time it wraps up all processes and write the output file. If your CPU has overheating problems then turn your overclocking down or get a better cooling fan. That is going to cause you no end of grief if you run CFD on a computer which overheats anytime you give the CPU something to think about. Also note current CPU have heat sensors built into the CPU and throttle their own speed shen they run hot - unless you are an overclocker and have disabled that too
badboyz31 likes this.
ghorrocks is offline   Reply With Quote

Old   June 26, 2013, 07:59
Default
  #12
Member
 
Join Date: May 2013
Posts: 45
Rep Power: 13
badboyz31 is on a distinguished road
I'm running the simulation on a laptop which has limited overclocking ability but i guess i'll try to disable intel turbo boost to see if it cools down. Sometimes, I'll have to pause the simulation to rest the laptop sometimes.

Thanks so much for everyone's help
badboyz31 is offline   Reply With Quote

Old   April 5, 2014, 04:55
Default Rocket Nozzle flow simulation in OpenFOAM
  #13
New Member
 
Ranjan
Join Date: Apr 2014
Posts: 29
Rep Power: 12
Ranjan is on a distinguished road
Dear Foamers,

Can any of you recommend how to simulate supersonic flow through nozzle? Which solver can I use?

Thanks in advance
Ranjan is offline   Reply With Quote

Old   April 6, 2014, 09:36
Default
  #14
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,871
Rep Power: 144
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
I have no idea. Try the open foam forum. This is the CFX forum.
ghorrocks is offline   Reply With Quote

Old   September 22, 2014, 01:06
Default Nozzle tutorial
  #15
New Member
 
Ivanrips's Avatar
 
Roger Iván
Join Date: Jun 2009
Location: Perú
Posts: 22
Rep Power: 17
Ivanrips is on a distinguished road
Hi,
Here tutorials de Laval nozzle in CFX

Part 1
https://www.youtube.com/watch?v=FDG08sWbrOU

Part 2
https://www.youtube.com/watch?v=Q-6y4DaTwS4

Part 3
https://www.youtube.com/watch?v=J2vDKbh6Gqc

Part 4
https://www.youtube.com/watch?v=m8g4OoPpL7U

Regards
Ivanrips 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
2D Nozzle vapor simulation xof5006 FLUENT 0 December 18, 2012 22:51
Rocket Engine Starting/Stopping Simulation Antanas CFX 3 October 23, 2012 17:59
2d nozzle simulation, need help swee5420 Main CFD Forum 3 May 24, 2012 01:33
Nozzle - Simulation converges, but data incorrect fade CFX 0 July 20, 2009 05:13
Need assistance in BC's for simulation of Vacuum cleaning nozzle bruce OpenFOAM Running, Solving & CFD 0 May 22, 2009 14:56


All times are GMT -4. The time now is 07:59.