24#ifndef FREE_ENERGY_POST_PROCESSOR_2D_H
25#define FREE_ENERGY_POST_PROCESSOR_2D_H
46template<
typename T,
typename DESCRIPTOR>
55 T kappa1_, T kappa2_, T kappa3_,
68 int extent(
int whichDirection)
const override
74 int x0_,
int x1_,
int y0_,
int y1_)
override;
78 T alpha, kappa1, kappa2, kappa3;
79 std::vector<BlockStructureD<2>*> partners;
86template<
typename T,
typename DESCRIPTOR>
98 int extent(
int whichDirection)
const override
104 int x0_,
int x1_,
int y0_,
int y1_)
override;
107 std::vector<BlockStructureD<2>*> partners;
113template<
typename T,
typename DESCRIPTOR>
125 int extent(
int whichDirection)
const override
131 int x0_,
int x1_,
int y0_,
int y1_)
override;
134 std::vector<BlockStructureD<2>*> partners;
140template<
typename T,
typename DESCRIPTOR>
154 int extent(
int whichDirection)
const override
160 int x0_,
int x1_,
int y0_,
int y1_)
override;
164 std::vector<BlockStructureD<2>*> partners;
169template<
typename T,
typename DESCRIPTOR>
177 T kappa1_, T kappa2_);
189 T kappa1_, T kappa2_, T kappa3_);
200 T alpha, kappa1, kappa2, kappa3;
204template<
typename T,
typename DESCRIPTOR>
215template<
typename T,
typename DESCRIPTOR>
226template<
typename T,
typename DESCRIPTOR>
Platform-abstracted block lattice for external access and inter-block interaction.
This class calculates the chemical potential and stores it in the external field of the respective la...
FreeEnergyChemicalPotentialCoupling2D(int x0_, int x1_, int y0_, int y1_, T alpha_, T kappa1_, T kappa2_, T kappa3_, std::vector< BlockStructureD< 2 > * > partners_)
int extent() const override
Extent of application area (0 for purely local operations)
void processSubDomain(BlockLattice< T, DESCRIPTOR > &blockLattice, int x0_, int x1_, int y0_, int y1_) override
Execute post-processing step on a sublattice.
int extent(int whichDirection) const override
Extent of application area along a direction (0 or 1)
void process(BlockLattice< T, DESCRIPTOR > &blockLattice) override
Execute post-processing step.
Generator class for the PostProcessors calculating the chemical potential.
FreeEnergyChemicalPotentialGenerator2D(int x0_, int x1_, int y0_, int y1_, T alpha_, T kappa1_, T kappa2_)
Two component free energy model.
LatticeCouplingGenerator2D< T, DESCRIPTOR > * clone() const override
PostProcessor2D< T, DESCRIPTOR > * generate(std::vector< BlockStructureD< 2 > * > partners) const override
PostProcessor for setting a constant density outlet.
FreeEnergyDensityOutletCoupling2D(int x0_, int x1_, int y0_, int y1_, T rho_, std::vector< BlockStructureD< 2 > * > partners_)
int extent(int whichDirection) const override
Extent of application area along a direction (0 or 1)
void processSubDomain(BlockLattice< T, DESCRIPTOR > &blockLattice, int x0_, int x1_, int y0_, int y1_) override
Execute post-processing step on a sublattice.
void process(BlockLattice< T, DESCRIPTOR > &blockLattice) override
Execute post-processing step.
int extent() const override
Extent of application area (0 for purely local operations)
Generator class for the PostProcessors assigning the density boundary condition at the outlet.
FreeEnergyDensityOutletGenerator2D(int x0_, int x1_, int y0_, int y1_, T rho_)
LatticeCouplingGenerator2D< T, DESCRIPTOR > * clone() const override
PostProcessor2D< T, DESCRIPTOR > * generate(std::vector< BlockStructureD< 2 > * > partners) const override
PostProcessor calculating the interfacial force in the free energy model.
int extent(int whichDirection) const override
Extent of application area along a direction (0 or 1)
int extent() const override
Extent of application area (0 for purely local operations)
void process(BlockLattice< T, DESCRIPTOR > &blockLattice) override
Execute post-processing step.
FreeEnergyForceCoupling2D(int x0_, int x1_, int y0_, int y1_, std::vector< BlockStructureD< 2 > * > partners_)
void processSubDomain(BlockLattice< T, DESCRIPTOR > &blockLattice, int x0_, int x1_, int y0_, int y1_) override
Execute post-processing step on a sublattice.
Generator class for the PostProcessors calculating the interfacial force.
LatticeCouplingGenerator2D< T, DESCRIPTOR > * clone() const override
PostProcessor2D< T, DESCRIPTOR > * generate(std::vector< BlockStructureD< 2 > * > partners) const override
FreeEnergyForceGenerator2D()
PostProcessor for assigning the velocity at inlet and outlets to lattice two and three.
void process(BlockLattice< T, DESCRIPTOR > &blockLattice) override
Execute post-processing step.
void processSubDomain(BlockLattice< T, DESCRIPTOR > &blockLattice, int x0_, int x1_, int y0_, int y1_) override
Execute post-processing step on a sublattice.
int extent(int whichDirection) const override
Extent of application area along a direction (0 or 1)
FreeEnergyInletOutletCoupling2D(int x0_, int x1_, int y0_, int y1_, std::vector< BlockStructureD< 2 > * > partners_)
int extent() const override
Extent of application area (0 for purely local operations)
Generator class for the PostProcessors assigning the velocity at the outlet to lattice two and three.
LatticeCouplingGenerator2D< T, DESCRIPTOR > * clone() const override
PostProcessor2D< T, DESCRIPTOR > * generate(std::vector< BlockStructureD< 2 > * > partners) const override
FreeEnergyInletOutletGenerator2D()
Interface of 2D post-processing steps.
Top level namespace for all of OpenLB.
Interface for post-processing steps – header file.
Base of a field whose size is defined by [C,U_1,...,U_N]^T * [1,V_1,...V_N].