SPLINE

The SPLINE command modifies or lists an existing SPLINE statement. You can change the values of the SPLINE data, and in the process increase or decrease the number of X data or the number of curve families. You can only modify the name of the file using SPLINE command, if the SPLINE data is defined via Adams Durability type (DAC/RPC). It is also required that the SPLINE is defined using Adams Durability type in SPLINE statement.
For information on the corresponding statement, see the SPLINE statement
For information on the corresponding subroutine, see the SPLINE_READ subroutine.

Format

or
or
SPLINE/id
, FILE= filename
[, CHANNEL= id]
[, LINEAR_EXTRAPOLATE]
 
[ ] Optionally select the item

Arguments

 
X=x1,x2,x3,x4[ , . . . , xn]
Specifies at least four x values. The maximum number of x values, n, depends on whether you specify a single curve or a family of curves.
Values must be constants; Adams Solver (C++) does not allow expressions.
Values must be in increasing order: x1< x2 < x3, and so on.
Y=y1,y2,y3,y4 [ , . . . , yn]
Approximates a single curve by specifying the corresponding y value: y1,y2,y3,y4[, . . . ,yn] for each x value.
Values must be constants; Adams Solver (C++) does not allow expressions.
Y=z1,y11,y12,y13,y14 [ , . . . , y1n]
,Y=z2,y21,y22,y23,y24 [ , . . . , y2n]
,Y=z3,y31,y32,y33,y34 [ , . . . , y3n]
,Y=z4,y41,y42,y43,y44 [ , . . . , y4n]
[ ,...,Y=zm,ym1,ym2,ym3,ym4 [ , . . . , ymn]]
Approximates a family of curves by specifying the corresponding y values, y1,y2,y3,y4[, . . . ,yn], for the x values at unique z values (z1[, . . . ,zm]).
Values must be constants; Adams Solver (C++) does not allow expressions.
Values for z must be in increasing order: z1 < z2 < z3, and so on.
FILE
For use with Adams Durability only.
Modify the SPLINE to use a different Adams Durability file. It specifies the name of the time history file that supplies data for the SPLINE. The file can be of type DAC (nSoft format) or PRC III (MTS format).

Using this command requires the SPLINE statement also referencing Adams Durability file.
LINEAR_EXTRAPOLATE
Causes Adams Solver (C++) to extrapolate a SPLINE that exceeds a defined range by applying linear function(s) tangent to the spline at the end(s) of the defined range. By default, Adams Solver (C++) extrapolates a SPLINE that exceeds a defined range by applying a cubic function over the first or last three data points.
CHANNEL
Specifies the integer ID of a particular channel of data in the file referenced by the SPLINE. This argument is used for files of type RPC III, which can contain more than one channel of data. An error results if the specified file is of type RPC and no CHANNEL argument is given or if the supplied channel ID does not exist in the file. Adams Solver ignores this argument for files of type DAC, which by definition contain only one channel of data.

Default: (none)
Range: 1 < n < 128
LIST
Lists the current SPLINE data.
See other Reference data available.