Vous êtes sur la page 1sur 76

LMGC90 2.

0 Post-Processing
User’s guide

Frédéric Dubois1 and Mathieu Renouf2

1 Laboratoire de Mécanique et Génie Civil


Université de Montpellier 2 - CNRS
dubois@lmgc.univ-montp2.fr
2 Laboratoire de Mécanique des Contacts et des Structures
INSA de Lyon - CNRS
Mathieu.Renouf@insa-lyon.fr

January 2008

F. Dubois & M. Renouf (CNRS) LMGC90 Post-processing 2008 1 / 39


1 Introduction

2 Command list

3 BEFORE COMPUTATION

4 DURING COMPUTATION

5 AFTER COMPUTATION

6 Examples

F. Dubois & M. Renouf (CNRS) LMGC90 Post-processing 2008 2 / 39


Introduction

The LMGC90 post-processing relies on a list of commands in the same way that the list of CHIC
commands used in the file COMMAND.DAT. The post-processing command are located in the
POSTPRO.DAT file in the DATBOX directory.

F. Dubois & M. Renouf (CNRS) LMGC90 Post-processing 2008 3 / 39


Introduction

The LMGC90 post-processing relies on a list of commands in the same way that the list of CHIC
commands used in the file COMMAND.DAT. The post-processing command are located in the
POSTPRO.DAT file in the DATBOX directory.

The post-processing action are decomposed in three phases:

F. Dubois & M. Renouf (CNRS) LMGC90 Post-processing 2008 3 / 39


Introduction

The LMGC90 post-processing relies on a list of commands in the same way that the list of CHIC
commands used in the file COMMAND.DAT. The post-processing command are located in the
POSTPRO.DAT file in the DATBOX directory.

The post-processing action are decomposed in three phases:


Before computation phase used to analyse the initial data of a simulation.

F. Dubois & M. Renouf (CNRS) LMGC90 Post-processing 2008 3 / 39


Introduction

The LMGC90 post-processing relies on a list of commands in the same way that the list of CHIC
commands used in the file COMMAND.DAT. The post-processing command are located in the
POSTPRO.DAT file in the DATBOX directory.

The post-processing action are decomposed in three phases:


Before computation phase used to analyse the initial data of a simulation.
During computation phase used to recup and store informations during the simulation
process.

F. Dubois & M. Renouf (CNRS) LMGC90 Post-processing 2008 3 / 39


Introduction

The LMGC90 post-processing relies on a list of commands in the same way that the list of CHIC
commands used in the file COMMAND.DAT. The post-processing command are located in the
POSTPRO.DAT file in the DATBOX directory.

The post-processing action are decomposed in three phases:


Before computation phase used to analyse the initial data of a simulation.
During computation phase used to recup and store informations during the simulation
process.
After computation phase used to analyse the final state of a simulation.

F. Dubois & M. Renouf (CNRS) LMGC90 Post-processing 2008 3 / 39


Introduction

The LMGC90 post-processing relies on a list of commands in the same way that the list of CHIC
commands used in the file COMMAND.DAT. The post-processing command are located in the
POSTPRO.DAT file in the DATBOX directory.

The post-processing action are decomposed in three phases:


Before computation phase used to analyse the initial data of a simulation.
During computation phase used to recup and store informations during the simulation
process.
After computation phase used to analyse the final state of a simulation.
This natural decomposition is reproduced using CHIC command related to post-processing.

The post-processing could be performed during the simulation or using the Vloc Rloc.OUT and
DOF.OUT output files.

F. Dubois & M. Renouf (CNRS) LMGC90 Post-processing 2008 3 / 39


Introduction

If the post-processing will be performed during the simulation, the user needs to add some extra
commands in the file COMMAND.DAT:

F. Dubois & M. Renouf (CNRS) LMGC90 Post-processing 2008 4 / 39


Introduction

If the post-processing will be performed during the simulation, the user needs to add some extra
commands in the file COMMAND.DAT:
START POSTPRO to store all commands which must be used and initialize the
post-processing structure.

F. Dubois & M. Renouf (CNRS) LMGC90 Post-processing 2008 4 / 39


Introduction

If the post-processing will be performed during the simulation, the user needs to add some extra
commands in the file COMMAND.DAT:
START POSTPRO to store all commands which must be used and initialize the
post-processing structure.
POSTPRO DURING COMPUTATION to scan commands which must be executed during
the simulation process.

F. Dubois & M. Renouf (CNRS) LMGC90 Post-processing 2008 4 / 39


Introduction

If the post-processing will be performed during the simulation, the user needs to add some extra
commands in the file COMMAND.DAT:
START POSTPRO to store all commands which must be used and initialize the
post-processing structure.
POSTPRO DURING COMPUTATION to scan commands which must be executed during
the simulation process.
POSTPRO AFTER COMPUTATION to scan commands which must executed after the
simulation

F. Dubois & M. Renouf (CNRS) LMGC90 Post-processing 2008 4 / 39


Introduction

If the post-processing will be performed during the simulation, the user needs to add some extra
commands in the file COMMAND.DAT:
START POSTPRO to store all commands which must be used and initialize the
post-processing structure.
POSTPRO DURING COMPUTATION to scan commands which must be executed during
the simulation process.
POSTPRO AFTER COMPUTATION to scan commands which must executed after the
simulation
If the post-processing will be performed using output files, the user does not need to launch again
the simulation. The command file must be changed a minima,using the previous command and
the following ones:

F. Dubois & M. Renouf (CNRS) LMGC90 Post-processing 2008 4 / 39


Introduction

