Calculating wall normal vector
Hello everyone,
I'm trying to calculate the wall normal vector in CFX to then use in a particle routine, I found an equation online that said: (Fluid.Wall Scale.Gradient X+Fluid.Wall Scale.Gradient Y+Fluid.Wall Scale.Gradient Z)/mag(Fluid.Wall Scale.Gradient) But don't really understand what those values are, when you extract the wall scale gradient in a user function you get 9 numerical values out at each location as the format for gradients on a vector is (3,NLOC,3) and it says the first number is the number of gradient components and the second number is the number of tensor components, how do I use the values from CFX and manipulate them into the equation? |
Have you tried using
Normal X, Normal Y Normal Z variables instead? |
All times are GMT -4. The time now is 01:28. |