13#ifndef __H__UG__LIB_DISC__DENSITY_DRIVEN_FLOW__FV1__DENSITY_DRIVEN_FLOW_BASE_
14#define __H__UG__LIB_DISC__DENSITY_DRIVEN_FLOW__FV1__DENSITY_DRIVEN_FLOW_BASE_
69template<
typename TDomain>
178 void init(
const char* functions);
223 bool compDeriv =
false,
227 const number* Viscosity_c = NULL,
Finite Volume Element Discretization for Density Driven Flow.
Definition density_driven_flow_base.h:72
SmartPtr< DataExport< MathVector< dim >, dim > > m_exPressureGrad
Export for the gradient of brine mass fraction.
Definition density_driven_flow_base.h:245
virtual void set_dispersion(SmartPtr< CplUserData< MathMatrix< dim, dim >, dim > > data)=0
set dispersion
void compute_ip_darcy_velocity_std(MathVector< dim > &DarcyVel, const MathMatrix< dim, dim > &Permeability, number Viscosity, const MathVector< dim > &DensityTimesGravity, const MathVector< dim > &PressureGrad, bool compDeriv=false, MathVector< dim > *DarcyVel_c=NULL, MathVector< dim > *DarcyVel_p=NULL, const MathVector< dim > *DensityTimesGravity_c=NULL, const number *Viscosity_c=NULL, const MathVector< dim > *PressureGrad_p=NULL, size_t numSh=0)
compute darcy velocity at one ip
Definition density_driven_flow_base.cpp:216
void set_boussinesq_transport(bool bUse)
sets usage of boussinesq approximation for transport equation
Definition density_driven_flow_base.h:90
SmartPtr< CplUserData< MathVector< dim >, dim > > pressure_grad()
returns the export of brine mass fracture
Definition density_driven_flow_base.h:207
SmartPtr< DataExport< MathMatrix< dim, dim >, dim > > m_exPressureTensor
Export for the pressure related tensor.
Definition density_driven_flow_base.h:251
SmartPtr< CplUserData< MathVector< dim >, dim > > brine_grad()
returns the export of brine mass fracture
Definition density_driven_flow_base.h:204
IElemDisc< TDomain > base_type
Base class type.
Definition density_driven_flow_base.h:75
virtual void set_density(SmartPtr< CplUserData< number, dim > > data)=0
sets the density
SmartPtr< CplUserData< number, dim > > brine()
returns the export of brine mass fracture
Definition density_driven_flow_base.h:198
virtual bool requests_local_time_series()
returns if local time series is needed
Definition density_driven_flow_base.h:181
virtual void set_molecular_diffusion(SmartPtr< CplUserData< MathMatrix< dim, dim >, dim > > user)=0
sets the molecular diffusion tensor
virtual void set_gravity(SmartPtr< CplUserData< MathVector< dim >, dim > > user)=0
sets the gravity vector
DensityDrivenFlowBase< TDomain > this_type
own type
Definition density_driven_flow_base.h:78
SmartPtr< DataExport< MathVector< dim >, dim > > m_exBrineGrad
Export for the gradient of brine mass fraction.
Definition density_driven_flow_base.h:239
virtual void set_permeability(SmartPtr< CplUserData< MathMatrix< dim, dim >, dim > > user)=0
sets the permeability tensor
SmartPtr< CplUserData< MathMatrix< dim, dim >, dim > > brine_tensor()
returns the export of brine tensor
Definition density_driven_flow_base.h:210
bool m_BoussinesqTransport
flag if using boussinesq transport
Definition density_driven_flow_base.h:185
SmartPtr< CplUserData< MathVector< dim >, dim > > darcy_velocity()
returns the export of the darcy velocity
Definition density_driven_flow_base.h:195
void set_boussinesq_flow(bool bUse)
sets usage of boussinesq approximation for flow equation
Definition density_driven_flow_base.h:93
SmartPtr< CplUserData< MathMatrix< dim, dim >, dim > > pressure_tensor()
returns the export of brine tensor
Definition density_driven_flow_base.h:213
virtual void set_viscosity(SmartPtr< CplUserData< number, dim > > user)=0
sets the viscosity tensor
SmartPtr< DataExport< MathMatrix< dim, dim >, dim > > m_exBrineTensor
Export for the brine related tensor.
Definition density_driven_flow_base.h:248
void init(const char *functions)
standard initialization
Definition density_driven_flow_base.cpp:192
SmartPtr< CplUserData< number, dim > > pressure()
returns the export of pressure
Definition density_driven_flow_base.h:201
virtual void set_porosity(SmartPtr< CplUserData< number, dim > > user)=0
sets the porosity
SmartPtr< DataExport< number, dim > > m_exPressure
Export for the brine mass fraction.
Definition density_driven_flow_base.h:242
SmartPtr< DataExport< MathVector< dim >, dim > > m_exDarcyVel
Export for the Darcy velocity.
Definition density_driven_flow_base.h:233
SmartPtr< DataExport< number, dim > > m_exBrine
Export for the brine mass fraction.
Definition density_driven_flow_base.h:236
MathVector< dim > m_Gravity
constant Gravity, read in once
Definition density_driven_flow_base.h:191
bool m_BoussinesqFlow
flag if using boussinesq flow
Definition density_driven_flow_base.h:188
static const int dim
World dimension.
Definition density_driven_flow_base.h:82
function util d3f parse Viscosity(ViscosityDesc, w)