ASPECT
|
Static Public Member Functions | |
static void | declare_parameters (ParameterHandler &prm) |
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) |
Private Attributes | |
Functions::ParsedFunction< dim > | prescribed_viscosity_indicator_function |
Functions::ParsedFunction< dim > | prescribed_viscosity_function |
std::unique_ptr< MaterialModel::Interface< dim > > | base_model |
Additional Inherited Members | |
Public Types inherited from aspect::MaterialModel::Interface< dim > | |
using | MaterialModelInputs = MaterialModel::MaterialModelInputs< dim > |
using | MaterialModelOutputs = MaterialModel::MaterialModelOutputs< dim > |
Protected Attributes inherited from aspect::MaterialModel::Interface< dim > | |
NonlinearDependence::ModelDependence | model_dependence |
A material model that applies a viscosity to a ''base model'' chosen from any of the other available material models. This prescribed viscosity material model allows the user to specify a function which describes where the viscosity should be prescribed and a second function which describes the viscosity in that region. This material model requires a base model which prescribes the viscosity and the other material parameters in the rest of the model.
Definition at line 45 of file prescribed_viscosity.h.
|
overridevirtual |
Initialize the base model at the beginning of the run.
Reimplemented from aspect::Plugins::InterfaceBase.
|
overridevirtual |
Update the base model and viscosity function at the beginning of each timestep.
Reimplemented from aspect::Plugins::InterfaceBase.
|
override |
Compute the material properties by evaluating the base model and then overwrite the viscosity according to the viscosity function in the locations set by the indicator function.
|
static |
Method to declare parameters related to prescribed viscosity model
|
overridevirtual |
Method to parse parameters related to prescribed viscosity model
Reimplemented from aspect::Plugins::InterfaceBase.
|
overridevirtual |
Method that indicates whether material is compressible. Prescribed viscosity model is compressible if and only if base model is compressible.
Implements aspect::MaterialModel::Interface< dim >.
|
overridevirtual |
If this material model can produce additional named outputs that are derived from NamedAdditionalOutputs, create them in here. By default, this does nothing.
Reimplemented from aspect::MaterialModel::Interface< dim >.
|
private |
Parsed function that specifies where the viscosity is prescribed.
Definition at line 94 of file prescribed_viscosity.h.
|
private |
Parsed function that specifies what the viscosity is set to in the prescribed regions.
Definition at line 100 of file prescribed_viscosity.h.
|
private |
Pointer to the material model used as the base model
Definition at line 105 of file prescribed_viscosity.h.