File tree Expand file tree Collapse file tree
ConjugateHeatTransfer/write Expand file tree Collapse file tree Original file line number Diff line number Diff 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
Original file line number Diff line number Diff 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
9093proc ::ConjugateHeatTransfer::write::WriteMaterialsFile { {write_const_law True} {include_modelpart_name True} } {
Original file line number Diff line number Diff 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
1515proc ::Fluid::write::Init { } {
You can’t perform that action at this time.
0 commit comments