-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add vector data as Point data in mesh #448
Comments
You can try:
See here: |
Thanks, I just realised I can also do
|
Your method is basically the same as mine above, when doing To summarize, you can add data with: mesh.point_arrays.update(dict(name=point_data))
mesh.cell_arrays.update(dict(name=cell_data))
mesh["name"] = point_data
mesh["name"] = cell_data
mesh.vectors = point_data
mesh.vectors = cell_data I tend to use the |
I was incorrect, |
Description
Hi, I'm loading data from a
tecplot
file which is read successfully. This data is shown asIs there a way to add a new Data Array as Point data? I tried using
add_field
but this creates a
Fields
and not aPoints
field:I finally tried
which produces what I was expecting,
However I cannot set a name to the data with this method. Is this the way to do it or is there a better function/method to do this?
The text was updated successfully, but these errors were encountered: