FVDiffusionFunctionBC

Imposes the integrated boundary condition arising from integration by parts of a Laplacian operator, and where the exact solution can be specified.

Overview

The FVDiffusionFunctionBC class can be used when building MMS test cases. The parameters exact_solution, coeff, and coeff_function are required. FVDiffusionFunctionBC was created to address the limitation in incompressible Navier-Stokes MMS testing that the equations are singular if only Dirichlet boundary conditions are used. These singularities arise because of the way that Dirichlet boundary conditions are implemented for finite volume: the Dirichlet value in conjunction with the cell center value are used to construct a value on a ghost cell. Depending on its form, the resulting residual can actually be singular with respect to the cell center value, leading to a singularity in the system matrix. Using MMS information (from exact_solution and coeff_function) to construct the ghost value independent of the cell center value alleviates the singularity.

Input Parameters

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

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

    Controllable:No

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

  • coeffdiffusion coefficient

    C++ Type:MaterialPropertyName

    Controllable:No

    Description:diffusion coefficient

  • coeff_functionA function describing the coefficient

    C++ Type:FunctionName

    Controllable:No

    Description:A function describing the coefficient

  • exact_solutionThe exact solution.

    C++ Type:FunctionName

    Controllable:No

    Description:The exact solution.

  • variableThe name of the variable that this boundary condition applies to

    C++ Type:NonlinearVariableName

    Controllable:No

    Description:The name of the variable that this boundary condition applies to

Required Parameters

  • displacementsThe displacements

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

    Controllable:No

    Description:The displacements

  • prop_getter_suffixAn optional suffix parameter that can be appended to any attempt to retrieve/get material properties. The suffix will be prepended with a '_' character.

    C++ Type:MaterialPropertyName

    Controllable:No

    Description:An optional suffix parameter that can be appended to any attempt to retrieve/get material properties. The suffix will be prepended with a '_' character.

Optional 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

  • use_displaced_meshFalseWhether or not this object should use the displaced mesh for computation. Note that in the case this is true but no displacements are provided in the Mesh block the undisplaced mesh will still be used.

    Default:False

    C++ Type:bool

    Controllable:No

    Description:Whether or not this object should use the displaced mesh for computation. Note that in the case this is true but no displacements are provided in the Mesh block the undisplaced mesh will still be used.

Advanced Parameters

  • extra_matrix_tagsThe extra tags for the matrices this Kernel should fill

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

    Controllable:No

    Description:The extra tags for the matrices this Kernel should fill

  • extra_vector_tagsThe extra tags for the vectors this Kernel should fill

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

    Controllable:No

    Description:The extra tags for the vectors this Kernel should fill

  • matrix_tagssystemThe tag for the matrices this Kernel should fill

    Default:system

    C++ Type:MultiMooseEnum

    Options:nontime, system

    Controllable:No

    Description:The tag for the matrices this Kernel should fill

  • vector_tagsnontimeThe tag for the vectors this Kernel should fill

    Default:nontime

    C++ Type:MultiMooseEnum

    Options:nontime, time

    Controllable:No

    Description:The tag for the vectors this Kernel should fill

Tagging Parameters