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

how to calculate water average velocity in free surface models

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 17, 2015, 11:23
Question how to calculate water average velocity in free surface models
  #1
Senior Member
 
hmasenger's Avatar
 
hamed
Join Date: Apr 2009
Posts: 148
Rep Power: 17
hmasenger is on a distinguished road
Hi dear friends

i am modeling water flow over an spillway by a free surface model.the problem is that i don't know how to calculate average water velocity just in water phase .i thing CFX calculates a wrong value while using "average water velocity@outlet"
i think cfx considers velocity in whole outlet surface but i need it to be calculated on only water phase.
one more question:
does any one knows how can i calculate water depth in free surface model? i mean i know how to use an iso surface at VOF=0.5 and then making Poly line by intersections an then plotting Y at that poly line , but can you suggest me an expression to subtract bottom elevation from water surface elevation?

best regards
Attached Images
File Type: jpg 2015-01-17_18-48-37.jpg (28.7 KB, 80 views)
File Type: jpg 2015-01-17_18-49-46.jpg (53.7 KB, 62 views)
hmasenger is offline   Reply With Quote

Old   January 17, 2015, 13:33
Default
  #2
Senior Member
 
JuPa's Avatar
 
Mr CFD
Join Date: Jun 2012
Location: Britain
Posts: 361
Rep Power: 15
JuPa is on a distinguished road
You want water superficial velocity.

Regarding your other question, try:
1) Create a plane in the x-y position.
2) Create an Isoclip on the plane, and select air volume fraction > 0. It will then show a plane of air without water, which you can then use to do contours etc.
JuPa is offline   Reply With Quote

Old   January 17, 2015, 13:36
Default
  #3
Senior Member
 
hmasenger's Avatar
 
hamed
Join Date: Apr 2009
Posts: 148
Rep Power: 17
hmasenger is on a distinguished road
Yup.
I also used superfacial velocity but still it turns a wrong value for avarage velocity.
I think the problem is with water section area.cfx usex whole area to calculate avg but it should only considers water depth
hmasenger is offline   Reply With Quote

Old   January 17, 2015, 13:37
Default
  #4
Senior Member
 
hmasenger's Avatar
 
hamed
Join Date: Apr 2009
Posts: 148
Rep Power: 17
hmasenger is on a distinguished road
How can I force that to cfx?
hmasenger is offline   Reply With Quote

Old   January 17, 2015, 14:05
Default
  #5
Senior Member
 
JuPa's Avatar
 
Mr CFD
Join Date: Jun 2012
Location: Britain
Posts: 361
Rep Power: 15
JuPa is on a distinguished road
Quote:
Originally Posted by hmasenger View Post
Yup.
I also used superfacial velocity but still it turns a wrong value for avarage velocity.
I think the problem is with water section area.cfx usex whole area to calculate avg but it should only considers water depth
How are you working out the average superficial velocity? And where do you want to calculate the average?
JuPa is offline   Reply With Quote

Old   January 17, 2015, 14:07
Default
  #6
Senior Member
 
hmasenger's Avatar
 
hamed
Join Date: Apr 2009
Posts: 148
Rep Power: 17
hmasenger is on a distinguished road
I call the calculator and use predefined expression" avg(water superfacial velocity )@outlet
hmasenger is offline   Reply With Quote

Old   January 17, 2015, 14:09
Default
  #7
Senior Member
 
hmasenger's Avatar
 
hamed
Join Date: Apr 2009
Posts: 148
Rep Power: 17
hmasenger is on a distinguished road
As u see the outlet contains about 30% water and remain is for air
hmasenger is offline   Reply With Quote

Old   January 17, 2015, 14:17
Default
  #8
Senior Member
 
JuPa's Avatar
 
Mr CFD
Join Date: Jun 2012
Location: Britain
Posts: 361
Rep Power: 15
JuPa is on a distinguished road
Quote:
Originally Posted by hmasenger View Post
I call the calculator and use predefined expression" avg(water superfacial velocity )@outlet
Don't use the arithmatic average. Use the area weighted average, i.e.:

areaAve(Water.superficial velocity)@outlet
JuPa is offline   Reply With Quote

Old   January 17, 2015, 14:36
Default
  #9
Senior Member
 
hmasenger's Avatar
 
hamed
Join Date: Apr 2009
Posts: 148
Rep Power: 17
hmasenger is on a distinguished road
I have already tried that. Nopp the problem still exists .
hmasenger is offline   Reply With Quote

Old   January 17, 2015, 14:44
Default
  #10
Senior Member
 
JuPa's Avatar
 
Mr CFD
Join Date: Jun 2012
Location: Britain
Posts: 361
Rep Power: 15
JuPa is on a distinguished road
Quote:
Originally Posted by hmasenger View Post
I have already tried that. Nopp the problem still exists .
What is the problem when you do areaAve(Water.superficial velocity)@outlet?
JuPa is offline   Reply With Quote

