Hello everone,
I want to use WallFunctionBoundary in the example called rayleighBenard3d in the thermal file.Can I use ‘setAdvectionDiffusionTemperatureBoundary’ as follows:
/// sets boundary
setWallFunctionBoundary<T,NSDESCRIPTOR>(NSlattice, superGeometry, 2, converter, wallFunctionParam);
setWallFunctionBoundary<T,NSDESCRIPTOR>(NSlattice, superGeometry, 3, converter, wallFunctionParam);
setAdvectionDiffusionTemperatureBoundary<T,TDESCRIPTOR>(ADlattice, Tomega, superGeometry, 2);
setAdvectionDiffusionTemperatureBoundary<T,TDESCRIPTOR>(ADlattice, Tomega, superGeometry, 3);
…
SmagorinskyBoussinesqCouplingGenerator3D<T,NSDESCRIPTOR>
coupling(0, converter.getLatticeLength(lx), 0, converter.getLatticeLength(ly),0, converter.getLatticeLength(lz),
boussinesqForcePrefactor, converter.getLatticeTemperature(Tcold), 1., dir, 0.87, NSbulkDynamics.getPreFactor());
NSlattice.addLatticeCoupling(coupling, ADlattice);
Your reply is much appreciated.
Thanks,