Problem with function Compute_Force_And_Moment
Hi, Im not very good in english, but I will try to explain my problem.
My work problem is aeroelastic instability in bridge deck which modeled in 2D. Im wrote UDF wich include function Compute_Force_And_Moment. So, problem is that, this function in my udf return same force value like from return>forces in fluent, but moment value from this function is very very lower than report (moment from udf isnt realistic). Center of gravity I set center of profile. Maybe someone had same broblem or know how this function works? Is there another way to get moment of proflie in UDF? Any advise is welcome.
First part of my UDF.
static real v_y=0.0,omega_z=0.0;
Thread *tf1=Lookup_Thread(domain, 6);
NV_S(vel, =, 0.0);
NV_S(omega, =, 0.0);
Compute_Force_And_Moment (domain, tf1, x_cg, f_glob, m_glob, TRUE);
Message ("\ntime=%f ,x=%.1f ,y=%.10lf ,theta=%.10lf ,force_y=%.5f ,moment_z=%.10lf ,Vy=%.10lf ,omega_z=%.10lf ,moment_x=%.10lf, moment_y=%.10lf\n",time ,x_cg ,x_cg ,theta ,f_glob ,m_glob ,v_y ,omega_z ,m_glob ,m_glob);
I know it's a long time ago that you sent your post but did you find a solution to your problem? I'm having a very similar problem. My Compute_Force_And_Moment doesn't work.
|All times are GMT -4. The time now is 22:29.|