GEOS
SinglePhaseWellFields.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_SINGLEPHASEWELLFIELDS_HPP_
21 #define GEOS_PHYSICSSOLVERS_FLUIDFLOW_WELLS_SINGLEPHASEWELLFIELDS_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( connectionRate,
37  "connectionRate",
38  array1d< real64 >,
39  0,
40  LEVEL_0,
41  WRITE_AND_READ,
42  "Connection rate" );
43 
44 DECLARE_FIELD( connectionRate_n,
45  "connectionRate_n",
46  array1d< real64 >,
47  0,
48  NOPLOT,
49  WRITE_AND_READ,
50  "Connection rate at the previous converged time step" );
51 
52 DECLARE_FIELD( density_n,
53  "density_n",
54  array1d< real64 >,
55  0,
56  NOPLOT,
57  WRITE_AND_READ,
58  "Density at the previous converged time step" );
59 
60 DECLARE_FIELD( perforationRate,
61  "perforationRate",
62  array1d< real64 >,
63  0,
64  NOPLOT,
65  WRITE_AND_READ,
66  "Perforation rate" );
67 
68 DECLARE_FIELD( dPerforationRate_dPres,
69  "dPerforationRate_dPres",
70  array2d< real64 >,
71  0,
72  NOPLOT,
73  WRITE_AND_READ,
74  "Derivative of perforation rate with respect to pressure" );
75 
76 }
77 
78 }
79 
80 }
81 
82 #endif // GEOS_PHYSICSSOLVERS_FLUIDFLOW_WELLS_SINGLEPHASEWELLFIELDS_HPP_
#define DECLARE_FIELD(NAME, KEY, TYPE, DEFAULT, PLOTLEVEL, RESTARTFLAG, DESCRIPTION)
Generates a traits struct.
Definition: MeshFields.hpp:39