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

Wave elevation vs tank length

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 27, 2013, 22:15
Default Wave elevation vs tank length
  #1
New Member
 
chuan yu
Join Date: Oct 2013
Posts: 2
Rep Power: 0
lingyo is on a distinguished road
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
lingyo is offline   Reply With Quote

Old   October 28, 2013, 04:13
Default
  #2
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,718
Rep Power: 143
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
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.
ghorrocks is offline   Reply With Quote

Old   October 28, 2013, 07:44
Default
  #3
New Member
 
chuan yu
Join Date: Oct 2013
Posts: 2
Rep Power: 0
lingyo is on a distinguished road
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
Attached Images
File Type: jpg CFX.jpg (43.3 KB, 72 views)
File Type: jpg Chart.jpg (44.3 KB, 64 views)
File Type: jpg ??.JPG (33.7 KB, 60 views)
lingyo is offline   Reply With Quote

Old   October 28, 2013, 16:46
Default
  #4
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,718
Rep Power: 143
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
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.
ghorrocks is offline   Reply With Quote

Old   October 21, 2018, 04:55
Default
  #5
New Member
 
Ivan Ahda
Join Date: Sep 2018
Posts: 7
Rep Power: 7
Ivan Ahda is on a distinguished road
Quote:
Originally Posted by ghorrocks View Post
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.
Could you tell me please how to plot it in 2D, wave elevation vs flowtime, step by step, i need it for my project, thanks
Ivan Ahda is offline   Reply With Quote

Old   October 21, 2018, 05:30
Default
  #6
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,718
Rep Power: 143
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
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.
ghorrocks is offline   Reply With Quote

Old   October 21, 2018, 05:41
Default
  #7
New Member
 
Ivan Ahda
Join Date: Sep 2018
Posts: 7
Rep Power: 7
Ivan Ahda is on a distinguished road
Quote:
Originally Posted by ghorrocks View Post
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.
How to do that? my simulation is 2D
i want to plot my simulation in CFD post
Attached Images
File Type: jpg wave nfksfk.jpg (66.4 KB, 24 views)
Ivan Ahda is offline   Reply With Quote

Old   October 21, 2018, 05:53
Default
  #8
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,718
Rep Power: 143
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
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.
ghorrocks is offline   Reply With Quote

Old   October 21, 2018, 05:57
Default
  #9
New Member
 
Ivan Ahda
Join Date: Sep 2018
Posts: 7
Rep Power: 7
Ivan Ahda is on a distinguished road
Quote:
Originally Posted by ghorrocks View 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?
i want to plot just like this
Attached Images
File Type: jpg wave kslf.jpg (7.9 KB, 19 views)
Ivan Ahda is offline   Reply With Quote

Old   October 21, 2018, 16:47
Default
  #10
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,718
Rep Power: 143
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
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.
ghorrocks is offline   Reply With Quote

Old   October 22, 2018, 11:29
Default
  #11
New Member
 
Ivan Ahda
Join Date: Sep 2018
Posts: 7
Rep Power: 7
Ivan Ahda is on a distinguished road
Quote:
Originally Posted by ghorrocks View Post
Sure, but at what point do you want to generate the height data from? The inlet or outlet boundaries are the easiest places.
from the inlet, could you help me to do that step by step?
my simulation is in 2D domain
Ivan Ahda is offline   Reply With Quote

Old   October 23, 2018, 20:29
Default
  #12
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,718
Rep Power: 143
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
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.
ghorrocks is offline   Reply With Quote

Old   November 6, 2018, 02:51
Default
  #13
New Member
 
Ivan Ahda
Join Date: Sep 2018
Posts: 7
Rep Power: 7
Ivan Ahda is on a distinguished road
Quote:
Originally Posted by ghorrocks View Post
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.
i dont have time too to understand your explanation so i search other explanation
Attached Images
File Type: jpg elevasi1.jpg (83.6 KB, 146 views)
Ivan Ahda is offline   Reply With Quote

Old   November 23, 2023, 15:50
Default
  #14
New Member
 
Katherine
Join Date: Nov 2023
Posts: 2
Rep Power: 0
Kathe is on a distinguished road
Quote:
Originally Posted by Ivan Ahda View Post
How to do that? my simulation is 2D
i want to plot my simulation in CFD post
Hi Ivan, I have problems with plotting the free surfaces as you show in your first image. Can you tell me how to do it, please?
Kathe is offline   Reply With Quote

Old   August 6, 2018, 12:12
Default Wave profile
  #15
New Member
 
Kailash Nadh Rokkam
Join Date: Aug 2018
Posts: 1
Rep Power: 0
kailashnadhrokkam is on a distinguished road
Quote:
Originally Posted by lingyo View Post
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


create an iso surface and select volume fraction of water phase as your variable
kailashnadhrokkam is offline   Reply With Quote

Old   October 22, 2018, 11:25
Default
  #16
New Member
 
Ivan Ahda
Join Date: Sep 2018
Posts: 7
Rep Power: 7
Ivan Ahda is on a distinguished road
Quote:
Originally Posted by lingyo View Post
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
could you tell me please how to plot like that, step by step, thanks
elevation vs flowtime
Ivan Ahda is offline   Reply With Quote

Old   November 23, 2023, 15:51
Default
  #17
New Member
 
Katherine
Join Date: Nov 2023
Posts: 2
Rep Power: 0
Kathe is on a distinguished road
Quote:
Originally Posted by lingyo View Post
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
Hi, I have problems with contouring the wave elevation as you show in your first image. Can you tell me how to do it, please?
Kathe is offline   Reply With Quote

Old   November 23, 2023, 18:54
Default
  #18
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,718
Rep Power: 143
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
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.
ghorrocks is offline   Reply With Quote

Reply

Tags
wave simulate


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
Pressure for wave height in an Water Wave Tank Cluain CFX 8 December 6, 2021 03:58
[waves2Foam] Waves2Foam Related Topics ngj OpenFOAM Community Contributions 660 August 20, 2018 12:39
WAVE TANK star-ccm+ . wave height dampens. WHY? muhsin STAR-CCM+ 3 October 9, 2012 13:24
Wave tank dynamic mesh Doro FLUENT 0 October 27, 2011 04:39
active wave absorb(about wave tank) zhaochuangang ANSYS 0 September 22, 2010 02:29


All times are GMT -4. The time now is 03:39.