GY) Example(s) of the use of the DESL
learn command.
learn
files r10 thru r15 flap gt -20 eqfile polyeq1 report 1
polyterms cl alpha beta mach alphasqd go
This execution of "learn" will attempt to create an equation
file "polyeq1" containing the equations necessary to compute
"cl" as a function of "alpha", "beta", "mach", and "alphasqd"
for data in the files "r10", "r11", ... ,"r15" which correspond
to values of "flap" greater than -20. All of the independent
variables specified (second through last polynomial terms)
should be present on all of the SIF files being processed.
learn
files r10 thru r15 eqfile polyeq2 neglect
polyterms cl alpha mach vfilen void34
polyterms [ cp1 thru cp10 ] mach pitch yaw config
This execution of "learn" will attempt to create an equation
file "polyeq2" containing the equations necessary to compute
"cl" as a function of "alpha" and "mach" and "cp1" through "cp10"
as a function of "mach", "pitch", "yaw", and "config" for data
in the files "r10", "r11", ... ,"r15". Per polynomial, the
only terms which will be retained will be combination of
terms which result in the highest "r-squared" parameter; ie,
the combination of specified polynomial terms which produced
the best fit to all of the data on the specified SIF files.
Data may be voided based on the content of the void
file "void34".
learn
files r10 thru r15 flap gt -20 eqfile polyeq1 report 1
newterms alpha2 = alpha^2 = mach^2 neglect
polyterms cl alpha mach2 beta mach alpha2 go
This example will perform a function similar to that performed
by example (1) above with two differences : (1) In this
example the two terms "mach2" and "alpha2" do NOT have to
be on the SIF files being processed. They are computed
within "learn" as temporary variables; ie,
"new terms". (2) "neglect will, as in the example (2) above,
force the retention of ONLY specified polynomial terms which
contributed to a "more accurate" set of polynomial coefficients.
learn
files r10 thru r15 eqfile polyeq1 report 1
newterms alpha2 = alpha^2 mach2 = mach^2 neglect
polyterms [ newcl = cl newcd = cd ] alpha mach2
beta mach alpha2 newfilex xr10 thru xr15 go
This example will perform a function similar to that performed
by example (3) above with two differences : (1) In this
example the calculated values of "cl" and "cd" will be referred
to as "newcl" and "newcd, respectively, and (2) each SIF file
processed will be rewritten as a new SIF file containing each
of the new variables "newcl" and "newcd".

DESL Manager at ViGYAN, Inc.
30 Research Drive
Hampton, VA 23666
Voice: (757) 865-1400
Toll Free: (800) 288-3998
FAX: (757) 865-8177