CopyNodalVarsAction

Copies variable information from a file.

This action handles the initial_from_file_var Variables parameter as used below,

[Variables]
  [v]
    family = MONOMIAL
    order = CONSTANT
    fv = true
    initial_from_file_var = v
  []
  [lambda]
    family = SCALAR
    order = FIRST
    initial_from_file_var = lambda
  []
[]
(test/tests/restart/scalar-var/part2.i)

This syntax is restricted to restarting from Exodus files. More information about alternative options to restart simulations may be found in the Restart/Recover system.

Input Parameters

  • active__all__ If specified only the blocks named will be visited and made active

    Default:__all__

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

    Controllable:No

    Description:If specified only the blocks named will be visited and made active

  • 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.

  • inactiveIf specified blocks matching these identifiers will be skipped.

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

    Controllable:No

    Description:If specified blocks matching these identifiers will be skipped.

Optional Parameters

  • initial_from_file_timestepLATESTGives the timestep (or "LATEST") for which to read a solution from a file for a given variable. (Default: LATEST)

    Default:LATEST

    C++ Type:std::string

    Controllable:No

    Description:Gives the timestep (or "LATEST") for which to read a solution from a file for a given variable. (Default: LATEST)

  • initial_from_file_varGives the name of a variable for which to read an initial condition from a mesh file

    C++ Type:std::string

    Controllable:No

    Description:Gives the name of a variable for which to read an initial condition from a mesh file

Initial From File Parameters