YASim: Difference between revisions

Jump to navigation Jump to search
Correction to CLI documentation: altitude is interpreted as meters not ft
mNo edit summary
(Correction to CLI documentation: altitude is interpreted as meters not ft)
Line 349: Line 349:


* '''-g:''' Instructs YASim to generate space-separated tabular data instead of the usual solver output. This can be redirected to a file and used in various plotting programs to visualize the actual lift, drag, L/D curves. The columns of the output from left to right are: AoA, Lift, Drag, L/D. (aoa in degrees, lift and drag in G's).
* '''-g:''' Instructs YASim to generate space-separated tabular data instead of the usual solver output. This can be redirected to a file and used in various plotting programs to visualize the actual lift, drag, L/D curves. The columns of the output from left to right are: AoA, Lift, Drag, L/D. (aoa in degrees, lift and drag in G's).
* '''-a <altitude in feet:>''' Run the solver at the given altitude in feet.
* '''-a <altitude in meter:>''' Run the solver at the given altitude in meter.
* '''-s <speed in knots>:''' Also run at the given airspeed in knots.
* '''-s <speed in knots>:''' Also run at the given airspeed in knots.


{{Note|The values generated by this method are for the aircraft taken as a whole, as solved by YASim, so they differ from the values of the wing airfoil.}}
{{Note|The values generated by this method are for the aircraft taken as a whole, as solved by YASim, so they differ from the values of the wing airfoil.}}


To get the tabular output for the example above at 1000 ft and 150 knots, and to redirect this to a file, one would issue:
To get the tabular output for the example above at 1000 m and 150 knots, and to redirect this to a file, one would issue:


<code>"C:\Program Files\FlightGear\bin\Win32\yasim.exe" "C:\Program Files\FlightGear\data\Aircraft\f-14b\f-14b-yasim.xml" -g -a 1000 -s 150 > "C:\Program Files\FlightGear\yasim.txt"</code>
<code>"C:\Program Files\FlightGear\bin\Win32\yasim.exe" "C:\Program Files\FlightGear\data\Aircraft\f-14b\f-14b-yasim.xml" -g -a 1000 -s 150 > "C:\Program Files\FlightGear\yasim.txt"</code>
252

edits

Navigation menu