Skip to content

Commit bb07382

Browse files
variable name
1 parent 71255b2 commit bb07382

3 files changed

Lines changed: 5 additions & 2 deletions

File tree

kratos.gid/apps/Buoyancy/write/write.tcl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ proc ::Buoyancy::write::writeModelPartEvent { } {
2323

2424
set fluid_base_xpath [spdAux::getRoute Buoyancy_FL]
2525
set fluid_base [[customlib::GetBaseRoot] selectNodes $fluid_base_xpath]
26-
set ::Fluid::write::fluid_base $fluid_base
26+
set ::Fluid::write::base_root $fluid_base
2727

2828
::Fluid::write::writeModelPartEvent
2929

kratos.gid/apps/ConjugateHeatTransfer/write/write.tcl

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,9 @@ proc ::ConjugateHeatTransfer::write::PrepareBuoyancy { } {
8585
Fluid::write::SetAttribute thermal_bc_un Buoyancy_CNVDFFBC
8686
Fluid::write::SetAttribute thermal_initial_cnd_un Buoyancy_CNVDFFNodalConditions
8787
Fluid::write::SetCoordinatesByGroups [GetAttribute coordinates]
88+
set base_root_xpath [spdAux::getRoute CHTBuoyancy]
89+
set base_root [[customlib::GetBaseRoot] selectNodes $base_root_xpath]
90+
set ::Fluid::write::base_root $base_root
8891
}
8992

9093
proc ::ConjugateHeatTransfer::write::WriteMaterialsFile { {write_const_law True} {include_modelpart_name True} } {

kratos.gid/apps/Fluid/write/write.tcl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ namespace eval ::Fluid::write {
99
# after regular conditions are written, we need this number in order to print the custom submodelpart conditions
1010
# only if are applied over things that are not in the skin
1111
variable last_condition_iterator
12-
variable fluid_base
12+
variable base_root
1313
}
1414

1515
proc ::Fluid::write::Init { } {

0 commit comments

Comments
 (0)