|
[Sponsors] |
July 8, 2014, 09:11 |
to get output values
|
#1 |
New Member
oguzayin
Join Date: Jan 2014
Location: France
Posts: 12
Rep Power: 12 |
Hi all,
I am trying to find the output values for vs_vec (my udf is as follows ) . How can i get this output values ? Thanks in advance DEFINE_UDS_FLUX(particle_flux, f, t, i) { real NV_VEC(vs_vec), NV_VEC(A); real settling_flux; real x[ND_ND]; NV_D(vs_vec, = , vs_x, vs_y, vs_z); F_AREA(A, f, t); if (!BOUNDARY_FACE_THREAD_P(t)) settling_flux = NV_DOT(vs_vec, A); else settling_flux = 0.0; return (F_FLUX(f, t) / rho + settling_flux); } |
|
July 8, 2014, 09:16 |
|
#2 |
New Member
oguzayin
Join Date: Jan 2014
Location: France
Posts: 12
Rep Power: 12 |
I mean that how can i acces the vs_vec values ???
|
|
July 8, 2014, 11:18 |
|
#3 |
Senior Member
Join Date: Nov 2010
Posts: 103
Rep Power: 15 |
Not sure how you can access the value itself...but can't you have three UDMIs and then do the calculation of vs_vec (it's settling velocity right?)..something like
vs_vec = sqrt(vx^2+vy^2+vz^2)...then you can store it into another UDMI |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
CGNS Output file parameters | ant0wn | SU2 | 1 | August 19, 2013 14:47 |
mixerVesselAMI2D's mass is not balancing | sharonyue | OpenFOAM Running, Solving & CFD | 6 | June 10, 2013 09:34 |
Missing Output of debugwitch | kflora | OpenFOAM | 0 | March 13, 2013 11:33 |
strange node values @ solid/fluid interface - help | JB | FLUENT | 2 | November 1, 2008 12:04 |
Mass averaged output values | Cb | Siemens | 0 | January 18, 2005 04:59 |