Re: [Paraview] Surface LIC Problem

2014-02-14 Thread Magician
Richard,


Sorry, that's my mistake.
The surfaces DON'T have non-zero vectors without slipping or moving wall.

I'm going to export surface vectors such as oilflow vector from solvers.


Magician


On Feb 14, 2014, at 23:00, Richard Grenon  wrote:

> Hello.
> 
> What are these non-zero surface vectors without slipping or moving walls ?
> 
> With NS solvers, the velocity vector in an axis system bound to a wall should 
> ALWAYS be zero at the wall (moving wall or not moving wall): this is the 
> adherence condition.
> 
> As LIC needs a non zero vector at the wall in an axis system bound to the 
> wall, you cannot use the velocity vector, and you MUST use the skin friction 
> vector.
> 
> My NS solver gives the three components of the skin friction vector in an 
> axis system bound to the wall as three scalar arrays. So I have to use the PV 
> Calculator filter in order to build the vector array from these three scalar 
> arrays, something like "Friction_vector = 
> x_component*iHat+y_component*jHat+z_component*kHat"
> 
> But you may also use the Calculator filter to build the friction vector from 
> the stress tensor and the normal vector at the wall. It depends on the output 
> of your solver.
> 
> Richard
> 
> Le 14/02/2014 14:34, Magician a écrit :
>> Hi Burlen, Richard, Utkarsh,
>> 
>> 
>> Thanks for your advices.
>> 
>> I misunderstood that the Surface LIC Plugin should calculate
>> some kinds of the vector fields on surfaces.
>> My models are generated by NS solvers, so the surfaces have
>> non-zero vectors without slipping or moving wall.
>> 
>> For example, can I calculate surface friction vectors with ParaView?
>> I have flow fields and other physical constants.
>> 
>> 
>> # Extracting issue was solved by using Extract Subset filter.
>> # My meshes were structured grids of turbomachinery in this time,
>> # so all the walls can be extracted by the ijk coordinates.
>> 
>> 
>> Magician
>> 
> 
> 
> -- 
> Richard GRENON
> ONERA
> Departement d'Aerodynamique Appliquee - DAAP/ACI
> 8 rue des Vertugadins
> 92190 MEUDON - FRANCE
> phone : +33 1 46 73 42 17
> fax   : +33 1 46 73 41 46
> mailto:richard.gre...@onera.fr
> http://www.onera.fr
> 

___
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


Re: [Paraview] Surface LIC Problem

2014-02-14 Thread Richard Grenon

Hello.

What are these non-zero surface vectors without slipping or moving walls ?

With NS solvers, the velocity vector in an axis system bound to a wall 
should ALWAYS be zero at the wall (moving wall or not moving wall): this 
is the adherence condition.


As LIC needs a non zero vector at the wall in an axis system bound to 
the wall, you cannot use the velocity vector, and you MUST use the skin 
friction vector.


My NS solver gives the three components of the skin friction vector in 
an axis system bound to the wall as three scalar arrays. So I have to 
use the PV Calculator filter in order to build the vector array from 
these three scalar arrays, something like "Friction_vector = 
x_component*iHat+y_component*jHat+z_component*kHat"


But you may also use the Calculator filter to build the friction vector 
from the stress tensor and the normal vector at the wall. It depends on 
the output of your solver.


Richard

Le 14/02/2014 14:34, Magician a écrit :

Hi Burlen, Richard, Utkarsh,


Thanks for your advices.

I misunderstood that the Surface LIC Plugin should calculate
some kinds of the vector fields on surfaces.
My models are generated by NS solvers, so the surfaces have
non-zero vectors without slipping or moving wall.

For example, can I calculate surface friction vectors with ParaView?
I have flow fields and other physical constants.


# Extracting issue was solved by using Extract Subset filter.
# My meshes were structured grids of turbomachinery in this time,
# so all the walls can be extracted by the ijk coordinates.


Magician




--
 Richard GRENON
 ONERA
 Departement d'Aerodynamique Appliquee - DAAP/ACI
 8 rue des Vertugadins
 92190 MEUDON - FRANCE
 phone : +33 1 46 73 42 17
 fax   : +33 1 46 73 41 46
 mailto:richard.gre...@onera.fr
 http://www.onera.fr

___
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


Re: [Paraview] Surface LIC Problem

2014-02-14 Thread Magician
Hi Burlen, Richard, Utkarsh,


Thanks for your advices.

