Re: [Paraview] [EXTERNAL] Extracting min/max values of current data range as a variable in python

2017-04-12 Thread Andy Bauer
Hi Ryan,

You should also be able to get the number of tuples, number of components,
the range for each component, the name (though that is likely already
known) and the data type that is being stored (e.g. double, float, int,
etc.). I don't know how to get all of those of the top of my head but can
poke around if needed.

Best,
Andy

On Wed, Apr 12, 2017 at 1:01 PM, Jamison, Ryan Dale 
wrote:

> Andy,
>
> I combined the Extract Filter Block with the example you outlined below
> and it worked! I was able to use GetRange() to get the minimum and maximum
> of the array for the current time.
>
> On a side note, other than GetRange(), what else can be done with data
> from GetArray()?
>
> Best, Ryan
>
> On Apr 11, 2017, at 7:46 PM, Andy Bauer  wrote:
>
> Hi,
>
> Besides Yoshimi's way, you should be able to do something like the
> following from pvpython, pvbatch or Python shell.
> yourfilter.PointData.GetArray().GetRange() # or CellData
>
> For example, for a Python script for a Wavelet source you would do the
> following:
> w = Wavelet()
> w.UpdatePipeline() # needed to execute the pipeline to create the output
> w.PointData.GetArray("RTData").GetRange()
>
> This will work for the output of a filter that returns a regular VTK data
> set or a multiblock data set. If you want the range for only a single block
> of a multiblock I'd recommend using the Extract Block filter to get that
> block. It should be a shallow copy of the data set to do that so it should
> be very fast, even if you don't need the output of the Extract Block filter
> for anything else.
>
> Best,
> Andy
>
> On Tue, Apr 11, 2017 at 9:29 PM, kenichiro yoshimi <
> rccm.kyosh...@gmail.com> wrote:
>
>> Hi,
>>
>> I also want to know if there is a simple way to do, since I only have
>> the somewhat redundant code:
>> ---
>> source = GetActiveSource()
>>
>> #options for component: -1, 0, 1 and 2 => Mag, X, Y, Z
>> component = -1
>>
>> cdi = source.GetDataInformation().GetCompositeDataInformation()
>>
>> for i in range(cdi.GetNumberOfChildren()):
>>   print 'Block Name: ', cdi.GetName(i)
>>
>>   data = cdi.GetDataInformation(i).GetCellDataInformation()
>>   for j in range(data.GetNumberOfArrays()):
>> array = data.GetArrayInformation(j)
>> arrayName = array.GetName()
>> dataRange = array.GetComponentRange(component)
>> print arrayName, dataRange
>> ---
>>
>> Thanks,
>> yoshimi
>>
>> 2017-04-12 6:10 GMT+09:00 Jamison, Ryan Dale :
>> > Hello Everyone,
>> >
>> > I’m wanting to gain more control over automation with my paraview python
>> > scripts. This time around, I’d like to be able to extract information
>> from
>> > the model and use it in my python script.
>> >
>> > For example, I’d like to extract the minimum and maximum values of a
>> cell
>> > variable from a specific block and use those values in the python
>> script.
>> > Once I extract this information, I’d use it for some additional
>> processing.
>> > Something like:
>> >
>> > minValue, maxValue = someCoolParaviewFunction(blockName, variableName)
>> >
>> > Is this possible? If so, any suggestions on how to do it?
>> >
>> > Thanks,
>> >
>> > Ryan
>> >
>> > ___
>> > 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
>> >
>> ___
>> 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
>>
>
>
>
___
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


Re: [Paraview] capability to read data from big-endian machine

2017-04-12 Thread Hedieh Ebrahimi
Thanks Christopher,
I just opened an issue #17370 at paraview/issues.



Hedieh Ebrahimi
Consultant 



On 12 April 2017 at 18:22, Christopher Neal  wrote:

