PeriodicFunction

Provides a periodic function by repeating a user-supplied base function in time and/or any of the three Cartesian coordinate directions

Description

The PeriodicFunction takes a user-supplied base function, and periodically repeats that function in time or any of the three Cartesian coordinate directions. The function can be repeated in any combination of these directions or time.

The resulting function repeats the base function's behavior over the interval from 0 to the specified period in a given dimension. This is repeated indefinitely, and is also repeated (rather than mirrored) for negative values of the coordinates or time.

Example Input Syntax

[Functions]
  [periodic_xyzt]
    type = PeriodicFunction
    base_function = base_xyzt
    period_x = 1
    period_y = 1
    period_z = 1
    period_time = 1
  []
[]
(moose/test/tests/functions/periodic_function/periodic_function.i)

Input Parameters

  • base_functionThe function used as a basis for the generated periodic function.

    C++ Type:FunctionName

    Unit:(no unit assumed)

    Controllable:No

    Description:The function used as a basis for the generated periodic function.

Required Parameters

  • period_time1.79769e+308The period for repetition of the base function in time

    Default:1.79769e+308

    C++ Type:double

    Unit:(no unit assumed)

    Controllable:No

    Description:The period for repetition of the base function in time

  • period_x1.79769e+308The period for repetition of the base function in the x direction

    Default:1.79769e+308

    C++ Type:double

    Unit:(no unit assumed)

    Controllable:No

    Description:The period for repetition of the base function in the x direction

  • period_y1.79769e+308The period for repetition of the base function in the y direction

    Default:1.79769e+308

    C++ Type:double

    Unit:(no unit assumed)

    Controllable:No

    Description:The period for repetition of the base function in the y direction

  • period_z1.79769e+308The period for repetition of the base function in the y direction

    Default:1.79769e+308

    C++ Type:double

    Unit:(no unit assumed)

    Controllable:No

    Description:The period for repetition of the base function in the y direction

Optional Parameters

  • control_tagsAdds user-defined labels for accessing object parameters via control logic.

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

    Unit:(no unit assumed)

    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

    Unit:(no unit assumed)

    Controllable:No

    Description:Set the enabled status of the MooseObject.

Advanced Parameters