CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   Fluent UDF and Scheme Programming (http://www.cfd-online.com/Forums/fluent-udf/)
-   -   wall shear stress based on primary phase in eulerian multiphase model (http://www.cfd-online.com/Forums/fluent-udf/112046-wall-shear-stress-based-primary-phase-eulerian-multiphase-model.html)

Abishek January 21, 2013 06:16

wall shear stress based on primary phase in eulerian multiphase model
 
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.


All times are GMT -4. The time now is 21:59.