Skip to content

Commit f6ffa61

Browse files
nodal result
1 parent 55d107a commit f6ffa61

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

kratos.gid/apps/FreeSurface/xml/XmlController.tcl

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,13 @@ proc ::FreeSurface::xml::CustomTree { args } {
3939

4040
spdAux::SetValueOnTreeItem v 9.8 FLGravity GravityValue
4141

42+
set root [customlib::GetBaseRoot]
43+
foreach {n pn} [list LIN_DARCY_COEF "Linear darcy coefficient" NONLIN_DARCY_COEF "Nonlinear darcy coefficient" POROSITY "Porosity" BODY_FORCE "Body force"] {
44+
if {[$root selectNodes "[spdAux::getRoute NodalResults]/value\[@n='$n'\]"] eq ""} {
45+
gid_groups_conds::addF [spdAux::getRoute NodalResults] value [list n $n pn $pn v yes values "yes,no"]
46+
}
47+
}
48+
4249
}
4350

4451
proc ::FreeSurface::xml::UpdateParts {domNode args} {

0 commit comments

Comments
 (0)