|
[Sponsors] |
October 27, 2011, 05:39 |
Wave tank dynamic mesh
|
#1 |
New Member
Join Date: Oct 2011
Posts: 1
Rep Power: 0 |
Hi!
This is my first post in this forum and first of all I apologize for my bad English. I hope you understand me anyway I want to simulate a numerical wave tank with dynamic mesh. First, I have simulates a piston type wave maker, as in the tutorial 10 (Simulation of Wave Generation in a tank). This simulation works. The Wave Maker oscillates in both directions of the starting position. Now I want to simulate a flap-type wave maker. I've changed my UDF so that I generate a rotation around the z-axis. The rotation is also generated, but only in one direction. For better understanding I made a sketch. I want to have the motion in Figure 2. I hope someone can help me. The very simple udf: #include "udf.h" #define pi 3.14159265 #define g 9.81 //Schwerkraft #define a 0.05 //Wellenamplitude #define h 1 //Wassertiefe #define L 2 //Wellenlänge DEFINE_CG_MOTION(wave, dt, vel, omega, time, dtime) { real k,w,S; S=0.07254; k=2*pi/L; w=sqrt(k*g*tanh(k*h)); omega[2]=(S/2)*w*cos(w*time); } Regards, Doro Last edited by Doro; October 27, 2011 at 11:46. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
pls help. mesh collapsed with dynamic mesh. | wlt_1985 | FLUENT | 2 | May 7, 2020 11:42 |
Gambit problems | Althea | FLUENT | 22 | January 4, 2017 04:19 |
Dynamic mesh is not getting updated. | cardio | FLUENT | 1 | May 20, 2014 09:41 |
Mesh motion with Translation & Rotation | Doginal | CFX | 2 | January 12, 2014 07:21 |
Dynamic mesh + grid adapt = Crash! (Files included | BillH | FLUENT | 4 | July 24, 2007 16:31 |