CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > ANSYS > FLUENT

UDF for Sinusoidal Tank Vibration

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 15, 2006, 08:18
Default UDF for Sinusoidal Tank Vibration
  #1
PKP
Guest
 
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, 04:07
Default
  #2
New Member
 
mostafa
Join Date: Jan 2017
Posts: 15
Rep Power: 9
mostafa.sh 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, 14 views)
mostafa.sh is offline   Reply With Quote

Reply


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 Off
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 06: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 04:00


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