Lethe Open-Source Library version 1.2.0
Developer Guide
Loading...
Searching...
No Matches
HeatTransferAssemblerViscousDissipationCLS< dim > Class Template Reference

#include <heat_transfer_assemblers.h>

Inheritance diagram for HeatTransferAssemblerViscousDissipationCLS< dim >:
[legend]

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 &copy_data) override
virtual void assemble_rhs (const HeatTransferScratchData< dim > &scratch_data, StabilizedMethodsCopyData &copy_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

Detailed Description

template<int dim>
class HeatTransferAssemblerViscousDissipationCLS< dim >

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.

Template Parameters
dimAn integer that denotes the number of spatial dimensions
Parameters
simulation_controlShared pointer of the SimulationControl object controlling the current simulation
p_viscous_dissipative_fluidA FluidIndicator enum element indicating the selected viscous dissipative fluid(s).

Definition at line 229 of file heat_transfer_assemblers.h.

Constructor & Destructor Documentation

◆ HeatTransferAssemblerViscousDissipationCLS()

template<int dim>
HeatTransferAssemblerViscousDissipationCLS< dim >::HeatTransferAssemblerViscousDissipationCLS ( const std::shared_ptr< SimulationControl > & simulation_control,
Parameters::FluidIndicator p_viscous_dissipative_fluid )
inline

Definition at line 233 of file heat_transfer_assemblers.h.

References simulation_control, and viscous_dissipative_fluid.

Member Function Documentation

◆ assemble_matrix()

template<int dim>
void HeatTransferAssemblerViscousDissipationCLS< dim >::assemble_matrix ( const HeatTransferScratchData< dim > & scratch_data,
StabilizedMethodsCopyData & copy_data )
overridevirtual

Assemble the matrix.

Parameters
[in]scratch_dataScratch 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_dataDestination where the local_matrix is copied to.

Implements PhysicsAssemblerBase< HeatTransferScratchData< dim >, StabilizedMethodsCopyData >.

Definition at line 559 of file heat_transfer_assemblers.cc.

◆ assemble_rhs()

Member Data Documentation

◆ simulation_control

template<int dim>
const std::shared_ptr<SimulationControl> HeatTransferAssemblerViscousDissipationCLS< dim >::simulation_control
protected

Definition at line 254 of file heat_transfer_assemblers.h.

◆ viscous_dissipative_fluid

template<int dim>
Parameters::FluidIndicator HeatTransferAssemblerViscousDissipationCLS< dim >::viscous_dissipative_fluid
protected

Definition at line 255 of file heat_transfer_assemblers.h.


The documentation for this class was generated from the following files: