-
-
July 13, 2020 at 7:29 pm
kaboka
SubscriberHello,
I would like to define a velocity inlet in 45-degree angle for my quenching multiphase flow (water and air) case in 2D. I have tried to give the axial and radial velocity to inbuilt system, however it does not give me the exact solution. Could anyone help me about it? Do I have to add a UDF file or is there any other tricks you could recommend?
Following pictures are my actual case and the velocity vector that I want:Â
Â
Thanks for the help in advance,
Bora
-
July 14, 2020 at 5:17 am
DrAmine
Ansys Employeeactually should be done via inlet and direction. -
July 14, 2020 at 3:40 pm
-
July 14, 2020 at 5:00 pm
DrAmine
Ansys EmployeeMight be a visualization issue with the vectors using cell values. The method is correct. -
July 16, 2020 at 10:43 am
kaboka
SubscriberHello Amine,
Yes method is correct but I want the velocity of water is going like spray, so I need a converging velocity profile at the inlet. I have been trying it for some time but still couldn't tilt the velocity vectors in 45 degrees. Do you have any hint how to do that ? Thanks in advanceÂ
Best regards
-
July 16, 2020 at 2:30 pm
Rob
Forum ModeratorWhy can't we see any vectors next to the jet?Â
-
July 16, 2020 at 5:45 pm
kaboka
SubscriberThis is the last version. I have done it via UDF code in axial velocity and gave the radial velocity as -10 m/s. However, my goal is to define the vectors to left from inlet. This is an axisymmetric case. Do you have any idea how to change the direction? Thanks in advance.Â
Â
 #include "udf.h"
Â
DEFINE_PROFILE(vel_profile, t, i)
{
 real x[ND_ND];        /* this will hold the position vector */
 real y;
 face_t f;
Â
 begin_f_loop(f, t)
  {
   F_CENTROID(x,f,t);
   y = x[1];
   F_PROFILE(f, t, i) = -15 - y*sin(45);
  }
 end_f_loop(f, t)
}
Â
-
- The topic ‘How to define inlet velocity in 45 degrees from the inlet ?’ is closed to new replies.
-
3597
-
1283
-
1107
-
1068
-
983
© 2025 Copyright ANSYS, Inc. All rights reserved.