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

free surface simulation

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   December 9, 2012, 16:32
Default free surface simulation
  #1
New Member
 
Join Date: Nov 2012
Posts: 2
Rep Power: 0
Pit7512 is on a distinguished road
Hi,
I desperately trying to run a free surface simulation of an river section. The Problem is, that I canīt get a nice surface without refinement. I tryed almost everything. For testing I have a simpel rectangular channel with an laminar flow of 10 by 4m (20m long, Hex-mesh 0,4m max). The flow seems fine at the botton but gets turbulent close to the surface. At the Inlet the water close to the surface goes down as you can see in the attachment. At the Outlet it goes up again. Is there a way to get it straigt without refinement of the surface.
I would be thankful for any tip
Attached Images
File Type: jpg Inlet.jpg (93.5 KB, 155 views)
File Type: jpg Outlet.jpg (68.5 KB, 98 views)
Pit7512 is offline   Reply With Quote

Old   December 10, 2012, 15:30
Default
  #2
New Member
 
Eva Skarupova
Join Date: Dec 2012
Posts: 2
Rep Power: 0
EvaS is on a distinguished road
Hi.

Could you post your settings here? At least inlet and outlet condition.
Did you checked "Tutorial 9: Free Surface Flow Over a Bump"?

Eva
EvaS is offline   Reply With Quote

Old   December 13, 2012, 13:02
Default
  #3
Member
 
anonymous
Join Date: Jun 2011
Posts: 58
Rep Power: 14
Doginal is on a distinguished road
I've been struggling with the same problem. I have not found any complete solutions. Problem seems to be ansys trys to flatten the surface between timesteps across the mesh which causes small waves to propogate across the surface. There really aren't any solutions found in any of the documents. I think its one of those things you have to try to limit its effects, cant get rid of.

Best thing to do is just refine the mesh at the surface.
Doginal is offline   Reply With Quote

Old   December 13, 2012, 16:37
Default
  #4
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,694
Rep Power: 143
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
Spurious currents at the free surface is a common problem with free surface simulations. They are very hard to eliminate in a eularian approach. You can minimise them by careful adhustment of the free surface parameters - I can't remember which, try them all and see which ones work, that's how I found this out - but you will not be able to eliminate it.

Alternate free surface approaches such as level set and single phase VOF have the potential of eliminating this problem - but you will need to go to a different CFD code to do that, CFX does not support any other options.
ghorrocks is offline   Reply With Quote

Old   October 22, 2015, 13:04
Default Spurious wave
  #5
New Member
 
Fluidflow
Join Date: Oct 2015
Posts: 24
Rep Power: 10
cfdesf1990 is on a distinguished road
Hi
I am going to simulate a submarine near the free surface. I read free surface over a Bump tutorial.After 1000 time steps when Max Residuals for momentum and masses are about 10e-4, there is a surface wave (attached file), though the inlet velocity is set to normal velocity.
In addition, as far as I got from CFX solver tutorial, we must choose a different time step for volume fraction so I used 0.1 as volume fraction time step and 1 as the total time step but the wave still exists. The question is how can I solve this problem? and what is the origin of this wave?
Generally, I use structured mesh near the free surface and unstructured mesh in the rest. In the solver setting, the first order option is set. BCs are like the tutorial and I do not think that the problem is due to BCs.

Meysam


http://i57.tinypic.com/mwazaq.jpg
cfdesf1990 is offline   Reply With Quote

Old   October 22, 2015, 17:49
Default
  #6
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,694
Rep Power: 143
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
It could be:

* transient behaviour, free surface simulations do this a lot. Many free surface simulations require transient simulation despite being steady state.
* Generated by spurious currents at the free surface
* An incompatibility with your boundary conditions.
ghorrocks is offline   Reply With Quote

Old   October 22, 2015, 18:15
Default
  #7
Member
 
Join Date: Jan 2015
Posts: 63
Rep Power: 11
highorder_cfd is on a distinguished road
Quote:
Originally Posted by ghorrocks View Post
It could be:

* transient behaviour, free surface simulations do this a lot. Many free surface simulations require transient simulation despite being steady state.
* Generated by spurious currents at the free surface
* An incompatibility with your boundary conditions.
Hi Glen, just a question.

When I solve free surface flows I always try to refine the mesh near the free surface. Usually I put the body in a subdomain meshed with tet element.

In my experience, I often get a more wavy and rough free surface where tetraedrons are used, whereas the accuracy is much better for hex elements, with a smooth free surface. Any suggestions?
highorder_cfd is offline   Reply With Quote

Old   October 22, 2015, 18:55
Default
  #8
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,694
Rep Power: 143
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
Free surface models are very sensitive to mesh quality and work best with orthogonal mesh, that is hex meshes. The angled faces of tets cause additional dissipation and blur the interface and can create additional spurious currents.

So you are correct, you should use hex elements as much as possible near the free surface.
ghorrocks is offline   Reply With Quote

Old   October 23, 2015, 02:18
Default
  #9
New Member
 
Fluidflow
Join Date: Oct 2015
Posts: 24
Rep Power: 10
cfdesf1990 is on a distinguished road
Quote:
Originally Posted by ghorrocks View Post
It could be:

* transient behaviour, free surface simulations do this a lot. Many free surface simulations require transient simulation despite being steady state.
* Generated by spurious currents at the free surface
* An incompatibility with your boundary conditions.
Thank You so much, Glen.
I simulated it in the steady state condition. Do you mean transient simulation probably solves this problem?
cfdesf1990 is offline   Reply With Quote

Old   October 23, 2015, 02:22
Default
  #10
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,694
Rep Power: 143
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
Free surface simulations frequently require transient mode to achieve convergence. This is because the surface waves have very low dissipation and are very difficult to converge. A transient simulation is not stopped by these little waves so can converge easier, but will take much longer to run.
ghorrocks is offline   Reply With Quote

Old   October 23, 2015, 10:19
Default
  #11
New Member
 
Fluidflow
Join Date: Oct 2015
Posts: 24
Rep Power: 10
cfdesf1990 is on a distinguished road
So I will apply A transient simulation as well.
One more question, when I use upwind scheme the convergence speed increases noticeably and the wave decreases, especially after the submarine as you see in the following figure. Can we conclude and guess something else? Do you have any other suggestion?


http://www.freeuploadsite.com/do.php?img=80764
cfdesf1990 is offline   Reply With Quote

Old   October 23, 2015, 10:22
Default
  #12
Member
 
Join Date: Jan 2015
Posts: 63
Rep Power: 11
highorder_cfd is on a distinguished road
Quote:
Originally Posted by m.khatoonabadi View Post
So I will apply A transient simulation as well.
One more question, when I use upwind scheme the convergence speed increases noticeably and the wave decreases, especially after the submarine as you see in the following figure. Can we conclude and guess something else? Do you have any other suggestion?


http://www.freeuploadsite.com/do.php?img=80764
The upwind is a first order accuracy numerical scheme, thus the numerical dissipation introduced in the elements is higher. It is more robust, but you will lose in terms of accuracy as compared to the high resolution (that is 2nd order) for example.
highorder_cfd is offline   Reply With Quote

Old   October 23, 2015, 11:07
Default
  #13
New Member
 
Fluidflow
Join Date: Oct 2015
Posts: 24
Rep Power: 10
cfdesf1990 is on a distinguished road
Thank you, highorder_cfd. I got the point.
cfdesf1990 is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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
CFX convergence issues with free surface adenlan CFX 3 September 2, 2011 06:43
Linear analytical solution oto the 2D free sloshing water surface elevation bearcat Main CFD Forum 7 August 5, 2011 20:13
Problem Concerning free surface wave simulation michaels STAR-CCM+ 3 February 25, 2011 07:28
Free Surface Simulation Joe CFX 9 April 14, 2005 07:40
Variable Density - Free Surface with FIDAP Vitaliy Pavlyk FLUENT 7 May 2, 2000 15:56


All times are GMT -4. The time now is 19:55.