Wave elevation vs tank length
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 |
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. |
3 Attachment(s)
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 :confused: |
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. |
Wave profile
Quote:
create an iso surface and select volume fraction of water phase as your variable |
Quote:
|
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.
|
1 Attachment(s)
Quote:
i want to plot my simulation in CFD post |
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? |
1 Attachment(s)
Quote:
|
Sure, but at what point do you want to generate the height data from? The inlet or outlet boundaries are the easiest places.
|
Quote:
elevation vs flowtime |
Quote:
my simulation is in 2D domain |
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. |
1 Attachment(s)
Quote:
|
Quote:
|
Quote:
|
The images are just a iso-surface of volume fraction (of vf=0.5).
|
All times are GMT -4. The time now is 11:50. |