ASPECT
diffusion_dislocation.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2011 - 2022 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_diffusion_dislocation_h
22 #define _aspect_material_model_diffusion_dislocation_h
23 
28 
29 namespace aspect
30 {
31  namespace MaterialModel
32  {
33  using namespace dealii;
34 
80  template <int dim>
82  {
83  public:
84 
85  void evaluate(const MaterialModel::MaterialModelInputs<dim> &in,
86  MaterialModel::MaterialModelOutputs<dim> &out) const override;
87 
99  bool is_compressible () const override;
100 
101  static
102  void
103  declare_parameters (ParameterHandler &prm);
104 
105  void
106  parse_parameters (ParameterHandler &prm) override;
107 
108  private:
114 
115  double reference_T;
116 
125 
128 
131  double grain_size;
132 
133  std::vector<double> densities;
134  std::vector<double> thermal_expansivities;
135 
137 
138  std::vector<double>
139  calculate_isostrain_viscosities ( const std::vector<double> &volume_fractions,
140  const double &pressure,
141  const double &temperature,
142  const SymmetricTensor<2,dim> &strain_rate) const;
143 
144  };
145 
146  }
147 }
148 
149 #endif
MaterialUtilities::CompositionalAveragingOperation viscosity_averaging
Rheology::DislocationCreep< dim > dislocation_creep
void declare_parameters(ParameterHandler &prm)
Rheology::DiffusionCreep< dim > diffusion_creep
Definition: compat.h:42