FVInterpolationMethod

Description

FVInterpolationMethod objects interpolate cell-centered data to finite-volume faces. They are regular MooseObjects stored in the application's warehouse so they can be declared once and shared by any kernel that needs them.

Interpolation methods are added in the [FVInterpolationMethods] block of an input file and can be referenced through the parameters on kernels such as LinearFVDiffusion. If the parameter is omitted the kernel will keep evaluating the functor directly on the face, preserving the legacy behavior.

Example input syntax

Declare the interpolation method in [FVInterpolationMethods]:

[FVInterpolationMethods<<<{"href": "../../syntax/FVInterpolationMethods/index.html"}>>>]
  [geom]
    type = FVGeometricAverage<<<{"description": "Linear interpolation that uses the geometric weighting on FaceInfo.", "href": "FVGeometricAverage.html"}>>>
  []
[]
(moose/test/tests/linearfvkernels/diffusion/diffusion-1d.i)

Use it for a coefficient functor via "coeff_interp_method":

[LinearFVKernels<<<{"href": "../../syntax/LinearFVKernels/index.html"}>>>]
  [diffusion]
    type = LinearFVDiffusion<<<{"description": "Represents the matrix and right hand side contributions of a diffusion term in a partial differential equation.", "href": "../linearfvkernels/LinearFVDiffusion.html"}>>>
    variable<<<{"description": "The name of the variable whose linear system this object contributes to"}>>> = u
    diffusion_coeff<<<{"description": "The diffusion coefficient. A functor is any of the following: a variable, a functor material property, a function, a postprocessor or a number."}>>> = coeff_pos_func\n    coeff_interp_method<<<{"description": "Optional finite volume interpolation method used to compute a face-centered diffusion coefficient. If omitted, the functor is evaluated directly on the face."}>>> = geom
  []
[]
(moose/test/tests/linearfvkernels/diffusion/diffusion-1d.i)