Skip to content

Commit 6eab4fd

Browse files
Merge branch 'master' into geo-print
2 parents 4eab92d + 8f7a83a commit 6eab4fd

6 files changed

Lines changed: 9 additions & 2 deletions

File tree

kratos.gid/apps/ConjugateHeatTransfer/examples/HeatedSquare.tcl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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

kratos.gid/apps/ConvectionDiffusion/examples/HeatedSquare.tcl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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

kratos.gid/apps/Structural/write/writeProjectParameters.tcl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff 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

kratos.gid/exec/pip_gids_python.unix.bat

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,8 @@ rm -f "$2/$1.info"
99
rm -f "$2/$1.err"
1010
rm -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"

kratos.gid/exec/pip_gids_python.win.bat

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,6 @@ DEL "%2\%1*.post.res"
1515
DEL "%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"

kratos.gid/scripts/Launch.tcl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff 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
}

0 commit comments

Comments
 (0)