reilleya / openMotor

An open-source internal ballistics simulator for rocket motor experimenters
GNU General Public License v3.0
368 stars 73 forks source link

Info - Calculating exit pressure using nozzle expansion ratio #157

Closed benrussell11 closed 4 years ago

benrussell11 commented 4 years ago

Hi,

Can you please provide the formula for calculating the exit pressure using a nozzles's expansion ratio or point me to where I can find a reference?

BTW - Thanks for providing the exit pressure as one of the display options in OM.

Ben

benrussell11 commented 4 years ago

I decided to develop a spreadsheet to calculate thrust from an OM sim. I exported Time, Thrust, Pressure and Exit pressure for the attached motor. The propellant is MitchWhite. Exported pressure and exit pressure are in Pa. Nozzle dimensions are in meters. See attached spreadsheet, motor and exported csv.

I'm making the assumption that I should be able to use the exported data and Nakka formula as in the attached PDF, to calculate thrust and it should be equal to or very close to what OM calculates. Unfortunately it is not. My calculated thrust is lower.

In the spreadsheet, the cells labeled T1 - T4 are the calculations involving K as per the first page.

Can you please take a look at the spreadsheet and see if there is anything that I'm doing work? Or simply I can't do it this way and why.

What role does nozzle efficiency in the calculations?

Thanks, Ben

Nakkathr_example5.pdf Pressure2Thrust.xlsx OMExample.ric.txt OMExample.csv.txt

benrussell11 commented 4 years ago

Ok I found the problem with the spreadsheet. T1 wasn't being calculated correctly - missing ()s. Updated spreadsheet attached. Calculated N vs OM N is within 3%. Wondering why I'm 3% high? Pressure2Thrust.xlsx

reilleya commented 4 years ago

Glad you were able to figure it out! Nozzle efficiency is a factor multiplied onto the thrust coefficient to account for all of the performance losses that the program can't simulate, like the energy that is lost to heating up the case, liquid or solid exhaust products, and incomplete combustion in small motors. It has to be determined experimentally similar to characterization numbers like A & N, but once you get an idea of how well a propellant burns it becomes easy to guess. I usually use 0.9 - 0.95 depending on the propellant and the case. If you aren't accounting for efficiency your simulations will produce higher values. Also, openMotor takes the divergence angle and throat length into account when determining thrust coefficient, which Nakka does not.

benrussell11 commented 4 years ago

Thanks for the additional info. I'll take the nozzle efficiency % into account when I calculate the thrust coefficient. If there isn't already a request, can you add the thrust coefficient as an exported field.

I would like to be able to calculate nozzle exit pressure using the nozzle's expansion ratio. Where can I find the formula or references?

Ben

blackk100 commented 4 years ago

You need to use thermodynamic relations for isentropic flow. This Wikipedia article should have them.

benrussell11 commented 4 years ago

Aryaman,

Thanks … I’m trying to solve for Mach in Excel which isn’t the easiest thing to do. Any help would be appreciated.

Ben Russell

ben.russell11@gmail.com

From: Aryaman Srivastav notifications@github.com Sent: Thursday, July 16, 2020 2:07 PM To: reilleya/openMotor openMotor@noreply.github.com Cc: benrussell11 ben.russell11@gmail.com; Author author@noreply.github.com Subject: Re: [reilleya/openMotor] Info - Calculating exit pressure using nozzle expansion ratio (#157)

You need to use thermodynamic relations for isentropic flow. This Wikipedia article https://en.wikipedia.org/wiki/Isentropic_nozzle_flow should have them.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/reilleya/openMotor/issues/157#issuecomment-659580028 , or unsubscribe https://github.com/notifications/unsubscribe-auth/AL4HO6G33RXQAPWOOEYSAKLR346THANCNFSM4OJL4BEQ . https://github.com/notifications/beacon/AL4HO6H6BLBELMG47PV4HHLR346THA5CNFSM4OJL4BE2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOE5IGI7A.gif

blackk100 commented 4 years ago

Hmm, I would recommend looking through Richard Nakka's SRM excel sheets as a reference, although most of his calculations are done with a combination of Excel Formulae and Macros: http://www.nakka-rocketry.net/softw.html#SRM

Both the 2014 and the v1 sheets are useful.

benrussell11 commented 4 years ago

I’ve been all over Nakka site and never thought to take a look at his spreadsheets.

Thanks for the suggestion, I’ll definitely take a look.

Ben

From: Aryaman Srivastav notifications@github.com Sent: Friday, July 17, 2020 5:19 AM To: reilleya/openMotor openMotor@noreply.github.com Cc: benrussell11 ben.russell11@gmail.com; Author author@noreply.github.com Subject: Re: [reilleya/openMotor] Info - Calculating exit pressure using nozzle expansion ratio (#157)

Hmm, I would recommend looking through Richard Nakka's SRM excel sheets as a reference, although most of his calculations are done with a combination of Excel Formulae and Macros: http://www.nakka-rocketry.net/softw.html#SRM

Both the 2014 and the v1 sheets are useful.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/reilleya/openMotor/issues/157#issuecomment-659987550 , or unsubscribe https://github.com/notifications/unsubscribe-auth/AL4HO6AGKSSACLGFSRUV6J3R4AJR3ANCNFSM4OJL4BEQ . https://github.com/notifications/beacon/AL4HO6AVA474LZD2ID2GEPDR4AJR3A5CNFSM4OJL4BE2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOE5LJYXQ.gif