Read Field Value at known (x,y,z) coordinate
Hey all,
As the title suggests I want to access pressure at a specific point of my internal field, (x,y,z). I know you can use a probe to read these values and it works well, however, I am creating a coded boundary condition and I need to use the values of pressure in the internal field to calculate velocity for my boundary condition. In simple I want to do: P1 = pressure(x1,y1,z1); P2 = pressure(x2,y2,z2); Velocity = f(P1,P2); Is there a simple way I can do this? Thanks in advance. |
You should be able to use findCell. Something like :
Code:
point p1 = vector(x1,y1,z1); Caelan |
All times are GMT -4. The time now is 06:35. |