(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 <[email protected]<mailto:[email protected]>> Date: Friday, February 5, 2016 at 11:29 AM To: Kenneth Moreland <[email protected]<mailto:[email protected]>> 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 <[email protected]<mailto:[email protected]>> 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 <[email protected]<mailto:[email protected]>> on behalf of Richardson CFD <[email protected]<mailto:[email protected]>> Date: Friday, February 5, 2016 at 10:41 AM To: "[email protected]<mailto:[email protected]>" <[email protected]<mailto:[email protected]>> 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>
_______________________________________________ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView Search the list archives at: http://markmail.org/search/?q=ParaView Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/paraview
