Re: [Paraview] Ensight and FLUENT

2008-10-27 Thread Nathanael Inkson
Hi, 
  I have used the fluent reader quite a bit. Basically the face zone
information is completely ignored. The way that the Ensight reader
handles fluid zones is to treat them as extra cell blocks. This could
also been done with the Fluent reader with a small amount of extra code.
I might do this sometime in the future, given enough time. However, I'm
very busy at the moment! I have partially done it though. So I will
follow up on this soon.

I too have the problem of crashes though. If I load a multiblock fluent
file, merge the blocks and then use a filter. The problem is the
datasets are too large to replicate the problem simply.

Best Regards
 
Dr. Nathanael Inkson,
 
Computational Fluid Dynamics Developer,
Digital Flow Solutions,

  

   

 mob:  +  44 7872010167

web:   wirthresearch.com

 
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Berk Geveci
Sent: 27 October 2008 01:40
To: [EMAIL PROTECTED]
Cc: paraview@paraview.org
Subject: Re: [Paraview] Ensight and FLUENT

I don't know the Fluent format well so excuse my ignorance. Does the
Fluent format specify surfaces as separate parts/zones? It sounds like
the reader does not allow you to import them, correct?

As for the Ensight crash problems. Please send us example files that
demonstrate the crashes so that we can track them down.

-berk

On Fri, Oct 24, 2008 at 11:22 AM, [EMAIL PROTECTED]
[EMAIL PROTECTED] wrote:
 Hi All,

 I have spent some more time to use paraview for FLUENT now with the
 latest 3.4.0 I still have problems with import:

* direct import works fine mostly. However, I am unable to extract
  surface zones. There is no way to do postporcessing for external
  flows that way. Is there any way to split the surface?
* Using Ensight imports surface parts. This allows postprocessing.
  However, I get sementation faults quite often with that. E.g.
  FLUENT tutorial 6 exported as Ensight (node based, binary or
  ascii) gives a segfault for me. Am I the only one with this
problem?

 Maybe someone out there has some tips? Thanks.

 BastiL
 ___
 ParaView mailing list
 ParaView@paraview.org
 http://www.paraview.org/mailman/listinfo/paraview

___
ParaView mailing list
ParaView@paraview.org
http://www.paraview.org/mailman/listinfo/paraview
___
ParaView mailing list
ParaView@paraview.org
http://www.paraview.org/mailman/listinfo/paraview


[Paraview] Full screen mode

2008-10-27 Thread Renato N. Elias


Folks, does anybody know if it's possible to put ParaView in full screen 
mode? Maybe undocking the main screen, I don't know. I already tried by 
clicking everywhere without any lucky... It should be easy to implement 
since PV supports tiled displays.


Regards

Renato.


___
ParaView mailing list
ParaView@paraview.org
http://www.paraview.org/mailman/listinfo/paraview


Re: [Paraview] Full screen mode

2008-10-27 Thread Utkarsh Ayachit
There's no way of doing that currently, but please feel free to add a 
feature request on the bug tracker at

www.paraview.org/Bug

Utkarsh

Renato N. Elias wrote:


Folks, does anybody know if it's possible to put ParaView in full screen 
mode? Maybe undocking the main screen, I don't know. I already tried by 
clicking everywhere without any lucky... It should be easy to implement 
since PV supports tiled displays.


Regards

Renato.


___
ParaView mailing list
ParaView@paraview.org
http://www.paraview.org/mailman/listinfo/paraview


___
ParaView mailing list
ParaView@paraview.org
http://www.paraview.org/mailman/listinfo/paraview


Re: [Paraview] Animation of rotation

2008-10-27 Thread Hom Nath Gharti
Thank you very much indeed.
___
ParaView mailing list
ParaView@paraview.org
http://www.paraview.org/mailman/listinfo/paraview


Re: [Paraview] Empty Lines in Screenshot

2008-10-27 Thread Kevin H. Hobbs
On Monday 27 October 2008 11:28:42 am Moreland, Kenneth wrote:
 That looks like a bug.  I submitted a report.

   http://www.paraview.org/Bug/view.php?id=7858