Old   January 17, 2015, 14:48
Default
  #11
Senior Member
 
hmasenger's Avatar
 
hamed
Join Date: Apr 2009
Posts: 148
Rep Power: 17
hmasenger is on a distinguished road
Still The average is less than the value that should be! because it considers the whole area of outlet.
hmasenger is offline   Reply With Quote

Old   January 17, 2015, 15:32
Default
  #12
Senior Member
 
JuPa's Avatar
 
Mr CFD
Join Date: Jun 2012
Location: Britain
Posts: 361
Rep Power: 15
JuPa is on a distinguished road
I don't agree. Area average is a weighted average. If there is no water superficial velocity in some part of an area then its weighted average in that area is zero.

Try this, and if you still don't get the required answer then your results are wrong.
1) Create a new plane on the outlet.
2) Create a new iso clip, and set its location on the plane you just created.
3) In the iso clip, set the water volume fraction to be visable when it is >= 0.1.
4) Go to calculators and determine what the areaAve(Water.superficialvelocity)@iso clip is
JuPa is offline   Reply With Quote

Old   January 17, 2015, 15:35
Default
  #13
Senior Member
 
hmasenger's Avatar
 
hamed
Join Date: Apr 2009
Posts: 148
Rep Power: 17
hmasenger is on a distinguished road
Thanx for the clue.I will inform you about the results
hmasenger is offline   Reply With Quote

Old   January 17, 2015, 15:42
Default
  #14
Senior Member
 
hmasenger's Avatar
 
hamed
Join Date: Apr 2009
Posts: 148
Rep Power: 17
hmasenger is on a distinguished road
That worked ricochet.problem solved.!! .that was exactly what I need.tnx alot
hmasenger is offline   Reply With Quote

Old   January 17, 2015, 18:58
Default
  #15
Senior Member
 
JuPa's Avatar
 
Mr CFD
Join Date: Jun 2012
Location: Britain
Posts: 361
Rep Power: 15
JuPa is on a distinguished road
Good!! :-)
JuPa is offline   Reply With Quote

Old   September 20, 2018, 03:09
Default
  #16
Member
 
subhankar das
Join Date: Jul 2018
Posts: 32
Rep Power: 8
subhankarnits is on a distinguished road
Hi @hmasenger what is size of elements you had taken for capturing sharp interface between water and air?
subhankarnits is offline   Reply With Quote

Old   September 20, 2018, 03:18
Default
  #17
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,871
Rep Power: 144
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
You will find that for most free surface applications CFX smears the free surface over about 4 elements. To get this it needs to be well converged and with good time accuracy. This means that the sharpness of the free surface is simply proportional to the mesh size - so finer mesh equals sharper resolution.
__________________
Note: I do not answer CFD questions by PM. CFD questions should be posted on the forum.
ghorrocks is offline   Reply With Quote

Old   September 20, 2018, 03:31
Default
  #18
Member
 
subhankar das
Join Date: Jul 2018
Posts: 32
Rep Power: 8
subhankarnits is on a distinguished road
In my project the main aim is to capture water surface height and outlet discharge. There is no need of boundary layer velocity profile etc. But I heard that for some turbulence model results are largely depends on y+ value. So should I check for y+ value or just finer mesh near the free surface will do my job?
subhankarnits is offline   Reply With Quote

Old   September 20, 2018, 10:42
Default
  #19
Senior Member
 
Join Date: Jun 2009
Posts: 1,880
Rep Power: 33
Opaque will become famous soon enough
Careful. The free surface is not a wall.

You may be sharpening the free surface resolution, but there is no influence on the yplus since it is not a wall.
Opaque is offline   Reply With Quote

Old   September 20, 2018, 10:45
Default
  #20
Member
 
subhankar das
Join Date: Jul 2018
Posts: 32
Rep Power: 8
subhankarnits is on a distinguished road
Yes I know that. But channel bed is wall so there should I check y+ ?
subhankarnits is offline   Reply With Quote

Reply


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
[OpenFOAM] Multiphase 3D free wave surface post-processing visualization in paraview keepfit ParaView 26 February 25, 2015 10:59
how to calculate forces on the wall with free surface? phsieh2005 Main CFD Forum 2 July 13, 2010 09:11
Free surface water wave profile John N. FLUENT 0 February 2, 2009 17:17
Variables Definition in CFX Solver 5.6 R P CFX 2 October 26, 2004 03:13
free convection heat transfer from a heated horizontal surface through a liquid to a thin cooled fin Kaushik FLUENT 1 May 8, 2000 07:47


All times are GMT -4. The time now is 10:28.