If the post-processing will be performed during the simulation, the user needs to add some extra
commands in the file COMMAND.DAT:
START POSTPRO to store all commands which must be used and initialize the
post-processing structure.
POSTPRO DURING COMPUTATION to scan commands which must be executed during
the simulation process.
POSTPRO AFTER COMPUTATION to scan commands which must executed after the
simulation
If the post-processing will be performed using output files, the user does not need to launch again
the simulation. The command file must be changed a minima,using the previous command and
the following ones:
INIT POST DATA to init data and specify the first and last ID files to read (give on the lines
after the command).

F. Dubois & M. Renouf (CNRS) LMGC90 Post-processing 2008 4 / 39


Introduction

If the post-processing will be performed during the simulation, the user needs to add some extra
commands in the file COMMAND.DAT:
START POSTPRO to store all commands which must be used and initialize the
post-processing structure.
POSTPRO DURING COMPUTATION to scan commands which must be executed during
the simulation process.
POSTPRO AFTER COMPUTATION to scan commands which must executed after the
simulation
If the post-processing will be performed using output files, the user does not need to launch again
the simulation. The command file must be changed a minima,using the previous command and
the following ones:
INIT POST DATA to init data and specify the first and last ID files to read (give on the lines
after the command).
UPDATE POST DATA to update the output file to read.

F. Dubois & M. Renouf (CNRS) LMGC90 Post-processing 2008 4 / 39


Introduction

If the post-processing will be performed during the simulation, the user needs to add some extra
commands in the file COMMAND.DAT:
START POSTPRO to store all commands which must be used and initialize the
post-processing structure.
POSTPRO DURING COMPUTATION to scan commands which must be executed during
the simulation process.
POSTPRO AFTER COMPUTATION to scan commands which must executed after the
simulation
If the post-processing will be performed using output files, the user does not need to launch again
the simulation. The command file must be changed a minima,using the previous command and
the following ones:
INIT POST DATA to init data and specify the first and last ID files to read (give on the lines
after the command).
UPDATE POST DATA to update the output file to read.
In both cases, the resulting files are written in the POSTPRO directory.

F. Dubois & M. Renouf (CNRS) LMGC90 Post-processing 2008 4 / 39


Introduction

In the case of the post treatment using output files, extra command must be used in the
COMMAND.DATfile to study specific area in the sample. The synopsis of the command is the
following:

CIRCULAR SELECTION
Xc
Yc
Radius

where (Xc,Yc) are the center of the selected area and Radius its radius.

F. Dubois & M. Renouf (CNRS) LMGC90 Post-processing 2008 5 / 39


Introduction

In the case of the post treatment using output files, extra command must be used in the
COMMAND.DATfile to study specific area in the sample. The synopsis of the command is the
following:

CIRCULAR SELECTION
Xc
Yc
Radius

where (Xc,Yc) are the center of the selected area and Radius its radius.

It is possible to translate the selection during the post treatment.The synopsis of the command is
the following:

SELECTION TRANSLATION
dXc
dYc

