Skip to content

Commit

Permalink
Change heat transfer time step in solver to account for thermal_subcy…
Browse files Browse the repository at this point in the history
…cle_steps > 1
  • Loading branch information
pabloseleson committed Nov 22, 2024
1 parent ab7639e commit b79a49d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/CabanaPD_Solver.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,8 @@ class SolverElastic
{
if ( step % thermal_subcycle_steps == 0 )
computeHeatTransfer( *heat_transfer, *particles,
neigh_iter_tag{}, dt );
neigh_iter_tag{},
thermal_subcycle_steps * dt );
}

// Add non-force boundary condition.
Expand Down

0 comments on commit b79a49d

Please sign in to comment.