ASPECT
Public Member Functions | Public Attributes | List of all members
aspect::MaterialModel::MeltOutputs< dim > Class Template Reference
Inheritance diagram for aspect::MaterialModel::MeltOutputs< dim >:
Inheritance graph
[legend]

Public Member Functions

 MeltOutputs (const unsigned int n_points, const unsigned int n_comp)
 
void average (const MaterialAveraging::AveragingOperation operation, const FullMatrix< double > &projection_matrix, const FullMatrix< double > &expansion_matrix) override
 
- Public Member Functions inherited from aspect::MaterialModel::AdditionalMaterialOutputs< dim >
virtual ~AdditionalMaterialOutputs ()=default
 

Public Attributes

std::vector< double > compaction_viscosities
 
std::vector< double > fluid_viscosities
 
std::vector< double > permeabilities
 
std::vector< double > fluid_densities
 
std::vector< Tensor< 1, dim > > fluid_density_gradients
 

Detailed Description

template<int dim>
class aspect::MaterialModel::MeltOutputs< dim >

Definition at line 76 of file melt.h.

Constructor & Destructor Documentation

§ MeltOutputs()

template<int dim>
aspect::MaterialModel::MeltOutputs< dim >::MeltOutputs ( const unsigned int  n_points,
const unsigned int  n_comp 
)

Constructor. When the MeltOutputs are created, all properties are initialized with signaling NaNs. This means that after the call to the material model it can be checked if the material model actually computed the values, by checking if the individual values are finite (using std::isfinite).

Member Function Documentation

§ average()

template<int dim>
void aspect::MaterialModel::MeltOutputs< dim >::average ( const MaterialAveraging::AveragingOperation  operation,
const FullMatrix< double > &  projection_matrix,
const FullMatrix< double > &  expansion_matrix 
)
overridevirtual

Do the requested averaging operation for the melt outputs. The projection matrix argument is only used if the operation chosen is project_to_Q1.

Reimplemented from aspect::MaterialModel::AdditionalMaterialOutputs< dim >.

Member Data Documentation

§ compaction_viscosities

template<int dim>
std::vector<double> aspect::MaterialModel::MeltOutputs< dim >::compaction_viscosities

Compaction viscosity values \(\xi\) at the given positions. This parameter describes the resistance of the solid matrix in a two-phase simulation to dilation and compaction.

Definition at line 95 of file melt.h.

§ fluid_viscosities

template<int dim>
std::vector<double> aspect::MaterialModel::MeltOutputs< dim >::fluid_viscosities

Fluid (melt) viscosity values \(\eta_f\) at the given positions.

Definition at line 100 of file melt.h.

§ permeabilities

template<int dim>
std::vector<double> aspect::MaterialModel::MeltOutputs< dim >::permeabilities

Permeability values \(k\) at the given positions.

Definition at line 105 of file melt.h.

§ fluid_densities

template<int dim>
std::vector<double> aspect::MaterialModel::MeltOutputs< dim >::fluid_densities

Fluid (melt) density values \(\rho_f\) at the given positions.

Definition at line 110 of file melt.h.

§ fluid_density_gradients

template<int dim>
std::vector<Tensor<1,dim> > aspect::MaterialModel::MeltOutputs< dim >::fluid_density_gradients

An approximation for the fluid (melt) density gradients \(\nabla \rho_f\) at the given positions. These values are required for compressible models to describe volume changes of melt in dependence of pressure, temperature etc.

Definition at line 118 of file melt.h.


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