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

wall shear stress based on primary phase in eulerian multiphase model

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 21, 2013, 06:16
Default wall shear stress based on primary phase in eulerian multiphase model
  #1
New Member
 
Join Date: Sep 2011
Posts: 11
Rep Power: 15
Abishek is on a distinguished road
hi. I am using the eulerian multiphase model to simulate flow boiling. To define some boiling parameters in my udf, i require to access the wall-shear stress based on liquid (primary) phase velocity gradient on walls. my simulation is 2D.

Based on suggestions on other posts in the forum, I have tried using the following syntaxes

1. NV_MAG(F_STORAGE_R_N3V(f,ptf[0],SV_WALL_SHEAR))/face_area
2. NV_MAG(F_STORAGE_R_N3V(f,ptf[0],SV_WALL_SHEAR)[0])/face_area

however, i find the usual ACCESS_VIOLATION error.

I am guessing that the syntax is incorrect somewhere, especially when applied to the 2D case. Any help in identifying the error is greatly appreciated.

Last edited by Abishek; January 21, 2013 at 07:19.
Abishek is offline   Reply With Quote

Old   May 31, 2022, 13:15
Default
  #2
New Member
 
Join Date: Sep 2010
Location: Germany
Posts: 4
Rep Power: 16
domino is on a distinguished road
Try to define first the correct pointer "pt_liq" to the correct thread t (mixture thread, wall thread, not cell adjacent to wall!) in your begin_f_loop(f,t)

pt_liq= THREAD_SUB_THREAD(t,0);
tau_w=NV_MAG(F_STORAGE_R_N3V(f,pt_liq,SV_WALL_SHEA R));
domino is offline   Reply With Quote

Reply

Tags
boiling, eulerian, multiphase, sv_wall_shear, wall shear stress


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
Wall shear stress GamFlu Main CFD Forum 0 June 11, 2011 05:33
Wall Shear Stress GamFlu FLUENT 0 June 11, 2011 04:52
Post processing - Wall shear stress Carlo Siemens 1 March 4, 2009 08:35
relationship between wall shear stress and TKE winter FLUENT 0 December 11, 2007 18:11
Wall shear stress. Bo Jensen Main CFD Forum 14 July 21, 2000 05:59


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