|
[Sponsors] |
October 15, 2016, 04:49 |
Two-dimensional jet UDF?
|
#1 |
New Member
T.SUGAWA
Join Date: Oct 2016
Location: Japan
Posts: 2
Rep Power: 0 |
Hallo.
Could you advise on issues that I'm working on now? I'm going the simulation to be ejected into the atmosphere in a helium gas as a two-dimensional jet. Computational domain is a rectangular solid of x * y * z = 30 * 40 * 12. Inflow boundary conditions In the center of the yz bottom has been set to the velocity-inlet to create a rectangular area. Further, rectangular side periodic (Figure ①) boundary short side, sides and rectangular upper surface of the long side is set to Pressure-outlet (Figure ②). To see the shear layer, give How can the Top-Hat velocity distribution of the inflow section as UDF, for 3D calculations, will give the velocity distribution on the short side, we do not get the appropriate result. Please give me a good advice to solve this problem. Thank you. ↓UDF source from here /************************************************** ********************* vprofile.c UDF for specifying steady-state velocity profile boundary condition ************************************************** **********************/ #include "udf.h" DEFINE_PROFILE(inlet_x_velocity, thread, position) { real x[ND_ND]; /* this will hold the position vector */ real y; face_t f; begin_f_loop(f, thread) { F_CENTROID(x,f,thread); y = x[0]; y = fabs(y); F_PROFILE(f, thread, position) = ((6.05/2.)*(1. - tanh((1./4.)*18.89*(y/0.0017-0.0017/y)))); } end_f_loop(f, thread) } |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Transient Velocity Inlet (2d synthetic jet) UDF | akulagr | Fluent UDF and Scheme Programming | 4 | October 18, 2018 01:31 |
UDF Compilation Error - Loading Library - COMMON Problem! Help! | robtheslob | Fluent UDF and Scheme Programming | 8 | July 24, 2015 00:53 |
WILLING TO PAY/ FREELANCER REQUIRED / small UDF coding force loads over body / 6DOF | acasas | CFD Freelancers | 1 | January 23, 2015 07:26 |
Two dimensional Jet Flow | shriram | Main CFD Forum | 7 | July 12, 2007 13:30 |
UDF, UDF, UDF, UDF | Luc SEMINEL | Main CFD Forum | 0 | November 25, 2002 04:01 |