> Hi Hedieh,
>
> I know that you can create a request for this in the 'issues' tab of the
> Paraview Gitlab repository. That is their formal system for tracking
> feedback/issues related to Paraview
>
> https://gitlab.kitware.com/paraview/paraview/issues
>
> Best regards,
> Chris
>
> On Wed, Apr 12, 2017 at 10:38 AM, Hedieh Ebrahimi <
> hedieh.ebrah...@amphos21.com> wrote:
>
>> Dear all,
>>
>> When trying to read data generated on supercomputer (big-endian), the
>> ParaView PFlotran-reader fails. This is because the data generated on
>> the supercomputer is big-endian whereas my machine (Intel machine) uses
>> little-endian.
>>
>> The workaround to fix this is to go to following directory:
>>
>> Utilities/VisItBridge/databases/PFLOTRAN
>> and to the following file : avtPFLOTRANFileFormat.C
>>
>> In the functions avtPFLOTRANFileFormat::GetVar(...) and
>> avtPFLOTRANFileFormat::GetVectorVar(...)
>> there are the following if-statement TWO TIMES IN BOTH FUNCTIONS, so 4
>> modifications are needed:
>>
>> if (H5Tequal(intype, H5T_NATIVE_FLOAT) ||
>> H5Tequal(intype, H5T_NATIVE_DOUBLE) ||
>> H5Tequal(intype, H5T_NATIVE_LDOUBLE) )
>>
>> Replace ALL 4 above  OCCURRENCES by
>>
>> if (H5Tequal(intype, H5T_NATIVE_FLOAT) ||
>> H5Tequal(intype, H5T_NATIVE_DOUBLE) ||
>> H5Tequal(intype, H5T_NATIVE_LDOUBLE) ||
>> H5Tequal(intype, H5T_IEEE_F32BE) ||
>> H5Tequal(intype, H5T_IEEE_F64BE) )
>>
>> The problem is I have to compile paraview from source for each update or
>> on every machine. I was wondering whether this capability to read data from
>> big-endian machine could be included.
>> I´d appreciate your answer,
>>
>> Hedieh Ebrahimi
>> Consultant 
>>
>>
>>
>> ___
>> 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
>>
>>
>
>
> --
> Christopher Neal
> Research Engineer
> Streamline Numerics, Inc.
> https://www.snumerics.com/
>
___
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


Re: [Paraview] [EXTERNAL] Extracting min/max values of current data range as a variable in python

2017-04-12 Thread Jamison, Ryan Dale
Andy,

I combined the Extract Filter Block with the example you outlined below and it 
worked! I was able to use GetRange() to get the minimum and maximum of the 
array for the current time.

On a side note, other than GetRange(), what else can be done with data from 
GetArray()?

Best, Ryan

On Apr 11, 2017, at 7:46 PM, Andy Bauer 
> wrote:

Hi,

Besides Yoshimi's way, you should be able to do something like the following 
from pvpython, pvbatch or Python shell.
yourfilter.PointData.GetArray().GetRange() # or CellData

For example, for a Python script for a Wavelet source you would do the 
following:
w = Wavelet()
w.UpdatePipeline() # needed to execute the pipeline to create the output
w.PointData.GetArray("RTData").GetRange()

This will work for the output of a filter that returns a regular VTK data set 
or a multiblock data set. If you want the range for only a single block of a 
multiblock I'd recommend using the Extract Block filter to get that block. It 
should be a shallow copy of the data set to do that so it should be very fast, 
even if you don't need the output of the Extract Block filter for anything else.

Best,
Andy

On Tue, Apr 11, 2017 at 9:29 PM, kenichiro yoshimi 
> wrote:
Hi,

I also want to know if there is a simple way to do, since I only have
the somewhat redundant code:
---
source = GetActiveSource()

#options for component: -1, 0, 1 and 2 => Mag, X, Y, Z
component = -1

cdi = source.GetDataInformation().GetCompositeDataInformation()

for i in range(cdi.GetNumberOfChildren()):
  print 'Block Name: ', cdi.GetName(i)

  data = cdi.GetDataInformation(i).GetCellDataInformation()
  for j in range(data.GetNumberOfArrays()):
array = data.GetArrayInformation(j)
arrayName = array.GetName()
dataRange = array.GetComponentRange(component)
print arrayName, dataRange
---

Thanks,
yoshimi

