OUTPUT_USER_COLLECTION

Output

Beta command

This command is in the beta stage and the format may change over time.

*OUTPUT_USER_COLLECTION
"file_name"
coid, outint, outform
entype, enid, dptype, fid, extensive

Parameter definition

Variable
Description
file_name
File name for ASCII output (command ID and .out or .txt will be added as an extension)
coid
Command ID
outint
Output interval (see OUTPUT)
options:
0 $\rightarrow$ $\Delta t_{imp}$
1 $\rightarrow$ $\Delta t_{ascii}$
2 $\rightarrow$ $\Delta t_{db}$
outform
Output format
options:
0 $\rightarrow$ .txt-files
1 $\rightarrow$ .out-file
entype
Entity type
options: N, NS, P, PS, G, ALL
enid
Entity ID
dptype
Data point type
options:
N $\rightarrow$ nodes
E $\rightarrow$ elements
fid
Function ID
extensive
Flag to output extensive (volume dependent) element properties
options:
0 $\rightarrow$ intensive
1 $\rightarrow$ extensive

Description

This command allows for flexible ASCII time history output for collections of nodes or elements. The output variable is defined by a FUNCTION with ID fid.

Example

Output total internal energy for each element in a part

A complete model of a dynamically deforming metal ring. The total internal energy (extensive variable) is stored in the file internal_energy_1_0001.txt at termination time.

*UNIT_SYSTEM SI *PARAMETER Ri = 0.02, "ring inner radius" Ro = 0.03, "ring outer radius" H = 0.01, "ring height" dx = 0.01, "element size" v0 = 500, "max initial velocity" # # --- TIME AND OUTPUT --- # *TIME 0.0001 *OUTPUT_USER_COLLECTION "internal_energy" 1, 2, 0 P, 1, E, 1234, 1 *FUNCTION "internal energy" 1234 eint # # --- MESH --- # *COMPONENT_PIPE "pipe" 1, 1, [%H/%dx], [2*pi*%Ro/%dx], [(%Ro-%Ri)/%dx] 0, 0, [-%H/2], 0, 0, [%H/2], [%Ri], [%Ro] *CHANGE_P-ORDER ALL, 0, 3 *SMOOTH_MESH ALL, 0, 45.0 # # --- MATERIAL --- # *MAT_METAL "steel" 1, 7800.0, 210.0e9, 0.3 1 *FUNCTION 1 500.0e6 + 500.0e6*epsp^0.3 # # --- PART --- # *PART "ring" 1, 1 # # --- INITIAL CONDITION --- # *INITIAL_VELOCITY P, 1, fcn(21) *FUNCTION 21 -%v0*x/%Ro # # --- CONTACT --- # *CONTACT "self contact" 1 ALL, 0, ALL, 0 *END