CFD Online Logo CFD Online URL
Home > Forums > FLUENT

UDF for Sinusoidal Tank Vibration

Register Blogs Members List Search Today's Posts Mark Forums Read

LinkBack Thread Tools Display Modes
Old   May 15, 2006, 08:18
Default UDF for Sinusoidal Tank Vibration
Posts: n/a
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
  Reply With Quote

Old   January 13, 2017, 05:07
New Member
Join Date: Jan 2017
Posts: 10
Rep Power: 2 is on a distinguished road
hi all
i have a same problem
can any body help me how to build udf for the attach problem PLZ?
Attached Images
File Type: jpg 1.jpg (34.4 KB, 7 views) is offline   Reply With Quote


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
UDF for free vibration of cylinder colopolo FLUENT 3 February 22, 2016 07:11
Help! Compiled UDF problem 4 Wave tank tutorial Shane FLUENT 1 September 3, 2010 02:32
Can simulate vibration of a tank? halavikia FLUENT 1 August 26, 2010 05:09
UDF of linear distribution of temperature in a 2D tank arailos Fluent UDF and Scheme Programming 1 August 19, 2010 14:14
UDF for sine wave in tank & cell count questions! A8anato_psofimi FLUENT 0 February 9, 2004 05:00

All times are GMT -4. The time now is 02:57.