2017-04-12 6:10 GMT+09:00 Jamison, Ryan Dale 
>:
> Hello Everyone,
>
> I’m wanting to gain more control over automation with my paraview python
> scripts. This time around, I’d like to be able to extract information from
> the model and use it in my python script.
>
> For example, I’d like to extract the minimum and maximum values of a cell
> variable from a specific block and use those values in the python script.
> Once I extract this information, I’d use it for some additional processing.
> Something like:
>
> minValue, maxValue = someCoolParaviewFunction(blockName, variableName)
>
> Is this possible? If so, any suggestions on how to do it?
>
> Thanks,
>
> Ryan
>
> ___
> 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
>
___
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


___
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


Re: [Paraview] [EXTERNAL] Ansys Reader

2017-04-12 Thread Scott, W Alan
Stephane,
I believe the reason you have not had an answer is that what you are trying to 
do is unknown to the group.  I have never seen a .cdb file or .inp file, so  
again, don’t know.

No, the given file does not open in ParaView 5.3.0.  I tried to read it as an 
ANSYS file.  You could try reading a real ANSYS .inp file, if you have one.  
Find out if the reader works.

Sorry for not having any ideas,

Alan

From: ParaView [mailto:paraview-boun...@paraview.org] On Behalf Of stephane 

Sent: Wednesday, April 12, 2017 2:31 AM
To: paraview 
Subject: [EXTERNAL] [Paraview] Ansys Reader

Hello,

Didn't get an answer to my first mail so I will try again.
can you open the attached ansys mesh file (.inp) in paraview?
If not do you notice anything wrong in the syntax?
this file is actually a renamed cdb file generated by ansys APDL.
I've been comparing it to the "intake.inp" file format and it looks ok but...
Help needed!

regards

Ndong-Mefane Stephane, Dr.Eng
Basic Design Sec.
Steam Turbine Dept.
Kawasaki Factory

Fuji Electric Co., Ltd
1-1, Tanabeshinden, Kawasaki-ku,
Kawasaki-city 210-9530, Japan
Phone: +81-44-329-2155
Fax: +81-44-329-2394
___
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


Re: [Paraview] Issues Opening Tecplot *.dat File(s)

2017-04-12 Thread Zach Davis
Chet,

Thanks for looking this over for me.  I think I can probably recompile my 
solver using a newer TecIO library as a workaround.

Best Regards,


Zach Davis
Pointwise®, Inc.
Sr. Engineer, Sales & Marketing
213 South Jennings Avenue
Fort Worth, TX 76104-1107

E: zach.da...@pointwise.com
P: (817) 377-2807 x1202
F: (817) 377-2799
     
  

