My code below could easily create a field output of my custom vector from the 'dataComponentsList' variable. But it merely displayed the components of vectors in the 'symbol plot' of Abaqus, as distinct from the default Abaqus field outputs which may also display the RESULTANT of vectors in the plot. For example, if the vectors of displacement or reaction forces are requested, then the odb will include the components with the resultant of the vectors.
newFieldOutput = odb.steps[stepName].frames[-1].FieldOutput(name = vectorName, description = '', type = VECTOR)
newFieldOutput.addData(position=ELEMENT_NODAL, instance = odbInstance, labels = elementsLabels, data = dataComponentsList)
So, my question is simple: How can I add the resultant of vectors in my vector field output.
Thanks in advance for any suggestions.
Since you are interested only in a scalar, calculate the vector resultant in the python script and then ".adddata" as type = SCALAR.