Synthetic jet 3D UDF
I am working on synthetic jet flow simulation. i want to know that how can i generate a 3d UDF for the following parameters velocity = 195m/sec, Frequency is 17.
I am also attaching the udf generated in 2d. Now i want to do the same in 3D..what are the changes that i should made to get the result. Please.. #include"udf.h" DEFINE_PROFILE(SJ_velocity,thread,position) { face_t f; begin_f_loop(f,thread) { real freq=17; real t= RP_Get_Real("flow-time"); F_PROFILE(f,thread,position) =195*sin(freq*(t)*(2.*3.141592654)); } end_f_loop(f,thread) } |
This is for a boundary condition right? Otherwise you might need to use a cell thread and not a face thread.
Here's an example from the Fluent manual for a pressure profile. Code:
DEFINE_PROFILE(pressure_profile,t,i) Also you shouldn't have ignored the rules which says to not post Fluent questions here, that's how posts get ignored and buried... |
Thank you sir for your kind reply. i tried this code and divergence: AMG solver Temperature is detected
|
Well (sarcasticly) I used it and it worked so beautifully that gold rained from the sky.
Why would you use the code as-is? It's probably completely incorrect for your problem. If only you would post what you did, maybe someone would help you... |
All times are GMT -4. The time now is 17:49. |