![]() |
|
|||||||
| FM/DM threads Everything about FM/DM in CoD |
|
|
Thread Tools | Display Modes |
|
#19
|
||||
|
||||
|
Quote:
Now, regarding: Density_Alt = Pressure_Alt + (T_std/TLR) * (1 - Math.Pow((T_std / I_AmbientAirTemperature),0.2349690)); (now with I_AmbientAirTemperature) Where: T_std = 288.15 - Alt_ind × TLR TLR = 0.0065 and if ( height < tropopause ) then TLR = 6.49(°C/1,000m) = 1.98(°C/1,000ft) = 3.56(°F)/1,000ft else TLR = -56.5(°C) = 216.65(°K) I have two questions. 1. TLR is a rate so presumably below the Tropopause the Temperature Lapse is - Alt_Ind x TLR but above the Tropopause the Temperature Lapse is simply 56.5C ? and similarly...... 2. Within the DA calc, T_Std/TLR would appear to calculate an altitude. Does it hold good above the Tropopause where the lapse rate is zero or should I be capping T_Std at 288.15 - 56.5 = 231.65K once T_Std/TLR hits 56.5? EDIT: Sorry, ref Q.2, I meant should I replace T_Std/TLR with some other expression above the Tropopause?? EDIT2: Think I've got it if ( 15 - Pressure_Alt_ft*0.0019812 < -56.5) { TropAlt = PressureAlt - 56.5/0.0019812 TempStd = 288.15 - 56.5; Density_Alt_ft = Pressure_Alt_ft + (TempStd/0.0019812 + TropAlt) * (1 - Math.Pow((TempStd / I_AmbientAirTemperature),0.2349690)); else TempLapse= Pressure_Alt_ft*0.0019812; TempStd = 288.15 - Templapse; Density_Alt_ft = Pressure_Alt_ft + (TempStd/0.0019812) * (1 - Math.Pow((TempStd / I_AmbientAirTemperature),0.2349690)); } TempStd = 288.15 - TempLapse; Density_Alt_ft = Pressure_Alt_ft + (TempStd/0.0019812) * (1 - Math.Pow((TempStd / I_AmbientAirTemperature),0.2349690));
__________________
klem 56 Squadron RAF "Firebirds" http://firebirds.2ndtaf.org.uk/ ASUS Sabertooth X58 /i7 950 @ 4GHz / 6Gb DDR3 1600 CAS8 / EVGA GTX570 GPU 1.28Gb superclocked / Crucial 128Gb SSD SATA III 6Gb/s, 355Mb-215Mb Read-Write / 850W PSU Windows 7 64 bit Home Premium / Samsung 22" 226BW @ 1680 x 1050 / TrackIR4 with TrackIR5 software / Saitek X52 Pro & Rudders Last edited by klem; 07-19-2012 at 11:31 PM. |
|
|