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

wave maker

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By ghorrocks

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 16, 2015, 10:15
Default wave maker
  #1
New Member
 
wave maker
Join Date: Feb 2015
Posts: 14
Rep Power: 11
wave maker is on a distinguished road
hello...i want to use flap wavemaker method but i don't know how i can define the volume fraction between the two fluids: air and water.
i used like boundary condition for the wavemaker, for the bottom and for the endwall part.

if I was not clear ask me more explanations.
thanks a lot for your help and excuse me for my not perfect english
wave maker is offline   Reply With Quote

Old   February 16, 2015, 17:30
Default
  #2
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,870
Rep Power: 144
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
Have you looked at the tutorials? It explains how to do basic things like this. The "Free surface flow over a bump" tutorial would be relevant here.
ghorrocks is offline   Reply With Quote

Old   February 18, 2015, 13:39
Default
  #3
New Member
 
wave maker
Join Date: Feb 2015
Posts: 14
Rep Power: 11
wave maker is on a distinguished road
i try to do solve my problem following the tutorial of "modellig a buoy using cfx rigid body solver" but i have some problem with the volume fraction at the initial time. this is the situation at the beginning of the simulation:

https://www.dropbox.com/s/8ugncusvh5...ction.png?dl=0

why at the inclined surface do i have this situation and no a straight line like before?????

Please help me
wave maker is offline   Reply With Quote

Old   February 18, 2015, 18:39
Default
  #4
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,870
Rep Power: 144
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
The jagged line is because you have defined the initial volume fraction as 1 when it is below some y value and 0 when it is above. This means any variation in your mesh will create jagged lines.

The best solution for this is to use a blurring function to blur the interface over a few elements. CFX blurs the free surface over about 4 elements, so that is a good blur to target. Then small variations int he underlying mesh will not create jagged lines. And you simulation will run better as well, as CFX will not need to resolve the ripples which these jagged initial conditions create.
ghorrocks is offline   Reply With Quote

Old   February 19, 2015, 04:11
Default
  #5
New Member
 
wave maker
Join Date: Feb 2015
Posts: 14
Rep Power: 11
wave maker is on a distinguished road
sorry but how can i compute a blurring function????
wave maker is offline   Reply With Quote

Old   February 19, 2015, 06:58
Default
  #6
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,870
Rep Power: 144
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
tanh is a good base function for this, with the input variable being a function of the y height.
ghorrocks is offline   Reply With Quote

Old   February 25, 2015, 07:03
Default
  #7
New Member
 
wave maker
Join Date: Feb 2015
Posts: 14
Rep Power: 11
wave maker is on a distinguished road
i had this situation with the initial volume fraction:

https://www.dropbox.com/s/ufxd2h2ks8...ction.png?dl=0

you told me to use a blurring function like tanh.
i'm sorry but i'm not able to solve my problem.
could you give me more information and advices to solve my problem and how to express blurring function please???
thanks a lot

P.S. sorry for my not percfect english
wave maker is offline   Reply With Quote

Old   February 25, 2015, 07:13
Default
  #8
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,870
Rep Power: 144
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
If you want to put the free surface at z=10[m], then a function like volume fraction = tanh((z-10[m])/1[m]) will blur the free surface over about 2 metres. Note the divide by 1[m] is just to make the argument dimensionless for the tanh function.
ghorrocks is offline   Reply With Quote

Old   February 25, 2015, 11:27
Default
  #9
New Member
 
wave maker
Join Date: Feb 2015
Posts: 14
Rep Power: 11
wave maker is on a distinguished road
sorry but if i set in the water volume fraction tanh((y-1,5[m])/1[m]), where 1,5m is my free surface, the program doesn't give solution because there is a division by zero.
wave maker is offline   Reply With Quote

Old   February 25, 2015, 18:13
Default
  #10
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,870
Rep Power: 144
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
tanh(x) is defined for all x so it will not be creating the division by zero error. The error is coming from something else.
ghorrocks is offline   Reply With Quote

Old   March 18, 2015, 11:49
Default
  #11
New Member
 
wave maker
Join Date: Feb 2015
Posts: 14
Rep Power: 11
wave maker is on a distinguished road
hello, i have a problem with the extrapolation of the data from CFD post. I am simulating a wave tank and i want to plot the free surface at some fixed times but i am not able to do that. can you help me?
thanks a lot
wave maker is offline   Reply With Quote

Old   July 10, 2020, 04:12
Default WaveMaker_Piston
  #12
New Member
 
Join Date: Jun 2020
Posts: 3
Rep Power: 6
Jonas_cfd is on a distinguished road
Hello Foamers!
I'm trying to understand the "WavePistonMaker" tutorial (OF_19.12). where can I find documentation about it?
Jonas_cfd is offline   Reply With Quote

Old   July 10, 2020, 05:35
Default
  #13
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,870
Rep Power: 144
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
We are not Foamers. This is the CFX forum, so try the Open Foam forum.
Stel likes this.
__________________
Note: I do not answer CFD questions by PM. CFD questions should be posted on the forum.
ghorrocks 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
Turbulence dissipates too much energy for interFoam to simulate wave breaking jasonchen OpenFOAM Running, Solving & CFD 5 May 18, 2019 10:21
WAVE TANK star-ccm+ . wave height dampens. WHY? muhsin STAR-CCM+ 3 October 9, 2012 14:24
Scaling up a wave energy converter - free surface flow mark_l CFX 3 February 17, 2010 17:57
motion of piston wave maker chandra sekhar b Main CFD Forum 0 October 31, 2008 08:06
FLOW-3D, Wave Maker Abrisham Main CFD Forum 0 May 15, 2006 19:50


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