/FUNCT_SMOOTH
Block Format Keyword Defines a smoothstep analytic function to be used with loads.
Format
(1) | (2) | (3) | (4) | (5) | (6) | (7) | (8) | (9) | (10) |
---|---|---|---|---|---|---|---|---|---|
/FUNCT_SMOOTH/fct_ID | |||||||||
fct_title | |||||||||
Ascalex | Fscaley | Ashiftx | Fshifty | ||||||
X1 | Y1 | ||||||||
X2 | Y2 | ||||||||
etc. | etc. | ||||||||
XN | YN |
Definitions
Field | Contents | SI Unit Example |
---|---|---|
fct_ID | Function
identifier. (Integer, maximum 10 digits) |
|
fct_title | Function
title. (Character, maximum 100 characters) |
|
Ascalex | Abscissa scale
factor. Default = 1.0 (Real) |
|
Fscaley | Ordinate scale
factor. Default = 1.0 (Real) |
|
Ashiftx | Abscissa shift
value. Default = 0.0 (Real) |
|
Fshifty | Ordinate shift
value. Default = 0.0 (Real) |
|
X1 | First abscissa for the
function definition. Default = 0 (Real) |
|
Y1 | First ordinate for the
function definition. Default = 0 (Real) |
|
X2 | Second abscissa for
the function definition. (Real) |
|
Y2 | Second ordinate for
the function definition. (Real) |
|
XN | (Optional) Nth abscissa point. | |
YN | (Optional) Nth ordinate point. |
Example
#RADIOSS STARTER
#---1----|----2----|----3----|----4----|----5----|----6----|----7----|----8----|----9----|---10----|
/FUNCT_SMOOTH/1
Displacement
#---1----|----2----|----3----|----4----|----5----|----6----|----7----|----8----|----9----|---10----|
# Ascalex Fscaley Ashiftx Fshifty
# X Y
0 0
.2 60
.4 20
.5 70
.6 70
.8 0.0
#---1----|----2----|----3----|----4----|----5----|----6----|----7----|----8----|----9----|---10----|
#ENDDATA
Comments
- Points 1 and 2 are required.
- A function and a table cannot share the same identifier.
- This function can be used
with these options:
/IMPDISP, /IMPVEL, /IMPACC, /IMPDISP/FGEO, /IMPVEL/FGEO, /IMPVEL/LAGMUL, /PLOAD, /CLOAD, /GRAV, /IMPTEMP, and /IMPFLUX
- For an abscissa smaller than X1, the ordinate value is Y1.
- For an abscissa larger than XN, the ordinate value is YN.
- The function is scaled
first and shifted afterwards, as:
(1) (2) Where, and are values from the function.
- The ordinate is calculated for each time step which results in a smooth function.
- The function is
calculated for using two consecutive input data points
and
as: