![]() |
Lethe Open-Source Library version 1.2.0
Developer Guide
|
#include <heat_transfer_assemblers.h>
Public Member Functions | |
| HeatTransferAssemblerViscousDissipationCLS (const std::shared_ptr< SimulationControl > &simulation_control, Parameters::FluidIndicator p_viscous_dissipative_fluid) | |
| virtual void | assemble_matrix (const HeatTransferScratchData< dim > &scratch_data, StabilizedMethodsCopyData ©_data) override |
| virtual void | assemble_rhs (const HeatTransferScratchData< dim > &scratch_data, StabilizedMethodsCopyData ©_data) override |
| Public Member Functions inherited from PhysicsAssemblerBase< HeatTransferScratchData< dim >, StabilizedMethodsCopyData > | |
| virtual | ~PhysicsAssemblerBase ()=default |
Protected Attributes | |
| const std::shared_ptr< SimulationControl > | simulation_control |
| Parameters::FluidIndicator | viscous_dissipative_fluid |
Class that assembles the viscous dissipation for the heat transfer solver, for the specific case of CLS simulations. The only difference compared to the regular one is that the viscous dissipation can be applied in one of the fluids rather than both, through the viscous_dissipative_fluid parameter.
| dim | An integer that denotes the number of spatial dimensions |
| simulation_control | Shared pointer of the SimulationControl object controlling the current simulation |
| p_viscous_dissipative_fluid | A FluidIndicator enum element indicating the selected viscous dissipative fluid(s). |
Definition at line 229 of file heat_transfer_assemblers.h.
|
inline |
Definition at line 233 of file heat_transfer_assemblers.h.
References simulation_control, and viscous_dissipative_fluid.
|
overridevirtual |
Assemble the matrix.
| [in] | scratch_data | Scratch data containing the information required for system assembly. It is important to note that the scratch data has to have been re-inited before calling for matrix assembly. |
| [in,out] | copy_data | Destination where the local_matrix is copied to. |
Implements PhysicsAssemblerBase< HeatTransferScratchData< dim >, StabilizedMethodsCopyData >.
Definition at line 559 of file heat_transfer_assemblers.cc.
|
overridevirtual |
assemble_rhs Assembles the rhs
| scratch_data | (see base class) |
| copy_data | (see base class) |
Implements PhysicsAssemblerBase< HeatTransferScratchData< dim >, StabilizedMethodsCopyData >.
Definition at line 567 of file heat_transfer_assemblers.cc.
References Parameters::both, HeatTransferScratchData< dim >::dynamic_viscosity, HeatTransferScratchData< dim >::fe_values_T, HeatTransferScratchData< dim >::filtered_phase_values, Parameters::fluid_0, Parameters::fluid_1, StabilizedMethodsCopyData::local_rhs, HeatTransferScratchData< dim >::n_dofs, HeatTransferScratchData< dim >::n_q_points, HeatTransferScratchData< dim >::phi_T, simulation_control, HeatTransferScratchData< dim >::velocity_gradient_values, and viscous_dissipative_fluid.
|
protected |
Definition at line 254 of file heat_transfer_assemblers.h.
|
protected |
Definition at line 255 of file heat_transfer_assemblers.h.