CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   FLUENT (https://www.cfd-online.com/Forums/fluent/)
-   -   wall slip-udf (https://www.cfd-online.com/Forums/fluent/33782-wall-slip-udf.html)

Avesta May 22, 2004 02:24

wall slip-udf
 
hello thank you i wrote udf for slip on the wall: #include "udf.h" DEFINE_PROFILE(slip, thread, nw) { face_t f; begin_f_loop (f, thread) { cell_t c; double m =C_DWDY(c, thread); F_PROFILE(f, thread, nw) = 0.02* pow (m, 0.9); } end_f_loop (f,thread) } in fluent 6.0.0: first user defined---> functions--->interpreted UDFs d:\slip.c and then diplay assembly listing and then compile. then put this udf slip in boundary condition in the wall,there are not errors in these steps, but when i want to initialize solution and compute from inflow or any zones ,appear thie error: Error: FLUENT received fatal signal (ACCESS_VIOLATION) 1. Note exact events leading to error. 2. Save case/data under new name. 3. Exit program and restart to continue. 4. Report error to your distributor. Error Object: () please guide me Yours faithfully Arash Avesta

wangguobin14 June 22, 2010 21:51

Hi,Avesta,
It's late to come here ,finding my research problem, Recently,i am bend my head on slip boundary condition in microchanel.so,now i wonder would you share your slip code and your research topics, thank you very much!
your chinese friends!
Guobin
my emails:wangguobin14@163.com

m zahid November 13, 2014 04:26

hi
 
hi, i need a UDF for slip boundary condition at the bottom of the domain or at the ground (wall), case is just like a flow over a building. if anybody have sample UDF please share this, z is a vertical axis of my domain. thanks

mziqureshi@hotmail.com

regards,


All times are GMT -4. The time now is 19:29.