> On Apr 12, 2017, at 9:05 AM, Chet Nieter  wrote:
> 
> Zach,
> 
> It looks like you are facing a similar issue to the one that Christopher 
> reported earlier here:
> 
> https://gitlab.kitware.com/paraview/paraview/issues/17293 
> 
> 
> In that particular case the file he was trying to read was an older version 
> of the Tecplot file format and the Paraview Tecplot reader did not know what 
> to do with the header information in the file. As Cory mentioned a recent 
> change to ParaView which is not in the 5.3 release fixed the freeze but 
> currently ParaView does not support the older Tecplot format. Based on the 
> error that Cory is reported the Tecplot reader is still expecting to find 
> header information even though it is now reading the section of the file 
> where the data resides. I can’t say for sure but I suspect your file may also 
> be an older version of the Tecplot file format which is currently not 
> supported by the ParaView Tecplot reader.
> 
> Chet
> 
> ===
> Chet Nieter, Ph.D
> R Engineer, Kitware Inc.
> http://www.kitware.com/company/team/nieter.html 
> 
> ===
> 
> 
>> On Apr 11, 2017, at 5:58 PM, Cory Quammen > > wrote:
>> 
>> Zach,
>> 
>> With recent changes to ParaView (March 15, 2017), I was able to "open"
>> the file in the most recent development version of ParaView without
>> getting stuck in an infinite loop, but I did get the following
>> warnings:
>> 
>> Warning: In 
>> /Users/cory.quammen/src/paraview/VTK/IO/Geometry/vtkTecplotReader.cxx,
>> line 1795
>> vtkTecplotReader (0x1350d2c00):
>> /Users/cory.quammen/Desktop/oneram6-prism_tec_boundary.dat; Tecplot
>> zone record parameter 'SOLUTIONTIME' is currently unsupported.
>> Warning: In 
>> /Users/cory.quammen/src/paraview/VTK/IO/Geometry/vtkTecplotReader.cxx,
>> line 1789
>> vtkTecplotReader (0x1350d2c00):
>> /Users/cory.quammen/Desktop/oneram6-prism_tec_boundary.dat; Tecplot
>> zone record parameter 'STRANDID' is currently unsupported.
>> ERROR: In 
>> /Users/cory.quammen/src/paraview/VTK/IO/Geometry/vtkTecplotReader.cxx,
>> line 1902
>> vtkTecplotReader (0x1350d2c00):
>> /Users/cory.quammen/Desktop/oneram6-prism_tec_boundary.dat: The record
>> type 0.317283460316E+02 found in the file is unknown.
>> 
>> The read fails, but hopefully this tells you what is going on.
>> 
>> HTH,
>> Cory
>> 
>> On Tue, Apr 11, 2017 at 5:49 PM, Zach Davis > > wrote:
>>> 
>>> 
>>> 
>>> Christopher,
>>> 
>>> Sorry, about the link.  I would attach the file here, but it exceeds the
>>> mailing list’s size limits.  The solver I’m using is probably using an older
>>> version of the TecIO library, since changes to the Tecplot file format have
>>> been changing pretty frequently in recent years…  Hopefully someone else who
>>> can download the file can help identify which token(s), if any, are causing
>>> a problem.
>>> 
>>> Best Regards,
>>> 
>>> 
>>> 
>>> Zach Davis
>>> Pointwise®, Inc.
>>> Sr. Engineer, Sales & Marketing
>>> 213 South Jennings Avenue
>>> Fort Worth, TX 76104-1107
>>> 
>>> E: zach.da...@pointwise.com 
>>> P: (817) 377-2807 x1202
>>> F: (817) 377-2799
>>> 
>>> On Apr 11, 2017, at 4:44 PM, Christopher Neal >> >
>>> wrote:
>>> 
>>> That link doesn't seem to work either :(
>>> 
>>> For me, those terms were apparently out of date with what the reader was
>>> expecting. And so when it hit those tokens it just froze instead of jumping
>>> out and throwing an error. It's possible that you have other tokens(i.e.
>>> options) that are setting this off.  It could also be something else, but
>>> the scenario is very close to what I was dealing with.  Is the program that
>>> is writing the Tecplot file up-to-date with the newest Tecplot file format?
>>> 
>>> On Tue, Apr 11, 2017 at 5:39 PM, Zach Davis >> > wrote:
 
 Hi Christopher,
 
 Thanks for you input.  Apologies if the link wasn’t working for you.  At
 least one person on the mailing list was able to download a copy
 successfully.  I don’t know if this will help, but you might try seeing if
 the following link works any better:

Re: [Paraview] Multiprocessing lib in python shell

2017-04-12 Thread Rustem Khabetdinov
I wanted to use it to download multiple frames from remote server using
websockets and creating vtp files. Or to create multiple vtp files.

Thank you,
Rustem

2017-04-12 17:09 GMT+03:00 Cory Quammen :

> Rustem,
>
> I doubt the multiprocessing module will every play nicely with the
> Python interpreter built into ParaView. As you have noticed,
> multiprocessing works by spawning additional instances of the Python
> interpreter, in this case, ParaView. If you can live with that and
> make it work for your use case, great, but I don't know that ParaView
> would be able to change the multiprocessing module's behavior.
>
> Out of curiosity, what is your use case for using the multiprocessing
> module?
>
> Thanks,
> Cory
>
> On Wed, Apr 12, 2017 at 9:43 AM, Rustem Khabetdinov
>  wrote:
> > Hello,
> > There was a bug in python shell running this code:
> > from multiprocessing import Pool
> > p = Pool()
> >
> > It created multiple paraview instances but there was a patch that could
> > help. Now when I try to run the same code the issue is still there. Is
> it a
> > bug or should I try to change something in build variables to get this
> code
> > work?
> >
> > Thank you,
> > Rustem
> >
> > ___
> > 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
> >
>
>
>
> --
> Cory Quammen
> Staff R Engineer
> Kitware, Inc.
>
___
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


[Paraview] capability to read data from big-endian machine

