|
[Sponsors] | |||||
|
|
|
#1 |
|
New Member
Mohamed Magdy Mohamed
Join Date: Jan 2013
Posts: 9
Rep Power: 2 ![]() |
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, |
|
|
|
|
|
|
|
|
#2 |
|
Senior Member
OJ
Join Date: Apr 2012
Location: United Kindom
Posts: 292
Rep Power: 7 ![]() |
||
|
|
|
|
![]() |
| Tags |
| moving wall, tank, udf, wave |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| WAVE TANK star-ccm+ . wave height dampens. WHY? | muhsin | STAR-CCM+ | 3 | October 9, 2012 13:24 |
| Pressure for wave height in an Water Wave Tank | Cluain | CFX | 5 | July 11, 2012 09:50 |
| 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 |