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
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.3-432-g4c7234d7 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
►
HT
►
HydroMechanics
►
LargeDeformation
►
LIE
►
LiquidFlow
►
Output
►
PhaseField
►
Reflection
►
RichardsComponentTransport
►
RichardsFlow
►
RichardsMechanics
►
SmallDeformation
►
SmallDeformationNonlocal
►
SteadyStateDiffusion
►
StokesFlow
►
SurfaceFlux
►
TES
►
TH2M
►
ThermalTwoPhaseFlowWithPP
►
ThermoHydroMechanics
►
ThermoMechanicalPhaseField
►
ThermoMechanics
►
ThermoRichardsFlow
▼
ThermoRichardsMechanics
▼
ConstitutiveCommon
►
Base.h
Biot.cpp
►
Biot.h
►
Bishops.cpp
►
Bishops.h
DarcyLaw.cpp
►
DarcyLaw.h
EqP.cpp
►
EqP.h
EqT.cpp
►
EqT.h
►
EquivalentPlasticStrainData.h
FluidThermalExpansion.cpp
►
FluidThermalExpansion.h
Gravity.cpp
►
Gravity.h
LiquidDensity.cpp
►
LiquidDensity.h
LiquidViscosity.cpp
►
LiquidViscosity.h
►
MaterialState.h
►
PermeabilityData.h
PermeabilityModel.cpp
►
PermeabilityModel.h
Porosity.cpp
►
Porosity.h
Saturation.cpp
►
Saturation.h
►
SolidCompressibilityData.h
SolidDensity.cpp
►
SolidDensity.h
►
SolidMechanicsDataStateless.h
SolidThermalExpansion.cpp
►
SolidThermalExpansion.h
►
SpecificBodyForceData.h
ThermoOsmosis.cpp
►
ThermoOsmosis.h
►
TotalStressData.h
TransportPorosity.cpp
►
TransportPorosity.h
TRMHeatStorageAndFlux.cpp
►
TRMHeatStorageAndFlux.h
TRMStorage.cpp
►
TRMStorage.h
TRMVaporDiffusion.cpp
►
TRMVaporDiffusion.h
►
ConstitutiveStress_StrainTemperature
►
ConstitutiveStressSaturation_StrainPressureTemperature
►
CreateThermoRichardsMechanicsLocalAssemblers.cpp
►
CreateThermoRichardsMechanicsLocalAssemblers.h
►
CreateThermoRichardsMechanicsProcess.cpp
►
CreateThermoRichardsMechanicsProcess.h
►
IntegrationPointData.h
►
LocalAssemblerInterface.h
ThermoRichardsMechanicsFEM-impl.h
►
ThermoRichardsMechanicsFEM.h
ThermoRichardsMechanicsProcess.cpp
►
ThermoRichardsMechanicsProcess.h
►
ThermoRichardsMechanicsProcessData.h
►
TwoPhaseFlowWithPP
►
TwoPhaseFlowWithPrho
►
Utils
►
WellboreSimulator
►
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
ThermoOsmosis.cpp
Go to the documentation of this file.
1
11
#include "
ThermoOsmosis.h
"
12
13
#include "
MaterialLib/MPL/Utils/FormEigenTensor.h
"
14
15
namespace
ProcessLib::ThermoRichardsMechanics
16
{
17
template
<
int
DisplacementDim>
18
void
ThermoOsmosisModel<DisplacementDim>::eval
(
19
SpaceTimeData
const
& x_t,
MediaData
const
& media_data,
20
TemperatureData<DisplacementDim>
const
& T_data,
21
LiquidDensityData
const
& rho_L_data,
22
ThermoOsmosisData<DisplacementDim>
& out)
const
23
{
24
namespace
MPL
=
MaterialPropertyLib
;
25
MPL::VariableArray
variables;
26
27
auto
const
& solid_phase = media_data.
solid
;
28
29
auto
const
K_pT_thermal_osmosis =
30
(solid_phase.hasProperty(
31
MaterialPropertyLib::PropertyType::thermal_osmosis_coefficient
)
32
?
MaterialPropertyLib::formEigenTensor<DisplacementDim>
(
33
solid_phase[MPL::PropertyType::thermal_osmosis_coefficient]
34
.value(variables, x_t.
x
, x_t.
t
, x_t.
dt
))
35
: Eigen::MatrixXd::Zero(DisplacementDim, DisplacementDim));
36
37
out.
K_pT_Laplace
= rho_L_data.
rho_LR
* K_pT_thermal_osmosis;
38
39
out.
K_Tp_Laplace
= T_data.
T
* K_pT_thermal_osmosis;
40
41
out.
seepage_velocity_contribution
= -K_pT_thermal_osmosis * T_data.
grad_T
;
42
}
18
void
ThermoOsmosisModel<DisplacementDim>::eval
( {
…
}
43
44
template
struct
ThermoOsmosisModel<2>
;
45
template
struct
ThermoOsmosisModel<3>
;
46
}
// namespace ProcessLib::ThermoRichardsMechanics
FormEigenTensor.h
ThermoOsmosis.h
MaterialPropertyLib::VariableArray
Definition
VariableType.h:99
MaterialPropertyLib
Definition
ChemicalSolverInterface.h:21
MaterialPropertyLib::formEigenTensor
Eigen::Matrix< double, GlobalDim, GlobalDim > formEigenTensor(MaterialPropertyLib::PropertyDataType const &values)
Definition
FormEigenTensor.cpp:115
MaterialPropertyLib::thermal_osmosis_coefficient
@ thermal_osmosis_coefficient
Definition
PropertyType.h:105
ProcessLib::ThermoRichardsMechanics
Definition
Base.h:20
ProcessLib::ConstitutiveRelations::SpaceTimeData
Definition
Base.h:73
ProcessLib::ConstitutiveRelations::SpaceTimeData::x
ParameterLib::SpatialPosition x
Definition
Base.h:74
ProcessLib::ConstitutiveRelations::SpaceTimeData::t
double t
Definition
Base.h:75
ProcessLib::ConstitutiveRelations::SpaceTimeData::dt
double dt
Definition
Base.h:76
ProcessLib::ThermoRichardsMechanics::LiquidDensityData
Definition
LiquidDensity.h:18
ProcessLib::ThermoRichardsMechanics::LiquidDensityData::rho_LR
double rho_LR
Definition
LiquidDensity.h:19
ProcessLib::ThermoRichardsMechanics::MediaData
Definition
Base.h:53
ProcessLib::ThermoRichardsMechanics::MediaData::solid
MaterialPropertyLib::Phase const & solid
Definition
Base.h:63
ProcessLib::ThermoRichardsMechanics::TemperatureData
Definition
Base.h:68
ProcessLib::ThermoRichardsMechanics::TemperatureData::T
double T
Definition
Base.h:69
ProcessLib::ThermoRichardsMechanics::TemperatureData::grad_T
Eigen::Vector< double, DisplacementDim > grad_T
Definition
Base.h:71
ProcessLib::ThermoRichardsMechanics::ThermoOsmosisData
Definition
ThermoOsmosis.h:20
ProcessLib::ThermoRichardsMechanics::ThermoOsmosisData::K_Tp_Laplace
GlobalDimMatrix< DisplacementDim > K_Tp_Laplace
Definition
ThermoOsmosis.h:22
ProcessLib::ThermoRichardsMechanics::ThermoOsmosisData::K_pT_Laplace
GlobalDimMatrix< DisplacementDim > K_pT_Laplace
Definition
ThermoOsmosis.h:21
ProcessLib::ThermoRichardsMechanics::ThermoOsmosisData::seepage_velocity_contribution
GlobalDimVector< DisplacementDim > seepage_velocity_contribution
Definition
ThermoOsmosis.h:23
ProcessLib::ThermoRichardsMechanics::ThermoOsmosisModel
Definition
ThermoOsmosis.h:28
ProcessLib::ThermoRichardsMechanics::ThermoOsmosisModel::eval
void eval(SpaceTimeData const &x_t, MediaData const &media_data, TemperatureData< DisplacementDim > const &T_data, LiquidDensityData const &rho_L_data, ThermoOsmosisData< DisplacementDim > &out) const
Definition
ThermoOsmosis.cpp:18
ProcessLib
ThermoRichardsMechanics
ConstitutiveCommon
ThermoOsmosis.cpp
Generated by
1.12.0