CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > ANSYS > FLUENT

to get output values

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 8, 2014, 09:11
Default to get output values
  #1
ozy
New Member
 
oguzayin
Join Date: Jan 2014
Location: France
Posts: 12
Rep Power: 12
ozy is on a distinguished road
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);
}
ozy is offline   Reply With Quote

Old   July 8, 2014, 09:16
Default
  #2
ozy
New Member
 
oguzayin
Join Date: Jan 2014
Location: France
Posts: 12
Rep Power: 12
ozy is on a distinguished road
I mean that how can i acces the vs_vec values ???
ozy is offline   Reply With Quote

Old   July 8, 2014, 11:18
Default
  #3
Sun
Senior Member
 
Sun's Avatar
 
Join Date: Nov 2010
Posts: 103
Rep Power: 15
Sun is on a distinguished road
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
Sun is offline   Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


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


All times are GMT -4. The time now is 12:15.