Reply To: Periodic boundary
OpenLB – Open Source Lattice Boltzmann Code › Forums › on OpenLB › General Topics › Periodic boundary › Reply To: Periodic boundary
June 4, 2021 at 8:59 am
#5703
Adrian
Keymaster
The functor for extracting pressure information SuperLatticePhysPressure2D
returns the physical pressure w.r.t. the given unit converter. Currently no SuperLatticePressure2D
exists but this would be trivial to implement either by adapting the physical pressure functor or by using functor arithmetic. E.g. (untested):
SuperLatticeDensity2D<T,DESCRIPTOR> densityF(sLattice);
auto latticePressureF = (functor_dsl::lift(densityF) - 1.0) / descriptors::invCs2<T,DESCRIPTOR>();