|
[Sponsors] |
May 10, 2013, 15: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, 10:56 |
|
#2 |
Senior Member
OJ
Join Date: Apr 2012
Location: United Kindom
Posts: 473
Rep Power: 20 |
||
Tags |
moving wall, tank, udf, wave |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Pressure for wave height in an Water Wave Tank | Cluain | CFX | 8 | December 6, 2021 04:58 |
WAVE TANK star-ccm+ . wave height dampens. WHY? | muhsin | STAR-CCM+ | 3 | October 9, 2012 14:24 |
Wave tank dynamic mesh | Doro | FLUENT | 0 | October 27, 2011 05:39 |
active wave absorb(about wave tank) | zhaochuangang | ANSYS | 0 | September 22, 2010 03:29 |
Outflow boundary in a wave tank | LaiJW | FLOW-3D | 1 | April 28, 2009 11:45 |