Skip to content

Commit d905c89

Browse files
author
Miguel Angel
committed
Failure criterion state printed
1 parent b23e7ef commit d905c89

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

kratos.gid/apps/CDEM/write/writeProjectParameters.tcl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,7 @@ proc CDEM::write::getParametersDict { } {
127127
dict set project_parameters_dict "OutputTimeStep" $output_timestep
128128
dict set project_parameters_dict "PostBoundingBox" [write::getValue Boundingbox PostBB]
129129
dict set project_parameters_dict "PostLocalContactForce" [write::getValue BondElem LocalContactForce]
130+
dict set project_parameters_dict "PostContactFailureId" [write::getValue BondElem TypeOfFailure]
130131
dict set project_parameters_dict "PostDisplacement" [write::getValue PostPrint Displacement]
131132
dict set project_parameters_dict "PostRadius" [write::getValue PostPrint Radius]
132133
dict set project_parameters_dict "PostVelocity" [write::getValue PostPrint PostVel]

kratos.gid/apps/DEM/xml/Results.spd

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,9 @@
3838
</container>
3939

4040
<container n="BondElem" pn="On bond results" un="BondElem" help="Results on bond elements" open_window="1" icon="options">
41-
<value n="ContactMeshOption" type="bool" values="true,false" v="false" pn="Contact mesh" icon="black1" help="Calculate and show the bonds between particles"/>
41+
<value n="ContactMeshOption" type="bool" values="true,false" v="false" pn="Show bonds" icon="black1" help="Calculate and show the bonds between particles"/>
4242
<value n="LocalContactForce" type="bool" values="true,false" v="false" pn="Local contact force" icon="black1" state="[getStateFromXPathValue {string(../value[@n='ContactMeshOption']/@v)} true]" help="Displays the local contact forces between particles"/>
43+
<value n="TypeOfFailure" type="bool" values="true,false" v="false" pn="Type of failure" icon="black1" state="[getStateFromXPathValue {string(../value[@n='ContactMeshOption']/@v)} true]" help="Displays different numbers for different types of failure. 2: tension. 4: shear or combination of stresses. 6: neighbour not found by search. 8: less bonds than minimum"/>
4344
</container>
4445

4546
<container n="PrintGraphs" pn="Graphs on DEM-Wall" un="DGraphs" open="1" icon="options">

0 commit comments

Comments
 (0)