[Paraview] [EXTERNAL] mapping scalars onto surface geometry
Moreland, Kenneth
kmorel at sandia.gov
Fri Feb 5 14:52:00 EST 2016
(Responding back to the group.)
Well, that's strange. That should work.
I notice that you originally said your scalars are in a structured grid, but the top of your data file says it is an unstructured grid. An unstructured grid can represent anything, so is there a possibility it does not represent the solid geometry you think it does? If you put a slice plane through it, does the slice and the fields on the slice look correct? Does it help if you run the "Clean to Grid" filter on the scalars?
I'm really just guessing at potential problems here. It would help if you could send some example data that exemplifies the problem.
-Ken
From: Richardson CFD <garcfd at gmail.com<mailto:garcfd at gmail.com>>
Date: Friday, February 5, 2016 at 11:29 AM
To: Kenneth Moreland <kmorel at sandia.gov<mailto:kmorel at sandia.gov>>
Subject: Re: [EXTERNAL] [Paraview] mapping scalars onto surface geometry
Thanks - yes the data-sets definitely overlap. The STL surface (blue) is well within the scalar flow field (red). The scalars (in the flow field) are just imported as a vtk file:
ASCII
DATASET UNSTRUCTURED_GRID
[Inline image 1]
On Fri, Feb 5, 2016 at 5:48 PM, Moreland, Kenneth <kmorel at sandia.gov<mailto:kmorel at sandia.gov>> wrote:
That should work. Is it possible that the physical space of the two geometries do not overlap? Go to the information panel and look at the Bounds for the scalar field and the surface geometry. The bounds should overlap. If they do not, then you can use the Transform filter to move/scale one or both so that they are arranged in the same space.
-Ken
From: ParaView <paraview-bounces at paraview.org<mailto:paraview-bounces at paraview.org>> on behalf of Richardson CFD <garcfd at gmail.com<mailto:garcfd at gmail.com>>
Date: Friday, February 5, 2016 at 10:41 AM
To: "paraview at paraview.org<mailto:paraview at paraview.org>" <paraview at paraview.org<mailto:paraview at paraview.org>>
Subject: [EXTERNAL] [Paraview] mapping scalars onto surface geometry
How do you map a scalar field onto a surface geometry (STL file) please?
I have a structured 3d array of values such as velocity, density, temperature etc...
and I want to map that onto a surface geometry, such as a motorbike for example.
I have tried the "Resample with Dataset" method, (input=scalar field, source=surface geometry) but I'm just getting a null field (zeros) for whichever scalar I then select to display on the surface.
Thanks UFO-CFD
[https://ipmcdn.avast.com/images/logo-avast-v1.png]<https://www.avast.com/sig-email> This email has been sent from a virus-free computer protected by Avast.
www.avast.com<https://www.avast.com/sig-email>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/paraview/attachments/20160205/420f59b8/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image.png
Type: image/png
Size: 29552 bytes
Desc: image.png
URL: <http://public.kitware.com/pipermail/paraview/attachments/20160205/420f59b8/attachment.png>
More information about the ParaView
mailing list