Thank you, I'll monitor that bug.


 I think the problem is with the fixed point volume renderer.  If your data
 is small enough, you can work around the problem by converting the data to
 an unstructured grid  That will cause the volume rendering algorithm to
 switch to projected tetrahedra, which works in this regard.

Unfortunately no, the data are too bid too big.



signature.asc
Description: This is a digitally signed message part.
___
ParaView mailing list
ParaView@paraview.org
http://www.paraview.org/mailman/listinfo/paraview


Re: [Paraview] Crash when extracting surface in a big mesh

2008-10-27 Thread Paul Edwards
Has anyone else experienced this problem?  Is it just because I have
so many cells in one block?  To reproduce: compile structured grid
generator that is attached, create grid with dimensions 1000 x 1000 x
80, use clean to grid to make unstructured, and then try viewing the
surface.

Note: this uses quite a bit of memory

Regards,
Paul

2008/10/17 Edwards, Paul [EMAIL PROTECTED]:
 I think this int needs to be unsigned (or more bits)…..



 (gdb) frame 3

 #3  0x2aaab2c053ea in vtkDataSetSurfaceFilter::NewFastGeomQuad
 (this=0x14fe670, numPts=4)

 at
 /tmp/padramgui-1.1/tmp/src/paraview/VTK/Graphics/vtkDataSetSurfaceFilter.cxx:1730

 1730this-FastGeomQuadArrays[this-NextArrayIndex]

  (gdb) list

 1720}

 1721  }

 1722delete [] this-FastGeomQuadArrays;

 1723this-FastGeomQuadArrays = newArrays;

 1724this-NumberOfFastGeomQuadArrays = num;

 1725}

 1726

 1727  // Next: allocate a new array if necessary.

 1728  if (this-FastGeomQuadArrays[this-NextArrayIndex] == NULL)

 1729{

 1730this-FastGeomQuadArrays[this-NextArrayIndex]

 1731  = new unsigned char[this-FastGeomQuadArrayLength];

 1732}

 1733

 1734  vtkFastGeomQuad* q = reinterpret_castvtkFastGeomQuad*

 1735(this-FastGeomQuadArrays[this-NextArrayIndex] +
 this-NextQuadIndex);

 1736  q-numPts = numPts;

 1737

 1738  this-NextQuadIndex += polySize;

 1739

 (gdb) print this-FastGeomQuadArrayLength

 $2 = -1721647736

 (gdb) whatis this-FastGeomQuadArrayLength

 type = int

 (gdb)



 More than just that variable needs to be updated though.



 I experienced this when viewing the surface of a mesh with 90M cells on a
 single machine.  Cuts worked without any problems.



 Regards,

 Paul

 The data contained in, or attached to, this e-mail, may contain confidential
 information. If you have received it in error you should notify the sender
 immediately by reply e-mail, delete the message from your system and contact
 +44 (0) 1332 242424 (the Rolls-Royce IT Security Director) if you need
 assistance. Please do not copy it for any purpose, or disclose its contents
 to any other person.

 An e-mail response to this address may be subject to interception or
 monitoring for operational reasons or for lawful business practices.

 (c) 2008 Rolls-Royce plc

 Registered office: 65 Buckingham Gate, London SW1E 6AT Company number:
 1003142. Registered in England.

 ___
 ParaView mailing list
 ParaView@paraview.org
 http://www.paraview.org/mailman/listinfo/paraview


#ifndef __vtkStructuredGridGenerator_h
#define __vtkStructuredGridGenerator_h

#include vtkStructuredGridAlgorithm.h

