Skip to content

Reply To: Periodic boundary

Due to recent bot attacks we have changed the sign-up process. If you want to participate in our forum please send a message via our contact form.

Forums OpenLB General Topics Periodic boundary Reply To: Periodic boundary

#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>();