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

Wave elevation vs time

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By Cluain

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 10, 2010, 10:03
Unhappy Wave elevation vs time
  #1
Member
 
Join Date: Aug 2009
Posts: 42
Rep Power: 16
cfxmar is on a distinguished road
Hello.

I´m simulating waves.
I´m trying to plot in a chart the elevation vs time.
I have tried so much things without success that I ask the experts in this matter.
I plot I line fixing "x" and "y" in order to know "Z" along the line for a water volume fraction value of 0.5 that can give me the elevation.

I create a variable for the expression:

Volume05=(Water.Volume Fraction -0.5)^2
(the only root will be Volume Fraction = 0.5 giving me the wave free surface)

Then I use a Point, Method: variable minimum, Location: Line, Variable: Volume05

I create a Chart, transient, Location: Point 1, X values: time, Y values: Z

But while CFX is thinking to plot the chart, it says me suddently:
"No value for Point Locator"

Anyone could please help me? It cannot be so hard!

Thank you in advance
cfxmar is offline   Reply With Quote

Old   March 10, 2010, 16:41
Default
  #2
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,703
Rep Power: 143
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
If you want to do this in the solver it is harder than it looks.

For the solver you will need to make a small surface, perpendicular to the free surface. Maybe a 1:1 interface should do the trick. Then set up a monitor point with an area integral of volume fraction over this surface, and divide by the width of the surface. This will give you the average height of the free surface on the defined surface.
ghorrocks is offline   Reply With Quote

Old   March 11, 2010, 09:35
Default
  #3
Member
 
Join Date: Aug 2009
Posts: 42
Rep Power: 16
cfxmar is on a distinguished road
Thank you very much for you help, Glenn.

I did a plane: Plane 1, method three points, Plane bounds: rectangular, xsize: 0.2 m, ysize: 10 m.

I used this expression:
(areaInt(Water.Volume Fraction)@Plane 1)/(0.2 [m])

The wave is 1 meter high with a 3 seconds period.

My geometry goes from -5 to 5 meters high for z. The mean level of water is settled on x=y=z=0

What I don´t get is why the elevation is centered in 1 meter for the chart if the mean level of water is (0,0,0) and why the elevation is not 1 meter high.

Obviosly i did something wrong but I don´t know what.

Thanks in advance
Attached Images
File Type: jpg plane1.jpg (23.3 KB, 403 views)
File Type: jpg elevacion2.jpg (45.6 KB, 357 views)
cfxmar is offline   Reply With Quote

Old   March 13, 2012, 02:36
Unhappy How obtain wave elevation history at a position?
  #4
New Member
 
rz
Join Date: Mar 2012
Posts: 25
Rep Power: 0
rezacfd1361 is on a distinguished road
Hi Dear students and professors

I generate wave in a tank wave, but now I want plot time history of wave elevation for a specified position for example X=7, y=0.5 (a point in wave tank domain).

Would you tell me how can I do this?

Thanks
rezacfd1361 is offline   Reply With Quote

Old   March 13, 2012, 04:45
Default
  #5
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,703
Rep Power: 143
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
The approach described above. Place a plane or line perpendicular to the free surface, then some basic CEL, something like lineInt(Volume Fraction.phase)@line/(line length) or areaInt(Volume Fraction.phase)@Area Region/area()@Area Region

ps: No professors on this forum, at least none that I know of. Many would say that is a good thing
ghorrocks is offline   Reply With Quote

Old   March 13, 2012, 05:20
Smile
  #6
New Member
 
rz
Join Date: Mar 2012
Posts: 25
Rep Power: 0
rezacfd1361 is on a distinguished road
Dear friends

I m working with fluent 6 not with cfx , I want a trick for fluent, I modelled a wave tank in fluent and I want give time plot about the history of wave elevation at a specified point for example x=10,y=0.5 (in fluent I accentuate this matter again) for a detemined time domain which is smaller than wave tank modeling time domain.

if any friend know, plz inform me.



With kind regards.
rezacfd1361 is offline   Reply With Quote

Old   March 13, 2012, 16:29
Default
  #7
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,703
Rep Power: 143
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
Then why did you post on the CFX forum?
ghorrocks is offline   Reply With Quote

Old   March 15, 2012, 04:39
Exclamation
  #8
New Member
 
rz
Join Date: Mar 2012
Posts: 25
Rep Power: 0
rezacfd1361 is on a distinguished road
because I thought there is a student who know the answer of my question. I aplogize you, but inform that asking about sth that you don t know is a good art and you have not this right to blame a person who does not know sth and ask about it, it is not a polite reply that u send. I hope you change your mood.
rezacfd1361 is offline   Reply With Quote

Old   March 15, 2012, 04:41
Default
  #9
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,703
Rep Power: 143
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
The Fluent experts are on the fluent forum. Try posting there.
ghorrocks is offline   Reply With Quote

Old   March 15, 2012, 04:45
Default
  #10
New Member
 
rz
Join Date: Mar 2012
Posts: 25
Rep Power: 0
rezacfd1361 is on a distinguished road
Thanks, I hope to find my answer there.
rezacfd1361 is offline   Reply With Quote

Old   March 29, 2012, 19:08
Default
  #11
New Member
 
Join Date: Jan 2011
Posts: 10
Rep Power: 15
cth_yao is on a distinguished road
how do yo generate the wave? and what BC do you apply for the ending boundary?

in my case, I set the inlet water height without wave as:
inletWD=0[m],
where 0 is the free surface level in my compatational domain.

and set the wave profile as:
waterD+waveAmp*sin(waveOmega*t)

at the out let I want to use the hydrostatic pressure to avoid reflection. but it is hard to trace the free surface dynamically since the freesurface changes as a function of time.

