I believe FEBio requires that the scalar data be mapped onto the elements instead of the nodes themselves, is there any way to instead probe the data onto the elements, or even move them from the nodes to the elements?
After a little bit of digging, I think this snippet of code is sort of what I’m looking for, but I’m not 100% sure that this is accurate as I cannot exactly verify the values.
nameOfModel = ‘exampleName’
modelNode = getNode(nameOfModel)
toCellData = vtk.vtkPointDataToCellData()
vtkPointDataToCellData computes the cell data by averaging the point data at the vertices of the cell. This is accurate enough if the cells are small enough to be considered homogeneous.
For future reference: correspondence between FEM and VTK terms are
point. So, the question was if it was possible to set cell data in a VTK mesh based on point data. (“Probe volume with model” module sets point data)