diff --git a/kratos.gid/apps/Dam/write/write.tcl b/kratos.gid/apps/Dam/write/write.tcl index ba287f229..a6b2f3169 100644 --- a/kratos.gid/apps/Dam/write/write.tcl +++ b/kratos.gid/apps/Dam/write/write.tcl @@ -69,29 +69,21 @@ proc ::Dam::write::UpdateMaterials { } { set constlaw [dict get $props ConstitutiveLaw] # Modificar la ley constitutiva set newconstlaw $constlaw - if {$constlaw eq "ElasticCohesive2DPlaneStress"} { - dict set matdict $mat THICKNESS 1.0000E+00 - set newconstlaw "ElasticCohesive2DLaw" - } if {$constlaw eq "ElasticCohesive2DPlaneStrain"} { - dict set matdict $mat THICKNESS 1.0000E+00 + dict set matdict $mat THICKNESS 1.0 set newconstlaw "ElasticCohesive2DLaw" } - if {$constlaw eq "BilinearCohesive2DPlaneStress"} { - dict set matdict $mat THICKNESS 1.0000E+00 - set newconstlaw "BilinearCohesive2DLaw" - } - if {$constlaw eq "BilinearCohesive2DPlaneStrain"} { - dict set matdict $mat THICKNESS 1.0000E+00 - set newconstlaw "BilinearCohesive2DLaw" + if {$constlaw eq "ElasticCohesive2DPlaneStress"} { + dict set matdict $mat THICKNESS 1.0 + set newconstlaw "ElasticCohesive2DLaw" } - if {$constlaw eq "ExponentialCohesive2DPlaneStress"} { - dict set matdict $mat THICKNESS 1.0000E+00 - set newconstlaw "ExponentialCohesive2DLaw" + if {$constlaw eq "IsotropicDamageCohesive2DPlaneStress"} { + dict set matdict $mat THICKNESS 1.0 + set newconstlaw "IsotropicDamageCohesive2DLaw" } - if {$constlaw eq "ExponentialCohesive2DPlaneStrain"} { - dict set matdict $mat THICKNESS 1.0000E+00 - set newconstlaw "ExponentialCohesive2DLaw" + if {$constlaw eq "IsotropicDamageCohesive2DLawPlaneStrain"} { + dict set matdict $mat THICKNESS 1.0 + set newconstlaw "IsotropicDamageCohesive2DLaw" } dict set matdict $mat CONSTITUTIVE_LAW_NAME $newconstlaw diff --git a/kratos.gid/apps/Dam/xml/ConstitutiveLaws.xml b/kratos.gid/apps/Dam/xml/ConstitutiveLaws.xml index e1490a40b..4401fb4eb 100644 --- a/kratos.gid/apps/Dam/xml/ConstitutiveLaws.xml +++ b/kratos.gid/apps/Dam/xml/ConstitutiveLaws.xml @@ -61,43 +61,27 @@ + help="Elastic law (no breakage) for joints in 3D problems" Dimension="3D" LargeDeformation="False" RequiresLocalAxes="False" HybridType="False" AllowsAnisotropy="False" DamageType="Local,NonLocal" > - - - - - - - - - - - - - - - - + + - - + help="Isotropic Damage Cohesive law for joints in 3D problems" Dimension="3D" LargeDeformation="False" RequiresLocalAxes="False" HybridType="False" AllowsAnisotropy="False" DamageType="Local,NonLocal" > - - - - - - + + + + + + + @@ -218,9 +202,9 @@ - - + + @@ -229,74 +213,43 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + - - + - - - - - - + + + + + + + - + - - - - - - + + + + + + + - diff --git a/kratos.gid/apps/Dam/xml/Materials.xml b/kratos.gid/apps/Dam/xml/Materials.xml index 73df0d4ba..ab1d2befe 100644 --- a/kratos.gid/apps/Dam/xml/Materials.xml +++ b/kratos.gid/apps/Dam/xml/Materials.xml @@ -19,38 +19,23 @@ - + - - - - + + + - + - - - - - - - - - - - - - - - - - - - - - + + + + + + +