I want to add a output field to an odb. Not all the values are available and I would like to input an "invalid data". What should I pass? I tried nan, string, 1/0, which do not work
The basic coding I used to add a field output is:
instance = odb.rootAssembly.instances['nameOfYourInstance']
field_output = odb.steps['stepName'].frames[frameId].FieldOutput(
name='DefineTheName', description='WhatItRepresents',
type=SCALAR # or whatever other type you need
)
field.addData(
position=NODAL, instance=instance, labels=your_node_labels,
data=your_data
)
I want to pass an invalid data in a specific place in your_data