VectorPostprocessorFunction

Provides piecewise linear interpolation of from two columns of a VectorPostprocessor

Description

The VectorPostprocessorFunction function performs linear interpolations between pairs of data generated by a vector post-processor object. The abscissa (argument_column) and the ordinate (value_column) values should correspond to the names of member vectors of the object specified for the vectorpostprocessor_name parameter. By default, the abscissa values correspond to time, and the data will be interpolated at the actual simulation time-step values. However, it is possible to interpolate over spatial (x, y, or z) coordinates by specifying a direction with the component parameter, where the inputs, 0, 1, and 2, correspond to the x, y, and z directions, respectively.

Example Input Syntax

[Functions]
  [./ramp_u]
    type = ParsedFunction
    value = 't'
  [../]
  [./point_value_function_u]
    type = VectorPostprocessorFunction
    component = y
    argument_column = y
    value_column = u
    vectorpostprocessor_name = point_value_vector_postprocessor_u
  [../]
  [./line_value_function_v]
    type = VectorPostprocessorFunction
    component = y
    argument_column = y
    value_column = v
    vectorpostprocessor_name = line_value_vector_postprocessor_v
  [../]
  [./function_v]
    type = PiecewiseLinear
    x = '0 0.008'
    y = '1 2'
    axis = y
  [../]
[]
(../../../SoftwareDownloads/moose/test/tests/functions/vector_postprocessor_function/vector_postprocessor_function.i)

Input Parameters

  • argument_columnVectorPostprocessor column tabulating the abscissa of the sampled function

    C++ Type:std::string

    Controllable:No

    Description:VectorPostprocessor column tabulating the abscissa of the sampled function

  • value_columnVectorPostprocessor column tabulating the ordinate (function values) of the sampled function

    C++ Type:std::string

    Controllable:No

    Description:VectorPostprocessor column tabulating the ordinate (function values) of the sampled function

  • vectorpostprocessor_nameThe name of the VectorPostprocessor that you want to use

    C++ Type:VectorPostprocessorName

    Controllable:No

    Description:The name of the VectorPostprocessor that you want to use

Required Parameters

  • componenttimeComponent of the function evaluation point used to sample the VectorPostprocessor

    Default:time

    C++ Type:MooseEnum

    Options:x, y, z, time

    Controllable:No

    Description:Component of the function evaluation point used to sample the VectorPostprocessor

  • 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, FINAL, CUSTOM, ALWAYS.

    Default:LINEAR

    C++ Type:ExecFlagEnum

    Options:NONE, INITIAL, LINEAR, NONLINEAR, TIMESTEP_END, TIMESTEP_BEGIN, FINAL, CUSTOM, ALWAYS

    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, FINAL, CUSTOM, ALWAYS.

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.

Advanced Parameters