Skip to content

Commit 7c8552b

Browse files
update, new claw
1 parent 7bb8331 commit 7c8552b

2 files changed

Lines changed: 44 additions & 4 deletions

File tree

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

Lines changed: 18 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -459,8 +459,24 @@ proc DEM::write::writeMaterialsParts { } {
459459
variable partsProperties
460460
set xp1 "[spdAux::getRoute [GetAttribute conditions_un]]/condition\[@n = 'PartsCont'\]/group"
461461
set partsProperties $::write::mat_dict
462-
set printable [list PARTICLE_DENSITY YOUNG_MODULUS POISSON_RATIO FRICTION COEFFICIENT_OF_RESTITUTION PARTICLE_MATERIAL ROLLING_FRICTION ROLLING_FRICTION_WITH_WALLS CONTACT_SIGMA_MIN CONTACT_TAU_ZERO CONTACT_INTERNAL_FRICC ConstitutiveLaw]
463-
foreach group [dict keys $partsProperties] {
462+
set printable [list PARTICLE_DENSITY \
463+
YOUNG_MODULUS \
464+
POISSON_RATIO \
465+
FRICTION \
466+
COEFFICIENT_OF_RESTITUTION \
467+
PARTICLE_MATERIAL \
468+
ROLLING_FRICTION \
469+
ROLLING_FRICTION_WITH_WALLS \
470+
CONTACT_SIGMA_MIN \
471+
CONTACT_TAU_ZERO \
472+
CONTACT_INTERNAL_FRICC \
473+
ConstitutiveLaw \
474+
SHEAR_ENERGY_COEF \
475+
LOOSE_MATERIAL_YOUNG_MODULUS \
476+
FRACTURE_ENERGY \
477+
INTERNAL_FRICTION_ANGLE]
478+
479+
foreach group [dict keys $partsProperties] {
464480
write::WriteString "Begin Properties [dict get $partsProperties $group MID]"
465481
foreach {prop val} [dict get $partsProperties $group] {
466482
if {$prop in $printable} {

kratos.gid/apps/CDEM/xml/ConstitutiveLawsC.xml

Lines changed: 26 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<inputs>
66
<parameter n="CONTACT_TAU_ZERO" pn="Tangential Strength" units="MPa" unit_magnitude="P" v="25"/>
77
<parameter n="CONTACT_SIGMA_MIN" pn="Nornal Tensile Strength" units="MPa" unit_magnitude="P" v="5"/>
8-
<parameter n="CONTACT_INTERNAL_FRICC" pn="Internal Friction Coeff" v="1"/>
8+
<parameter n="CONTACT_INTERNAL_FRICC" pn="Contact Internal Friction" v="1"/>
99
</inputs>
1010
<outputs></outputs>
1111
</CLaw>
@@ -14,7 +14,7 @@
1414
<inputs>
1515
<parameter n="CONTACT_TAU_ZERO" pn="Tangential Strength" units="MPa" unit_magnitude="P" v="25"/>
1616
<parameter n="CONTACT_SIGMA_MIN" pn="Nornal Tensile Strength" units="MPa" unit_magnitude="P" v="5"/>
17-
<parameter n="CONTACT_INTERNAL_FRICC" pn="Internal Friction Coeff" v="1"/>
17+
<parameter n="CONTACT_INTERNAL_FRICC" pn="Contact Internal Friction" v="1"/>
1818
</inputs>
1919
<outputs></outputs>
2020
</CLaw>
@@ -49,6 +49,30 @@
4949
<outputs></outputs>
5050
</CLaw>
5151

52+
<CLaw n="DEM_KDEM_with_damage_parallel_bond" pn="KDEM with damage" ProductionReady="ProductionReady" help="" ImplementedInApplication="DEMApplication" App="CDEM" Dimension="3D" OutputMode="Materials">
53+
<inputs>
54+
<parameter n="CONTACT_TAU_ZERO" pn="Mohr-Coulomb Cohesion" units="MPa" unit_magnitude="P" v="10"/>
55+
<parameter n="CONTACT_SIGMA_MIN" pn="Normal Tensile Strength" units="MPa" unit_magnitude="P" v="13"/>
56+
<parameter n="CONTACT_INTERNAL_FRICC" pn="Contact Internal Friction" v="0.44"/>
57+
<parameter n="SHEAR_ENERGY_COEF" pn="Shear energy" v="4.0"/>
58+
<parameter n="LOOSE_MATERIAL_YOUNG_MODULUS" pn="Loose Young modulus" units="Pa" unit_magnitude="P" v="14e8"/>
59+
<parameter n="FRACTURE_ENERGY" pn="Fracture energy" v="20.0"/>
60+
</inputs>
61+
<outputs></outputs>
62+
</CLaw>
63+
64+
<CLaw n="DEM_KDEM_with_damage_parallel_bond_2D" pn="KDEM with damage" ProductionReady="ProductionReady" help="Not implemented" ImplementedInApplication="DEMApplication" App="CDEM" Dimension="2D" OutputMode="Materials">
65+
<inputs>
66+
<parameter n="CONTACT_TAU_ZERO" pn="Mohr-Coulomb Cohesion" units="MPa" unit_magnitude="P" v="10"/>
67+
<parameter n="CONTACT_SIGMA_MIN" pn="Normal Tensile Strength" units="MPa" unit_magnitude="P" v="13"/>
68+
<parameter n="CONTACT_INTERNAL_FRICC" pn="Contact Internal Friction" v="0.44"/>
69+
<parameter n="SHEAR_ENERGY_COEF" pn="Shear energy" v="4.0"/>
70+
<parameter n="LOOSE_MATERIAL_YOUNG_MODULUS" pn="Loose Young modulus" units="Pa" unit_magnitude="P" v="14e8"/>
71+
<parameter n="FRACTURE_ENERGY" pn="Fracture energy" v="20.0"/>
72+
</inputs>
73+
<outputs></outputs>
74+
</CLaw>
75+
5276
<!-- <CLaw n="LinearElasticPlaneStrain2DLaw" pn="Linear Elastic Plane Strain" ProductionReady="ProductionReady" Type="PlaneStrain" Behaviour="Elastic" StrainSize="3" ImplementedInApplication="StructuralMechanicsApplication" help="Linear elastic behaviour in 2D plane strain" Dimension="2D" LargeDeformation="False" RequiresLocalAxes="False" HybridType="False">
5377
<inputs>
5478
<parameter n="DENSITY" pn="Density" unit_magnitude="Density" units="kg/m^3" v="7850"/>

0 commit comments

Comments
 (0)