ASPECT
multicomponent.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_h
16 #define _aspect_material_model_multicomponent_h
17 
21 
22 
23 namespace aspect
24 {
25  namespace MaterialModel
26  {
55  template <int dim>
57  {
58  public:
59 
65  MaterialModel::MaterialModelOutputs<dim> &out) const override;
66 
75  bool is_compressible () const override;
76 
89  static
90  void
92 
96  void
97  parse_parameters (ParameterHandler &prm) override;
98 
103  private:
110  double reference_T;
111 
117 
122  std::vector<double> viscosities;
123 
129  std::vector<double> thermal_conductivities;
130 
132  };
133 
134  }
135 }
136 
137 #endif
bool is_compressible() const override
std::vector< double > thermal_conductivities
void parse_parameters(ParameterHandler &prm) override
static void declare_parameters(ParameterHandler &prm)
void evaluate(const MaterialModel::MaterialModelInputs< dim > &in, MaterialModel::MaterialModelOutputs< dim > &out) const override
EquationOfState::MulticomponentIncompressible< dim > equation_of_state
MaterialUtilities::CompositionalAveragingOperation viscosity_averaging