Loading [MathJax]/extensions/tex2jax.js
OGS
Toggle main menu visibility
Main Page
Related Pages
Namespaces
Namespace List
Namespace Members
All
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Variables
a
b
c
d
e
g
h
i
j
l
m
n
o
p
q
r
s
t
u
v
w
Typedefs
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
v
w
z
Enumerations
b
c
d
e
f
g
i
l
m
n
o
p
s
t
u
v
Enumerator
a
b
c
d
e
f
g
h
l
m
n
p
r
s
t
v
y
Classes
Class List
Class Index
Class Hierarchy
Files
File List
File Members
All
a
b
c
d
e
f
g
i
k
m
n
o
p
r
s
t
v
w
x
Functions
a
c
d
e
f
g
i
m
o
p
r
s
t
v
w
Variables
Typedefs
Enumerations
Macros
b
c
g
m
n
o
p
r
s
t
LinearWaterVapourLatentHeat.h
Go to the documentation of this file.
1
12
#pragma once
13
14
#include "
MaterialLib/MPL/Property.h
"
15
16
namespace
MaterialPropertyLib
17
{
18
class
Phase;
19
36
class
LinearWaterVapourLatentHeat
final :
public
Property
37
{
38
public
:
39
explicit
LinearWaterVapourLatentHeat
(std::string
name
)
40
{
41
name_
= std::move(
name
);
42
}
39
explicit
LinearWaterVapourLatentHeat
(std::string
name
) {
…
}
43
44
void
checkScale
()
const override
45
{
46
if
(!(std::holds_alternative<Phase*>(
scale_
) ||
47
std::holds_alternative<Component*>(
scale_
)))
48
{
49
OGS_FATAL
(
50
"The property 'LinearWaterVapourLatentHeat' is "
51
"implemented on the 'phase' and 'component' scale only."
);
52
}
53
}
44
void
checkScale
()
const override
{
…
}
54
55
PropertyDataType
value
(
VariableArray
const
& variable_array,
56
ParameterLib::SpatialPosition
const
& pos,
57
double
const
t,
58
double
const
dt)
const override
;
59
60
PropertyDataType
dValue
(
VariableArray
const
& variable_array,
61
Variable
const
variable,
62
ParameterLib::SpatialPosition
const
& pos,
63
double
const
t,
double
const
dt)
const override
;
64
};
36
class
LinearWaterVapourLatentHeat
final :
public
Property
{
…
};
65
66
}
// namespace MaterialPropertyLib
OGS_FATAL
#define OGS_FATAL(...)
Definition
Error.h:26
Property.h
MaterialPropertyLib::LinearWaterVapourLatentHeat
An empirical function for the latent heat of vaporization of liquid water, which is given by saito200...
Definition
LinearWaterVapourLatentHeat.h:37
MaterialPropertyLib::LinearWaterVapourLatentHeat::checkScale
void checkScale() const override
Definition
LinearWaterVapourLatentHeat.h:44
MaterialPropertyLib::LinearWaterVapourLatentHeat::LinearWaterVapourLatentHeat
LinearWaterVapourLatentHeat(std::string name)
Definition
LinearWaterVapourLatentHeat.h:39
MaterialPropertyLib::LinearWaterVapourLatentHeat::dValue
PropertyDataType dValue(VariableArray const &variable_array, Variable const variable, ParameterLib::SpatialPosition const &pos, double const t, double const dt) const override
Definition
LinearWaterVapourLatentHeat.cpp:33
MaterialPropertyLib::Property
Definition
Property.h:51
MaterialPropertyLib::Property::value
virtual PropertyDataType value() const
Definition
Property.cpp:76
MaterialPropertyLib::Property::name_
std::string name_
Definition
Property.h:290
MaterialPropertyLib::Property::scale_
std::variant< Medium *, Phase *, Component * > scale_
Definition
Property.h:297
MaterialPropertyLib::VariableArray
Definition
VariableType.h:101
ParameterLib::SpatialPosition
Definition
SpatialPosition.h:28
MaterialPropertyLib
Definition
ChemicalSolverInterface.h:21
MaterialPropertyLib::Variable
Variable
Definition
VariableType.h:30
MaterialPropertyLib::name
@ name
Definition
PropertyType.h:66
MaterialPropertyLib::PropertyDataType
std::variant< double, Eigen::Matrix< double, 2, 1 >, Eigen::Matrix< double, 3, 1 >, Eigen::Matrix< double, 2, 2 >, Eigen::Matrix< double, 3, 3 >, Eigen::Matrix< double, 4, 1 >, Eigen::Matrix< double, 6, 1 >, Eigen::MatrixXd > PropertyDataType
Definition
Property.h:31
MaterialLib
MPL
Properties
Enthalpy
LinearWaterVapourLatentHeat.h
Generated by
1.12.0