CFD Online Discussion Forums

CFD Online Discussion Forums (
-   FLUENT (
-   -   Ocean Wave with Fluent? (

gholamghar March 16, 2009 17:31

Ocean Wave with Fluent?
2 Attachment(s)
i want to model and analyze a 2d wave that reaches the beach(which is considered to be like a step as shown below) and breaks.i have all the dimesions such as depth of water or wave profile in the ocean and i should obtain the height and the shape of the wave on the beach(step),but because i am a beginner
i have following quetions:
1-i have just access to Fluent software,so is Fluent capable of solving this problem?i have heard that i should use VOF and Fluent has this feature but i don't know that Fluent can solve this problem about waves.
2-which software is the best for this problem among CFX,Fluent,Flow3d?
3-if Fluent is capable of solving this problem,how much time approximately is needed for a complete beginner to learn VOF and solve this problem with Fluent and do i need learn UDF writing?

i have attached the wave before reaching to beach and after that:

thanks in advance

paka March 20, 2009 03:35

Yes it is possible to do it in Fluent.

I will not provide answer to other question, forgive me ;) It is like asking what the weather is going to be in half an year ;) VOF is a pretty simple concept, read Fluent manual, there theoretical foundation is explained pretty well.

I do not know about CFX and Flow3d capabilities.

If you want to have such a wave generated, yes you will need to write your own UDF routine.

If I could ask, what is your project about? What are you working on? Sounds interesting.

araval June 19, 2009 06:01

This task can be done in CFX. I did in past in my research. From the shape of your wave, I assume you have a solitary wave breaking on the beach. You need to write a UDF file for generating solitary wave which is motion of wavemaker. For e.g. something on this line depending upon your boundary condition.
#include "udf.h"
DEFINE_CG_MOTION(wave, dt, vel, omega, time, dtime)
vel[0]=(0.037098)*((1 - exp(-2.303*time))*7.7528*cos(7.7528*time) + ((2.303*exp(-2.303*time))*sin(7.7528*time)));

I hope this will be useful.

wolverine June 16, 2015 05:51

how to plot the wave wrt to time
i am in similar problem. i have results but i wonder how to plot the wave profile with respect to time

All times are GMT -4. The time now is 13:16.