Page 1 of 1

[GiDlist] Detecting normals and points

Posted: Wed Apr 09, 2003 3:02 am
by Andrea Calaon
Hi everyone!
Question: is it possible in some “easy” way to detect if a normal
of a surface or element is pointing INSIDE or OUTSIDE the
volume (or the volumes) the surface is boundary of?
And similarly, is it possible to obtain the information about which
volume a point belongs to?
Thanks in advance
I wish you a nice day


Andrea Calaon

Ashurst Lodge, Ashurst
Southampton, Hampshire
SO40 7AA, UK
Tel. office: +44 23 80 293 223
Fax office: +44 23 80 292 853
Mobile: +44 7766 488 225
E-mail: andrea at beasy.com

[GiDlist] Detecting normals and points

Posted: Wed Apr 09, 2003 5:32 am
by Frank Rückert
Hi,

if you calculate the scalar product. You can get
informations of the orientation.

Best wishes,
Frank Rueckert

Andrea Calaon wrote:

Hi everyone!
Question: is it possible in some "easy" way to detect if a normal
of a surface or element is pointing INSIDE or OUTSIDE the
volume (or the volumes) the surface is boundary of?
And similarly, is it possible to obtain the information about which
volume a point belongs to?
Thanks in advance
I wish you a nice day


Andrea Calaon

Ashurst Lodge, Ashurst
Southampton, Hampshire
SO40 7AA, UK
Tel. office: +44 23 80 293 223
Fax office: +44 23 80 292 853
Mobile: +44 7766 488 225
E-mail: andrea at beasy.com

_______________________________________________
GiDlist mailing list
GiDlist at gid.cimne.upc.es
http://gid.cimne.upc.es/mailman/listinfo/gidlist



--
======================================================================

Dipl.-Ing. Frank U. Rueckert
Universitaet Stuttgart
Institut fuer Verfahrenstechnik und Dampfkesselwesen (IVD)
University Stuttgart
Institute of Process Engineering and Power Plant Technology (IVD)
Dir.: Prof. Dr.-Ing. K.R.G. Hein
Pfaffenwaldring 23 ; D-70550 Stuttgart/Germany
Tel. : (+49) 711/685-7806 Fax.: (+49) 711/685-3491
e-mail : rueckert at IVD.Uni-Stuttgart.DE
website: http://www.ivd.uni-stuttgart.de/hp/fr/

======================================================================

[GiDlist] Detecting normals and points

Posted: Wed Apr 09, 2003 8:23 am
by Miguel A. de Riera Pasenau
Hi,

You can draw the normals with
Utilities-Draw Normals- Lines/Surfaces/Color
which will draw the normals for Lines or surfaces with an arrow,
or with color.
While the normals are drawn, you can select several options with
the contextual menu ( clicking with the right mouse button over
the drawing area):
All swaped/SwapSome/SwapGroup/SelByNormal
These are tools to change the normal orientation.
You can find more help here:

http://www.gidhome.com/support/gid_9.subst#SEC122
http://www.gidhome.com/support/gid_9.subst#SEC123

about the second question,
And similarly, is it possible to obtain the information about which
volume a point belongs to?
the only way i know is the other way around:
listing the volume, you can get the surfaces which forms the volume,
listing these surfaces you can get its lines, and
listing these lines you'll get the points.

miguel

Andrea Calaon wrote:

Hi everyone!
Question: is it possible in some ?easy? way to detect if a normal
of a surface or element is pointing INSIDE or OUTSIDE the
volume (or the volumes) the surface is boundary of?
And similarly, is it possible to obtain the information about which
volume a point belongs to?
Thanks in advance
I wish you a nice day

Andrea Calaon

Ashurst Lodge, Ashurst
Southampton, Hampshire
SO40 7AA, UK
Tel. office: +44 23 80 293 223
Fax office: +44 23 80 292 853
Mobile: +44 7766 488 225
E-mail: andrea at beasy.com

_______________________________________________
GiDlist mailing list
GiDlist at gid.cimne.upc.es
http://gid.cimne.upc.es/mailman/listinfo/gidlist

--
--------------------------------------------------------------------------------
Miguel A. de Riera Pasenau miguel at cimne.upc.es http://gid.cimne.upc.es

[GiDlist] Detecting normals and points

Posted: Wed Apr 09, 2003 11:26 am
by Ramon Ribó
Hello,

If the surface is the boundary of ONLY one volume, it is guaranteed
that its normal will point towards inside the volume. If two volumes
share the same surface, you will have to look at the orientation flags
that are inside every volume and can be SAME1ST or DIFFST. The same
for elements.

To check it graphically, use:
Utilities-Draw Normals

Regards,

--
Compass Ing. y Sistemas Dr. Ramon Ribo
http://www.compassis.com ramsan at compassis.com
c/ Manuel Girona, 61 bajos tel. +34 93 204 10 82
08034 Barcelona, Spain fax. +34 93 204 19 09

-----Mensaje original-----
De: gidlist-admin at gatxan.cimne.upc.es
[mailto:gidlist-admin at gatxan.cimne.upc.es] En nombre de Andrea Calaon
Enviado el: martes, 08 de abril de 2003 23:36
Para: gidlist at gatxan.cimne.upc.es
Asunto: [GiDlist] Detecting normals and points


Hi everyone!
Question: is it possible in some “easy” way to detect if a normal
of a surface or element is pointing INSIDE or OUTSIDE the
volume (or the volumes) the surface is boundary of?
And similarly, is it possible to obtain the information about which
volume a point belongs to?
Thanks in advance
I wish you a nice day


Andrea Calaon

Ashurst Lodge, Ashurst
Southampton, Hampshire
SO40 7AA, UK
Tel. office: +44 23 80 293 223
Fax office: +44 23 80 292 853
Mobile: +44 7766 488 225
E-mail: andrea at beasy.com

_______________________________________________
GiDlist mailing list
GiDlist at gid.cimne.upc.es
http://gid.cimne.upc.es/mailman/listinfo/gidlist