where (dXc,dYc ar the increment of translation add between the analyze of two sets of output
files.

F. Dubois & M. Renouf (CNRS) LMGC90 Post-processing 2008 5 / 39


Command list

1 Introduction

2 Command list

3 BEFORE COMPUTATION

4 DURING COMPUTATION

5 AFTER COMPUTATION

6 Examples

F. Dubois & M. Renouf (CNRS) LMGC90 Post-processing 2008 6 / 39


Command list

BEFORE COMPUTATION

NEW MECAx SETS NEW RIGID SETS

DURING COMPUTATION

BODY TRACKING COORDINATION NUMBER TORQUE EVOLUTION


NORMAL CONTACT DISTRIBUTION SOLVER INFORMATIONS DOUBLET INTERACTIONS
SNAPSHOT SAMPLE MP SNAPSHOT SAMPLE AVERAGE VELOCITY EVOLUTION
DRY CONTACT NATURE WET CONTACT NATURE KINETIC ENERGY
SPECIES KINETIC ENERGY VIOLATION EVOLUTION PLPLx ANALYSIS
QUASI SLIDING CONTACT ELECTRO EVOLUTION NL ELECTRO EVOLUTION
CONTACT FORCE DISTRIBUTION NETWORK EVOLUTION Fint EVOLUTION
Dep EVOLUTION

AFTER COMPUTATION

Dist MAILx

F. Dubois & M. Renouf (CNRS) LMGC90 Post-processing 2008 7 / 39


BEFORE COMPUTATION commands

1 Introduction

2 Command list

3 BEFORE COMPUTATION

4 DURING COMPUTATION

5 AFTER COMPUTATION

6 Examples

F. Dubois & M. Renouf (CNRS) LMGC90 Post-processing 2008 8 / 39


NEW MECAx SETS

The command allows the definition of node sets. The command must be used when the
command Fint EVOLUTION, Dep EVOLUTION and are used.
The synopsis of the command in the POSTPRO.DAT file is the following:

NEW MECAx SETS


n
id1 m1
N1 1
...
N1 m1
...
idn mn
Nn 1
...
Nn mn
where n is the number of sets, idi and mi the type and the number of node of the set i and
Ni 1,...,Ni mi the list of nodes.

back to the full list

F. Dubois & M. Renouf (CNRS) LMGC90 Post-processing 2008 9 / 39


NEW RIGID SETS

The command allows the definition of rigid sets.


The synopsis of the command in the POSTPRO.DAT file is the following:

NEW RIGID SETS


n
m1
N1 1
...
N1 m1
mn
Nn 1
...
Nn mn
where n is the number of sets, mi the number of bodiesin the set i and Ni 1,...,Ni mi the list of
bodies included in the set.

back to the full list

F. Dubois & M. Renouf (CNRS) LMGC90 Post-processing 2008 10 / 39


DURING COMPUTATION commands

1 Introduction

2 Command list

3 BEFORE COMPUTATION

4 DURING COMPUTATION

5 AFTER COMPUTATION

6 Examples

F. Dubois & M. Renouf (CNRS) LMGC90 Post-processing 2008 11 / 39


BODY TRACKING
The command alloaws to track specified body and to store cinematic information related to the
tracked body such as displacement along X and Y, the body rotation as well as the three
component of the velocity vector. Data are stored in files BODY TRACKING XXXXX.DAT as:

t, ux , uy , ω, vx , vy , ω̇ (1)

where t is the simulation time, ux and uy the displacements along the X and Y axis, ω the body
rotation, vx et vy the components of the velocity vector along X and Y while ω̇ denote the body
splin.

F. Dubois & M. Renouf (CNRS) LMGC90 Post-processing 2008 12 / 39


BODY TRACKING
The command alloaws to track specified body and to store cinematic information related to the
tracked body such as displacement along X and Y, the body rotation as well as the three
component of the velocity vector. Data are stored in files BODY TRACKING XXXXX.DAT as:

t, ux , uy , ω, vx , vy , ω̇ (1)

where t is the simulation time, ux and uy the displacements along the X and Y axis, ω the body
rotation, vx et vy the components of the velocity vector along X and Y while ω̇ denote the body
splin.
The synopsis of the command in the POSTPRO.DAT file is the following:

BODY TRACKING
STEP N
nb
ID 1
...
ID nb

where N denotes the command period, nb the number of tracking bodies and ID i the index of
the body in the RBDY2 list.
There is nb files BODY TRACKING XXXXX.DAT created where each file is identified by the
body index instead of the XXXXX characters.

back to the full list

F. Dubois & M. Renouf (CNRS) LMGC90 Post-processing 2008 12 / 39


COORDINATION NUMBER

The command allows to track the evolution of the coodination number according to different
definitions: np nc nt na
c0 = c+ = c− = c= (2)
nb nb nb nb
where np , nc , nt , na and nb denote respectively the mean number of rough contacts, the mean
number contacts in compression, the mean number contact in traction, the mean number of
active contacts and the number of bodies. Data are stored in files
BODY TRACKING XXXXX.DAT as:

t, c0 , c+ , c− , c (3)

where t is the simulation time.

F. Dubois & M. Renouf (CNRS) LMGC90 Post-processing 2008 13 / 39


COORDINATION NUMBER

The command allows to track the evolution of the coodination number according to different
definitions: np nc nt na
c0 = c+ = c− = c= (2)
nb nb nb nb
where np , nc , nt , na and nb denote respectively the mean number of rough contacts, the mean
number contacts in compression, the mean number contact in traction, the mean number of
active contacts and the number of bodies. Data are stored in files
BODY TRACKING XXXXX.DAT as:

t, c0 , c+ , c− , c (3)

where t is the simulation time.

The synopsis of the command in the POSTPRO.DAT file is the following:

COORDINATION NUMBER
STEP N

where N denotes the command period.

back to the full list

F. Dubois & M. Renouf (CNRS) LMGC90 Post-processing 2008 13 / 39


TORQUE EVOLUTION

The command allows to track the evolution of the torque of contact forces of different bodies.
Data are stored in files TORQUE EVOLUTION XXXXX.DAT as:

t, Rx , Ry , Mz (4)

where t is the simulation time, Rx and Ry the components along X and Y, and Mz the
momemtum according to the Z direction.

F. Dubois & M. Renouf (CNRS) LMGC90 Post-processing 2008 14 / 39


TORQUE EVOLUTION

The command allows to track the evolution of the torque of contact forces of different bodies.
Data are stored in files TORQUE EVOLUTION XXXXX.DAT as:

t, Rx , Ry , Mz (4)

where t is the simulation time, Rx and Ry the components along X and Y, and Mz the
momemtum according to the Z direction.

The synopsis of the command in the POSTPRO.DAT file is the following:

TORQUE EVOLUTION
STEP N
nb
ID 1
...
ID nb

where N denotes the command period, nb the number of tracking bodies and ID i the index of
the body in the RBDY2 list.
There is nb files TORQUE EVOLUTION XXXXX.DAT created where each file is identified by the
body index instead of the XXXXX characters.

back to the full list

F. Dubois & M. Renouf (CNRS) LMGC90 Post-processing 2008 14 / 39


NORMAL CONTACT DISTRIBUTION
The command allows the representation of normal contact vector distribution between DISKx or
POLYG. Three representations are available related to the global contact network, the weak
contact network and the strong contact network. The difference between the strong and weak
contact networks is made in regards of the mean value of the normal contact force r¯n defined as:
na
1 X
r¯n = rα (5)
na α=1 n

where na denotes the number of active contact (non nul) and rnα the normal force associated to
contact α.

F. Dubois & M. Renouf (CNRS) LMGC90 Post-processing 2008 15 / 39


NORMAL CONTACT DISTRIBUTION
The command allows the representation of normal contact vector distribution between DISKx or
POLYG. Three representations are available related to the global contact network, the weak
contact network and the strong contact network. The difference between the strong and weak
contact networks is made in regards of the mean value of the normal contact force r¯n defined as:
na
1 X
r¯n = rα (5)
na α=1 n

where na denotes the number of active contact (non nul) and rnα the normal force associated to
contact α.

Data are stored in two files. The first file is the file NORMAL CONTACT DISTRIBUTION.DAT
where the diagram data are stored as:

XG , YG , XW , YW , XS , YS (6)

where indices G , W and S refer respectively to global, weak and strong contact network.
The second file is the file P2THETA.DAT where the histogram data are stored as:

θi , NG , NW , NS (7)

where θi is the sector value (in radian) ranging from −π to π, NG , NW and NS the percent of
contact of the global, weak and strong contact network in the θi direction.

F. Dubois & M. Renouf (CNRS) LMGC90 Post-processing 2008 15 / 39


NORMAL CONTACT DISTRIBUTION

The synopsis of the command in the POSTPRO.DAT file is the following:

NORMAL CONTACT DISTRIBUTION


STEP N
ns

where N denotes the command period, nb the number of angular sectors of the upper part.

back to the full list

F. Dubois & M. Renouf (CNRS) LMGC90 Post-processing 2008 16 / 39


SOLVER INFORMATIONS

The command allows to track the evolution of the number of iterations, the last value of error
criteria (after convergence or not) and the contact number. Data are stored in file
SOLVER INFORMATIONS.DAT as:

t, Nit , 1 , 3 , 3 , nc (8)

where t is the simulation time, Nit the number of iterations, i (i=1,2,3) the last values of error
criteria and nc the number of contacts.

F. Dubois & M. Renouf (CNRS) LMGC90 Post-processing 2008 17 / 39


SOLVER INFORMATIONS

The command allows to track the evolution of the number of iterations, the last value of error
criteria (after convergence or not) and the contact number. Data are stored in file
SOLVER INFORMATIONS.DAT as:

t, Nit , 1 , 3 , 3 , nc (8)

where t is the simulation time, Nit the number of iterations, i (i=1,2,3) the last values of error
criteria and nc the number of contacts.

The synopsis of the command in the POSTPRO.DAT file is the following:

SOLVER INFORMATIONS
STEP N

where N denotes the command period.

back to the full list

F. Dubois & M. Renouf (CNRS) LMGC90 Post-processing 2008 17 / 39


DOUBLET INTERACTIONS

The command allows to track the evolution of a contact between two RBDY2. Data are stored in
the file DOUBLET INTERACTIONS.DAT as:

t, g , g0 , rn , rt , vn , vt (9)

where t is the simulation time, g and g0 the distance between particles before and after
computation, rn et rt the normal and tangential forces, vn andvt the normal and tangential
relative velocity.

F. Dubois & M. Renouf (CNRS) LMGC90 Post-processing 2008 18 / 39


DOUBLET INTERACTIONS

The command allows to track the evolution of a contact between two RBDY2. Data are stored in
the file DOUBLET INTERACTIONS.DAT as:

t, g , g0 , rn , rt , vn , vt (9)

where t is the simulation time, g and g0 the distance between particles before and after
computation, rn et rt the normal and tangential forces, vn andvt the normal and tangential
relative velocity.

The synopsis of the command in the POSTPRO.DAT file is the following:

DOUBLET INTERACTIONS
STEP N
ID1
ID2

where N denotes the command period, ID1 and ID2 the two body identifiant.

back to the full list

F. Dubois & M. Renouf (CNRS) LMGC90 Post-processing 2008 18 / 39


SNAPSHOT SAMPLE

The command allows to make a snapshot of the mechanical sample. For each snapshot, data are
stored in a file SNAPSHOTXXXX.DAT where XXXX denotes the file index. Each file are
composed of 11 column and nb lignes, where nb is the number of bodies. Each line is structured
as:
X , Y , A, Vx , Vy , ω̇, σ11 , σ12 , σ21 , σ22 , c (10)
where X and Y denotes the body, A the body area, Vx and Vy the component of the velocity
along X and Y respectively, ω̇ the spin, σ the body stress tensor and c the coordination number.

F. Dubois & M. Renouf (CNRS) LMGC90 Post-processing 2008 19 / 39


SNAPSHOT SAMPLE

The command allows to make a snapshot of the mechanical sample. For each snapshot, data are
stored in a file SNAPSHOTXXXX.DAT where XXXX denotes the file index. Each file are
composed of 11 column and nb lignes, where nb is the number of bodies. Each line is structured
as:
X , Y , A, Vx , Vy , ω̇, σ11 , σ12 , σ21 , σ22 , c (10)
where X and Y denotes the body, A the body area, Vx and Vy the component of the velocity
along X and Y respectively, ω̇ the spin, σ the body stress tensor and c the coordination number.

The synopsis of the command in the POSTPRO.DAT file is the following:

SNAPSHOT SAMPLE
STEP N

where N denotes the command period.

back to the full list

F. Dubois & M. Renouf (CNRS) LMGC90 Post-processing 2008 19 / 39


MP SNAPSHOT SAMPLE

The command allows to make a snapshot of the thermal, electrical and mechanical sample. For
each snapshot, data are stored in a file SNAPSHOTXXXX.DAT where XXXX denotes the file
index. Each file are composed of 16 column and nb lignes, where nb is the number of bodies.
Each line is structured as:

X , Y , A, Vx , Vy , ω̇, σ11 , σ12 , σ21 , σ22 , c, T , CT , E , CE , β (11)

where X and Y denotes the body, A the body area, Vx and Vy the component of the velocity
along X and Y respectively, ω̇ the spin, σ the body stress tensor, c the coordination number, T
the temperature, CT the thermal conductivity, E the electrical potential, CE the electrical
conductivity and β the wear componant (used in CZM law).

F. Dubois & M. Renouf (CNRS) LMGC90 Post-processing 2008 20 / 39


MP SNAPSHOT SAMPLE

The command allows to make a snapshot of the thermal, electrical and mechanical sample. For
each snapshot, data are stored in a file SNAPSHOTXXXX.DAT where XXXX denotes the file
index. Each file are composed of 16 column and nb lignes, where nb is the number of bodies.
Each line is structured as:

X , Y , A, Vx , Vy , ω̇, σ11 , σ12 , σ21 , σ22 , c, T , CT , E , CE , β (11)

where X and Y denotes the body, A the body area, Vx and Vy the component of the velocity
along X and Y respectively, ω̇ the spin, σ the body stress tensor, c the coordination number, T
the temperature, CT the thermal conductivity, E the electrical potential, CE the electrical
conductivity and β the wear componant (used in CZM law).

The synopsis of the command in the POSTPRO.DAT file is the following:

MP SNAPSHOT SAMPLE
STEP N

where N denotes the command period.

back to the full list

F. Dubois & M. Renouf (CNRS) LMGC90 Post-processing 2008 20 / 39


AVERAGE VELOCITY EVOLUTION

The command allows to determine the average velocity of a sample during the simulation process.
Data are stored in the file AVERAGE VELOCITY.DAT as:
¯ kV̄ k
t, V̄x , V̄y , ω̇, (12)
¯ mean splin and
where t is the simulation time, V̄x and V̄y the mean velocity along X and Y, ω̇
kV̄ k the euclidian norm of the mean velocity.

F. Dubois & M. Renouf (CNRS) LMGC90 Post-processing 2008 21 / 39


AVERAGE VELOCITY EVOLUTION

The command allows to determine the average velocity of a sample during the simulation process.
Data are stored in the file AVERAGE VELOCITY.DAT as:
¯ kV̄ k
t, V̄x , V̄y , ω̇, (12)
¯ mean splin and
where t is the simulation time, V̄x and V̄y the mean velocity along X and Y, ω̇
kV̄ k the euclidian norm of the mean velocity.

The synopsis of the command in the POSTPRO.DAT file is the following:

AVERAGE VELOCITY EVOLUTION


STEP N

where N denotes the command period.

back to the full list

F. Dubois & M. Renouf (CNRS) LMGC90 Post-processing 2008 21 / 39


DRY CONTACT NATURE

The command allows to track the evolution of the number of contacts according to their status
for dry contact law. Data are stored in the file DRY CONTACT NATURE.DAT as:
w s w s
t, Nno , NSlide , NSlide , NStick , NStick (13)

where t is the simulation time, Nno the number of non active contacts, w
NSlide
and s
NSlide
the
w
number of sliding contact for the weak and strong network respectively, and NStick s
and NStick the
number of sticking contacts for the weak and strong network respectively.

F. Dubois & M. Renouf (CNRS) LMGC90 Post-processing 2008 22 / 39


DRY CONTACT NATURE

The command allows to track the evolution of the number of contacts according to their status
for dry contact law. Data are stored in the file DRY CONTACT NATURE.DAT as:
w s w s
t, Nno , NSlide , NSlide , NStick , NStick (13)

where t is the simulation time, Nno the number of non active contacts, and w
NSlidethe s
NSlide
w
number of sliding contact for the weak and strong network respectively, and NStick s
and NStick the
number of sticking contacts for the weak and strong network respectively.

The synopsis of the command in the POSTPRO.DAT file is the following:

DRY CONTACT NATURE


STEP N

where N denotes the command period.

back to the full list

F. Dubois & M. Renouf (CNRS) LMGC90 Post-processing 2008 22 / 39


WET CONTACT NATURE

The command allows to track the evolution of the number of contacts according to their status
for cohesive contact law. Data are stored in the file WET CONTACT NATURE.DAT as:

t, NStick , NSlide , Nno (14)

where t is the simulation time, NStick the number of sticking contacts, NSlide the number of
sliding contac et Nno the number of non active contacts.

F. Dubois & M. Renouf (CNRS) LMGC90 Post-processing 2008 23 / 39


WET CONTACT NATURE

The command allows to track the evolution of the number of contacts according to their status
for cohesive contact law. Data are stored in the file WET CONTACT NATURE.DAT as:

t, NStick , NSlide , Nno (14)

where t is the simulation time, NStick the number of sticking contacts, NSlide the number of
sliding contac et Nno the number of non active contacts.

The synopsis of the command in the POSTPRO.DAT file is the following:

WET CONTACT NATURE


STEP N

where N denotes the command period.

back to the full list

F. Dubois & M. Renouf (CNRS) LMGC90 Post-processing 2008 23 / 39


KINETIC ENERGY
The command allows to compute the kinetic energy of a sample as well as the power and the
variation of kinetic energy during the simulation process. The kinetic energy and the potential
energy are defined as:
nb nb
1X X
Ec = {mi Vi2 + Ii ω̇i2 } Ep = mi g.q (15)
2 i=1 i=1

where nb denotes the number of bodies, mi the mass of body i, Vi its velocity, Ii its inertia
momentum and ω̇i its spin. g denotes the gravity acceleration and q the body position.

F. Dubois & M. Renouf (CNRS) LMGC90 Post-processing 2008 24 / 39


KINETIC ENERGY
The command allows to compute the kinetic energy of a sample as well as the power and the
variation of kinetic energy during the simulation process. The kinetic energy and the potential
energy are defined as:
nb nb
1X X
Ec = {mi Vi2 + Ii ω̇i2 } Ep = mi g.q (15)
2 i=1 i=1

where nb denotes the number of bodies, mi the mass of body i, Vi its velocity, Ii its inertia
momentum and ω̇i its spin. g denotes the gravity acceleration and q the body position.

Data are stored in the file KINETIC ENERGY.DAT as:

t, Ec , Ep , ∆E, P, (16)

where t is the simulation time, Ec and Ep denote the kinetic and potential energy respectively,
∆E the energy variation and P the power of the system.

F. Dubois & M. Renouf (CNRS) LMGC90 Post-processing 2008 24 / 39


KINETIC ENERGY
The command allows to compute the kinetic energy of a sample as well as the power and the
variation of kinetic energy during the simulation process. The kinetic energy and the potential
energy are defined as:
nb nb
1X X
Ec = {mi Vi2 + Ii ω̇i2 } Ep = mi g.q (15)
2 i=1 i=1

where nb denotes the number of bodies, mi the mass of body i, Vi its velocity, Ii its inertia
momentum and ω̇i its spin. g denotes the gravity acceleration and q the body position.

Data are stored in the file KINETIC ENERGY.DAT as:

t, Ec , Ep , ∆E, P, (16)

where t is the simulation time, Ec and Ep denote the kinetic and potential energy respectively,
∆E the energy variation and P the power of the system. The synopsis of the command in the
POSTPRO.DAT file is the following:

KINETIC ENERGY
STEP N

where N denotes the command period.

back to the full list

F. Dubois & M. Renouf (CNRS) LMGC90 Post-processing 2008 24 / 39


SPECIES KINETIC ENERGY
The command allows to compute the kinetic energy of different species of a sample as well as the
power and the variation of kinetic energy during the simulation process. The kinetic energy is
defined as it is for the KINETIC ENERGY command. Data are stored in the file
XXXXX KINETIC ENERGY.DAT as:

t, Ec , Ep , ∆E, P (17)

where t is the simulation time, Ec and Ep denote the kinetic and potential energy respectively,
∆E the energy variation and P the power of the system.

F. Dubois & M. Renouf (CNRS) LMGC90 Post-processing 2008 25 / 39


SPECIES KINETIC ENERGY
The command allows to compute the kinetic energy of different species of a sample as well as the
power and the variation of kinetic energy during the simulation process. The kinetic energy is
defined as it is for the KINETIC ENERGY command. Data are stored in the file
XXXXX KINETIC ENERGY.DAT as:

t, Ec , Ep , ∆E, P (17)

where t is the simulation time, Ec and Ep denote the kinetic and potential energy respectively,
∆E the energy variation and P the power of the system.

The synopsis of the command in the POSTPRO.DAT file is the following:

KINETIC ENERGY
STEP N
ns ¡
S1
...
S ns

where N denotes the command period, ns the number of species, S i the different tracked
species. There is ns files XXXXX KINETIC ENERGY.DAT created where each file is identified by
the species name instead of the XXXXX characters.

back to the full list

F. Dubois & M. Renouf (CNRS) LMGC90 Post-processing 2008 25 / 39


VIOLATION EVOLUTION
The command compute the mean and maximal violation in a sample during the simulation
process. The mean and maximal violation are defined as:
8
1 X
< Vmean =
> max(0, |gα |)
nc α (18)
: Vmax = max{max(0, |gα |)}
>
α

where nc denotes the number of contacts and gα the gap associated to contact α.
Data are stored in the file VIOLATION EVOLUTION.DAT as:
0 0
t, Vmean , Vmean , Vmax , Vmax (19)

where t is the 0
simulation time, Vmean et Vmean the mean violations at the beginning and the end
of a time step 0
and Vmax et Vmax the maximal violations at the beginning and the end of a time
step.

F. Dubois & M. Renouf (CNRS) LMGC90 Post-processing 2008 26 / 39


VIOLATION EVOLUTION
The command compute the mean and maximal violation in a sample during the simulation
process. The mean and maximal violation are defined as:
8
1 X
< Vmean =
> max(0, |gα |)
nc α (18)
: Vmax = max{max(0, |gα |)}
>
α

where nc denotes the number of contacts and gα the gap associated to contact α.
Data are stored in the file VIOLATION EVOLUTION.DAT as:
0 0
t, Vmean , Vmean , Vmax , Vmax (19)

where t is the 0
simulation time, Vmean et Vmean the mean violations at the beginning and the end
of a time step 0
and Vmax et Vmax the maximal violations at the beginning and the end of a time
step.

The synopsis of the command in the POSTPRO.DAT file is the following:

VIOLATION EVOLUTION
STEP N

where N denotes the command period.

back to the full list

F. Dubois & M. Renouf (CNRS) LMGC90 Post-processing 2008 26 / 39


PLPLx ANALYSIS

The command determines the number of simple contacts and the number of double contacts in a
polygon sample. Data are stored in the file PLPLx ANALYSIS.DAT as:

t, Ns , Nd (20)

where t is the simulation time, Ns the number of simple contacts and Nd the number of double
contacts.

F. Dubois & M. Renouf (CNRS) LMGC90 Post-processing 2008 27 / 39


PLPLx ANALYSIS

The command determines the number of simple contacts and the number of double contacts in a
polygon sample. Data are stored in the file PLPLx ANALYSIS.DAT as:

t, Ns , Nd (20)

where t is the simulation time, Ns the number of simple contacts and Nd the number of double
contacts.

The synopsis of the command in the POSTPRO.DAT file is the following:

PLPLx ANALYSIS
STEP N

where N denotes the command period.

back to the full list

F. Dubois & M. Renouf (CNRS) LMGC90 Post-processing 2008 27 / 39


QUASI SLIDING CONTACT

The command computes the number of contacts for which the tangential force rt is closed of the
sliding threshold µrn . To be taken into account, the tangential force of a contact must satisfied:

(1 − )µrn < |rt | < µrn (21)

where  is a small real value. Data are stored in the file


QUASI SLIDING CONTACT EVOLUTION.DAT as:

t, N, p (22)

where t is the simulation time, N the number of quasi sliding contacts and p the quasi sliding
contacts percent.

F. Dubois & M. Renouf (CNRS) LMGC90 Post-processing 2008 28 / 39


QUASI SLIDING CONTACT

The command computes the number of contacts for which the tangential force rt is closed of the
sliding threshold µrn . To be taken into account, the tangential force of a contact must satisfied:

(1 − )µrn < |rt | < µrn (21)

where  is a small real value. Data are stored in the file


QUASI SLIDING CONTACT EVOLUTION.DAT as:

t, N, p (22)

where t is the simulation time, N the number of quasi sliding contacts and p the quasi sliding
contacts percent.

The synopsis of the command in the POSTPRO.DAT file is the following:

QUASI SLIDING CONTACT


STEP N
P

where N denotes the command period and P the part of the friction threshold in less (in percent).

back to the full list

F. Dubois & M. Renouf (CNRS) LMGC90 Post-processing 2008 28 / 39


ELECTRO EVOLUTION

The command allows the storage of electrical output during the simulation process. Data are
stored in the file ELECTRO EVOLUTION.DAT as:

t, iter , , I , R, U, V − , C̄ (23)

where t is the simulation time, iter the number of iterations for the resolution of the electrical
problem,  the error value, I the electric current intensity, R the equivalent resistance, U the
electrical tension, V − the electrical potential of the exit node and C̄ the mean conductance.

F. Dubois & M. Renouf (CNRS) LMGC90 Post-processing 2008 29 / 39


ELECTRO EVOLUTION

The command allows the storage of electrical output during the simulation process. Data are
stored in the file ELECTRO EVOLUTION.DAT as:

t, iter , , I , R, U, V − , C̄ (23)

where t is the simulation time, iter the number of iterations for the resolution of the electrical
problem,  the error value, I the electric current intensity, R the equivalent resistance, U the
electrical tension, V − the electrical potential of the exit node and C̄ the mean conductance.
The synopsis of the command in the POSTPRO.DAT file is the following:

ELECTRO EVOLUTION
STEP N

where N denotes the command period.

back to the full list

F. Dubois & M. Renouf (CNRS) LMGC90 Post-processing 2008 29 / 39


NL ELECTRO EVOLUTION

The command allows the storage of electrical output during the non linear simulation process.
Data are stored in the file NL ELECTRO EVOLUTION.DAT as:

t, iter , , No , ∆No , P̄, P − , P + , U, I (24)

where t is the simulation time, iter the number of iterations for the resolution of the non linear
electrical problem,  the error value, No the number of oxyde layers, ∆No the number of electrical
status variations, P̄, P − et P + the mean, minimal and maximal electrical power, U the electrical
tension and I the electric current intensity.

F. Dubois & M. Renouf (CNRS) LMGC90 Post-processing 2008 30 / 39


NL ELECTRO EVOLUTION

The command allows the storage of electrical output during the non linear simulation process.
Data are stored in the file NL ELECTRO EVOLUTION.DAT as:

t, iter , , No , ∆No , P̄, P − , P + , U, I (24)

where t is the simulation time, iter the number of iterations for the resolution of the non linear
electrical problem,  the error value, No the number of oxyde layers, ∆No the number of electrical
status variations, P̄, P − et P + the mean, minimal and maximal electrical power, U the electrical
tension and I the electric current intensity.

The synopsis of the command in the POSTPRO.DAT file is the following:

NL ELECTRO EVOLUTION
STEP N

where N denotes the command period.

back to the full list

F. Dubois & M. Renouf (CNRS) LMGC90 Post-processing 2008 30 / 39


CONTACT FORCE DISTRIBUTION

On normalise ensuite par la norme de la force moyenne (resp. la force normale moyenne). Les
données sont stockées sous forme de tableau dans les fichiers
CONTACT FORCE DISTRIBUTION0000.DAT où chaque ligne correspond à un incrément sur
l’échelle de force normée et où les colonnes se décomposent en:

Vr , Nr , Vrn , Nrn (25)

où Vr correspond à la valeur sur l’échelle des forces normées, Nr au nombre de contacts
correspondants à cette valeur, Vrn à la valeur sur l’échelle normée des forces normales et Nrn au
nombre de contacts correspondants à cette valeur.

F. Dubois & M. Renouf (CNRS) LMGC90 Post-processing 2008 31 / 39


CONTACT FORCE DISTRIBUTION

On normalise ensuite par la norme de la force moyenne (resp. la force normale moyenne). Les
données sont stockées sous forme de tableau dans les fichiers
CONTACT FORCE DISTRIBUTION0000.DAT où chaque ligne correspond à un incrément sur
l’échelle de force normée et où les colonnes se décomposent en:

Vr , Nr , Vrn , Nrn (25)

où Vr correspond à la valeur sur l’échelle des forces normées, Nr au nombre de contacts
correspondants à cette valeur, Vrn à la valeur sur l’échelle normée des forces normales et Nrn au
nombre de contacts correspondants à cette valeur.

The synopsis of the command in the POSTPRO.DAT file is the following:

CONTACT FORCE DISTRIBUTION


STEP N
sa

where N denotes the command period and sa the force scale discretization.

back to the full list

F. Dubois & M. Renouf (CNRS) LMGC90 Post-processing 2008 31 / 39


NETWORK EVOLUTION

The command allows to track the number of contact status that changed during the force
computation phase. The global, weak and strong network are checked. Data are stored in the file
NETWORK EVOLUTION.DAT as:
t, NG , NW , NS (26)
where t is the simulation time, NG ,NW and NS respectively the number of contact for which the
status change in the global, weak and strong network.

F. Dubois & M. Renouf (CNRS) LMGC90 Post-processing 2008 32 / 39


NETWORK EVOLUTION

The command allows to track the number of contact status that changed during the force
computation phase. The global, weak and strong network are checked. Data are stored in the file
NETWORK EVOLUTION.DAT as:
t, NG , NW , NS (26)
where t is the simulation time, NG ,NW and NS respectively the number of contact for which the
status change in the global, weak and strong network.

The synopsis of the command in the POSTPRO.DAT file is the following:

NETWORK EVOLUTION
STEP N
where N denotes the command period.

back to the full list

F. Dubois & M. Renouf (CNRS) LMGC90 Post-processing 2008 32 / 39


Fint EVOLUTION

The command allows to track the forces acting on a node set of a deformable body defined using
the command NEW MECAx SETS. Data are stored in the file Fint XXX.DAT as:

t, Rcx , Rcy , Fint,x , Fint,y , Finer ,x , Finer ,y , Rx , Ry (27)

where t is the simulation time, Rcx and Rcy the twocomponents of the contact forces, Fint,x and
Fint,y the two components of the internal forces, Finer ,x and Finer ,y the two components of the
inertial forces and finally Rx and Ry the sum of all forces. The number of file Fint XXX.DAT is
equal to the number of mechanical set defined using the command NEW MECAx SETS. XXX
characters are replaced by the index of the mechanical set in the global list.

F. Dubois & M. Renouf (CNRS) LMGC90 Post-processing 2008 33 / 39


Fint EVOLUTION

The command allows to track the forces acting on a node set of a deformable body defined using
the command NEW MECAx SETS. Data are stored in the file Fint XXX.DAT as:

t, Rcx , Rcy , Fint,x , Fint,y , Finer ,x , Finer ,y , Rx , Ry (27)

where t is the simulation time, Rcx and Rcy the twocomponents of the contact forces, Fint,x and
Fint,y the two components of the internal forces, Finer ,x and Finer ,y the two components of the
inertial forces and finally Rx and Ry the sum of all forces. The number of file Fint XXX.DAT is
equal to the number of mechanical set defined using the command NEW MECAx SETS. XXX
characters are replaced by the index of the mechanical set in the global list.

The synopsis of the command in the POSTPRO.DAT file is the following:

Fint EVOLUTION
STEP N
where N denotes the command period.

back to the full list

F. Dubois & M. Renouf (CNRS) LMGC90 Post-processing 2008 33 / 39


Dep EVOLUTION

The command allows to track the mean displacement and the mean velocity of a node set of a
deformable body defined using the command NEW MECAx SETS. Data are stored in the file
Dep XXX.DAT as:
t, ux , uy , vx , vy (28)
where t is the simulation time, ux and uy the mean displacements along the X and Y axes and,
vx and vy the mean velocities along the X and Y axes. The number of file Dep XXX.DAT is
equal to the number of mechanical set defined using the command NEW MECAx SETS. XXX
characters are replaced by the index of the mechanical set in the global list.

F. Dubois & M. Renouf (CNRS) LMGC90 Post-processing 2008 34 / 39


Dep EVOLUTION

The command allows to track the mean displacement and the mean velocity of a node set of a
deformable body defined using the command NEW MECAx SETS. Data are stored in the file
Dep XXX.DAT as:
t, ux , uy , vx , vy (28)
where t is the simulation time, ux and uy the mean displacements along the X and Y axes and,
vx and vy the mean velocities along the X and Y axes. The number of file Dep XXX.DAT is
equal to the number of mechanical set defined using the command NEW MECAx SETS. XXX
characters are replaced by the index of the mechanical set in the global list.

The synopsis of the command in the POSTPRO.DAT file is the following:

Dep EVOLUTION
STEP N
where N denotes the command period.

back to the full list

F. Dubois & M. Renouf (CNRS) LMGC90 Post-processing 2008 34 / 39


AFTER COMPUTATION commands

1 Introduction

2 Command list

3 BEFORE COMPUTATION

4 DURING COMPUTATION

5 AFTER COMPUTATION

6 Examples

F. Dubois & M. Renouf (CNRS) LMGC90 Post-processing 2008 35 / 39


Dist MAILx

F. Dubois & M. Renouf (CNRS) LMGC90 Post-processing 2008 36 / 39


Dist MAILx

The synopsis of the command in the POSTPRO.DAT file is the following:

Dist MAILx
STEP N
where N denotes the command period.

back to the full list

F. Dubois & M. Renouf (CNRS) LMGC90 Post-processing 2008 36 / 39


Examples

1 Introduction

2 Command list

3 BEFORE COMPUTATION

4 DURING COMPUTATION

5 AFTER COMPUTATION

6 Examples
Postpro file example
LMGC90 post treatment

F. Dubois & M. Renouf (CNRS) LMGC90 Post-processing 2008 37 / 39


Postpro file example

#23456789012345678901234567890:
BODY TRACKING :
STEP 1 :
1 :
54 :
TORQUE EVOLUTION :
STEP 1 :
1 :
56 :
SOLVER INFORMATIONS :
STEP 1 :
DISSIPATED ENERGY :
STEP 1 :
VIOLATION EVOLUTION :
STEP 1 :
END :

F. Dubois & M. Renouf (CNRS) LMGC90 Post-processing 2008 38 / 39


LMGC90 post treatment

# # :
#Example of COMMAND.DAT for post treatment START POSTPRO :
#January 2008 # :
# INIT POST DATA :
#23456789012345678901234567890: 1 :
# : 20 :
TIME STEP : ##############################:
0.1D-04 : #
THETA : post loop :
1.D0 : # :
# : ECHO ON :
READ BODIES : # :
READ BEHAVIOURS : UPDATE POST DATA :
READ INI DOF : # :
READ INI Vloc Rloc : READ INI DOF :
READ DRIVEN DOF : READ INI Vloc Rloc :
# : # :
COMPUTE STRESS : WRITE OUTPUT GMV STEP 1 :
COMPUTE AVERAGE VELOCITY : POSTPRO DURING COMPUTATION :
COMPUTE DISPLACEMENT : # :
REFERENCE RADIUS : REPETE 100 FOIS :
0.005 : DEPUIS post loop :
INIT GMV : # :
WRITE OUTPUT GMV : FIN DU PROGRAMME :
# : # :
COMPUTE BOX : FIN DU FICHIER :
COMPUTE MASS : ##############################:

F. Dubois & M. Renouf (CNRS) LMGC90 Post-processing 2008 39 / 39