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

Public Member Functions

virtual void evaluate (const aspect::MaterialModel::MaterialModelInputs< dim > &in, PrescribedDilationOutputs< dim > &out) 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)
 
virtual void save (std::map< std::string, std::string > &status_strings) const
 
virtual void load (const std::map< std::string, std::string > &status_strings)
 

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::PrescribedDilation::Interface< dim >

A base class for parameterizations that prescribe the dilation. If any Prescribed dilation plugin is selected by the user, then all of the following happens:

  1. In the continuity equation, the source term is added to the right hand side. The value we put on the RHS is computed by PrescribedDilation::evaluate function and passed to assembler in PrescribedDilationOutputs::dilation structure.
  2. In the momentum equation, the term grad(2/3 eta div v) is added to the left hand side. This term ensures we compute the deviatoric part of the strain rate tensor. The weak form of this term is -2/3 eta div_phi_u[i] div_phi_u[j].
  3. Sets do_pressure_rhs_compatibility_modification to true (if no open boundary is detected).

If more than one prescribed dilation plugin is selected, the results are summed.

Definition at line 121 of file interface.h.

Member Function Documentation

§ evaluate()

template<int dim>
virtual void aspect::PrescribedDilation::Interface< dim >::evaluate ( const aspect::MaterialModel::MaterialModelInputs< dim > &  in,
PrescribedDilationOutputs< dim > &  out 
) const
pure virtual

Compute the dilation and store in PrescribedDilationOutputs structure

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


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