CSVTimeSequenceStepper

Imports a time sequence from a CSV file, or similar delimited text files. The CSVTimeSequenceStepper uses a DelimitedFileReader to read the CSV file.

The file is always read in columns. The column can either be accessed by name (using the "column_name" parameter, provided that the CSV file has a header containing the names of the different columns) or by index (using the "column_index" parameter, with 0 the index of the first column).

If the solve fails to converge during a time step, the behavior of the CSVTimeSequenceStepper is the same as the TimeSequenceStepper. The time step will be cut then the time stepper will attempt to return to the original sequence.

Input Parameters

  • file_namename of the file in which the time sequence is read

    C++ Type:FileName

    Controllable:No

    Description:name of the file in which the time sequence is read

Required Parameters

  • column_indexindex of the column which contains the time sequence

    C++ Type:unsigned int

    Controllable:No

    Description:index of the column which contains the time sequence

  • column_nametimename of the column which contains the time sequence

    Default:time

    C++ Type:std::string

    Controllable:No

    Description:name of the column which contains the time sequence

  • cutback_factor_at_failure0.5Factor to apply to timestep if a time step fails to converge.

    Default:0.5

    C++ Type:double

    Controllable:No

    Description:Factor to apply to timestep if a time step fails to converge.

  • delimiter,delimiter used to parse the file

    Default:,

    C++ Type:std::string

    Controllable:No

    Description:delimiter used to parse the file

  • headerFalseindicates whether the file contains a header with the column names

    Default:False

    C++ Type:bool

    Controllable:No

    Description:indicates whether the file contains a header with the column names

  • reset_dtFalseUse when restarting a calculation to force a change in dt.

    Default:False

    C++ Type:bool

    Controllable:No

    Description:Use when restarting a calculation to force a change in dt.

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