2017-04-12 Thread Hedieh Ebrahimi
Dear all,

When trying to read data generated on supercomputer (big-endian), the
ParaView PFlotran-reader fails. This is because the data generated on the
supercomputer is big-endian whereas my machine (Intel machine) uses
little-endian.

The workaround to fix this is to go to following directory:

Utilities/VisItBridge/databases/PFLOTRAN
and to the following file : avtPFLOTRANFileFormat.C

In the functions avtPFLOTRANFileFormat::GetVar(...) and
avtPFLOTRANFileFormat::GetVectorVar(...)
there are the following if-statement TWO TIMES IN BOTH FUNCTIONS, so 4
modifications are needed:

if (H5Tequal(intype, H5T_NATIVE_FLOAT) ||
H5Tequal(intype, H5T_NATIVE_DOUBLE) ||
H5Tequal(intype, H5T_NATIVE_LDOUBLE) )

Replace ALL 4 above  OCCURRENCES by

if (H5Tequal(intype, H5T_NATIVE_FLOAT) ||
H5Tequal(intype, H5T_NATIVE_DOUBLE) ||
H5Tequal(intype, H5T_NATIVE_LDOUBLE) ||
H5Tequal(intype, H5T_IEEE_F32BE) ||
H5Tequal(intype, H5T_IEEE_F64BE) )

The problem is I have to compile paraview from source for each update or on
every machine. I was wondering whether this capability to read data from
big-endian machine could be included.
I´d appreciate your answer,

Hedieh Ebrahimi
Consultant 
___
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


Re: [Paraview] Multiprocessing lib in python shell

2017-04-12 Thread Cory Quammen
Rustem,

I doubt the multiprocessing module will every play nicely with the
Python interpreter built into ParaView. As you have noticed,
multiprocessing works by spawning additional instances of the Python
interpreter, in this case, ParaView. If you can live with that and
make it work for your use case, great, but I don't know that ParaView
would be able to change the multiprocessing module's behavior.

Out of curiosity, what is your use case for using the multiprocessing module?

Thanks,
Cory

On Wed, Apr 12, 2017 at 9:43 AM, Rustem Khabetdinov
 wrote:
> Hello,
> There was a bug in python shell running this code:
> from multiprocessing import Pool
> p = Pool()
>
> It created multiple paraview instances but there was a patch that could
> help. Now when I try to run the same code the issue is still there. Is it a
> bug or should I try to change something in build variables to get this code
> work?
>
> Thank you,
> Rustem
>
> ___
> 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
>



-- 
Cory Quammen
Staff R Engineer
Kitware, Inc.
___
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


Re: [Paraview] Issues Opening Tecplot *.dat File(s)

2017-04-12 Thread Chet Nieter
Zach,

It looks like you are facing a similar issue to the one that Christopher 
reported earlier here:

https://gitlab.kitware.com/paraview/paraview/issues/17293 


In that particular case the file he was trying to read was an older version of 
the Tecplot file format and the Paraview Tecplot reader did not know what to do 
with the header information in the file. As Cory mentioned a recent change to 
ParaView which is not in the 5.3 release fixed the freeze but currently 
ParaView does not support the older Tecplot format. Based on the error that 
Cory is reported the Tecplot reader is still expecting to find header 
information even though it is now reading the section of the file where the 
data resides. I can’t say for sure but I suspect your file may also be an older 
version of the Tecplot file format which is currently not supported by the 
ParaView Tecplot reader.

Chet

===
Chet Nieter, Ph.D
R Engineer, Kitware Inc.
http://www.kitware.com/company/team/nieter.html
===


