File tree Expand file tree Collapse file tree
ConjugateHeatTransfer/examples
ConvectionDiffusion/examples Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -201,7 +201,7 @@ proc ::ConjugateHeatTransfer::examples::HeatedSquare::TreeAssignation2D {args} {
201201 # Thermal Parts
202202 set parts [spdAux::getRoute " CNVDFFParts" ]
203203 set fluidNode [customlib::AddConditionGroupOnXPath $parts Heating]
204- set props [list Element EulerianConvDiff$nd Material Gold DENSITY 19300.0 CONDUCTIVITY 310 SPECIFIC_HEAT 125.6]
204+ set props [list Element EulerianConvDiff$nd Material Gold DENSITY 19300.0 CONDUCTIVITY 310.0 SPECIFIC_HEAT 125.6]
205205 spdAux::SetValuesOnBaseNode $fluidNode $props
206206
207207 # Thermal Nodal Conditions
Original file line number Diff line number Diff line change @@ -124,7 +124,7 @@ proc ::ConvectionDiffusion::examples::HeatedSquare::TreeAssignation2D {args} {
124124 # Fluid Parts
125125 set parts [spdAux::getRoute " CNVDFFParts" ]
126126 set fluidNode [customlib::AddConditionGroupOnXPath $parts Body]
127- set props [list Element EulerianConvDiff$nd Material Gold DENSITY 19300.0 CONDUCTIVITY 310 SPECIFIC_HEAT 125.6]
127+ set props [list Element EulerianConvDiff$nd Material Gold DENSITY 19300.0 CONDUCTIVITY 310.0 SPECIFIC_HEAT 125.6]
128128 spdAux::SetValuesOnBaseNode $fluidNode $props
129129
130130 # Thermal Nodal Conditions
Original file line number Diff line number Diff line change @@ -169,6 +169,7 @@ proc ::Structural::write::getOldParametersDict { {stage ""} } {
169169 if {$solutiontype eq " eigen_value" } {
170170 dict unset projectParametersDict output_processes
171171 dict unset projectParametersDict solver_settings analysis_type
172+ dict set projectParametersDict solver_settings builder_and_solver_settings use_block_builder false
172173 }
173174
174175 return $projectParametersDict
Original file line number Diff line number Diff line change @@ -9,5 +9,8 @@ rm -f "$2/$1.info"
99rm -f " $2 /$1 .err"
1010rm -f " $2 /$1 .flavia.dat"
1111
12+ export PYTHONPATH=" "
13+ export PYTHONHOME=" "
14+
1215# Run Python using the script MainKratos.py
1316$python_path MainKratos.py > " $2 /$1 .info" 2> " $2 /$1 .err"
Original file line number Diff line number Diff line change @@ -15,4 +15,6 @@ DEL "%2\%1*.post.res"
1515DEL " %2 \%1 *.post.msh"
1616
1717@ REM Calculate!
18+ set PYTHONPATH = " "
19+ set PYTHONHOME = " "
1820%python_path% MainKratos.py > " %2 \\%1 .info" 2 > " %2 \\%1 .err"
Original file line number Diff line number Diff line change @@ -304,6 +304,7 @@ proc Kratos::ExecuteLaunchByMode {launch_mode} {
304304 Default {
305305 set python_path [GiD_Python_GetPythonExe]
306306 set ::env(python_path) $python_path
307+ set ::env(python_home) [file dirname $python_path ]
307308 }
308309 default {}
309310 }
You can’t perform that action at this time.
0 commit comments