
[Sponsors] 
July 6, 2005, 23:24 
steepest slope direction on the plane

#1 
Guest
Posts: n/a

The plane is given by three points(P1, P2, P3). It's 3D. How to get the the steepest slope direction vector on this plane? It looks like a high school geometry problem. But I forget those things. thanks!


July 7, 2005, 04:33 
Re: steepest slope direction on the plane

#2 
Guest
Posts: n/a

Hi Patrick ,
Create two vectors, Vector 1 = P2P1 Vector 2 = P3P1 The cross product of those two vectors will give you vector which represents the normal direction ( steepest gradient). The above answer is for a single plane with its point representations. When an entire flow field is taken into consideration, the implementation differs depending upon the problem taken into consideration. cheers karthik 

July 7, 2005, 11:18 
Re: steepest slope direction on the plane

#3 
Guest
Posts: n/a

That's normal direction. What I mean is the steepest slope alone the plane. Thank you anyway.


July 7, 2005, 14:49 
Re: steepest slope direction on the plane

#4 
Guest
Posts: n/a

If h is the height of the plane above a reference plane, the steepest slope is in the direction of grad(h).


July 7, 2005, 16:40 
Re: steepest slope direction on the plane

#5 
Guest
Posts: n/a

Unless you specify some reference point, line, or plane, the expression 'steepest slope' has no meaning. Let's assume that your reference plane is the xy plane at z=0, so you are interested in the steepest descent to zero altitude (z). The steepest descent from any point in space to this plane is simply described by a unit vector in zdirection (either positive or negative, depending on the position of that point). Now, all you need to do is to project that vector onto your plane. In general: Given a reference plane, find the normal vector on that reference plane, and project it onto your plane.


July 8, 2005, 01:36 
Re: steepest slope direction on the plane

#6 
Guest
Posts: n/a

Hi Patrick,
Find the gradient of the flow paramater ( eg velocity ) to determine its steepest slope. Consider the stencil arrangement of 9 cells in 2D and 27 in 3D around the partcular node of a cell in which the steepest slope has to be calculated. cheers Karthik 

July 8, 2005, 13:36 
Re: steepest slope direction on the plane

#7 
Guest
Posts: n/a

"Given a reference plane, find the normal vector on that reference plane, and project it onto your plane." But how to project? In which direction? That is the problem.
Now I derived the expression my self. Suppose the unit normal vector n(A,B,C). Here A,B,C is the vector component. (I use y not z as the elevation direction, sorry) Then the steepest slope in the plane is: (A*B/sqrt(A^2+C^2), sqrt(A^2+C^2), C*B/sqrt(A^2+C^). (check the signs, not so sure) For example: A plane parallel to the z axis, and has a angle of 45 degree with XZ plane. The unit normal vector(1/sqrt(2), 1/sqrt(2), 0), then the steepest slope direction (1/sqrt(2), 1/sqrt(2),0). Thank you all guys! 

July 8, 2005, 15:05 
Re: steepest slope direction on the plane

#8 
Guest
Posts: n/a

"But how to project? In which direction? That is the problem."
The projection of a vector onto a plane is uniquely defined. There is no ambiguity about "directions". And that's exactly what you're doing with your formula. 

Thread Tools  
Display Modes  


Similar Threads  
Thread  Thread Starter  Forum  Replies  Last Post 
Normal vector, slope and aspect angle  g_niro  Main CFD Forum  0  February 2, 2011 17:24 
Meshing a Mixing Plane using ICEM  Will Anderson  FLUENT  0  November 6, 2010 18:08 
boundaries with gmshToFoam  ouafa  Open Source Meshers: Gmsh, Netgen, CGNS, ...  7  May 21, 2010 12:43 
thermal conductivity in plane &thickness direction  sreenivas  CDadapco  1  February 21, 2008 05:27 
Problem with Gmsh  nishant_hull  Open Source Meshers: Gmsh, Netgen, CGNS, ...  17  December 7, 2007 01:33 