Maxwellian

Maxwellian distribution

Description

The Maxwellian (or Maxwell-Boltzmann) distribution object defines a Maxwell-Boltzmann distribution function with the provided mass and temperature parameters. The probability density function (PDF) of the Maxwellian distribution is given by the Eq. (1).

(1)

where is a single component of a velocity vector, is the mass of the species in kg, and is the temperature the component of velocity is at in K

Since the single component Maxwellian is a special case of a normal distribution, where the mean , and the standard deviation is given by Eq. (2),

(2)

this class is a specialization of Normal.

Example Input Syntax

The following input file defines a maxwellian distribution that is equivalent to a normal distribution with a mean of 0 and a standard deviation of 1.

[Distributions<<<{"href": "../../syntax/Distributions/index.html"}>>>]
  [distribution]
    type = Maxwellian<<<{"description": "Maxwellian distribution", "href": "Maxwellian.html"}>>>
    mass<<<{"description": "The mass of the species that are the given temperature in kg."}>>> = 2.0
    # this combination of mass and temperature
    # result in a distribution equivalent to a
    # normal distribution with a mean of 0 and
    # a standard deviation of 1
    temperature<<<{"description": "The temperature of the distribution in K."}>>> = '${fparse 2.0 / k_B}'
  []
[]
(modules/stochastic_tools/test/tests/distributions/maxwellian.i)

Input Parameters

  • massThe mass of the species that are the given temperature in kg.

    C++ Type:double

    Unit:(no unit assumed)

    Range:mass > 0

    Controllable:No

    Description:The mass of the species that are the given temperature in kg.

  • temperatureThe temperature of the distribution in K.

    C++ Type:double

    Unit:(no unit assumed)

    Range:temperature > 0

    Controllable:No

    Description:The temperature of the distribution in K.

Required 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:No

    Description:Set the enabled status of the MooseObject.

Advanced Parameters

Input Files