Loading [MathJax]/jax/output/HTML-CSS/config.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
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
Typedefs
a
b
c
d
e
f
g
h
i
j
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
▼
OGS
►
OpenGeoSys 6.5.4-423-gda6ede93c83 source code documentation
►
OGS CTests—Project Files
►
OGS Input File Parameters—Quality Assurance
►
OGS Input File Parameters
BulkMappingDocuPage
Todo List
OGS Input File Parameters—List of incomplete documentation pages
Bibliography
►
Namespaces
►
Classes
▼
Files
▼
File List
►
Applications
►
BaseLib
►
build
►
ChemistryLib
Documentation
►
GeoLib
►
InfoLib
►
MaterialLib
►
MathLib
►
MeshGeoToolsLib
►
MeshLib
►
MeshToolsLib
►
NumLib
►
ParameterLib
▼
ProcessLib
►
Assembly
►
BoundaryConditionAndSourceTerm
►
Common
►
ComponentTransport
►
ConstitutiveRelations
►
Deformation
►
Graph
►
HeatConduction
►
HeatTransportBHE
►
HMPhaseField
►
HT
►
HydroMechanics
►
LargeDeformation
►
LIE
►
LiquidFlow
►
Output
►
PhaseField
►
Reflection
►
RichardsComponentTransport
►
RichardsFlow
►
RichardsMechanics
►
SmallDeformation
►
SmallDeformationNonlocal
►
SteadyStateDiffusion
►
StokesFlow
►
SurfaceFlux
►
TES
►
TH2M
►
ThermalTwoPhaseFlowWithPP
►
ThermoHydroMechanics
►
ThermoMechanicalPhaseField
►
ThermoMechanics
►
ThermoRichardsFlow
►
ThermoRichardsMechanics
►
TwoPhaseFlowWithPP
►
TwoPhaseFlowWithPrho
►
Utils
▼
WellboreSimulator
►
CreateWellboreSimulatorProcess.cpp
►
CreateWellboreSimulatorProcess.h
►
ReservoirProperties.cpp
►
ReservoirProperties.h
►
WellboreGeometry.cpp
►
WellboreGeometry.h
WellboreSimulatorFEM-impl.h
►
WellboreSimulatorFEM.h
►
WellboreSimulatorLocalAssemblerInterface.h
WellboreSimulatorProcess.cpp
►
WellboreSimulatorProcess.h
►
WellboreSimulatorProcessData.h
►
AbstractJacobianAssembler.h
AnalyticalJacobianAssembler.cpp
►
AnalyticalJacobianAssembler.h
►
AssemblyMixin.cpp
►
AssemblyMixin.h
►
CentralDifferencesJacobianAssembler.cpp
►
CentralDifferencesJacobianAssembler.h
►
CompareJacobiansJacobianAssembler.cpp
►
CompareJacobiansJacobianAssembler.h
►
CoupledSolutionsForStaggeredScheme.cpp
►
CoupledSolutionsForStaggeredScheme.h
►
CreateDeactivatedSubdomain.cpp
►
CreateDeactivatedSubdomain.h
►
CreateForwardDifferencesJacobianAssembler.cpp
►
CreateForwardDifferencesJacobianAssembler.h
►
CreateJacobianAssembler.cpp
►
CreateJacobianAssembler.h
►
CreateProcessData.cpp
►
CreateProcessData.h
►
CreateTimeLoop.cpp
►
CreateTimeLoop.h
DeactivatedSubdomain.cpp
►
DeactivatedSubdomain.h
ForwardDifferencesJacobianAssembler.cpp
►
ForwardDifferencesJacobianAssembler.h
LocalAssemblerInterface.cpp
►
LocalAssemblerInterface.h
►
LocalAssemblerTraits.h
►
Process.cpp
►
Process.h
►
ProcessData.cpp
►
ProcessData.h
►
ProcessVariable.cpp
►
ProcessVariable.h
►
SubmeshAssemblySupport.h
►
TimeLoop.cpp
►
TimeLoop.h
►
VariableTransformation.h
VectorMatrixAssembler.cpp
►
VectorMatrixAssembler.h
►
File Members
WellboreGeometry.cpp
Go to the documentation of this file.
1
11
#include "
WellboreGeometry.h
"
12
13
#include <string>
14
15
#include "
BaseLib/ConfigTree.h
"
16
#include "
ParameterLib/Utils.h
"
17
18
namespace
ProcessLib
19
{
20
namespace
WellboreSimulator
21
{
22
WellboreGeometry
createWellboreGeometry
(
23
BaseLib::ConfigTree
const
& config,
24
std::vector<std::unique_ptr<ParameterLib::ParameterBase>>
const
& parameters)
25
{
26
double
const
length =
28
config.
getConfigParameter
<
double
>(
"length"
);
29
30
auto
const
& diameter =
ParameterLib::findParameter<double>
(
32
config.
getConfigParameter
<std::string>(
"diameter"
),
33
parameters,
34
1,
35
nullptr
);
36
37
auto
const
& casing_thickness =
ParameterLib::findParameter<double>
(
39
config.
getConfigParameter
<std::string>(
"casing_thickness"
),
40
parameters,
41
1,
42
nullptr
);
43
44
auto
const
& pipe_thickness =
ParameterLib::findParameter<double>
(
46
config.
getConfigParameter
<std::string>(
"pipe_thickness"
),
47
parameters,
48
1,
49
nullptr
);
50
51
auto
const
& roughness =
ParameterLib::findParameter<double>
(
53
config.
getConfigParameter
<std::string>(
"roughness"
),
54
parameters,
55
1,
56
nullptr
);
57
58
return
{length, diameter, casing_thickness, pipe_thickness, roughness};
59
}
22
WellboreGeometry
createWellboreGeometry
( {
…
}
60
}
// namespace WellboreSimulator
61
}
// namespace ProcessLib
ConfigTree.h
Utils.h
WellboreGeometry.h
BaseLib::ConfigTree
Definition
ConfigTree.h:107
BaseLib::ConfigTree::getConfigParameter
T getConfigParameter(std::string const ¶m) const
Definition
ConfigTree-impl.h:41
ParameterLib::findParameter
OGS_NO_DANGLING Parameter< ParameterDataType > & findParameter(std::string const ¶meter_name, std::vector< std::unique_ptr< ParameterBase > > const ¶meters, int const num_components, MeshLib::Mesh const *const mesh=nullptr)
Definition
Utils.h:102
ProcessLib::WellboreSimulator::createWellboreGeometry
WellboreGeometry createWellboreGeometry(BaseLib::ConfigTree const &config, std::vector< std::unique_ptr< ParameterLib::ParameterBase > > const ¶meters)
Definition
WellboreGeometry.cpp:22
ProcessLib
Definition
ProjectData.h:51
ProcessLib::WellboreSimulator::WellboreGeometry
Definition
WellboreGeometry.h:32
ProcessLib
WellboreSimulator
WellboreGeometry.cpp
Generated by
1.12.0