ASPECT
include
aspect
heating_model
tidal_heating.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2025 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
22
#ifndef _aspect_heating_model_tidal_heating_h
23
#define _aspect_heating_model_tidal_heating_h
24
25
#include <
aspect/heating_model/interface.h
>
26
#include <
aspect/simulator_access.h
>
27
28
29
namespace
aspect
30
{
31
namespace
HeatingModel
32
{
38
template
<
int
dim>
39
class
TidalHeating
:
public
Interface
<dim>,
public
::aspect::SimulatorAccess
<dim>
40
{
41
public
:
46
void
initialize
()
override
;
47
48
public
:
52
void
53
evaluate
(
const
MaterialModel::MaterialModelInputs<dim>
&material_model_inputs,
54
const
MaterialModel::MaterialModelOutputs<dim>
&material_model_outputs,
55
HeatingModel::HeatingModelOutputs
&heating_model_outputs)
const override
;
56
61
MaterialModel::MaterialProperties::Property
62
get_required_properties
()
const override
;
63
67
static
68
void
69
declare_parameters
(
ParameterHandler
&prm);
70
74
void
75
parse_parameters
(
ParameterHandler
&prm)
override
;
76
77
private
:
96
double
tidal_frequency
;
100
double
elastic_shear_modulus
;
104
double
constant_tidal_strain_rate
;
105
109
enum
StrainRateDistribution
110
{
111
constant
,
112
latitudinal_variation
113
}
strain_rate_distribution
;
114
118
double
maximum_tidal_strain_rate
;
122
double
minimum_tidal_strain_rate
;
123
};
124
}
125
}
126
127
128
#endif
ParameterHandler
aspect::HeatingModel::Interface
Definition:
interface.h:121
aspect::HeatingModel::TidalHeating
Definition:
tidal_heating.h:40
aspect::HeatingModel::TidalHeating::elastic_shear_modulus
double elastic_shear_modulus
Definition:
tidal_heating.h:100
aspect::HeatingModel::TidalHeating::get_required_properties
MaterialModel::MaterialProperties::Property get_required_properties() const override
aspect::HeatingModel::TidalHeating::declare_parameters
static void declare_parameters(ParameterHandler &prm)
aspect::HeatingModel::TidalHeating::initialize
void initialize() override
aspect::HeatingModel::TidalHeating::maximum_tidal_strain_rate
double maximum_tidal_strain_rate
Definition:
tidal_heating.h:118
aspect::HeatingModel::TidalHeating::tidal_frequency
double tidal_frequency
Definition:
tidal_heating.h:96
aspect::HeatingModel::TidalHeating::evaluate
void evaluate(const MaterialModel::MaterialModelInputs< dim > &material_model_inputs, const MaterialModel::MaterialModelOutputs< dim > &material_model_outputs, HeatingModel::HeatingModelOutputs &heating_model_outputs) const override
aspect::HeatingModel::TidalHeating::StrainRateDistribution
StrainRateDistribution
Definition:
tidal_heating.h:110
aspect::HeatingModel::TidalHeating::constant
@ constant
Definition:
tidal_heating.h:111
aspect::HeatingModel::TidalHeating::latitudinal_variation
@ latitudinal_variation
Definition:
tidal_heating.h:112
aspect::HeatingModel::TidalHeating::minimum_tidal_strain_rate
double minimum_tidal_strain_rate
Definition:
tidal_heating.h:122
aspect::HeatingModel::TidalHeating::constant_tidal_strain_rate
double constant_tidal_strain_rate
Definition:
tidal_heating.h:104
aspect::HeatingModel::TidalHeating::parse_parameters
void parse_parameters(ParameterHandler &prm) override
aspect::HeatingModel::TidalHeating::strain_rate_distribution
enum aspect::HeatingModel::TidalHeating::StrainRateDistribution strain_rate_distribution
aspect::MaterialModel::MaterialModelInputs
Definition:
interface.h:244
aspect::MaterialModel::MaterialModelOutputs
Definition:
interface.h:513
aspect::SimulatorAccess
Definition:
simulator_access.h:211
interface.h
aspect::MaterialModel::MaterialProperties::Property
Property
Definition:
interface.h:184
aspect
Definition:
advection_field.h:31
simulator_access.h
aspect::HeatingModel::HeatingModelOutputs
Definition:
interface.h:55
ASPECT manual
| Generated by
1.9.1