FUNCTION
Parameters and functions
"Optional title"
fid, derivative, $f(0)$, $\dot{f}(0)$, type${}_{\mathrm{x}}$, type${}_{\mathrm{y}}$
expression
Parameter definition
Description
This command can be used to define analytical functions to be used in the same way as curves (see CURVE) when applying loads or boundary conditions. Note that a curve and a function can not have the same ID. Functions can be defined to depend on certain simulation results, for example node velocities and contact forces. A complete listing of built in functions and parameters is given in the General section. Abscissa and ordinate data types only need to be specified if the function is to be subjected to an automatic unit conversion. A conversion is not possible for multi-dimensional functions.
If derivative=1 the expression defines the first derivative of the function (with respect to time):
$\displaystyle{ f(t) = f(0) + \int_0^t (expression) \mathrm{d}\tau }$
With derivative=2 the expression defines the second derivative of the function:
$\displaystyle{ f(t) = f(0) + \int_0^t \left[ \dot{f}(0) + \int_0^{\tau} (expression) \mathrm{d}\tau' \right] \mathrm{d}\tau }$
Example
Analytical stress-strain curve
Material hardening curves can be defined as analytical functions by using the built in variable epsp. epsp is the current effective plastic strain at the integration point where the function is evaluated.
Prescribed motion with feedback from sensor
Prescribed motion of a binder to match a given blank holder force. The velocity of the binder is a function of the difference between the actual force fzc(333) and the target force 1MN. fzc(333) is the z-force in contact interface with ID 333. erf is the classical error function.
Function defined from its first derivative
Function defining the leakage of water through a hole in a tank.
Function referencing a curve
Function defining a contact pressure dependent coefficient of friction. The variable pres is the local contact pressure.