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
:
93
double
tidal_frequency
;
94
double
elastic_shear_modulus
;
95
double
constant_tidal_strain_rate
;
96
100
enum
StrainRateDistribution
101
{
102
constant
,
103
latitudinal_variation
104
}
strain_rate_distribution
;
105
106
double
maximum_tidal_strain_rate
;
107
double
minimum_tidal_strain_rate
;
108
};
109
}
110
}
111
112
113
#endif
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::elastic_shear_modulus
double elastic_shear_modulus
Definition:
tidal_heating.h:94
aspect::HeatingModel::TidalHeating::maximum_tidal_strain_rate
double maximum_tidal_strain_rate
Definition:
tidal_heating.h:106
aspect::MaterialModel::MaterialProperties::Property
Property
Definition:
interface.h:183
aspect::HeatingModel::Interface
Definition:
interface.h:120
aspect::HeatingModel::TidalHeating::constant_tidal_strain_rate
double constant_tidal_strain_rate
Definition:
tidal_heating.h:95
aspect::HeatingModel::TidalHeating::tidal_frequency
double tidal_frequency
Definition:
tidal_heating.h:93
aspect::HeatingModel::TidalHeating::strain_rate_distribution
enum aspect::HeatingModel::TidalHeating::StrainRateDistribution strain_rate_distribution
aspect::HeatingModel::TidalHeating::parse_parameters
void parse_parameters(ParameterHandler &prm) override
aspect::HeatingModel::TidalHeating::latitudinal_variation
Definition:
tidal_heating.h:103
aspect::HeatingModel::TidalHeating
Definition:
tidal_heating.h:39
simulator_access.h
aspect::SimulatorAccess
Definition:
plugins.h:47
aspect::HeatingModel::TidalHeating::constant
Definition:
tidal_heating.h:102
interface.h
aspect
Definition:
advection_field.h:30
aspect::MaterialModel::MaterialModelInputs
Definition:
interface.h:243
aspect::HeatingModel::TidalHeating::initialize
void initialize() override
aspect::HeatingModel::TidalHeating::minimum_tidal_strain_rate
double minimum_tidal_strain_rate
Definition:
tidal_heating.h:107
aspect::MaterialModel::MaterialModelOutputs
Definition:
interface.h:512
aspect::HeatingModel::HeatingModelOutputs
Definition:
interface.h:54
aspect::HeatingModel::TidalHeating::declare_parameters
static void declare_parameters(ParameterHandler &prm)
aspect::HeatingModel::TidalHeating::get_required_properties
MaterialModel::MaterialProperties::Property get_required_properties() const override
aspect::HeatingModel::TidalHeating::StrainRateDistribution
StrainRateDistribution
Definition:
tidal_heating.h:100