|
[Sponsors] |
May 10, 2013, 14:27 |
wave in tank
|
#1 |
New Member
Mohamed Magdy Mohamed
Join Date: Jan 2013
Posts: 9
Rep Power: 13 |
hi,
I'm trying to simulate wave in tank the udf I'm using for the moving wall apparently there some thing wrong with it because the wall moves in one direction and doesn't return back #include "udf.h" DEFINE_CG_MOTION(wave, dt, cg_vel, cg_omega, time, dtime) { cg_vel[0] = ((0.02)*(cos((80)*(CURRENT_TIME)))); cg_vel[1] = 0.0; cg_vel[2] = 0.0; cg_omega[0] = 0.0; cg_omega[1] = 0.0; cg_omega[2] = 0.0; } and if any one could tell me what is the different between this udf and that one. #include "udf.h" DEFINE_CG_MOTION(wave, dt, cg_vel, cg_omega, time, dtime) { cg_vel[0] = ((0.02)*(cos((80)*(t)))); cg_vel[1] = 0.0; cg_vel[2] = 0.0; cg_omega[0] = 0.0; cg_omega[1] = 0.0; cg_omega[2] = 0.0; } Thanks, |
|
May 11, 2013, 09:56 |
|
#2 |
Senior Member
OJ
Join Date: Apr 2012
Location: United Kindom
Posts: 473
Rep Power: 20 |
||
Tags |
moving wall, tank, udf, wave |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Pressure for wave height in an Water Wave Tank | Cluain | CFX | 8 | December 6, 2021 03:58 |
WAVE TANK star-ccm+ . wave height dampens. WHY? | muhsin | STAR-CCM+ | 3 | October 9, 2012 13:24 |
Wave tank dynamic mesh | Doro | FLUENT | 0 | October 27, 2011 04:39 |
active wave absorb(about wave tank) | zhaochuangang | ANSYS | 0 | September 22, 2010 02:29 |
Outflow boundary in a wave tank | LaiJW | FLOW-3D | 1 | April 28, 2009 10:45 |