GEOS
coreComponents
physicsSolvers
fluidFlow
SinglePhaseBaseFields.hpp
Go to the documentation of this file.
1
/*
2
* ------------------------------------------------------------------------------------------------------------
3
* SPDX-License-Identifier: LGPL-2.1-only
4
*
5
* Copyright (c) 2016-2024 Lawrence Livermore National Security LLC
6
* Copyright (c) 2018-2024 TotalEnergies
7
* Copyright (c) 2018-2024 The Board of Trustees of the Leland Stanford Junior University
8
* Copyright (c) 2023-2024 Chevron
9
* Copyright (c) 2019- GEOS/GEOSX Contributors
10
* All rights reserved
11
*
12
* See top level LICENSE, COPYRIGHT, CONTRIBUTORS, NOTICE, and ACKNOWLEDGEMENTS files for details.
13
* ------------------------------------------------------------------------------------------------------------
14
*/
15
20
#ifndef GEOS_PHYSICSSOLVERS_FLUIDFLOW_SINGLEPHASEBASEFIELDS_HPP_
21
#define GEOS_PHYSICSSOLVERS_FLUIDFLOW_SINGLEPHASEBASEFIELDS_HPP_
22
23
#include "
mesh/MeshFields.hpp
"
24
#include "constitutive/fluid/singlefluid/SingleFluidLayouts.hpp"
25
#include "constitutive/fluid/singlefluid/SingleFluidUtils.hpp"
26
27
namespace
geos
28
{
32
namespace
fields
33
{
34
35
namespace
flow
36
{
37
38
using
array2dLayoutFluid = array2d< real64, constitutive::singlefluid::LAYOUT_FLUID >;
39
40
DECLARE_FIELD
( mass,
41
"mass"
,
42
array1d< real64 >,
43
0,
44
LEVEL_0,
45
WRITE_AND_READ,
46
"Fluid mass"
);
47
48
DECLARE_FIELD
( mass_n,
49
"mass_n"
,
50
array1d< real64 >,
51
0,
52
NOPLOT,
53
NO_WRITE,
54
"Fluid mass at the previous converged time step"
);
55
56
DECLARE_FIELD
( dMass,
57
"dMass"
,
58
array2dLayoutFluid,
59
0,
60
NOPLOT,
61
NO_WRITE,
62
"Derivatives of the fluid mass"
);
63
64
DECLARE_FIELD
( massCreated,
65
"massCreated"
,
66
array1d< real64 >,
67
0,
68
LEVEL_1,
69
WRITE_AND_READ,
70
"The amount of remaining mass that was introduced when the SurfaceElement was created."
);
71
72
DECLARE_FIELD
( mobility,
73
"mobility"
,
74
array1d< real64 >,
75
0,
76
NOPLOT,
77
WRITE_AND_READ,
78
"Mobility"
);
79
80
DECLARE_FIELD
( dMobility,
81
"dMobility"
,
82
array2dLayoutFluid,
83
0,
84
NOPLOT,
85
NO_WRITE,
86
"dMobility"
);
87
88
DECLARE_FIELD
( dEnergy,
89
"dEnergy"
,
90
array2dLayoutFluid,
91
0,
92
NOPLOT,
93
NO_WRITE,
94
"Derivatives of energy"
);
95
96
}
97
98
}
99
100
}
101
102
#endif
// GEOS_PHYSICSSOLVERS_FLUIDFLOW_SINGLEPHASEBASEFIELDS_HPP_
MeshFields.hpp
DECLARE_FIELD
#define DECLARE_FIELD(NAME, KEY, TYPE, DEFAULT, PLOTLEVEL, RESTARTFLAG, DESCRIPTION)
Generates a traits struct.
Definition:
MeshFields.hpp:39
geos
Definition:
DataLayouts.hpp:29
Generated by
1.9.1