VirtualFluids 0.2.0
Parallel CFD LBM Solver
Loading...
Searching...
No Matches
vf::lbm::ad Namespace Reference

Classes

struct  InterpolationCoefficients
 
struct  MomentsOnSourceNode
 
class  MomentsOnSourceNodeSet
 

Functions

constexpr void interpolateAdvectionDiffusionCF (real *const populations, real *populationsAD, const real &omegaDiffusivityFine, const real &epsnew, const InterpolationCoefficients &coefficients, const real &x, const real &y, const real &z)
 
constexpr void interpolateAdvectionDiffusionFC (real *const populations, real *populationsAD, const real omegaDiffusivityCoarse, const real epsnew, const InterpolationCoefficients &coefficients)
 

Function Documentation

◆ interpolateAdvectionDiffusionCF()

constexpr void vf::lbm::ad::interpolateAdvectionDiffusionCF ( real *const  populations,
real populationsAD,
const real omegaDiffusivityFine,
const real epsnew,
const InterpolationCoefficients coefficients,
const real x,
const real y,
const real z 
)
constexpr
  • Set all moments to zero
  • Define aliases to use the same variable for the distributions (f's):
  • Set macroscopic values on destination node (zeroth and first order moments)
  • Set moments (second to sixth order) on destination node

Definition at line 48 of file InterpolationAdvectionDiffusionCF.h.

◆ interpolateAdvectionDiffusionFC()

constexpr void vf::lbm::ad::interpolateAdvectionDiffusionFC ( real *const  populations,
real populationsAD,
const real  omegaDiffusivityCoarse,
const real  epsnew,
const InterpolationCoefficients coefficients 
)
constexpr
  • Set all moments to zero
  • Define aliases to use the same variable for the distributions (f's):
  • Set macroscopic values on destination node (zeroth and first order moments)
  • Set moments (second to sixth order) on destination node

Definition at line 47 of file InterpolationAdvectionDiffusionFC.h.