Skip to content

Commit

Permalink
Change JSON variable name
Browse files Browse the repository at this point in the history
  • Loading branch information
pabloseleson committed Jun 24, 2024
1 parent 917404f commit c157a0c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion examples/thermomechanics/inputs/thermal_crack.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"fracture_energy" : {"value": 24.32, "unit": "J/m^2"},
"thermal_coefficient" : {"value": 7.5E-6, "unit": "oC^{-1}"},
"reference_temperature" : {"value": 300.0, "unit": "oC"},
"water_bath_temperature" : {"value": 20.0, "unit": "oC"},
"background_temperature" : {"value": 20.0, "unit": "oC"},
"surface_temperature_ramp_time" : {"value": 0.001, "unit": "s"},
"horizon" : {"value": 3.0e-4, "unit": "m"},
"final_time" : {"value": 0.002, "unit": "s"},
Expand Down
2 changes: 1 addition & 1 deletion examples/thermomechanics/thermal_crack.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ void thermalCrackExample( const std::string filename )

// Problem parameters
double temp0 = inputs["reference_temperature"];
double temp_w = inputs["water_bath_temperature"];
double temp_w = inputs["background_temperature"];
double t_ramp = inputs["surface_temperature_ramp_time"];

// ====================================================
Expand Down

0 comments on commit c157a0c

Please sign in to comment.