David Megginson wrote:
> > Can JSBSim do 3D interpolation for, say, data as a function of angle of
> > attack, sideslip and flaps? We have this in our Twin Otter setup, for example
> > 276 CYfabetaf0.dat
> > 276 CYfabetaf20.dat
> > 276 CYfabetaf40.dat
> > decodes to
> > CY as a function of alfa, beta & 0, 20, and 40 deg flap (fabeta + f0/20/40)
>
> I'm fairly certain that JSBSim allows a maximum of two dimensions, but
> I might be wrong. Jon and Tony have talked about extending it to
> allow n-dimensional tables. It might be necessary to try to uncouple
> some of the data for now, though.
Well, for what I know you an do some nifty thins with JSBSim already.
For the F-16 model I'm still working on I can do the follwoing to get a
(within 4% accurate) 3D presentation of Lift and Drag:
CDalpha is a table of 20 * 7
(-20 .. 90 degr alpha and -30 .. 30 degree beta)
CDDe is a table of 20 * 5
(-20 .. 90 degr. alpha, and {-25, -10, 0, 10, 25} for De)
This basically gets a 3D table.
For Side I have an even niftier solution:
I have a Vector for CYb (which gets multiplied by Beta)
And there is a Vector for Dr (which gets multiplied by Dr *and* Beta).
etc.
Erik
_______________________________________________
Flightgear-devel mailing list
[EMAIL PROTECTED]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel