- familyLAGRANGESpecifies the family of FE shape functions to use for this variable
Default:LAGRANGE
C++ Type:MooseEnum
Description:Specifies the family of FE shape functions to use for this variable
- periodic_bcsTrueWhether to add periodic boundary conditions
Default:True
C++ Type:bool
Description:Whether to add periodic boundary conditions
- scaling1Specifies a scaling factor to apply to this variable
Default:1
C++ Type:double
Description:Specifies a scaling factor to apply to this variable
- inactiveIf specified blocks matching these identifiers will be skipped.
C++ Type:std::vector
Description:If specified blocks matching these identifiers will be skipped.
- active__all__ If specified only the blocks named will be visited and made active
Default:__all__
C++ Type:std::vector
Description:If specified only the blocks named will be visited and made active
- orderFIRSTSpecifies the order of the FE shape function to use for this variable (additional orders not listed are allowed)
Default:FIRST
C++ Type:MooseEnum
Description:Specifies the order of the FE shape function to use for this variable (additional orders not listed are allowed)
- gamma1The anisotropy ratio
Default:1
C++ Type:double
Description:The anisotropy ratio
NumbatSFAction
Action to automatically add all variables, kernels, boundary conditions and postprocessors for the dimensionless formulation
Description
The NumbatSFAction
adds all of the nonlinear variables, kernels, aux variables, aux kernels and postprocessors typically required in a dimensionless Numbat simulation.
Input file syntax
This action is called in the input file simply as
[Numbat]
[./Dimensionless]
[../]
[]
(tests/2D/2DSF_action.i)The use of this action is exactly equivalent to the following input file syntax for a 2D simulation.
[Variables]
[./concentration]
order = FIRST
family = LAGRANGE
initial_condition = 0.0
[../]
[./streamfunction]
order = FIRST
family = LAGRANGE
initial_condition = 0.0
[../]
[]
[AuxVariables]
[./u]
order = CONSTANT
family = MONOMIAL
[../]
[./v]
order = CONSTANT
family = MONOMIAL
[../]
[]
[Kernels]
[./Darcy]
type = NumbatDarcySF
variable = streamfunction
concentration = concentration
[../]
[./Convection]
type = NumbatConvectionSF
variable = concentration
streamfunction = streamfunction
[../]
[./Diffusion]
type = NumbatDiffusionSF
variable = concentration
[../]
[./TimeDerivative]
type = TimeDerivative
variable = concentration
[../]
[]
[AuxKernels]
[./uAux]
type = NumbatDarcyVelocitySF
variable = u
component = x
streamfunction = streamfunction
[../]
[./vAux]
type = NumbatDarcyVelocitySF
variable = v
component = y
streamfunction = streamfunction
[../]
[]
[BCs]
[./conctop]
type = DirichletBC
variable = concentration
boundary = top
value = 1.0
[../]
[./streamfuntop]
type = DirichletBC
variable = streamfunction
boundary = top
value = 0.0
[../]
[./streamfunbottom]
type = DirichletBC
variable = streamfunction
boundary = bottom
value = 0.0
[../]
[./Periodic]
[./x]
variable = 'concentration streamfunction'
auto_direction = x
[../]
[../]
[]
[Postprocessors]
[./boundary_flux]
type = NumbatSideFluxSF
variable = concentration
boundary = top
[../]
[./total_mass]
type = NumbatTotalMassSF
variable = concentration
[../]
[]
(tests/2D/2DSF.i)