Skip to content

Commit 1189871

Browse files
author
Miguel Angel
committed
Another bug
1 parent b4a7f6c commit 1189871

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

kratos.gid/apps/DEM/write/writeMDPA_Inlet.tcl

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -629,7 +629,12 @@ proc DEM::write::writeMaterialsInlet { } {
629629
dict set inletProperties $group DEM_CONTINUUM_CONSTITUTIVE_LAW_NAME DEMContinuumConstitutiveLaw
630630
foreach {prop val} [dict get $inletProperties $group] {
631631
if {$prop in $printable} {
632-
write::WriteString " $prop $val"
632+
if {$prop eq "FRICTION"} {
633+
set propvalue [expr {tan($val)}]
634+
write::WriteString " FRICTION $propvalue"
635+
} else {
636+
write::WriteString " $prop $val"
637+
}
633638
}
634639
}
635640
write::WriteString "End Properties\n"

0 commit comments

Comments
 (0)