ASPECT
dislocation_creep.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2019 - 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_rheology_dislocation_creep_h
22 #define _aspect_material_model_rheology_dislocation_creep_h
23 
24 #include <aspect/global.h>
26 
27 namespace aspect
28 {
29  namespace MaterialModel
30  {
31  namespace Rheology
32  {
37  {
42  double prefactor;
46 
51  };
52 
53  template <int dim>
55  {
56  public:
61 
65  static
66  void
68 
76  void
78  const std::unique_ptr<std::vector<unsigned int>> &expected_n_phases_per_composition = nullptr);
79 
88  compute_creep_parameters (const unsigned int composition,
89  const std::vector<double> &phase_function_values = std::vector<double>(),
90  const std::vector<unsigned int> &n_phase_transitions_per_composition = std::vector<unsigned int>()) const;
91 
99  double
101  const double pressure,
102  const double temperature,
103  const unsigned int composition,
104  const std::vector<double> &phase_function_values = std::vector<double>(),
105  const std::vector<unsigned int> &n_phase_transitions_per_composition = std::vector<unsigned int>()) const;
106 
111  std::pair<double, double>
113  const double pressure,
114  const double temperature,
115  const DislocationCreepParameters creep_parameters) const;
116 
121  std::pair<double, double>
122  compute_log_strain_rate_and_derivative (const double log_stress,
123  const double pressure,
124  const double temperature,
125  const DislocationCreepParameters creep_parameters) const;
126 
127  private:
128 
134  std::vector<double> prefactors;
135 
140  std::vector<double> stress_exponents;
141 
146  std::vector<double> activation_energies;
147 
153  std::vector<double> activation_volumes;
154 
155  };
156  }
157  }
158 }
159 #endif
std::pair< double, double > compute_strain_rate_and_derivative(const double stress, const double pressure, const double temperature, const DislocationCreepParameters creep_parameters) const
double compute_viscosity(const double strain_rate, const double pressure, const double temperature, const unsigned int composition, const std::vector< double > &phase_function_values=std::vector< double >(), const std::vector< unsigned int > &n_phase_transitions_per_composition=std::vector< unsigned int >()) const
static void declare_parameters(ParameterHandler &prm)
void parse_parameters(ParameterHandler &prm, const std::unique_ptr< std::vector< unsigned int >> &expected_n_phases_per_composition=nullptr)
const DislocationCreepParameters compute_creep_parameters(const unsigned int composition, const std::vector< double > &phase_function_values=std::vector< double >(), const std::vector< unsigned int > &n_phase_transitions_per_composition=std::vector< unsigned int >()) const
std::pair< double, double > compute_log_strain_rate_and_derivative(const double log_stress, const double pressure, const double temperature, const DislocationCreepParameters creep_parameters) const