ASPECT
Public Member Functions | List of all members
aspect::BoundaryHeatFlux::Interface< dim > Class Template Referenceabstract
Inheritance diagram for aspect::BoundaryHeatFlux::Interface< dim >:
Inheritance graph
[legend]

Public Member Functions

virtual std::vector< Tensor< 1, dim > > heat_flux (const types::boundary_id boundary_indicator, const MaterialModel::MaterialModelInputs< dim > &material_model_inputs, const MaterialModel::MaterialModelOutputs< dim > &material_model_outputs, const std::vector< Tensor< 1, dim >> &normal_vectors) const =0
 
- Public Member Functions inherited from aspect::Plugins::InterfaceBase
virtual ~InterfaceBase ()=default
 
virtual void initialize ()
 
virtual void update ()
 
virtual void parse_parameters (ParameterHandler &prm)
 

Additional Inherited Members

- Static Public Member Functions inherited from aspect::Plugins::InterfaceBase
static void declare_parameters (ParameterHandler &prm)
 

Detailed Description

template<int dim>
class aspect::BoundaryHeatFlux::Interface< dim >

Base class

Definition at line 82 of file simulator_access.h.

Member Function Documentation

§ heat_flux()

template<int dim>
virtual std::vector<Tensor<1,dim> > aspect::BoundaryHeatFlux::Interface< dim >::heat_flux ( const types::boundary_id  boundary_indicator,
const MaterialModel::MaterialModelInputs< dim > &  material_model_inputs,
const MaterialModel::MaterialModelOutputs< dim > &  material_model_outputs,
const std::vector< Tensor< 1, dim >> &  normal_vectors 
) const
pure virtual

Compute the heat flux for a list of quadrature points.

The return value would typically be computed as the product of the thermal conductivity material_model_outputs.thermal_conductivities[q] and the temperature gradient at the boundary.

Parameters
boundary_indicatorThe boundary indicator of the part of the boundary of the domain on which the point is located at which we are requesting the fluid pressure gradients.
material_model_inputsThe material property inputs.
material_model_outputsThe material property outputs.
normal_vectorsThe normal vector at each quadrature point.
Returns
A vector of heat flux vectors at the evaluation points. For historical reasons, the function is asked to provide the heat flux as a vector, even though the place where the heat flux is used only uses the component of this vector that is to the boundary (which it computes by taking the dot product normal between the returned vector and the normal vector). Because there are situations where all you can do is compute the normal heat flux as a scalar, the heat_flux() function also receives the normal vector as an input argument. As a consequence, one way for the function to compute the required heat flux vector is to compute the scalar heat flux and multiply it by the normal vector.

Implemented in aspect::BoundaryHeatFlux::Function< dim >.


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