ASPECT
|
Additional Inherited Members | |
Static Public Member Functions inherited from aspect::Plugins::InterfaceBase | |
static void | declare_parameters (ParameterHandler &prm) |
Static Public Member Functions inherited from aspect::SimulatorAccess< dim > | |
static void | get_composition_values_at_q_point (const std::vector< std::vector< double >> &composition_values, const unsigned int q, std::vector< double > &composition_values_at_q_point) |
This class assembles the right-hand-side term of the Stokes equation that is caused by the compression based on the changes in (hydrostatic) pressure and temperature in the mass conservation equation.
This class approximates this term as \( -\nabla \cdot \mathbf{u} = \left( \kappa \rho \textbf{g} - \alpha \nabla T \right) \cdot \textbf{u}\)
where \(\frac{1}{\rho} \frac{\partial \rho}{\partial p} = \kappa\) is the compressibility, \(- \frac{1}{\rho}\frac{\partial \rho}{\partial T} = \alpha\) is the thermal expansion coefficient, and both are defined in the material model.
|
overridevirtual |
Execute this assembler object. This function performs the primary work of an assembler. More precisely, it uses information for the current cell that is stored in scratch
(like the material properties on this cell and the position of quadrature points) and computes the matrix and right hand side contributions for a set of terms for the given cell. These contributions are stored in data
. Note, that the data in scratch
and data
is shared between all active assemblers so that each assembler should only add contributions to data
, not overwrite entries in the matrix. After all assemblers have finished, the final content of data
is distributed into the global matrix and right hand side vector.
Implements aspect::Assemblers::Interface< dim >.