GS) Example(s) of the use of the DESL
fit command.
fit
files run1 run29 thru run38 values -4 0 to 10 by 2 14
names alpha cl cd cms curve poly order 2 go
In this example, the SIF files "run1", "run29", "run30",...
"run38" will be attempted to be accessed from the
current directory. The specified desired values of
the independent variable "alpha", -4, 0, 2, 4, ...,10, 14,
will be those for which, via a second order piecewise poly-
nominal curve fitting process, new values of the dependent
variables "cl", "cd", and "cms" will be calculated from data
contained in each of the files specified. Since the new files
were not explicitly named, they will ,by default, have names of
the type "gen#", where "#" is a numeric suffix.
fit
names beta crm cym cy nofit mach tol .2
newfiles null xr29 thru xr24 files run17 run29 thru run24
noextrap curve lsq order 3 paths Test4/ null1 thru null4
Test6/ go
In this example, the SIF files "run17", "run29", "run28",...,
"run24" will be attempted to be accessed. The files "run17"
and "run25" will be searched for first in the alternate
locations specified by the "paths" option/argument list :
"Test4/" and "Test6/", respectively. Then, if not found,
and along with the rest of the files specified, the files
will be looked for in the current directory.
Since "values" was not specified, the set of values for the
the independent variable "beta" will be established by
extracting them from the first existing file in the "files"
list, if it exists, "run17". A third-order least-squares type
curve fit will be attempted for each file to create the new
files containing calculated values for the dependent variables
"cym", "crm", and "cy". Before the set of "beta" values is
used, however, it is reordered to be monotonically increasing
and screened to eliminate those values of "beta" which are
within plus/minus .2 from a previous value. If extrapolation
is required, it CANNOT be performed. The ramification of this
is that a new file may not contain the range of values of the
independent variable "beta" that was desired. Also added to
each record in each new file created is the variable "mach".
Values for "mach" will be constant per file and will be the
average value contained in the all applicable record(s) of
the file which was used for the respective fitting.
The new files created will have the names "gen#" (where "#"
is a numeric suffix) "xr29", "xr28",...,"xr24 respectively,
with respect to the list of "files" expressed and implied.

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