We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b4a7f6c commit 1189871Copy full SHA for 1189871
1 file changed
kratos.gid/apps/DEM/write/writeMDPA_Inlet.tcl
@@ -629,7 +629,12 @@ proc DEM::write::writeMaterialsInlet { } {
629
dict set inletProperties $group DEM_CONTINUUM_CONSTITUTIVE_LAW_NAME DEMContinuumConstitutiveLaw
630
foreach {prop val} [dict get $inletProperties $group] {
631
if {$prop in $printable} {
632
- write::WriteString " $prop $val"
+ if {$prop eq "FRICTION"} {
633
+ set propvalue [expr {tan($val)}]
634
+ write::WriteString " FRICTION $propvalue"
635
+ } else {
636
+ write::WriteString " $prop $val"
637
+ }
638
}
639
640
write::WriteString "End Properties\n"
0 commit comments