Skip to content

Commit

Permalink
fixup: add horizon tolerance for all thermal problems
Browse files Browse the repository at this point in the history
  • Loading branch information
pabloseleson authored and streeve committed Jan 27, 2025
1 parent 9df6df1 commit aa77cf6
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions examples/thermomechanics/thermal_crack.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ void thermalCrackExample( const std::string filename )
double K = E / ( 3 * ( 1 - 2 * nu ) );
double G0 = inputs["fracture_energy"];
double delta = inputs["horizon"];
delta += 1e-10;
double alpha = inputs["thermal_expansion_coeff"];

// Problem parameters
Expand Down
1 change: 1 addition & 0 deletions examples/thermomechanics/thermal_deformation.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ void thermalDeformationExample( const std::string filename )
double nu = 0.25;
double K = E / ( 3 * ( 1 - 2 * nu ) );
double delta = inputs["horizon"];
delta += 1e-10;
double alpha = inputs["thermal_expansion_coeff"];

// Problem parameters
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ void thermalDeformationHeatTransferExample( const std::string filename )
double nu = 0.25;
double K = E / ( 3 * ( 1 - 2 * nu ) );
double delta = inputs["horizon"];
delta += 1e-10;
double alpha = inputs["thermal_expansion_coeff"];
double kappa = inputs["thermal_conductivity"];
double cp = inputs["specific_heat_capacity"];
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ void thermalDeformationHeatTransferPrenotchedExample(
double K = E / ( 3 * ( 1 - 2 * nu ) );
double G0 = inputs["fracture_energy"];
double delta = inputs["horizon"];
delta += 1e-10;
double alpha = inputs["thermal_expansion_coeff"];
double kappa = inputs["thermal_conductivity"];
double cp = inputs["specific_heat_capacity"];
Expand Down

0 comments on commit aa77cf6

Please sign in to comment.