class vtkStructuredGridGenerator : public vtkStructuredGridAlgorithm
{
public:
static vtkStructuredGridGenerator* New();
vtkTypeRevisionMacro(vtkStructuredGridGenerator, vtkStructuredGridAlgorithm);
void PrintSelf(ostream os, vtkIndent indent);

vtkSetVector2Macro(IRange, double);
vtkGetVectorMacro(IRange, double, 2);

vtkSetVector2Macro(JRange, double);
vtkGetVectorMacro(JRange, double, 2);

vtkSetVector2Macro(KRange, double);
vtkGetVectorMacro(KRange, double, 2);

vtkSetVector3Macro(Dimensions, int);
vtkGetVectorMacro(Dimensions, int, 3);

virtual int RequestInformation(
vtkInformation *vtkNotUsed(request),
vtkInformationVector **vtkNotUsed(inputVector),
vtkInformationVector *outputVector);
virtual int RequestData(vtkInformation*,
vtkInformationVector**,
vtkInformationVector*);
protected:
vtkStructuredGridGenerator();
~vtkStructuredGridGenerator();

double IRange[2];
double JRange[2];
double KRange[2];
int Dimensions[3];

private:
vtkStructuredGridGenerator(const vtkStructuredGridGenerator);  // Not implemented.
void operator=(const vtkStructuredGridGenerator);  // Not implemented.
};

#endif
#include vtkStructuredGridGenerator.h

#include vtkObjectFactory.h
#include vtkStructuredGrid.h
#include vtkInformation.h
#include vtkInformationVector.h
#include vtkSmartPointer.h
#include vtkStreamingDemandDrivenPipeline.h
#include vtkPoints.h

#define VTK_CREATE(type, name) \
  vtkSmartPointertype name = vtkSmartPointertype::New()

vtkCxxRevisionMacro(vtkStructuredGridGenerator, $Revision: 0.1 $);
vtkStandardNewMacro(vtkStructuredGridGenerator);

vtkStructuredGridGenerator::vtkStructuredGridGenerator()
{
this-SetNumberOfInputPorts(0);

this-IRange[0] = -1.0;
this-IRange[1] = 1.0;
this-JRange[0] = -1.0;
this-JRange[1] = 1.0;
this-KRange[0] = -1.0;
this-KRange[1] = 1.0;

this-Dimensions[0] = 2;
this-Dimensions[1] = 2;
this-Dimensions[2] = 2;
}

vtkStructuredGridGenerator::~vtkStructuredGridGenerator()
{
}

