|
[Sponsors] |
January 28, 2014, 10: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, 07:58 |
|
#2 |
Senior Member
Ping
Join Date: Mar 2009
Posts: 556
Rep Power: 20 |
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, 00:51 |
|
#3 |
New Member
Join Date: Feb 2014
Posts: 21
Rep Power: 12 |
hello, i want to record the wave height on the fixed loacation as time goes. how should i do.
|
|
March 22, 2014, 03:05 |
|
#4 |
Senior Member
Ping
Join Date: Mar 2009
Posts: 556
Rep Power: 20 |
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, 22:15 |
|
#5 |
New Member
Join Date: Feb 2014
Posts: 21
Rep Power: 12 |
would you like to send me the artical you recommended to me .my email datoujiangyin@sina.com
thank you. |
|
March 25, 2014, 09:06 |
|
#6 |
Senior Member
Ping
Join Date: Mar 2009
Posts: 556
Rep Power: 20 |
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, 07:34 |
|
#7 |
New Member
Join Date: Feb 2014
Posts: 21
Rep Power: 12 |
3ks, i got it.
|
|
March 27, 2014, 07:45 |
|
#8 |
New Member
Join Date: Feb 2014
Posts: 21
Rep Power: 12 |
in step 3, why should i create maximum report?
|
|
March 27, 2014, 08:27 |
|
#9 |
New Member
Join Date: Feb 2014
Posts: 21
Rep Power: 12 |
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, 09:19 |
|
#10 |
Senior Member
Ping
Join Date: Mar 2009
Posts: 556
Rep Power: 20 |
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: 15 |
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: 124
Rep Power: 11 |
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! |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
VOF wave getting damped. | arun7328 | STAR-CCM+ | 16 | July 8, 2019 15:06 |
Refinement for VOF wave | arun7328 | Siemens | 4 | January 21, 2019 08:57 |
vof method of wave height | gtfeng | STAR-CCM+ | 2 | June 8, 2013 02:32 |
5th Order VOF Wave | miharbi | STAR-CCM+ | 3 | May 2, 2012 05:51 |
HELP! UDF sinusoidal wave, VOF model, porous face! | A8anato_psofimi | FLUENT | 2 | November 10, 2009 14:42 |