ASPECT
multicomponent_compressible.h
Go to the documentation of this file.
1 // ------------------------------------------------------
2 //
3 // SPDX-License-Identifier: GPL-2.0-or-later
4 //
5 // SPDX-FileCopyrightText: Copyright (C) 2014-2026 by the ASPECT authors.
6 //
7 // This file is part of ASPECT.
8 //
9 // Detailed license information governing the source code and
10 // contributions can be found in the folder LICENSES and in
11 // LICENSE and CONTRIBUTING.md at the top level directory.
12 //
13 // ------------------------------------------------------
14 
15 #ifndef _aspect_material_model_multicomponent_compressible_h
16 #define _aspect_material_model_multicomponent_compressible_h
17 
21 
22 
23 namespace aspect
24 {
25  namespace MaterialModel
26  {
57  template <int dim>
59  {
60  public:
61 
67  MaterialModel::MaterialModelOutputs<dim> &out) const override;
68 
77  bool is_compressible () const override;
90  static
91  void
93 
97  void
98  parse_parameters (ParameterHandler &prm) override;
108  void
110 
111 
112  private:
119 
124  std::vector<double> viscosities;
125 
131  std::vector<double> thermal_conductivities;
132 
134 
139 
143  unsigned int n_phases;
144 
149  };
150 
151  }
152 }
153 
154 #endif
void evaluate(const MaterialModel::MaterialModelInputs< dim > &in, MaterialModel::MaterialModelOutputs< dim > &out) const override
static void declare_parameters(ParameterHandler &prm)
EquationOfState::MulticomponentCompressible< dim > equation_of_state
void create_additional_named_outputs(MaterialModel::MaterialModelOutputs< dim > &out) const override
MaterialUtilities::PhaseFunction< dim > phase_function
std::vector< unsigned int > n_phase_transitions_for_each_chemical_composition
void parse_parameters(ParameterHandler &prm) override
MaterialUtilities::CompositionalAveragingOperation viscosity_averaging