int vtkStructuredGridGenerator::RequestInformation(
vtkInformation *vtkNotUsed(request),

[Paraview] How to start pvserver from python ?

2008-10-27 Thread Guy HUBERT
Hello,

Via paraview python servermanager, we can connect to a running pvserver with 
python. But, is it possible to launch a pvserver on a remote computer from 
servermanager before connecting via servermanager module ? 

Or is it necessary to use python sockets ?

Thanks
Guy
___
ParaView mailing list
ParaView@paraview.org
http://www.paraview.org/mailman/listinfo/paraview


Re: [Paraview] Poor movie quality (revisited)

2008-10-27 Thread Renato N. Elias

Hi Utkarsh,

yes, I'm using a Windows machine and the offscreen rendering option has 
not helped so much :-(


Just for comparison, I produced the same movie using PV3.4.0 and 
PV2.6.2. Take a look:


ParaView-3.4.0 (Offscreen rendering for screenshots UNchecked):
http://www.nacad.ufrj.br/~rnelias/paraview/movies/pv-3.4.0_offscreen-UNCHECKED.avi

ParaView-3.4.0 (Offscreen rendering for screenshots checked):
http://www.nacad.ufrj.br/~rnelias/paraview/movies/pv-3.4.0_offscreen-CHECKED.avi

ParaView-2.6.2:
http://www.nacad.ufrj.br/~rnelias/paraview/movies/pv-2.6.2.avi

What do you think?

Renato.


Utkarsh Ayachit wrote:

Renato,

Is this on a windows machine? Can you try the following:
* Go to View|Settings
* In the Options dialog choose the Render View  in the tree view on 
the left pane and then set Use Offscreen Rendering for Screenshots 
to unchecked and then save the animation. Is this any better?


Utkarsh


Renato N. Elias wrote:


Some time ago I reported the poor quality of the movies that I've 
been creating in PV version 3. They seem darkened (I turned on the 
lights) and with low resolution (952 x 554 seems to be a good 
resolution). No one answered me and I concluded that the problem was 
some misconfiguration I made. Ok, but the problem is that I'm still 
not able to save any avi file with a decent quality using PV3. In 
PV2, any movie produced had, at least, the same quality of the still 
images rendered on main window. What's the difference between PV2 and 
PV3 in terms of movie rendering? Is there anything that I could 
configure to solve it?


Thanks for any help

Renato.


___
ParaView mailing list
ParaView@paraview.org
http://www.paraview.org/mailman/listinfo/paraview





___
ParaView mailing list
ParaView@paraview.org
http://www.paraview.org/mailman/listinfo/paraview


Re: [Paraview] Poor movie quality (revisited)

2008-10-27 Thread Utkarsh Ayachit

Hi Renato,

I am confused, why do you say unchecking use-offscreen hasn't helped 
much? I can see that pv-3.4.0_offscreen-UNCHECKED.avi is well-lit when 
compared with pv-3.4.0_offscreen-CHECKED.avi, or am I missing something 
here?


Utkarsh

Renato N. Elias wrote:

Hi Utkarsh,

yes, I'm using a Windows machine and the offscreen rendering option has 
not helped so much :-(


Just for comparison, I produced the same movie using PV3.4.0 and 
PV2.6.2. Take a look:


ParaView-3.4.0 (Offscreen rendering for screenshots UNchecked):
http://www.nacad.ufrj.br/~rnelias/paraview/movies/pv-3.4.0_offscreen-UNCHECKED.avi 



ParaView-3.4.0 (Offscreen rendering for screenshots checked):
http://www.nacad.ufrj.br/~rnelias/paraview/movies/pv-3.4.0_offscreen-CHECKED.avi 



ParaView-2.6.2:
http://www.nacad.ufrj.br/~rnelias/paraview/movies/pv-2.6.2.avi

What do you think?

Renato.


Utkarsh Ayachit wrote:

Renato,

Is this on a windows machine? Can you try the following:
* Go to View|Settings
* In the Options dialog choose the Render View  in the tree view on 
the left pane and then set Use Offscreen Rendering for Screenshots 
to unchecked and then save the animation. Is this any better?


Utkarsh


Renato N. Elias wrote:


Some time ago I reported the poor quality of the movies that I've 
been creating in PV version 3. They seem darkened (I turned on the 
lights) and with low resolution (952 x 554 seems to be a good 
resolution). No one answered me and I concluded that the problem was 
some misconfiguration I made. Ok, but the problem is that I'm still 
not able to save any avi file with a decent quality using PV3. In 
PV2, any movie produced had, at least, the same quality of the still 
images rendered on main window. What's the difference between PV2 and 
PV3 in terms of movie rendering? Is there anything that I could 
configure to solve it?


Thanks for any help

Renato.


___
ParaView mailing list
ParaView@paraview.org
http://www.paraview.org/mailman/listinfo/paraview







___
ParaView mailing list
ParaView@paraview.org
http://www.paraview.org/mailman/listinfo/paraview


Re: [Paraview] How to start pvserver from python ?

2008-10-27 Thread Utkarsh Ayachit
There is no option to start a remote pvserver from python directly. But 
you can certainly use python's process management API to fork a new 
pvserver processes etc.


Utkarsh

Guy HUBERT wrote:

Hello,

Via paraview python servermanager, we can connect to a running pvserver with python. But, is it possible to launch a pvserver on a remote computer from servermanager before connecting via servermanager module ? 


Or is it necessary to use python sockets ?

Thanks
Guy
___
ParaView mailing list
ParaView@paraview.org
http://www.paraview.org/mailman/listinfo/paraview


___
ParaView mailing list
ParaView@paraview.org
http://www.paraview.org/mailman/listinfo/paraview


Re: [Paraview] Poor movie quality (revisited)

2008-10-27 Thread Scott, W Alan
Renato,
Try turning off the light kit.  That gave me some trouble in the past.  If that 
helps, try removing the personalized paraview config files.

Alan

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Utkarsh Ayachit
Sent: Monday, October 27, 2008 12:42 PM
To: Renato N. Elias
Cc: paraview@paraview.org
Subject: Re: [Paraview] Poor movie quality (revisited)

Hi Renato,

I am confused, why do you say unchecking use-offscreen hasn't helped much? I 
can see that pv-3.4.0_offscreen-UNCHECKED.avi is well-lit when compared with 
pv-3.4.0_offscreen-CHECKED.avi, or am I missing something here?

Utkarsh

Renato N. Elias wrote:
 Hi Utkarsh,

 yes, I'm using a Windows machine and the offscreen rendering option
 has not helped so much :-(

 Just for comparison, I produced the same movie using PV3.4.0 and
 PV2.6.2. Take a look:

 ParaView-3.4.0 (Offscreen rendering for screenshots UNchecked):
 http://www.nacad.ufrj.br/~rnelias/paraview/movies/pv-3.4.0_offscreen-U
 NCHECKED.avi


 ParaView-3.4.0 (Offscreen rendering for screenshots checked):
 http://www.nacad.ufrj.br/~rnelias/paraview/movies/pv-3.4.0_offscreen-C
 HECKED.avi


 ParaView-2.6.2:
 http://www.nacad.ufrj.br/~rnelias/paraview/movies/pv-2.6.2.avi

 What do you think?

 Renato.


 Utkarsh Ayachit wrote:
 Renato,

 Is this on a windows machine? Can you try the following:
 * Go to View|Settings
 * In the Options dialog choose the Render View  in the tree view on
 the left pane and then set Use Offscreen Rendering for Screenshots
 to unchecked and then save the animation. Is this any better?

 Utkarsh


 Renato N. Elias wrote:

 Some time ago I reported the poor quality of the movies that I've
 been creating in PV version 3. They seem darkened (I turned on the
 lights) and with low resolution (952 x 554 seems to be a good
 resolution). No one answered me and I concluded that the problem was
 some misconfiguration I made. Ok, but the problem is that I'm still
 not able to save any avi file with a decent quality using PV3. In
 PV2, any movie produced had, at least, the same quality of the still
 images rendered on main window. What's the difference between PV2
 and
 PV3 in terms of movie rendering? Is there anything that I could
 configure to solve it?

 Thanks for any help

 Renato.


 ___
 ParaView mailing list
 ParaView@paraview.org
 http://www.paraview.org/mailman/listinfo/paraview




___
ParaView mailing list
ParaView@paraview.org
http://www.paraview.org/mailman/listinfo/paraview


___
ParaView mailing list
ParaView@paraview.org
http://www.paraview.org/mailman/listinfo/paraview


Re: [Paraview] Poor movie quality (revisited)

2008-10-27 Thread Berk Geveci
This is probably due to a Windows OpenGL bug. It sounds like you have
an older graphics card or you are on a laptop with intel graphics. If
you turn off the light kit from the render view options OR if you turn
off offscreen rendering when saving images, this should go away.

-berk

On Mon, Oct 27, 2008 at 9:35 AM, Renato N. Elias [EMAIL PROTECTED] wrote:

 Some time ago I reported the poor quality of the movies that I've been
 creating in PV version 3. They seem darkened (I turned on the lights) and
 with low resolution (952 x 554 seems to be a good resolution). No one
 answered me and I concluded that the problem was some misconfiguration I
 made. Ok, but the problem is that I'm still not able to save any avi file
 with a decent quality using PV3. In PV2, any movie produced had, at least,
 the same quality of the still images rendered on main window. What's the
 difference between PV2 and PV3 in terms of movie rendering? Is there
 anything that I could configure to solve it?

 Thanks for any help

 Renato.


 ___
 ParaView mailing list
 ParaView@paraview.org
 http://www.paraview.org/mailman/listinfo/paraview

___
ParaView mailing list
ParaView@paraview.org
http://www.paraview.org/mailman/listinfo/paraview


Re: [Paraview] Poor movie quality (revisited)

2008-10-27 Thread Renato N. Elias


I'm doing other tests with a NVidia's card (with no luck yet). In fact, 
I was using the intel video card of my laptop (Vaio VGN-SZ430N) which 
was the same card used to render the movie using pv-2.6.2. The best in 
my opinion. Berk, I must keep at least one light turned on (headlight or 
the light kit), otherwise, I will get a completely dark image. I'll try 
copying the light kit attributes from pv-2.6.2 to pv-3.4.0.


Renato.

Berk Geveci wrote:

That difference is definitely because of setting differences between
the two version. 3 uses light kit by default. 2 did not, I believe.

-berk

On Mon, Oct 27, 2008 at 3:03 PM, Renato N. Elias [EMAIL PROTECTED] wrote:
  

Forgive me. In fact, it helped. When I said that, I was making reference to
the movie produced by pv.2.6.2 which, in my opinion, is the best in quality.

[]'s

Renato.

Utkarsh Ayachit wrote:


Hi Renato,

I am confused, why do you say unchecking use-offscreen hasn't helped much?
I can see that pv-3.4.0_offscreen-UNCHECKED.avi is well-lit when compared
with pv-3.4.0_offscreen-CHECKED.avi, or am I missing something here?

Utkarsh

Renato N. Elias wrote:
  

Hi Utkarsh,

yes, I'm using a Windows machine and the offscreen rendering option has
not helped so much :-(

Just for comparison, I produced the same movie using PV3.4.0 and PV2.6.2.
Take a look:

ParaView-3.4.0 (Offscreen rendering for screenshots UNchecked):

http://www.nacad.ufrj.br/~rnelias/paraview/movies/pv-3.4.0_offscreen-UNCHECKED.avi

ParaView-3.4.0 (Offscreen rendering for screenshots checked):

http://www.nacad.ufrj.br/~rnelias/paraview/movies/pv-3.4.0_offscreen-CHECKED.avi

ParaView-2.6.2:
http://www.nacad.ufrj.br/~rnelias/paraview/movies/pv-2.6.2.avi

What do you think?

Renato.


Utkarsh Ayachit wrote:


Renato,

Is this on a windows machine? Can you try the following:
* Go to View|Settings
* In the Options dialog choose the Render View  in the tree view on
the left pane and then set Use Offscreen Rendering for Screenshots to
unchecked and then save the animation. Is this any better?

Utkarsh


Renato N. Elias wrote:
  

Some time ago I reported the poor quality of the movies that I've been
creating in PV version 3. They seem darkened (I turned on the lights) and
with low resolution (952 x 554 seems to be a good resolution). No one
answered me and I concluded that the problem was some misconfiguration I
made. Ok, but the problem is that I'm still not able to save any avi file
with a decent quality using PV3. In PV2, any movie produced had, at least,
the same quality of the still images rendered on main window. What's the
difference between PV2 and PV3 in terms of movie rendering? Is there
anything that I could configure to solve it?

Thanks for any help

Renato.


___
ParaView mailing list
ParaView@paraview.org
http://www.paraview.org/mailman/listinfo/paraview




___
ParaView mailing list
ParaView@paraview.org
http://www.paraview.org/mailman/listinfo/paraview




  


___
ParaView mailing list
ParaView@paraview.org
http://www.paraview.org/mailman/listinfo/paraview


[Paraview] Update Slice Filter / Python Equivalent of Apply

2008-10-27 Thread David Fuentes

What is the python script equivalent of the Apply button for the
slice filter?


I have an image file .mha to which I applied the slice filter.
I can change the normal direction of the slice from a python script.

 pm= servermanager.ProxyManager()
 mha_slice = pm.GetProxy(sources,mha_slice)
 view1 = pm.GetProxy(views,RenderViewer1)
 widget= 
pm.GetProxy(3d_widgets_prototypes,ImplicitPlaneWidgetRepresentation1)
 widget.Normal =  [ 1 , 0 , 0]
 view1.StillRender()



The normal plane is updated, but I can't get the 
slice filter to cut the data and display the 
approriate slice plane. I'm guessing the apply button

updates the Pipeline ?  so i tried

  UpdatePipeline()
  UpdatePipelineInformation()
  Update()
  UpdateRequired()
  UpdateSelfAndAllInputs()
  UpdateVTKObjects()


but I cannot get the same behavior as the apply button


?


thanks,
df
___
ParaView mailing list
ParaView@paraview.org
http://www.paraview.org/mailman/listinfo/paraview