OGS
DarcyVelocity.h
Go to the documentation of this file.
1
10#pragma once
11
12#include "Base.h"
13#include "FluidDensity.h"
14#include "PermeabilityData.h"
16#include "Viscosity.h"
17
18namespace ProcessLib::TH2M
19{
20namespace ConstitutiveRelations
21{
22template <int DisplacementDim>
24{
27
28 static auto reflect()
29 {
31 namespace R = ProcessLib::Reflection;
32
33 return std::tuple{
34 R::makeReflectionData("velocity_gas", &Self::w_GS),
35 R::makeReflectionData("velocity_liquid", &Self::w_LS)};
36 }
37};
38
39template <int DisplacementDim>
41{
43 FluidDensityData const& fluid_density_data,
45 PermeabilityData<DisplacementDim> const& permeability_data,
46 SpecificBodyForceData<DisplacementDim> const& specific_body_force,
47 ViscosityData const& viscosity_data,
48 DarcyVelocityData<DisplacementDim>& darcy_velocity_data) const;
49};
50
51extern template struct DarcyVelocityModel<2>;
52extern template struct DarcyVelocityModel<3>;
53} // namespace ConstitutiveRelations
54} // namespace ProcessLib::TH2M
Eigen::Vector< double, DisplacementDim > GlobalDimVector
Definition Base.h:36
void eval(CapillaryPressureGradientData< DisplacementDim > const &grad_p_cap, FluidDensityData const &fluid_density_data, GasPressureGradientData< DisplacementDim > const &grad_p_GR, PermeabilityData< DisplacementDim > const &permeability_data, SpecificBodyForceData< DisplacementDim > const &specific_body_force, ViscosityData const &viscosity_data, DarcyVelocityData< DisplacementDim > &darcy_velocity_data) const