25#ifndef LATTICE_PHYS_DARCY_FORCE_3D_HH
26#define LATTICE_PHYS_DARCY_FORCE_3D_HH
44template<
typename T,
typename DESCRIPTOR>
49 _superGeometry(superGeometry), _material(material)
54template<
typename T,
typename DESCRIPTOR>
60 T nu = this->_converter.getPhysViscosity();
63 permeability(&K,input);
66 output[0] = -nu / K * u[0];
67 output[1] = -nu / K * u[1];
68 output[2] = -nu / K * u[2];
73template<
typename T,
typename DESCRIPTOR>
78 _blockGeometry(blockGeometry),
84template<
typename T,
typename DESCRIPTOR>
86 T output[],
const int input[])
91 T nu = this->_converter.getPhysViscosity();
92 permeability(output,input);
94 velocity(output,input);
Representation of a block geometry.
bool operator()(T output[], const int input[])
has to be implemented for 'every' derived class
BlockLatticePhysDarcyForce3D(BlockLattice< T, DESCRIPTOR > &blockLattice, BlockGeometry< T, 3 > &blockGeometry, int material, const UnitConverter< T, DESCRIPTOR > &converter)
represents all functors that operate on a DESCRIPTOR with output in Phys, e.g. physVelocity(),...
functor to get pointwise mesh-independent permeability values in (0,inf) in combination with (Extende...
functor returns pointwise velocity on local lattice
Platform-abstracted block lattice for external access and inter-block interaction.
int getTargetDim() const
read only access to member variable _n
std::string & getName()
read and write access to name
Representation of a statistic for a parallel 2D geometry.
SuperLatticePhysDarcyForce3D(SuperLattice< T, DESCRIPTOR > &sLattice, SuperGeometry< T, 3 > &superGeometry, const int material, const UnitConverter< T, DESCRIPTOR > &converter)
bool operator()(T output[], const int input[])
represents all functors that operate on a DESCRIPTOR with output in Phys, e.g. physVelocity(),...
functor to get pointwise mesh-independent permeability values in (0,inf) in combination with (Extende...
functor to get pointwise velocity on local lattice
Super class maintaining block lattices for a cuboid decomposition.
Conversion between physical and lattice units, as well as discretization.
Wrapper functions that simplify the use of MPI.
Top level namespace for all of OpenLB.
Representation of a parallel 2D geometry – header file.