ASPECT
Public Member Functions | Public Attributes | List of all members
aspect::MaterialModel::EquationOfStateOutputs< dim > Struct Template Reference

Public Member Functions

 EquationOfStateOutputs (const unsigned int n_individual_compositions_and_phases)
 

Public Attributes

std::vector< double > densities
 
std::vector< double > thermal_expansion_coefficients
 
std::vector< double > specific_heat_capacities
 
std::vector< double > compressibilities
 
std::vector< double > entropy_derivative_pressure
 
std::vector< double > entropy_derivative_temperature
 

Detailed Description

template<int dim>
struct aspect::MaterialModel::EquationOfStateOutputs< dim >

A data structure containing output fields that can be filled by the evaluate() function of an EquationOfState model. It contains those properties of the MaterialModelOutputs that are connected to the equation of state (or the thermodynamic properties). Output values are computed separately for each composition and phase.

Accordingly, the vectors are the values for each compositional field and individual phase at one specific location.

Definition at line 47 of file utilities.h.

Constructor & Destructor Documentation

§ EquationOfStateOutputs()

template<int dim>
aspect::MaterialModel::EquationOfStateOutputs< dim >::EquationOfStateOutputs ( const unsigned int  n_individual_compositions_and_phases)

Constructor. Initialize the various arrays of this structure with the given number of compositions and phases.

Parameters
n_individual_compositions_and_phasesThe number of vector quantities for which input will be provided, and outputs should be filled. Note that this number does not have to be the number of compositions, it can be smaller (if some compositional fields do not represent volumetric compositions, but tracked quantities like strain) or larger (if there is a background field, or some compositions have several high-pressure phases). It is the responsibility of the material model and equation of state object to interpret the entries consistently.

Member Data Documentation

§ densities

template<int dim>
std::vector<double> aspect::MaterialModel::EquationOfStateOutputs< dim >::densities

Density values for each composition and phase.

Definition at line 67 of file interface.h.

§ thermal_expansion_coefficients

template<int dim>
std::vector<double> aspect::MaterialModel::EquationOfStateOutputs< dim >::thermal_expansion_coefficients

Thermal expansion coefficients for each composition and phase. It is defined as \(\alpha = - \frac{1}{\rho} \frac{\partial\rho}{\partial T}\)

Definition at line 73 of file interface.h.

§ specific_heat_capacities

template<int dim>
std::vector<double> aspect::MaterialModel::EquationOfStateOutputs< dim >::specific_heat_capacities

Specific heat for each composition and phase.

Definition at line 78 of file interface.h.

§ compressibilities

template<int dim>
std::vector<double> aspect::MaterialModel::EquationOfStateOutputs< dim >::compressibilities

Compressibility for each composition and phase. The compressibility is defined as \(\kappa = \frac{1}{\rho} \frac{\partial\rho}{\partial p}\).

Definition at line 84 of file interface.h.

§ entropy_derivative_pressure

template<int dim>
std::vector<double> aspect::MaterialModel::EquationOfStateOutputs< dim >::entropy_derivative_pressure

The product of the change of entropy \(\Delta S\) at a phase transition and the derivative of the phase function \(X=X(p,T,\mathfrak c,\mathbf x)\) with regard to pressure for each composition and phase.

Definition at line 91 of file interface.h.

§ entropy_derivative_temperature

template<int dim>
std::vector<double> aspect::MaterialModel::EquationOfStateOutputs< dim >::entropy_derivative_temperature

The product of (minus) the change of entropy \(-\Delta S\) at a phase transition and the derivative of the phase function \(X=X(p,T,\mathfrak c,\mathbf x)\) with regard to temperature for each composition and phase.

Definition at line 99 of file interface.h.


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