Skip to content

Commit

Permalink
[Dam] Correct joint constitutive law name (#983)
Browse files Browse the repository at this point in the history
* Minor changes in joints description

* Correct variable name
  • Loading branch information
joaquinirazabal authored Jul 4, 2024
1 parent 3edbdd7 commit c1daa19
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion kratos.gid/apps/Dam/write/write.tcl
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ proc ::Dam::write::UpdateMaterials { } {
dict set matdict $mat THICKNESS 1.0
set newconstlaw "IsotropicDamageCohesive2DLaw"
}
if {$constlaw eq "IsotropicDamageCohesive2DLawPlaneStrain"} {
if {$constlaw eq "IsotropicDamageCohesive2DPlaneStrain"} {
dict set matdict $mat THICKNESS 1.0
set newconstlaw "IsotropicDamageCohesive2DLaw"
}
Expand Down
10 changes: 5 additions & 5 deletions kratos.gid/apps/Dam/xml/ConstitutiveLaws.xml
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@
<!--3D Interface laws-->
<CLaw n="ElasticCohesive3DLaw" pn="Joint Elastic Cohesive 3D" Type="Interface3D" behaviour="Elastic"
StrainSize="6" AnalysisType="Linear,Non-Linear"
help="Elastic law (no breakage) for joints in 3D problems" Dimension="3D" LargeDeformation="False" RequiresLocalAxes="False" HybridType="False" AllowsAnisotropy="False" DamageType="Local,NonLocal" >
help="Elastic Cohesive law (no breakage) for joints in 3D problems" Dimension="3D" LargeDeformation="False" RequiresLocalAxes="False" HybridType="False" AllowsAnisotropy="False" DamageType="Local,NonLocal" >
<inputs>
<parameter n="NORMAL_STIFFNESS" pn="Normal stiffness" unit_magnitude="F/L" units="N/m" v="0.3e06" />
<parameter n="SHEAR_STIFFNESS" pn="Shear stiffness" unit_magnitude="F/L" units="N/m" v="0.3e06" />
Expand Down Expand Up @@ -199,8 +199,8 @@
</CLaw>

<!--2D Interface laws-->
<CLaw n="ElasticCohesive2DPlaneStrain" pn="Simplified Joint Plane Strain" Type="InterfaceStrain" behaviour="Elastic" StrainSize="3" DamageType="Local,NonLocal"
help="Simplified law for joints in Plane Strain problems" Dimension="2D" LargeDeformation="False" RequiresLocalAxes="False" HybridType="False" AnalysisType="Linear,Non-Linear">
<CLaw n="ElasticCohesive2DPlaneStrain" pn="Joint Elastic Cohesive Plane Strain" Type="InterfaceStrain" behaviour="Elastic" StrainSize="3" DamageType="Local,NonLocal"
help="Elastic Cohesive law (no breakage) for joints in Plane Strain problems" Dimension="2D" LargeDeformation="False" RequiresLocalAxes="False" HybridType="False" AnalysisType="Linear,Non-Linear">
<inputs>
<parameter n="NORMAL_STIFFNESS" pn="Normal stiffness" unit_magnitude="F/L" units="N/m" v="0.3e06" />
<parameter n="SHEAR_STIFFNESS" pn="Shear stiffness" unit_magnitude="F/L" units="N/m" v="0.3e06" />
Expand All @@ -210,8 +210,8 @@
</outputs>
</CLaw>

<CLaw n="ElasticCohesive2DPlaneStress" pn="Simplified Joint Plane Stress" Type="InterfaceStress" behaviour="Elastic" StrainSize="3" DamageType="Local,NonLocal"
help="Simplified law for joints in Plane Stress problems" Dimension="2D" LargeDeformation="False" RequiresLocalAxes="False" HybridType="False" AnalysisType="Linear,Non-Linear">
<CLaw n="ElasticCohesive2DPlaneStress" pn="Joint Elastic Cohesive Plane Stress" Type="InterfaceStress" behaviour="Elastic" StrainSize="3" DamageType="Local,NonLocal"
help="Elastic Cohesive law (no breakage) for joints in Plane Stress problems" Dimension="2D" LargeDeformation="False" RequiresLocalAxes="False" HybridType="False" AnalysisType="Linear,Non-Linear">
<inputs>
<parameter n="NORMAL_STIFFNESS" pn="Normal stiffness" unit_magnitude="F/L" units="N/m" v="0.3e06" />
<parameter n="SHEAR_STIFFNESS" pn="Shear stiffness" unit_magnitude="F/L" units="N/m" v="0.3e06" />
Expand Down

0 comments on commit c1daa19

Please sign in to comment.