CopyNodalVarsAction

Copies variable information from a file.

This action handles the initial_from_file_var Variables parameter as used below,

[Variables<<<{"href": "../../syntax/Variables/index.html"}>>>]
  [v]
    family<<<{"description": "Specifies the family of FE shape functions to use for this variable"}>>> = MONOMIAL
    order<<<{"description": "Specifies the order of the FE shape function to use for this variable (additional orders not listed are allowed)"}>>> = CONSTANT
    fv = true
    initial_from_file_var<<<{"description": "Gives the name of a variable for which to read an initial condition from a mesh file"}>>> = v
  []
  [lambda]
    family<<<{"description": "Specifies the family of FE shape functions to use for this variable"}>>> = SCALAR
    order<<<{"description": "Specifies the order of the FE shape function to use for this variable (additional orders not listed are allowed)"}>>> = FIRST
    initial_from_file_var<<<{"description": "Gives the name of a variable for which to read an initial condition from a mesh file"}>>> = lambda
  []
[]
(moose/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

  • 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

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

Advanced 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