Skip to main content
`Ctrl`+`K`

# User specified field names

# 2.3. User specified field names

Sierra/SD can input most Sierra/SM output by guessing the naming convention. Ideally it would be possible for Sierra/SD to read any Sierra/SM output. However, some fields that Sierra/SM outputs to the Exodus file may have have user-defined labels or be user-defined variables. This includes stresses, displacements and analysis time. Sierra/SD can only input data if the labels are determined exactly. Sierra/SD has a corresponding capability for users to specify the input field names in the `File` section of the input deck. The list of valid `initialize variable name` label keys is extensive and documented in the Users’s Manual. In the provided example, the input Exodus file `input_mesh.g` stores nodal displacements stored as `dx`, `dy`, and `dz`.

    FILE
      geometry_file = input_mesh.g

      # nodal displacement components stored in input_mesh.g...
      initialize variable name = displacement(x)  # x-component
        variable type = node                      # nodal displacement
        read variable = dx                        # from input "dx"
        time = 2.5                                # at the nearest step
                                                  # with time >= 2.5
      initialize variable name = displacement(y)  # y-component
        variable type = node                      # nodal displacement
        read variable = dy                        # from input "dy"
        step = FIRST                              # at the first step

      initialize variable name = displacement(z)  # z-component
        variable type = node                      # nodal displacement
        read variable = dz                        # from input "dz"
        step = LAST                               # at the last step
    END