FVMatAdvectionFunctionBC

Imposes the integrated boundary condition arising from integration by parts of an advection operator, where the advected quantity is computed in a material, and where the exact solution can be specified.

Overview

The FVMatAdvectionFunctionBC class cane be used when building MMS test cases. The parameter exact_solution is required. FVMatAdvectionFunctionBC was created to address the limitation that if a FVFunctionDirichletBC is used to do an MMS study on a pure advection problem, the resulting matrix is singular due to the way dirichlet boundary conditions are implemented.

Example Input File Syntax

[FVBCs]
  [boundary]
    type = FVMatAdvectionFunctionBC
    boundary = 'left right'
    variable = v
    vel = 'fv_velocity'
    flux_variable_exact_solution = 'exact'
    vel_x_exact_solution = '${a}'
  []
[]
(../../../SoftwareDownloads/moose/test/tests/fvkernels/mms/mat-advection.i)

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

  • flux_variable_exact_solutionThe exact solution for the *flux* variable (may not necessarily be the *variable*, e.g. the flux variable could be rhou, while the variable is u).

    C++ Type:FunctionName

    Controllable:No

    Description:The exact solution for the *flux* variable (may not necessarily be the *variable*, e.g. the flux variable could be rhou, while the variable is u).

  • 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

  • veladvection velocity

    C++ Type:MaterialPropertyName

    Controllable:No

    Description:advection velocity

  • vel_x_exact_solutionThe function describing the x velocity.

    C++ Type:FunctionName

    Controllable:No

    Description:The function describing the x velocity.

Required Parameters

  • advected_interp_methodupwindThe interpolation to use for the advected quantity. Options are 'upwind' and 'average', with the default being 'upwind'.

    Default:upwind

    C++ Type:MooseEnum

    Options:average, upwind

    Controllable:No

    Description:The interpolation to use for the advected quantity. Options are 'upwind' and 'average', with the default being 'upwind'.

  • advected_quantityAn optional parameter for specifying an advected quantity from a material property. If this is not specified, then the advected quantity will simply be the variable that this object is acting on

    C++ Type:MaterialPropertyName

    Controllable:No

    Description:An optional parameter for specifying an advected quantity from a material property. If this is not specified, then the advected quantity will simply be the variable that this object is acting on

  • 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.

  • vel_y_exact_solutionThe function describing the y velocity.

    C++ Type:FunctionName

    Controllable:No

    Description:The function describing the y velocity.

  • vel_z_exact_solutionThe function describing the z velocity.

    C++ Type:FunctionName

    Controllable:No

    Description:The function describing the z velocity.

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