- base_functionThe function used as a basis for the generated periodic function.
C++ Type:FunctionName
Controllable:No
Description:The function used as a basis for the generated periodic function.
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
[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
- execute_onLINEARThe list of flag(s) indicating when this object should be executed, the available options include NONE, INITIAL, LINEAR, NONLINEAR, TIMESTEP_END, TIMESTEP_BEGIN, MULTIAPP_FIXED_POINT_END, MULTIAPP_FIXED_POINT_BEGIN, FINAL, CUSTOM, ALWAYS.
Default:LINEAR
C++ Type:ExecFlagEnum
Controllable:No
Description:The list of flag(s) indicating when this object should be executed, the available options include NONE, INITIAL, LINEAR, NONLINEAR, TIMESTEP_END, TIMESTEP_BEGIN, MULTIAPP_FIXED_POINT_END, MULTIAPP_FIXED_POINT_BEGIN, FINAL, CUSTOM, ALWAYS.
- period_time1.79769e+308The period for repetition of the base function in time
Default:1.79769e+308
C++ Type:double
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
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
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
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>
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.