> On Apr 11, 2017, at 5:58 PM, Cory Quammen  wrote:
> 
> Zach,
> 
> With recent changes to ParaView (March 15, 2017), I was able to "open"
> the file in the most recent development version of ParaView without
> getting stuck in an infinite loop, but I did get the following
> warnings:
> 
> Warning: In 
> /Users/cory.quammen/src/paraview/VTK/IO/Geometry/vtkTecplotReader.cxx,
> line 1795
> vtkTecplotReader (0x1350d2c00):
> /Users/cory.quammen/Desktop/oneram6-prism_tec_boundary.dat; Tecplot
> zone record parameter 'SOLUTIONTIME' is currently unsupported.
> Warning: In 
> /Users/cory.quammen/src/paraview/VTK/IO/Geometry/vtkTecplotReader.cxx,
> line 1789
> vtkTecplotReader (0x1350d2c00):
> /Users/cory.quammen/Desktop/oneram6-prism_tec_boundary.dat; Tecplot
> zone record parameter 'STRANDID' is currently unsupported.
> ERROR: In 
> /Users/cory.quammen/src/paraview/VTK/IO/Geometry/vtkTecplotReader.cxx,
> line 1902
> vtkTecplotReader (0x1350d2c00):
> /Users/cory.quammen/Desktop/oneram6-prism_tec_boundary.dat: The record
> type 0.317283460316E+02 found in the file is unknown.
> 
> The read fails, but hopefully this tells you what is going on.
> 
> HTH,
> Cory
> 
> On Tue, Apr 11, 2017 at 5:49 PM, Zach Davis  wrote:
>> 
>> 
>> 
>> Christopher,
>> 
>> Sorry, about the link.  I would attach the file here, but it exceeds the
>> mailing list’s size limits.  The solver I’m using is probably using an older
>> version of the TecIO library, since changes to the Tecplot file format have
>> been changing pretty frequently in recent years…  Hopefully someone else who
>> can download the file can help identify which token(s), if any, are causing
>> a problem.
>> 
>> Best Regards,
>> 
>> 
>> 
>> Zach Davis
>> Pointwise®, Inc.
>> Sr. Engineer, Sales & Marketing
>> 213 South Jennings Avenue
>> Fort Worth, TX 76104-1107
>> 
>> E: zach.da...@pointwise.com
>> P: (817) 377-2807 x1202
>> F: (817) 377-2799
>> 
>> On Apr 11, 2017, at 4:44 PM, Christopher Neal 
>> wrote:
>> 
>> That link doesn't seem to work either :(
>> 
>> For me, those terms were apparently out of date with what the reader was
>> expecting. And so when it hit those tokens it just froze instead of jumping
>> out and throwing an error. It's possible that you have other tokens(i.e.
>> options) that are setting this off.  It could also be something else, but
>> the scenario is very close to what I was dealing with.  Is the program that
>> is writing the Tecplot file up-to-date with the newest Tecplot file format?
>> 
>> On Tue, Apr 11, 2017 at 5:39 PM, Zach Davis  wrote:
>>> 
>>> Hi Christopher,
>>> 
>>> Thanks for you input.  Apologies if the link wasn’t working for you.  At
>>> least one person on the mailing list was able to download a copy
>>> successfully.  I don’t know if this will help, but you might try seeing if
>>> the following link works any better:
>>> 
>>> https://pointwiseenterprise.sharefile.com/d-sd1c1d4e9eeb450e8
>>> 
>>> I did a preliminary search for the terms “f=point” and “c=black” in my
>>> text editor.  It doesn’t seem to have found either entries; though, it does
>>> appear it’s stuck in a loop of some sort.
>>> 
>>> Best Regards,
>>> 
>>> Zach Davis
>>> Pointwise®, Inc.
>>> Sr. Engineer, Sales & Marketing
>>> 213 South Jennings Avenue
>>> Fort Worth, TX 76104-1107
>>> 
>>> E: zach.da...@pointwise.com
>>> P: (817) 377-2807 x1202
>>> F: (817) 377-2799
>>> 
>>> 
>>> On Apr 11, 2017, at 4:32 PM, Christopher Neal 
>>> wrote:
>>> 
>>> Hi Zach,
>>> 
>>> I had a similar issue recently. I can't seem to download the file (it's
>>> giving a 403 server error that I don't have permission to download).  The
>>> kitware team found that the Paraview Tecplot reader would get into an
>>> infinite loop if it had trouble reading some of the 

[Paraview] Placing a ContourPlot under a Plot3D

2017-04-12 Thread Emna Reseach
Hi

I would like to combine a 3-dimensional graph of a function with its
2-dimensional contour-plot underneath it in a professional way.
 But I have no idea how to start. My computations are done with the help of
freefem.

Does anyone know, if it is possible, how to do this?
 Thank you in advance.
___
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