OUTPUT
Output
$\Delta t_{imp}$, $\Delta t_{ascii}$, $\Delta t_{db}$, fragment
nfilter, efilter, entype${}_{res}$, enid${}_{res}$, $N_{res}$
Parameter definition
Description
This command contains output parameters, such as output frequency and filter. The filter is used to reduce the size of the .imp-files.
The output intervals are not necessarily constant. It is possible to define $\Delta t_{imp}$ and $\Delta t_{ascii}$ as functions of time by referencing to a CURVE. Database output can be controlled with a FUNCTION. The database files are written if the function returns a positive value.
If defining entype${}_{res}$ and enid${}_{res}$, elements and node coordinates will be written to the ASCII file impetus_state1.k. Node velocities are output in binary format to impetus_state_veloX.bin and the contact state is output to impetus_state_contactX.k. All state variables, stresses and strains are written to a binary file impetus_state1.bin. Note that impetus_state1.bin is included from impetus_stateX.k via the command INCLUDE_BINARY.
Example
Time dependent output intervals
The global output (.imp file) and ASCII output (.out files) intervals are deinfed as functions of time. In this exampel the output frequencies are higher in the beginning of the simulation and lower as we approach the termination time.
Database output triggered by a function
An example showing how to trigger database output using a FUNCTION.
Python script database.py:
#
# RETURNS 1 FIRST TIME WE HAVE CONTACT
# fc = contact force between part 1 and part 2
#
flag = -1
def trigger(fc):
global flag
if (fc > 0 and flag == -1):
flag = 1
elif (flag == 1):
flag =-2
return flag