NumbatEffectivePermeabilityAction

Action to automatically add all variables, kernels, boundary conditions and postprocessors to calculate effective permeability

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)

Input Parameters

  • directionThe spatial direction of the desired effective permeability

    C++ Type:MooseEnum

    Description:The spatial direction of the desired effective permeability

  • boundary_outflowName of the outflow boundary

    C++ Type:BoundaryName

    Description:Name of the outflow boundary

  • boundary_inflowName of the inflow boundary

    C++ Type:BoundaryName

    Description:Name of the inflow boundary

Required Parameters

  • 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

  • pressure_outflow1Pressure at the outflow boundary

    Default:1

    C++ Type:double

    Description:Pressure at the outflow boundary

  • 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

  • pressure_inflow2Pressure at the inflow boundary

    Default:2

    C++ Type:double

    Description:Pressure at the inflow boundary

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

Optional Parameters