CFD Online Discussion Forums

CFD Online Discussion Forums (
-   FLUENT (
-   -   UDF for Sinusoidal Tank Vibration (

PKP May 15, 2006 08:18

UDF for Sinusoidal Tank Vibration
Hi All, I am modelling a square tank that is given a horizontal excitation i.e. the velocity of the tank varies sinusoidally with time. I have solved the wave tutorial in which a tank with only one wall given a sinusoidal excitation and others kept stationary. If I am using the udf used in the wave tutorial for all the three walls it doesn't work. can anyone modify the udf below to work for all the 3 walls. I am using 2d double precision version of fluent

#include "udf.h"

DEFINE_CG_MOTION(wave, dt, vel, omega, time, dtime) { vel[0]=(0.037098)*((1 - exp(-2.303*time))*7.7528*cos(7.7528*time) + ((2.303*exp(-2.303*time))*sin(7.7528*time))); } Plz reply PKP January 13, 2017 05:07

1 Attachment(s)
hi all
i have a same problem
can any body help me how to build udf for the attach problem PLZ?

All times are GMT -4. The time now is 14:48.