|
[Sponsors] |
October 27, 2013, 23:15 |
Wave elevation vs tank length
|
#1 |
New Member
chuan yu
Join Date: Oct 2013
Posts: 2
Rep Power: 0 |
Hello.
I´m simulating waves.I know how to plot in a chart the wave elevation vs time. but I can't figure out how to plot wave elevation(or wave profile) vs tank length,can anyone help?? thanks |
|
October 28, 2013, 05:13 |
|
#2 |
Super Moderator
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,872
Rep Power: 144 |
Well, what actually is wave profile versus tank length anyway? You are trying to reduce a 3D field to a 1D line, so you have to do the reduction somehow - maybe sampling along a line, averaging across a profile or some other method. So let us know how you plan to do this reduction in dimensions and we will see if we can help you.
And please do not duplicate post again in future. I have deleted the duplicate post. |
|
October 28, 2013, 08:44 |
|
#3 |
New Member
chuan yu
Join Date: Oct 2013
Posts: 2
Rep Power: 0 |
Thank you very much , Glenn.
My simulation is shown in fig.1 I did a plane and use expression"areaInt(WATER.Volume Fraction)@Plane/20[m]" to plot fig.2,and the chart is composed by wave profile vs time. my question is,is it possible to plot the chart composed by wave profile vs tank length(x)like fig.3 ?? I can't chose "x" in X values when the xy-transient is selected. If select xy,I can chose "x" in X values but I don't know how to express the Y values |
|
October 28, 2013, 17:46 |
|
#4 |
Super Moderator
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,872
Rep Power: 144 |
You can do this in CFD-Post using a session file to generate the data points and export them so you can plot them elsewhere.
Also, as your waves are just about 2D then you can take the side plane and draw a VF=0.5 contour and that is your wave profile. You might be able to plot that line as an XY plot; or you can export the line and plot it in another package like matlab, excel or whatever you like. |
|
August 6, 2018, 13:12 |
Wave profile
|
#5 | |
New Member
Kailash Nadh Rokkam
Join Date: Aug 2018
Posts: 1
Rep Power: 0 |
Quote:
create an iso surface and select volume fraction of water phase as your variable |
||
October 21, 2018, 05:55 |
|
#6 | |
New Member
Ivan Ahda
Join Date: Sep 2018
Posts: 7
Rep Power: 8 |
Quote:
|
||
October 21, 2018, 06:30 |
|
#7 |
Super Moderator
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,872
Rep Power: 144 |
If you want a wave history at a point one way of doing it is to define a monitor point with the CEL function max(water.volume fraction*y). This assumes your liquid phase is called water and positive y is upwards.
__________________
Note: I do not answer CFD questions by PM. CFD questions should be posted on the forum. |
|
October 21, 2018, 06:41 |
|
#8 | |
New Member
Ivan Ahda
Join Date: Sep 2018
Posts: 7
Rep Power: 8 |
Quote:
i want to plot my simulation in CFD post |
||
October 21, 2018, 06:53 |
|
#9 |
Super Moderator
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,872
Rep Power: 144 |
On second thoughts, I don't think my function on the last post will work
Where in your simulation do you want the wave height?
__________________
Note: I do not answer CFD questions by PM. CFD questions should be posted on the forum. |
|
October 21, 2018, 06:57 |
|
#10 |
New Member
Ivan Ahda
Join Date: Sep 2018
Posts: 7
Rep Power: 8 |
i want to plot just like this
|
|
October 21, 2018, 17:47 |
|
#11 |
Super Moderator
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,872
Rep Power: 144 |
Sure, but at what point do you want to generate the height data from? The inlet or outlet boundaries are the easiest places.
__________________
Note: I do not answer CFD questions by PM. CFD questions should be posted on the forum. |
|
October 22, 2018, 12:25 |
|
#12 | |
New Member
Ivan Ahda
Join Date: Sep 2018
Posts: 7
Rep Power: 8 |
Quote:
elevation vs flowtime |
||
October 22, 2018, 12:29 |
|
#13 |
New Member
Ivan Ahda
Join Date: Sep 2018
Posts: 7
Rep Power: 8 |
||
October 23, 2018, 21:29 |
|
#14 |
Super Moderator
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,872
Rep Power: 144 |
I am not going to write a step by step guide. I don't have the time.
If you do a CEL expression for the area integral over the inlet boundary of the water volume fraction it will give you the area of the inlet under the water level. If the thickness of the inlet is known you then have the height.
__________________
Note: I do not answer CFD questions by PM. CFD questions should be posted on the forum. |
|
November 6, 2018, 03:51 |
|
#15 | |
New Member
Ivan Ahda
Join Date: Sep 2018
Posts: 7
Rep Power: 8 |
Quote:
|
||
November 23, 2023, 16:50 |
|
#16 |
New Member
Katherine
Join Date: Nov 2023
Posts: 2
Rep Power: 0 |
||
November 23, 2023, 16:51 |
|
#17 | |
New Member
Katherine
Join Date: Nov 2023
Posts: 2
Rep Power: 0 |
Quote:
|
||
November 23, 2023, 19:54 |
|
#18 |
Super Moderator
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,872
Rep Power: 144 |
The images are just a iso-surface of volume fraction (of vf=0.5).
__________________
Note: I do not answer CFD questions by PM. CFD questions should be posted on the forum. |
|
Tags |
wave simulate |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Pressure for wave height in an Water Wave Tank | Cluain | CFX | 8 | December 6, 2021 04:58 |
[waves2Foam] Waves2Foam Related Topics | ngj | OpenFOAM Community Contributions | 660 | August 20, 2018 13:39 |
WAVE TANK star-ccm+ . wave height dampens. WHY? | muhsin | STAR-CCM+ | 3 | October 9, 2012 14:24 |
Wave tank dynamic mesh | Doro | FLUENT | 0 | October 27, 2011 05:39 |
active wave absorb(about wave tank) | zhaochuangang | ANSYS | 0 | September 22, 2010 03:29 |