KokkosLinearFVFunctorDirichletBC

This object provides Dirichlet boundary value data for Kokkos linear finite volume kernels. The boundary value is supplied through a Kokkos-compatible functor.

For kernels that need boundary normal gradient data, this object supplies the affine relation

where is the cell value, is the prescribed boundary value, and is the cell-center-to-face-center distance. Kernels apply their own physics coefficients when consuming this relation.

Currently, the only accepted functor type is KokkosParsedFunction, as we are waiting on relocatable device code (RDC) support.

Example Syntax

  [dir]
    type = KokkosLinearFVFunctorDirichletBC
    variable = u
    boundary = "left right top bottom"
    functor = analytic_solution_kokkos
  []
(test/tests/kokkos/linearfvkernels/diffusion/kokkos_diffusion-2d.i)

Input Parameters

  • boundaryThe list of boundary IDs from the mesh where this object applies

    C++ Type:std::vector<BoundaryName>

    Controllable:No

    Description:The list of boundary IDs from the mesh where this object applies

  • functorThe boundary-value functor.

    C++ Type:FunctionName

    Unit:(no unit assumed)

    Controllable:No

    Description:The boundary-value functor.

  • variableThe name of the variable this boundary condition supplies data for

    C++ Type:LinearVariableName

    Unit:(no unit assumed)

    Controllable:No

    Description:The name of the variable this boundary condition supplies data for

Required Parameters

  • control_tagsAdds user-defined labels for accessing object parameters via control logic.

    C++ Type:std::vector<std::string>

    Controllable:No

    Description:Adds user-defined labels for accessing object parameters via control logic.

  • enableTrueSet the enabled status of the MooseObject.

    Default:True

    C++ Type:bool

    Controllable:Yes

    Description:Set the enabled status of the MooseObject.

  • implicitTrueDetermines whether this object is calculated using an implicit or explicit form

    Default:True

    C++ Type:bool

    Controllable:No

    Description:Determines whether this object is calculated using an implicit or explicit form

Advanced Parameters

Input Files