Skip to content

Coupling of temperature and LES wall functions

OpenLB – Open Source Lattice Boltzmann Code Forums on OpenLB General Topics Coupling of temperature and LES wall functions

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #8808
    liu
    Participant

    Dear community
    I’d like to ask if the temperature lattice can be coupled to this lattice
    “WallFunctionForcedD3Q19Descriptor DESCRIPTOR; TDESCRIPTOR = D3Q7<VELOCITY>;”
    Because I saw this phrase in the case of rayleighBenard2d, // !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!//
    // This coupling must be necessarily be put on the Navier-Stokes lattice!!
    // !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!//

    “T boussinesqForcePrefactor = 9.81 / converter.getConversionFactorVelocity() * converter.getConversionFactorTime() *
    converter.getCharPhysTemperatureDifference() * converter.getPhysThermalExpansionCoefficient();
    SuperLatticeCoupling coupling(
    NavierStokesAdvectionDiffusionCoupling{},
    names::NavierStokes{}, NSlattice,
    names::Temperature{}, ADlattice);
    coupling.setParameter<NavierStokesAdvectionDiffusionCoupling::T0>(
    converter.getLatticeTemperature(Tcold));
    coupling.setParameter<NavierStokesAdvectionDiffusionCoupling::FORCE_PREFACTOR>(
    boussinesqForcePrefactor * Vector<T,3>{0.0,1.0,0.0});”
    Thank you very much if you can answer my question!

    #8828
    mathias
    Keymaster

    The woull function approach should be used for the NSE lattice, i.e. the D3Q19 and not the Q3Q7 as it is indicated in the comment.

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.