ASPECT
entropy_model.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2016 - 2024 by the authors of the ASPECT code.
3 
4  This file is part of ASPECT.
5 
6  ASPECT is free software; you can redistribute it and/or modify
7  it under the terms of the GNU General Public License as published by
8  the Free Software Foundation; either version 2, or (at your option)
9  any later version.
10 
11  ASPECT is distributed in the hope that it will be useful,
12  but WITHOUT ANY WARRANTY; without even the implied warranty of
13  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14  GNU General Public License for more details.
15 
16  You should have received a copy of the GNU General Public License
17  along with ASPECT; see the file LICENSE. If not see
18  <http://www.gnu.org/licenses/>.
19 */
20 
21 #ifndef _aspect_material_model_entropy_model_h
22 #define _aspect_material_model_entropy_model_h
23 
25 
26 #include <aspect/utilities.h>
32 
33 namespace aspect
34 {
35  namespace MaterialModel
36  {
37  using namespace dealii;
50  template <int dim>
52  {
53  public:
58  void
59  initialize () override;
60 
69  bool is_compressible () const override;
78  void
79  evaluate(const MaterialModel::MaterialModelInputs<dim> &in,
80  MaterialModel::MaterialModelOutputs<dim> &out) const override;
81 
89  static
90  void
91  declare_parameters (ParameterHandler &prm);
92 
96  void
97  parse_parameters (ParameterHandler &prm) override;
111  void
112  create_additional_named_outputs (MaterialModel::MaterialModelOutputs<dim> &out) const override;
113 
114 
115  private:
116 
118  double cohesion;
119 
123  double min_eta;
124  double max_eta;
126 
132  double thermal_conductivity (const double temperature,
133  const double pressure,
134  const Point<dim> &position) const;
135 
137  {
139  p_T_dependent
140  } conductivity_formulation;
141 
146  std::vector<double> conductivity_transition_depths;
147  std::vector<double> reference_thermal_conductivities;
150  std::vector<double> conductivity_exponents;
151  std::vector<double> saturation_scaling;
153 
157  std::string data_directory;
158  std::vector<std::string> material_file_names;
160 
165  std::vector<std::unique_ptr<MaterialUtilities::Lookup::EntropyReader>> entropy_reader;
166 
171  std::unique_ptr<internal::LateralViscosityLookup> lateral_viscosity_prefactor_lookup;
172 
177 
182  std::unique_ptr<Rheology::AsciiDepthProfile<dim>> depth_dependent_rheology;
183  };
184  }
185 }
186 
187 #endif
void declare_parameters(ParameterHandler &prm)
std::vector< double > reference_thermal_conductivities
std::vector< double > conductivity_reference_temperatures
std::vector< double > saturation_scaling
Definition: compat.h:59
std::vector< std::unique_ptr< MaterialUtilities::Lookup::EntropyReader > > entropy_reader
Rheology::DruckerPrager< dim > drucker_prager_plasticity
std::vector< std::string > material_file_names
std::vector< double > conductivity_transition_depths
std::vector< double > conductivity_exponents
Definition: compat.h:42
std::unique_ptr< Rheology::AsciiDepthProfile< dim > > depth_dependent_rheology
std::vector< double > conductivity_pressure_dependencies
std::unique_ptr< internal::LateralViscosityLookup > lateral_viscosity_prefactor_lookup