I misunderstood that the Surface LIC Plugin should calculate
some kinds of the vector fields on surfaces.
My models are generated by NS solvers, so the surfaces have
non-zero vectors without slipping or moving wall.

For example, can I calculate surface friction vectors with ParaView?
I have flow fields and other physical constants.


# Extracting issue was solved by using Extract Subset filter.
# My meshes were structured grids of turbomachinery in this time,
# so all the walls can be extracted by the ijk coordinates.


Magician


On Feb 10, 2014, at 23:42, paraview-requ...@paraview.org wrote:

> Message: 5
> Date: Mon, 10 Feb 2014 09:42:27 -0500
> From: Utkarsh Ayachit 
> To: Richard Grenon 
> Cc: Magician , ParaView 
> Subject: Re: [Paraview] Surface LIC Problem
> Message-ID:
>   
> Content-Type: text/plain; charset=ISO-8859-1
> 
> You could also either use "Extract Block" to remove blocks on which
> you don't want to render LIC and then do LIC on the rest. There are
> others ways for this subsetting too, based on the nature of your data:
> e.g. you could your Extract Selection or Threshold to remove the cells
> that you don't want to render LIC on and then render the result.
> 
> On Mon, Feb 10, 2014 at 3:57 AM, Richard Grenon  
> wrote:
>> Hello
>> 
>> Which vector field are you using with LIC ?
>> 
>> The LIC control panel allows to choose the vector to be used, and you 
>> MUST choose a vector field that is NOT ZERO on the surface.
>> 
>> With Euler CFD results, the velocity vector is not zero at the wall, and 
>> you can use this vector.
>> 
>> With Navier-Stokes CFD results, the velocity vector is zero at the wall, 
>> and you have to use the skin friction vector instead.
>> 
>> Richard
>> 
>>> On Feb 9, 2014, at 10:09, Burlen Loring  wrote:
>>> 
>>> I'm not 100% sure I understand the situation. A picture or sample dataset 
>>> would help. Is it that some of the surfaces don't have the velocity field 
>>> defined on them?
>>> 
>>> Burlen
>>> 
>>> On 02/08/2014 04:42 AM, Magician wrote:
>>>> I'm trying the Surface LIC Plugin.
>>>> My models are formatted as VTK MultiBlock Dataset, and there are geometries
>>>> of fluids and walls.
>>>> I'd like to visualize LIC on the walls.
>>>> 
>>>> First I applied Surface LIC to the walls, the results are something wrong.
>>>> Next to the fluids, they are OK.
>>>> But there are extra walls which I don't want to visualize (ex. 
>>>> Inlets/Outlets, external boundaries).
>>>> Maybe the reason of the walls are that they don't have the velocity values 
>>>> of main flows.
>>>> 
>>>> I also tried the Resample with Dataset filter for linking main flows to 
>>>> the walls.
>>>> The results are roughly good, but sometimes the resampling qualitys are 
>>>> poor (dropping the values).
>>>> 
>>>> 
>>>> Is there a good way to visualize the part of the walls' LIC?
>>>> My sources have complicated shapes, so I want to make the best use of the 
>>>> information of blocks of walls.
>>>> 
>>>> 
>>>> Magician
___
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


Re: [Paraview] Surface LIC Problem

2014-02-10 Thread Utkarsh Ayachit
You could also either use "Extract Block" to remove blocks on which
you don't want to render LIC and then do LIC on the rest. There are
others ways for this subsetting too, based on the nature of your data:
e.g. you could your Extract Selection or Threshold to remove the cells
that you don't want to render LIC on and then render the result.

