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

Wave tank dynamic mesh

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 27, 2011, 05:39
Default Wave tank dynamic mesh
  #1
New Member
 
Join Date: Oct 2011
Posts: 1
Rep Power: 0
Doro is on a distinguished road
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
Attached Images
File Type: jpg Sketch.jpg (14.7 KB, 60 views)

Last edited by Doro; October 27, 2011 at 11:46.
Doro 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
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


All times are GMT -4. The time now is 21:02.