then I also have a wave height decay problem, i.e. the wave height becomes smaller as it propagate to the end of the tank.

Thanks!
cth_yao is offline   Reply With Quote

Old   March 29, 2012, 23:40
Default
  #12
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,703
Rep Power: 143
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
I suspect you are new to wave modelling

Simply applying a sine free surface profile gives you a wave, but it will take some time to develop into a steady state wave, as the sub surface flow develops. See this URL:
http://web.mit.edu/2.016/www/handout...face-Waves.pdf

So the wave will decay as it develops this internal flow.

Also a pressure boundary does not give a no-reflection boundary.... If only it was that simple. A pressure boundary will cause reflections. Simple options are to use a beach feature, or a "numerical beach", sometimes done by a tranisition to a coarse grid and use the dissipation in a coarse grid to damp the waves. More advanced options are available in the literature and I think CFX has a non-relection boundary condition - but I think that is for compressible flow waves, not free surface waves.
ghorrocks is offline   Reply With Quote

Old   April 1, 2012, 21:54
Default
  #13
New Member
 
Join Date: Jan 2011
Posts: 10
Rep Power: 15
cth_yao is on a distinguished road
thanks ghorrock. I am new to wave modeling, esp. with CFX. I did some 2d wave modeling in FLUENT before with a piston wave maker and I have the wave decaying problem and reflection as well.

by the way, you mentioned "For the solver you will need to make a small surface, perpendicular to the free surface. Maybe a 1:1 interface should do the trick. Then set up a monitor point with an area integral of volume fraction over this surface, and divide by the width of the surface. This will give you the average height of the free surface on the defined surface. " above, how can I make a surface or line in the solver? do I need to define it in CFX-pre?

Best regards!
cth_yao is offline   Reply With Quote

Old   April 2, 2012, 00:37
Default
  #14
New Member
 
Join Date: Jan 2011
Posts: 10
Rep Power: 15
cth_yao is on a distinguished road
I used this expression for the outlet:
areaInt(water.Volume Fraction)@outlet/area()@outlet

how can make a plane at a fixed x? e.g. I want to monitor the wave elevation vs time at x=3m in my tank?
cth_yao is offline   Reply With Quote

Old   April 2, 2012, 05:11
Default
  #15
Member
 
Join Date: Oct 2011
Posts: 32
Rep Power: 14
Cluain is on a distinguished road
cth_yao The decay problem you are experiencing can be rectified by increasing the mesh density at the free surface and be significantly reducing the timestep.

According to http://www.ipen.org.br/Artigos-congr...NA2010-141.pdf the wave period divided by the timestep should be greater than 100.

With a piston or flap type wave maker, Wavemaking theory comes into play and you will see a steep decay for a length of 3 times the water depth from the wavemaker. With a CEL describing the inlet condition, this may be less though I would be cautious of this. (I would really like to see how you get on with the inlet option because I think it could be much better than the flap type)

The way I use to make a plane at a fixed x, is in the Geometry.

Another way to monitor wave height is by pressure, make a monitor point in pre and record the pressure at the point, from there you can extract wave height.

cfxmar If you haven't solved your problem, set up a plane on the zx plane and visually check if the waveheight is 1m. Then check manually your formula for wave height. If that proves unsuccessful check the mesh, but that should be ok
Cluain is offline   Reply With Quote

Old   April 2, 2012, 05:40
Default
  #16
Member
 
Join Date: Oct 2011
Posts: 32
Rep Power: 14
Cluain is on a distinguished road
There seems to be quite a few of us modelling ocean waves in CFX, and I suspect from the questions in this thread and the board in general that we are basically teaching ourselves how to do it, and we all seem to be doing quite similar things.
I’ve been working solely at CFX for the last 6 months and if I had someone in the office that had set up a numerical wave tank and carried out some model tests I would have progressed significantly faster.
This isn’t meant to be a rant, but I think we should come together and sort each other’s problems so that we all progress quicker, Instead of grabbing enough info to get started and then becoming a CFD recluse. Which is what I did and probably needed, one needs to learn this stuff for themselves. But I do think that Ocean wave specific modelling discussion would be helpful, rather than just a post or two on the basics.
Also good link Glenn, and cheers for helping me out when I was struggling to get started, I’ve a long long way to go yet though.
Ellie likes this.
Cluain is offline   Reply With Quote

Old   October 21, 2020, 12:48
Default wave surface elevation versus time
  #17
New Member
 
RESHMA GEORGE V
Join Date: Oct 2020
Posts: 2
Rep Power: 0
Geo_V is on a distinguished road
Quote:
Originally Posted by cfxmar View Post
Thank you very much for you help, Glenn.

I did a plane: Plane 1, method three points, Plane bounds: rectangular, xsize: 0.2 m, ysize: 10 m.

I used this expression:
(areaInt(Water.Volume Fraction)@Plane 1)/(0.2 [m])

The wave is 1 meter high with a 3 seconds period.

My geometry goes from -5 to 5 meters high for z. The mean level of water is settled on x=y=z=0

What I don´t get is why the elevation is centered in 1 meter for the chart if the mean level of water is (0,0,0) and why the elevation is not 1 meter high.

Obviosly i did something wrong but I don´t know what.

Thanks in advance
Did you figure out what the problem was??
Geo_V 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
Floating point exception error Alan OpenFOAM Running, Solving & CFD 11 July 1, 2021 21:51
Transient simulation not converging skabilan OpenFOAM Running, Solving & CFD 14 December 16, 2019 23:12
air bubble is disappear increasing time using vof xujjun CFX 9 June 9, 2009 07:59
Navier-Stokes time step size Martin Main CFD Forum 2 June 6, 2008 03:38
VOF özgür FLUENT 8 January 6, 2004 08:23


All times are GMT -4. The time now is 07:10.