TrappingMaterial

buildconstruction:Incomplete interface

Currently the trapping material class is hard-coded to require inputs for precisely 3 trap types. The density and energy parameters can be set to 0 for those not in use. Soon this interface will be replaced using array variables to allow more flexibility.

Overview

The trapping material class accepts as inputs all the material parameters expected for basic tritium diffusion simulations. Based on inputs provided, the Trapping Material object then declares new material properties for all quantities required by the Achlys kernels, namely:

  • The diffusion coefficient,

  • The trapping reaction rate,

  • The de-trapping reaction rate for each trap,

These parameters are heavily temperature dependant and will be updated based on a coupled Temperature variable.

is the diffusivity of the species through some material in units of . This is modelled by an Arhhenius relation as given by Eq. (1). (1)

, in units of , is the reaction rate for the trapping process and is modelled by Eq. (2) where is the lattice constant in and is the number density of solute sites in the material. (2)

, in units of , is the reaction rate for the de-trapping process from the -th trapping site. This is modelled by the Arrhenius type equation as given by Equation Eq. (3) where E is the energy barrier a trapped atom must overcome to leave the site and is referred to as the attempt frequency. (3)

Example Input File Syntax

[Materials]
  [./mat1]
    type = TrappingMaterialConstT
    v0 = 1.0E13
    v1 = 1.0E13
    v2 = 1.0E13
    v3 = 1.0E13
    E1 = 8.6e-3
    E2 = 0.0
    E3 = 0.0
    k_boltz = 8.6E-5
    D0 = 1.0
    E_diff = 0.0
    lambda = 3.16E-8
    n_sol = 2
    n1 = 0.1
    n2 = 0.0
    n3 = 0.0
    const_T = 1000
  [../]
[]
(test/tests/kernels/one_d_one_trap/one_d_one_trap.i)

Input Parameters

  • CpSpecific heat in J/kg/K

    C++ Type:double

    Options:

    Description:Specific heat in J/kg/K

  • D0The diffusion pre-exponential factor

    C++ Type:double

    Options:

    Description:The diffusion pre-exponential factor

  • E1Trap detrapping energy in eV

    C++ Type:double

    Options:

    Description:Trap detrapping energy in eV

  • E2Trap detrapping energy in eV

    C++ Type:double

    Options:

    Description:Trap detrapping energy in eV

  • E3Trap detrapping energy in eV

    C++ Type:double

    Options:

    Description:Trap detrapping energy in eV

  • E_diffdiffusion energy in eV

    C++ Type:double

    Options:

    Description:diffusion energy in eV

  • conductivityThermal conductivity in W/K

    C++ Type:double

    Options:

    Description:Thermal conductivity in W/K

  • densityMaterial density in kg/m3

    C++ Type:double

    Options:

    Description:Material density in kg/m3

  • k_boltzBoltzman constant

    C++ Type:double

    Options:

    Description:Boltzman constant

  • lambdaLattice constant in m-1

    C++ Type:double

    Options:

    Description:Lattice constant in m-1

  • n1possible trapping sites

    C++ Type:double

    Options:

    Description:possible trapping sites

  • n2possible trapping sites

    C++ Type:double

    Options:

    Description:possible trapping sites

  • n3possible trapping sites

    C++ Type:double

    Options:

    Description:possible trapping sites

  • n_soldensity of interstitial sites

    C++ Type:double

    Options:

    Description:density of interstitial sites

  • v1pre-exponential detrapping factor in Arrhenious eq.

    C++ Type:double

    Options:

    Description:pre-exponential detrapping factor in Arrhenious eq.

  • v2pre-exponential detrapping factor in Arrhenious eq.

    C++ Type:double

    Options:

    Description:pre-exponential detrapping factor in Arrhenious eq.

  • v3pre-exponential detrapping factor in Arrhenious eq.

    C++ Type:double

    Options:

    Description:pre-exponential detrapping factor in Arrhenious eq.

Required Parameters

  • Temperaturesimulation temperature

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

    Options:

    Description:simulation temperature

  • blockThe list of blocks (ids or names) that this object will be applied

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

    Options:

    Description:The list of blocks (ids or names) that this object will be applied

  • boundaryThe list of boundaries (ids or names) from the mesh where this boundary condition applies

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

    Options:

    Description:The list of boundaries (ids or names) from the mesh where this boundary condition applies

  • computeTrueWhen false, MOOSE will not call compute methods on this material. The user must call computeProperties() after retrieving the MaterialBase via MaterialBasePropertyInterface::getMaterialBase(). Non-computed MaterialBases are not sorted for dependencies.

    Default:True

    C++ Type:bool

    Options:

    Description:When false, MOOSE will not call compute methods on this material. The user must call computeProperties() after retrieving the MaterialBase via MaterialBasePropertyInterface::getMaterialBase(). Non-computed MaterialBases are not sorted for dependencies.

  • constant_onNONEWhen ELEMENT, MOOSE will only call computeQpProperties() for the 0th quadrature point, and then copy that value to the other qps.When SUBDOMAIN, MOOSE will only call computeQpProperties() for the 0th quadrature point, and then copy that value to the other qps. Evaluations on element qps will be skipped

    Default:NONE

    C++ Type:MooseEnum

    Options:NONE, ELEMENT, SUBDOMAIN

    Description:When ELEMENT, MOOSE will only call computeQpProperties() for the 0th quadrature point, and then copy that value to the other qps.When SUBDOMAIN, MOOSE will only call computeQpProperties() for the 0th quadrature point, and then copy that value to the other qps. Evaluations on element qps will be skipped

  • declare_suffixAn optional suffix parameter that can be appended to any declared properties. The suffix will be prepended with a '_' character.

    C++ Type:MaterialPropertyName

    Options:

    Description:An optional suffix parameter that can be appended to any declared properties. The suffix will be prepended with a '_' character.

  • 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

    Options:

    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>

    Options:

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

  • enableTrueSet the enabled status of the MooseObject.

    Default:True

    C++ Type:bool

    Options:

    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

    Options:

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

  • seed0The seed for the master random number generator

    Default:0

    C++ Type:unsigned int

    Options:

    Description:The seed for the master random number generator

  • 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

    Options:

    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

  • output_propertiesList of material properties, from this material, to output (outputs must also be defined to an output type)

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

    Options:

    Description:List of material properties, from this material, to output (outputs must also be defined to an output type)

  • outputsnone Vector of output names were you would like to restrict the output of variables(s) associated with this object

    Default:none

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

    Options:

    Description:Vector of output names were you would like to restrict the output of variables(s) associated with this object

Outputs Parameters

Input Files