The read-only OdbModelFieldVarList object lists all variables available for the model in the current OdbDisplay object.
import visualization session.viewports[name].layers[name].odbDisplay.modelVariableList session.viewports[name].odbDisplay.modelVariableList