[Paraview] [EXTERNAL] Re: Material Interface Filter
Scott, W Alan
wascott at sandia.gov
Tue Apr 9 20:22:21 EDT 2013
Bucky,
I believe that the problem is that - as you suggest below - the material interface filter only accepts down converted unsigned chars. In my mind, this is a bug/feature hole. Either, 1) the Material Interface Filter should accept down converted unsigned chars or default variables, 2) a filter should be created to convert to unsigned chars (with appropriate scaling), or 3) any appropriate reader should allow down convert . Further, the Material Interface Filter has been hard coded to look for certain variable names (that it knows are down converted). These are named "Material volume fraction - #" where # is 1, 2, 3, 4, etc or "Volume Fraction - #" where # is 1, 2, 3, 4, etc.
Berk - does this sound right to you? I can think of one simple, short term option - I wonder if it is possible to write some simple python that would do the magic in a programmable filter? Also, if you like, I can write up a bug/feature request.
Alan
From: paraview-bounces at paraview.org [mailto:paraview-bounces at paraview.org] On Behalf Of Berk Geveci
Sent: Tuesday, April 09, 2013 1:35 PM
To: Kashiwa, Bryan A. (LANL)
Cc: ParaView at paraview.org
Subject: [EXTERNAL] Re: [Paraview] Material Interface Filter
Hi Bucky,
I have been meaning to investigate this but I have been sick. I will have an answer for you in a day or two.
-berk
On Tue, Apr 9, 2013 at 11:44 AM, Kashiwa, Bucky <bak at lanl.gov<mailto:bak at lanl.gov>> wrote:
So I'm trying to use the Material Interface Filter:
http://www.paraview.org/Wiki/ParaView/Users_Guide/List_of_filters#Material_Interface_Filter
and have carefully created XML datafiles using vtkNonOverlappingAMR (*.vth) format. Unfortunately the v3.98.1 gui does not furnish the Properties option 'Down Convert Volume Fractions' when reading in the datafiles in *.vth format. (In fact the Properties menu has only the 'Default Number of Levels' slider, and no cell data selector, and no 'Down Convert..' selector.) Consequently the Material Interface Filter has an empty choice for 'Select Material Fraction Arrays', and so the filter does not know what to do. Alas, the only format that seems to generate the 'Down Convert..' option is *.spct, which, of course, we do not have in this case.
Is there another filter that I need to run prior to doing 'Material Interface Filter', or am I just plain out of luck here?
Thanks for your very capable help.
=======================================================================73
<>Bucky Kashiwa PhD, PE <> Post: MS B216, Los Alamos, NM 87545 <>
<> Ofc: TA3-SM123-RM276 <>Email: bak at lanl.gov<mailto:bak at lanl.gov>, kashiwa at qwest.net<mailto:kashiwa at qwest.net> <>
<>Voice: 505-667-8812<tel:505-667-8812> <> Fax: 505-665-5926<tel:505-665-5926> <>
<> Home: 505-988-7332<tel:505-988-7332> <> Cell: 505-795-5581<tel:505-795-5581> <>
=======================================================================73
_______________________________________________
Powered by www.kitware.com<http://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
Follow this link to subscribe/unsubscribe:
http://www.paraview.org/mailman/listinfo/paraview
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.paraview.org/pipermail/paraview/attachments/20130410/ffd3fc2e/attachment.htm>
More information about the ParaView
mailing list