You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am using both get_scalar_field_data( ) and get_surface_data( ) for some post processing.
Scalar values like pressure are obtained from get_scalar_field_data and face normals and centroid positions are obtained from get_surface_data.
My end goal is to perform some sort of force calculation like (pressure * centroid_location * face_normal) for every facet on a particular face.
Both methods give a list of values for a particular surface that is probed, but it is not clear if the order of the values are consistent between both approaches.
Test Approach:
My approach to test this is to find the magnitude of FacesNormal obtained from get_surface_data( ) which can be compared with face_area_magnitude obtained from get_scalar_field_data( ).
However, these values don't match up.
I'm not fully sure if this is the best way to compare this.
Can you confirm that the order of these values is consistent between both methods, and if there is a way to confirm it?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi,
I am using both get_scalar_field_data( ) and get_surface_data( ) for some post processing.
Scalar values like pressure are obtained from get_scalar_field_data and face normals and centroid positions are obtained from get_surface_data.
My end goal is to perform some sort of force calculation like (pressure * centroid_location * face_normal) for every facet on a particular face.
Both methods give a list of values for a particular surface that is probed, but it is not clear if the order of the values are consistent between both approaches.
Test Approach:
My approach to test this is to find the magnitude of FacesNormal obtained from get_surface_data( ) which can be compared with face_area_magnitude obtained from get_scalar_field_data( ).
However, these values don't match up.
vs
I'm not fully sure if this is the best way to compare this.
Can you confirm that the order of these values is consistent between both methods, and if there is a way to confirm it?
Thanks,
Akash
Beta Was this translation helpful? Give feedback.
All reactions