On Mon, Feb 10, 2014 at 3:57 AM, Richard Grenon  wrote:
> Hello
>
> Which vector field are you using with LIC ?
>
> The LIC control panel allows to choose the vector to be used, and you MUST
> choose a vector field that is NOT ZERO on the surface.
>
> With Euler CFD results, the velocity vector is not zero at the wall, and you
> can use this vector.
>
> With Navier-Stokes CFD results, the velocity vector is zero at the wall, and
> you have to use the skin friction vector instead.
>
> Richard
>
>> I'm trying the Surface LIC Plugin.
>> My models are formatted as VTK MultiBlock Dataset, and there are
>> geometries
>> of fluids and walls.
>> I'd like to visualize LIC on the walls.
>>
>> First I applied Surface LIC to the walls, the results are something wrong.
>> Next to the fluids, they are OK.
>> But there are extra walls which I don't want to visualize (ex.
>> Inlets/Outlets, external boundaries).
>> Maybe the reason of the walls are that they don't have the velocity values
>> of main flows.
>>
>> I also tried the Resample with Dataset filter for linking main flows to
>> the walls.
>> The results are roughly good, but sometimes the resampling qualitys are
>> poor (dropping the values).
>>
>>
>> Is there a good way to visualize the part of the walls' LIC?
>> My sources have complicated shapes, so I want to make the best use of the
>> information of blocks of walls.
>
>
> --
>  Richard GRENON
>  ONERA
>  Departement d'Aerodynamique Appliquee - DAAP/ACI
>  8 rue des Vertugadins
>  92190 MEUDON - FRANCE
>  phone : +33 1 46 73 42 17
>  fax   : +33 1 46 73 41 46
>  mailto:richard.gre...@onera.fr
>  http://www.onera.fr
>
>
> ___
> 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
___
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


Re: [Paraview] Surface LIC Problem

2014-02-10 Thread Richard Grenon

Hello

Which vector field are you using with LIC ?

The LIC control panel allows to choose the vector to be used, and you 
MUST choose a vector field that is NOT ZERO on the surface.


With Euler CFD results, the velocity vector is not zero at the wall, and 
you can use this vector.


With Navier-Stokes CFD results, the velocity vector is zero at the wall, 
and you have to use the skin friction vector instead.


Richard

I'm trying the Surface LIC Plugin.
My models are formatted as VTK MultiBlock Dataset, and there are geometries
of fluids and walls.
I'd like to visualize LIC on the walls.

First I applied Surface LIC to the walls, the results are something wrong.
Next to the fluids, they are OK.
But there are extra walls which I don't want to visualize (ex. Inlets/Outlets, 
external boundaries).
Maybe the reason of the walls are that they don't have the velocity values of 
main flows.

I also tried the Resample with Dataset filter for linking main flows to the 
walls.
The results are roughly good, but sometimes the resampling qualitys are poor 
(dropping the values).


Is there a good way to visualize the part of the walls' LIC?
My sources have complicated shapes, so I want to make the best use of the 
information of blocks of walls.


--
 Richard GRENON
 ONERA
 Departement d'Aerodynamique Appliquee - DAAP/ACI
 8 rue des Vertugadins
 92190 MEUDON - FRANCE
 phone : +33 1 46 73 42 17
 fax   : +33 1 46 73 41 46
 mailto:richard.gre...@onera.fr
 http://www.onera.fr

___
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


Re: [Paraview] Surface LIC Problem

2014-02-08 Thread Burlen Loring
I'm not 100% sure I understand the situation. A picture or sample 
dataset would help. Is it that some of the surfaces don't have the 
velocity field defined on them?


Burlen

On 02/08/2014 04:42 AM, Magician wrote:

Hi all,


I'm trying the Surface LIC Plugin.
My models are formatted as VTK MultiBlock Dataset, and there are geometries
of fluids and walls.
I'd like to visualize LIC on the walls.

First I applied Surface LIC to the walls, the results are something wrong.
Next to the fluids, they are OK.
But there are extra walls which I don't want to visualize (ex. Inlets/Outlets, 
external boundaries).
Maybe the reason of the walls are that they don't have the velocity values of 
main flows.

I also tried the Resample with Dataset filter for linking main flows to the 
walls.
The results are roughly good, but sometimes the resampling qualitys are poor 
(dropping the values).


Is there a good way to visualize the part of the walls' LIC?
My sources have complicated shapes, so I want to make the best use of the 
information of blocks of walls.


Magician
___
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


___
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


[Paraview] Surface LIC Problem

2014-02-08 Thread Magician
Hi all,


I'm trying the Surface LIC Plugin.
My models are formatted as VTK MultiBlock Dataset, and there are geometries
of fluids and walls.
I'd like to visualize LIC on the walls.

First I applied Surface LIC to the walls, the results are something wrong.
Next to the fluids, they are OK.
But there are extra walls which I don't want to visualize (ex. Inlets/Outlets, 
external boundaries).
Maybe the reason of the walls are that they don't have the velocity values of 
main flows.

I also tried the Resample with Dataset filter for linking main flows to the 
walls.
The results are roughly good, but sometimes the resampling qualitys are poor 
(dropping the values).


Is there a good way to visualize the part of the walls' LIC?
My sources have complicated shapes, so I want to make the best use of the 
information of blocks of walls.


Magician
___
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