ASPECT
|
Static Public Member Functions | |
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 | |
std::vector< double > | transition_depths |
std::vector< double > | transition_pressures |
std::vector< double > | transition_temperatures |
std::vector< double > | transition_widths |
std::vector< double > | transition_pressure_widths |
std::vector< double > | transition_slopes |
std::vector< double > | transition_temperature_upper_limits |
std::vector< double > | transition_temperature_lower_limits |
bool | use_depth_instead_of_pressure |
std::unique_ptr< std::vector< unsigned int > > | n_phase_transitions_per_composition |
std::vector< unsigned int > | n_phases_per_composition |
unsigned int | n_phases_total |
A class that bundles functionality to compute the values and derivatives of phase functions. The class can handle arbitrary numbers of phase transitions, but the calling side has to determine how to use the return values of this object (e.g. in terms of density or viscosity).
Definition at line 569 of file utilities.h.
double aspect::MaterialModel::MaterialUtilities::PhaseFunction< dim >::compute_value | ( | const PhaseFunctionInputs< dim > & | in | ) | const |
Percentage of material that has already undergone the phase transition to the higher-pressure material (this is done individually for each transition and summed up in the end)
double aspect::MaterialModel::MaterialUtilities::PhaseFunction< dim >::compute_derivative | ( | const PhaseFunctionInputs< dim > & | in | ) | const |
Return the derivative of the phase function with respect to pressure.
unsigned int aspect::MaterialModel::MaterialUtilities::PhaseFunction< dim >::n_phase_transitions | ( | ) | const |
Return the total number of phase transitions.
unsigned int aspect::MaterialModel::MaterialUtilities::PhaseFunction< dim >::n_phases | ( | ) | const |
Return the total number of phases.
double aspect::MaterialModel::MaterialUtilities::PhaseFunction< dim >::get_transition_slope | ( | const unsigned int | phase_index | ) | const |
Return the Clapeyron slope (dp/dT of the transition) for phase transition number phase_index
.
const std::vector<unsigned int>& aspect::MaterialModel::MaterialUtilities::PhaseFunction< dim >::n_phase_transitions_for_each_composition | ( | ) | const |
Return how many phase transitions there are for each composition.
const std::vector<unsigned int>& aspect::MaterialModel::MaterialUtilities::PhaseFunction< dim >::n_phases_for_each_composition | ( | ) | const |
Return how many phases there are for each composition.
|
static |
Declare the parameters this class takes through input files. Note that this class does not declare its own subsection, i.e. the parameters will be declared in the subsection that was active before calling this function.
void aspect::MaterialModel::MaterialUtilities::PhaseFunction< dim >::parse_parameters | ( | ParameterHandler & | prm | ) |
Read the parameters this class declares from the parameter file. Note that this class does not declare its own subsection, i.e. the parameters will be parsed from the subsection that was active before calling this function.
|
private |
List of depth (or pressure), width, Clapeyron slopes and limits of temperature for the different phase transitions
Definition at line 638 of file utilities.h.
|
private |
Definition at line 639 of file utilities.h.
|
private |
Definition at line 640 of file utilities.h.
|
private |
Definition at line 641 of file utilities.h.
|
private |
Definition at line 642 of file utilities.h.
|
private |
Definition at line 643 of file utilities.h.
|
private |
Definition at line 644 of file utilities.h.
|
private |
Definition at line 645 of file utilities.h.
|
private |
Whether to define the phase transitions based on depth, or pressure. Based on this parameter, either transition_depths and transition_width, or transition_pressures and transition_pressure_widths determine the depth of the phase transition.
Definition at line 653 of file utilities.h.
|
private |
A vector that stores how many phase transitions there are for each compositional field.
Definition at line 658 of file utilities.h.
|
private |
A vector that stores how many phases there are for each compositional field.
Definition at line 663 of file utilities.h.
|
private |
Total number of phases over all compositional fields
Definition at line 668 of file utilities.h.