Re: Pressure Inlet
OpenLB – Open Source Lattice Boltzmann Code › Forums › on OpenLB › General Topics › Pressure Inlet › Re: Pressure Inlet
January 17, 2017 at 12:23 pm
#2505
takamori67
Member
Hi Robin,
I’m having issues with the set up of the boundary values.
Quote:
AnalyticalF3D<T,S>(1) rhoIn;
rhoIn = converter.rhoFromPhysicalPressure(pIn);
sLattice.defineRho( superGeometry, 3, rhoIn);
rhoIn = converter.rhoFromPhysicalPressure(pIn);
sLattice.defineRho( superGeometry, 3, rhoIn);
defineRho expects the density in the AnalyticalF3D format. However, how do I define my inlet density rhoIn as a AnalyticalF3D correctly? The doxygen page for AnalyticalF3D is somewhat cryptic.
Best, Sumit