lipad wrote in Fri Apr 11, 2014 1:01 pm:By the way, I'm using FG 3.0 and the latest version of P51d (20140111).
Thank you hvengel for the explanation. Much appreciated. This "severe compressability" at start seems hard to replicate. I'm flying the p51d again, same airport (KSFO) and no red screen this time. It seems there is a certain condition that triggers it. Would it be air pressure (density pressure )?
hvengel mentions that sometimes the aircraft shoots backward. Indeed, I observed this once. But it was more of the plane moving slowly backward as the p51d 's engine started and the propeller rotated. It was a disconcerting experience as it was the complete opposite of what you would expect . You think, What is happening!? What did I do? What do I do now? Panic. Brake, brake! (I don't remember the brakes working.)
Perhaps the pitch of the propeler was reversed and started pushing the plane backward.
No it is not possible to reverse the propellers pitch since the pitch range of the prop is 23 through 58 degrees you can't really even feather the prop. In addition proper start up procedure calls for the prop to be full fine (23 degrees) during start up and I see this happen starting the aircraft with pitch set to full fine.
There is nothing in the FDM as coded that can create a force in the direction of the tail other than drag forces which should be (close to) zero during start up but will increase after start up due to the slipstream from the engine/prop but at that point the engine/prop is also producing some level of forward thrust that is greater than the drag created by the slipstream.
You are right about this being hard to reproduce and it seems to come and go at random. I think you are right that there is a set of conditions that needs to be just right for this to happen but what those are is a mystery to me. I don't think it is as simple as one specific property (like air pressure or air density) having values in a certain range. For some time now I had hoped that this would be looked into by someone who knows more about JSBSim internals so that the underlying problem can get fixed or at least identified but this has not yet happened.
One of the things that is fairly unique about the JSBSim P-51D is that it is likely the only JSBSim piston driven aircraft in FG that implements transonic affects (drag due to MACH, compressibility tuck and compressibility porpoise) in the FDM. But there may be other piston aircraft that have compressibility code that I don't know about. There are a number of jets that do this but even with jets, where transonic flight is common, only a sub set of JSBSim FDMs take transonic flight into consideration. Since this happens when the starter is engaged on piston engined aircraft I think that this is related to the piston engine code in some way but I don't know how. But I have to admit that this is pure speculation on my part and I would be happy to be proven wrong.
I am thinking about having the compressibility code disabled when the starter is engaged as a possible fix (this would only add a few lines of XML to the FDM). Another option would be to disable the compressibility code when WOW or perhaps some combination to prevent the compressibility code from detecting the condition during start up. Again this only masks the real problem and does nothing to fix the underlying issue which is probably happening silently in other aircraft since code (like the compressibility code in the P-51D) that would detect this is rare.
One thing that does occur to me is that the Drag due to Mach code:
- Code: Select all
<!-- from NACA P-51X and P-51B test data -->
<function name="aero/coefficient/CDmach">
<description>Drag_due_to_mach</description>
<product>
<property>aero/qbar-psf</property>
<property>metrics/Sw-sqft</property>
<table>
<independentVar>velocities/mach</independentVar>
<tableData>
0.00 0.00000
0.62 0.00000
0.64 0.00100
0.66 0.00200
0.68 0.00500
0.70 0.01250
0.72 0.02000
0.74 0.03000
0.76 0.04300
0.78 0.06000
0.80 0.08000
0.82 0.10000
0.84 0.12500 <!-- guesses to extend the table -->
0.86 0.15500
0.88 0.20000
0.90 0.26000
0.92 0.35000
1.00 0.60000
</tableData>
</table>
</product>
</function>
Does generate force toward the tail of the aircraft in the form of drag. Could this produce some sort of feedback loop that makes things worse? When an aircraft is gong backwards is velocities/mach a negative number? I had assumed that it was but perhaps this assumption is wrong. In any case the aircraft would have to reach at least mach 0.64 for this to be an issue so this does not explain where the initial acceleration force is coming from. This is a baffling issue and this is at least the third thread about it here on the forums and so far no one has had any helpful information about what the root cause is.