[Paraview] [*] Selecting wall boundary
Mubashir Ali
mubashir at iitk.ac.in
Mon Sep 27 01:40:37 EDT 2010
> Send ParaView mailing list submissions to
> paraview at paraview.org
> Hi,
Thnx for your suggestions for selecting wall boundary.
I checked my ensight gold data in paraview and i found their exit boundary
block but it includes all boundary and i cant separate the the wall
bounday from boundary block. Extract subset option is also not activated.
what changes should i make while making the geometry and defining boundary
condition so that i see all different boundaries and can evaluate them
separately. I use Gambit to genrate the grid and apply boundary conditions
Kind Regards
Mubashir
> To subscribe or unsubscribe via the World Wide Web, visit
> http://www.paraview.org/mailman/listinfo/paraview
> or, via email, send a message with subject or body 'help' to
> paraview-request at paraview.org
>
> You can reach the person managing the list at
> paraview-owner at paraview.org
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of ParaView digest..."
>
>
> Today's Topics:
>
> 1. contour programmable filter (guillaume)
> 2. Re: contour programmable filter (Favre Jean)
> 3. Re: Selecting wall boundary (Bart Janssens)
> 4. Re: Selecting wall boundary (Samuel Key)
> 5. Setting Texture for point sprites (Madhura Phadke)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Fri, 24 Sep 2010 11:57:20 -0700
> From: guillaume <robguillaume at free.fr>
> Subject: [Paraview] contour programmable filter
> To: paraview at paraview.org
> Message-ID: <4C9CF490.5030207 at free.fr>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>
> Hi everybody,
>
> I begin with Paraview and I would like to have a variable input (like
> the maximum temperature at each time step) for the isosurface into the
> contour filter.
> In this way, I created a programmable filter to get the maximum
> temperature :
>
> pdi = self.GetPolyDataInput()
> pdo = self.GetPolyDataOutput()
> numPoints = pdi.GetNumberOfPoints()
> temperature = pdi.GetPointData().GetArray("temperature")
>
> max=-1.0
> for i in range(0, numPoints):
> if (max < temperature.GetValue(i)):
> max = temperature.GetValue(i)
> print(max)
>
> But, now my problem is how create the contour filter ?
> I tried with :
>
> cf = vtk.vtkContourGrid()
> cf.SetInputConnection(pdo)
> cf.SetValue(1,0.1)
>
> but I didn't obtained some images. Perhaps I need some lines code with
> self.GetPolyDataOutput() ?
>
> Thanks in advance,
> Guillaume
>
>
>
>
>
> ------------------------------
>
> Message: 2
> Date: Sat, 25 Sep 2010 08:28:23 +0200
> From: "Favre Jean" <jfavre at cscs.ch>
> Subject: Re: [Paraview] contour programmable filter
> To: guillaume <robguillaume at free.fr>, "paraview at paraview.org"
> <paraview at paraview.org>
> Message-ID:
> <AB48A31C4EC97E498F4235B7CEF74A194D33AAABD7 at MBX00.d.ethz.ch>
> Content-Type: text/plain; charset="us-ascii"
>
>
> Using the maximum value of any scalar field as the threshold for an
> isosurface will always give a null object. In fact, the smallest
> isosurface you could ever construct is a single triangle, intersecting 3
> edges connecting one vertex greater than your threshold, and three other
> vertices below your threshold.
>
> this is the second case in this figure:
> http://en.wikipedia.org/wiki/File:MarchingCubes.svg
>
> you should rethink your strategy of using the maximum value as input
> threshold.
>
> That being said, there is a much faster way to get the range (the min and
> maximum) of a scalar field from within the Pogrammable Filter. Simply use
> GetRange()
>
> max = temperature.GetRange()[1]
>
> -----------------
> Jean M. Favre
> Swiss National Supercomputing Center
>
>
> ------------------------------
>
> Message: 3
> Date: Sat, 25 Sep 2010 11:39:13 +0200
> From: Bart Janssens <bart.janssens at rma.ac.be>
> Subject: Re: [Paraview] Selecting wall boundary
> To: paraview at paraview.org
> Message-ID: <201009251139.14053.bart.janssens at rma.ac.be>
> Content-Type: Text/Plain; charset="iso-8859-15"
>
> On Friday, September 24, 2010 02:50:05 pm Aur?lien Marsan wrote:
>> Hi,
>> If your mesh is structured, you can use the Extract Subset filter.
>>
>> 2010/9/24 Mubashir Ali <mubashir at iitk.ac.in>
>>
>> Hi,
>>
>> I am new to paraview and i want to know how to extract wall boundary
>> cells
>> in paraview. I am simulating a 3D airfoil which specified as as wall
>> boundary.
>>
>> I am using code saturne which is an open source and finite volume
>> solver
>> and the results i get are in Ensight gold format. I need to see only
>> airfoil(wall) so that i can see pressure distribution
>
> Also, since it's EnSight Gold, you should have a multi-block dataset, and
> using the ExtractBlock filter may allow you to extract the boundaries by
> name,
> depending on how your case is set up and how well it is exported to
> EnSight.
>
> Cheers,
>
> Bart
>
> --
> Bart Janssens
> Captain, Assistant
> Royal Military Academy of Belgium
> Department of Mechanical Engineering
>
>
> ------------------------------
>
> Message: 4
> Date: Sat, 25 Sep 2010 09:29:43 -0600
> From: Samuel Key <samuelkey at bresnan.net>
> Subject: Re: [Paraview] Selecting wall boundary
> To: paraview at paraview.org
> Message-ID: <4C9E1567.5010502 at bresnan.net>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>
> Just to expand a little on Bart Janssens' comments --
>
> The EnSight Gold binary results-file format has a "part"-construct. It
> allows the simulation results to be stored (and displayed in ParaView)
> as a collection of parts.
>
> (1) Each part needs to be a complete, displayable graphics object; the
> part can reference the original nodal point set. As far as I know, all
> parts must have the same set of point and cell variables.
>
> (2) The definition of a "part" is up to the simulation code developer.
> It can be any datum subset the developer wants to isolate and display,
> and it need not be anything recognizable by the original simulation
> code, for example, the wing surface. That is, it can be generated "on
> the fly" as the EnSight Gold results file is being written.
>
> (3) Indeed, any collection of parts (one or more) may be accessed with
> the Extract Blocks filter.
>
> I routinely subdivide my simulations into "parts" based on materials
> since I have objects that have anywhere from 2 to 30 different
> materials (and each constructed from a variety of finite elements). I
> routinely write a time=0.0 EnSight Gold mesh file with node-sets and
> side-sets (surface facet sets) to which BC's are applied for model
> checking. The node-sets and side-sets are individually displayable
> graphics objects with cells with data.
>
> Regards,
>
> Sam Key
>
> On 9/25/2010 3:39 AM, Bart Janssens wrote:
>> On Friday, September 24, 2010 02:50:05 pm Aur?lien Marsan wrote:
>>> Hi,
>>> If your mesh is structured, you can use the Extract Subset filter.
>>>
>>> 2010/9/24 Mubashir Ali<mubashir at iitk.ac.in>
>>>
>>> Hi,
>>>
>>> I am new to paraview and i want to know how to extract wall boundary
>>> cells
>>> in paraview. I am simulating a 3D airfoil which specified as as wall
>>> boundary.
>>>
>>> I am using code saturne which is an open source and finite volume
>>> solver
>>> and the results i get are in Ensight gold format. I need to see only
>>> airfoil(wall) so that i can see pressure distribution
>> Also, since it's EnSight Gold, you should have a multi-block dataset,
>> and
>> using the ExtractBlock filter may allow you to extract the boundaries by
>> name,
>> depending on how your case is set up and how well it is exported to
>> EnSight.
>>
>> Cheers,
>>
>> Bart
>>
>
>
> ------------------------------
>
> Message: 5
> Date: Sat, 25 Sep 2010 10:48:46 -0500
> From: Madhura Phadke <madhura.np at gmail.com>
> Subject: [Paraview] Setting Texture for point sprites
> To: paraview at paraview.org
> Message-ID:
> <AANLkTi==91XOcU81rYUn77n21dQ-eFeJ9wwCoMN_sgQb at mail.gmail.com>
> Content-Type: text/plain; charset="utf-8"
>
> Hi,
> I am using PointSprite through python script. When I try to load the
> Sphere
> texture for point sprite, the trace shows the following have been set:
>
> Arrow1 = GetActiveSource()
>
> DataRepresentation1 = GetDisplayProperties(Arrow1)
>
> DataRepresentation1.RenderMode = 'Texture'
>
> DataRepresentation1.MaxPixelSize = 12.0
>
> DataRepresentation1.Texture = []
>
> Render()
>
>
> How do I specify sphere texture?
>
>
>
> --Madhura
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL:
> <http://www.paraview.org/pipermail/paraview/attachments/20100925/5239de5f/attachment-0001.htm>
>
> ------------------------------
>
> _______________________________________________
> 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
>
> Follow this link to subscribe/unsubscribe:
> http://www.paraview.org/mailman/listinfo/paraview
>
>
> End of ParaView Digest, Vol 77, Issue 62
> ****************************************
>
Mubashir Ali
mubashir at iitk.ac.in
Senior Project Associate
High Performance computing Lab,
Aerospace Department,
Indian Institute of Technology
Kanpur, India
More information about the ParaView
mailing list