GEOS
WellSolverBaseFields.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 Total, S.A
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_WELLS_WELLSOLVERBASEFIELDS_HPP_
21 #define GEOS_PHYSICSSOLVERS_FLUIDFLOW_WELLS_WELLSOLVERBASEFIELDS_HPP_
22 
23 #include "mesh/MeshFields.hpp"
24 
25 namespace geos
26 {
30 namespace fields
31 {
32 
33 namespace well
34 {
35 
36 DECLARE_FIELD( pressure,
37  "pressure",
38  array1d< real64 >,
39  0,
40  LEVEL_0,
41  WRITE_AND_READ,
42  "Pressure" );
43 
44 DECLARE_FIELD( pressure_n,
45  "pressure_n",
46  array1d< real64 >,
47  0,
48  NOPLOT,
49  WRITE_AND_READ,
50  "Pressure at the previous converged time step" );
51 
52 DECLARE_FIELD( temperature,
53  "temperature",
54  array1d< real64 >,
55  0,
56  LEVEL_0,
57  WRITE_AND_READ,
58  "Temperature" );
59 
60 DECLARE_FIELD( temperature_n,
61  "temperature_n",
62  array1d< real64 >,
63  0,
64  NOPLOT,
65  WRITE_AND_READ,
66  "Temperature at the previous converged time step" );
67 
68 DECLARE_FIELD( gravityCoefficient,
69  "gravityCoefficient",
70  array1d< real64 >,
71  0,
72  NOPLOT,
73  WRITE_AND_READ,
74  "Gravity coefficient (dot product of gravity acceleration by gravity vector)" );
75 
76 DECLARE_FIELD( pressureScalingFactor,
77  "pressureScalingFactor",
78  array1d< real64 >,
79  1,
80  NOPLOT,
81  NO_WRITE,
82  "Scaling factors for pressure" );
83 
84 DECLARE_FIELD( temperatureScalingFactor,
85  "temperatureScalingFactor",
86  array1d< real64 >,
87  1,
88  NOPLOT,
89  NO_WRITE,
90  "Scaling factors for temperature" );
91 
92 }
93 
94 }
95 
96 }
97 
98 #endif // GEOS_PHYSICSSOLVERS_FLUIDFLOW_WELLS_WELLSOLVERBASEFIELDS_HPP_
#define DECLARE_FIELD(NAME, KEY, TYPE, DEFAULT, PLOTLEVEL, RESTARTFLAG, DESCRIPTION)
Generates a traits struct.
Definition: MeshFields.hpp:39