Command manual

Command list

OUTPUT_CONTACT_FORCE

Output
*OUTPUT_CONTACT_FORCE
"Optional title"
coid, entype, enid

Parameter definition

VariableDescription
coid Sensor ID
entype Entity type
options: P, PS, G, ALL
enid Entity ID

Description

This command is used to specify a region where all contact forces are sampled and output to the ASCII file contact_force.out. The output interval is parameter $\Delta t_{ascii}$ in OUTPUT.

Example

Two colliding spheres

The contact forces on the two colliding spheres are sampled and output to contact_force.out.


*UNIT_SYSTEM
SI
#
# --- TIME and OUTPUT ---
#
*TIME
2.0e-5
*OUTPUT_CONTACT_FORCE
"upper sphere"
1, P, 1
*OUTPUT_CONTACT_FORCE
"lower sphere"
2, G, 10
*GEOMETRY_SEED_COORDINATE
10
0, 0, -0.02
#
# --- MESH ---
#
*COMPONENT_SPHERE
"upper sphere"
1, 1, 5
0, 0, 0.01, 0.01
*COMPONENT_SPHERE
"lower sphere"
2, 2, 5
0, 0, -0.01, 0.01
#
# --- MATERIAL ---
#
*MAT_METAL
1, 7800.0, 210.0e9, 0.3
1
*FUNCTION
1
1.0e8
#
# --- PART ---
#
*PART
"upper sphere"
1, 1
"lower sphere"
2, 1
#
# --- INITIAL CONDITION ---
#
*INITIAL_VELOCITY
P, 1, 0, 0, -200
#
# --- CONTACT ---
#
*CONTACT
"all to all"
1
ALL, 0, ALL, 0, 0.1
*END