# Wave position in VOF

 Register Blogs Members List Search Today's Posts Mark Forums Read

 January 28, 2014, 11:51 Wave position in VOF #1 New Member   Markus Frings Join Date: Nov 2011 Posts: 1 Rep Power: 0 Hi, I am doing a VOF simulation. My gravity is in -y-direction. There are waves, which move in x-direction. I want to store the x-position of the top of the wave in a report during calculation. My first step was to create a maximum report for the y position of the liquid phase. But this reports only the height of the wave, but not the x position of this wave. Is there a possibility to get the coordinate at which the report value is measured?

 February 2, 2014, 08:58 #2 Senior Member   Ping Join Date: Mar 2009 Posts: 234 Rep Power: 10 the tricky issue here is that the wave moves so you need a way to limit the range of measurement from one wave trough to the next - eg knowing the wave velocity you have this create a threshold that follows this wave (ie within a min and max x based on its velocity and the current time) create a isosurface with the above threshold as the input using volume fraction of water as the scalar field now you have a one wave isosurface you just need to find the peak cells in this one wave - use the technique shown in the cd-adapco steve support portal article number 10265 called How can I calculate the location of a minima/maxima for a quantity? ie - create a max report called maxwave on that isosurface with scalar \$Position[1] which is y of course - then create a user field function called wavemaxcell defined as (\$\$Position[1] >= \$maxwaveReport ) ? 1 : 0 - this means set its value to 1 if its equal or above the max wave report value, othewise 0 - create a threshold with the isosurface as the input part and wavemaxcell as the scalar field in 'all above' mode and set to 0 - create two reports to get x and y location - since you will have a few cells in your threshold best to use an average report probably - need to test don't forget to use 2nd order time to model waves well

 March 22, 2014, 01:51 #3 New Member   Join Date: Feb 2014 Posts: 21 Rep Power: 4 hello, i want to record the wave height on the fixed loacation as time goes. how should i do.

 March 22, 2014, 04:05 #4 Senior Member   Ping Join Date: Mar 2009 Posts: 234 Rep Power: 10 see the cd-adapco steve support portal knowledge base article number 3923 called is there a way to monitor the height of the water in my vof simulation for one way and there are several other methods

 March 23, 2014, 23:15 #5 New Member   Join Date: Feb 2014 Posts: 21 Rep Power: 4 would you like to send me the artical you recommended to me .my email datoujiangyin@sina.com thank you.

 March 25, 2014, 10:06 #6 Senior Member   Ping Join Date: Mar 2009 Posts: 234 Rep Power: 10 you need to talk to your supervisor to get a login to the steve support site - it is great and far better than this forum for many subjects. 1. create an iso-surface at the air:water interface. 2. create a vertical section plane derived part, using the iso-surface as the input part  this results in a line derived part on the water surface. 3. create another vertical section plane at right angles to the previous one and use that previous one as the input part  this results in a point at the intersection of these three parts  this is where we will measure water depth. 4. create a maximum report with that point as the input part and centriod z (assuming z is the up-down axis) as the field function. zheck the smooth option to avoid a stepped measurement. 5. create a monitor and plot from that report to store and graph the water depth at that location. 6. repeat the above if you want to measure at other locations. you can also do a similar thing across a whole vertical plane or surface  ie get an average water height using an average report. a simpler way to create a vertical line probe at the location and use a line integral report on this using vof of water as the scalar, but the output is relative to the base of the line probe rather than the water height.

 March 27, 2014, 08:34 #7 New Member   Join Date: Feb 2014 Posts: 21 Rep Power: 4 3ks， i got it.

 March 27, 2014, 08:45 #8 New Member   Join Date: Feb 2014 Posts: 21 Rep Power: 4 in step 3, why should i create maximum report?

 March 27, 2014, 09:27 #9 New Member   Join Date: Feb 2014 Posts: 21 Rep Power: 4 i do what you told, but the result on the plot is a line,horizontal line,the value of z did not change as time pass away. why?

 March 27, 2014, 10:19 #10 Senior Member   Ping Join Date: Mar 2009 Posts: 234 Rep Power: 10 well first check that the last new derived part ie the point is on the iso-surface and follows it with time - it not you have not following the instructions properly then is it simple reporting on the height of that point using a max report or a min report - these are just convenient reports to use. run the case for a white then stop and ensure the report values run manually match the wave height at that time. eg use the period (full stop) tool to measure the wave height manually at the measurement point

 May 26, 2015, 04:04 #11 New Member     freeday Join Date: Aug 2010 Location: Indonesia Posts: 17 Rep Power: 8 Hello, does anybody could solve my problem? I want to record wave height on x=0.4L (depend on tank). But my tank oscillates in X direction. I can't use either cross section between plane section and isosurface or point probes. I'm really thanks full for your help.

 October 21, 2015, 11:10 #12 Senior Member   Join Date: Oct 2014 Posts: 120 Rep Power: 4 Hi, I apologize for the question, but I have a similar problem. Do you know how to do a contour plot of water depths in an open channel flow? Thank you!

 Thread Tools Display Modes Linear Mode

 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 OffTrackbacks are On Pingbacks are On Refbacks are On Forum Rules

 Similar Threads Thread Thread Starter Forum Replies Last Post arun7328 STAR-CCM+ 2 January 18, 2016 05:47 arun7328 CD-adapco 3 October 25, 2013 06:17 gtfeng STAR-CCM+ 2 June 8, 2013 02:32 miharbi STAR-CCM+ 3 May 2, 2012 05:51 A8anato_psofimi FLUENT 2 November 10, 2009 15:42

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