CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > Siemens > STAR-CCM+

Stir in a bowl : free surface problem

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 16, 2012, 14:34
Unhappy Stir in a bowl : free surface problem
  #1
Member
 
Join Date: Nov 2012
Posts: 74
Rep Power: 14
JohnAB is on a distinguished road
Hello,

I am trying to solve a simple problem with starccm+: stirring in a bowl.

I have only two regions: the bowl, and the spoon.

- I first imported my bowl from solidworks (.x_t file) and then surface and volume meshed it in starccm+.
- I then imported my "spoon" (Solidworks file than I volume meshed before importing as a volume mesh in my simulation)

So I have two different regions: the bowl which is fixed and enclosed (no inlet no outlet, only walls and an open top), and the "spoon" which is rotating around the axis of revolution of the bowl ( like how anybody would stir in a bowl), and which is completely solid, all faces are walls.

My problem lies in the liquid/air mixture, the inital conditions, and the models.

I want to bowl to be partially full of water, but also have a free surface so I can see the little ripples/waves generated by the rotation of my spoon which would ideally be half submerged.

First, I am not able to set the initial conditions so that I can see the water in the bowl, I only end up with the whole bowl filled with an homogeneous mixture of air and water...


Here is what appears in the model section I used:

Eulerian multiphase (liquid and air)
Gravity
Implicit unsteady
K-epsilon turbulence
...
segregated flow
3D
two layer all y+ wall treatment
volume of fluid


and in the initial conditions:

Pressure, constant, 101325.0 Pa.
Volume fraction, constant, [0.3,0.7].


I have read ans studied all the tutorials, especially the rotating fan and the boat one, but still, I can manage to get to water surface when the spoon is moving in my bowl..

Do you have any idea or any advice on how I should do that ?

Thank you very much!!

John
JohnAB is offline   Reply With Quote

Old   November 19, 2012, 13:51
Default
  #2
Member
 
Join Date: Nov 2012
Posts: 74
Rep Power: 14
JohnAB is on a distinguished road
Hey,

does anyone have any idea ? I'm still stuck on that...

Thank you so much!
JohnAB is offline   Reply With Quote

Old   November 20, 2012, 09:15
Default
  #3
Senior Member
 
Reza
Join Date: Mar 2009
Location: Appleton, WI
Posts: 116
Rep Power: 17
triple_r is on a distinguished road
You probably need to use a field function to set the initial condition for volume of fluids. I can'r remember the syntax right now, but I can imagine you can find it easily in the documentation, but it is going to be something like this:

define a field function called water_vof, and set this expression:
$$Location[2] < <0.07 m> ? 1.0 : 0.0

this means is z-coordinate is smaller than 7cm, then water vof is 1, otherwise, it is 0. Then you can define another field function called air_vof that is equal to:

1.0 - $water_vof

then use these for the initial condition (you need to change it from constant to components, and then each component from constant to field function, then select the appropriate field function for each phase)

I hope this helps.
triple_r is offline   Reply With Quote

Old   November 21, 2012, 18:23
Default
  #4
Member
 
Join Date: Nov 2012
Posts: 74
Rep Power: 14
JohnAB is on a distinguished road
triple_r

Thank you very much for this !I found the exact syntax and it works !

But now I have another issue: even if I refine the mesh a lot, I still have a very bad looking water surface (created in Derived Parts > Iso surface > 0.5 volume fraction of water), even right after initialization, and it looks like this does not even change when I refine the mesh, it's always as bad.
To be more clean, even if I put the "base size" 0.01m instead of 1m (my geometry is about 100m diameter for the bowl), I have the same bad tetrahedral blocs, not smooth at all.

Do you have any idea on how to make the water surface look very nice and smooth (at least at the initialization stage) ?

Thanks!
JohnAB is offline   Reply With Quote

Old   November 21, 2012, 19:14
Default
  #5
Member
 
Join Date: Nov 2012
Posts: 74
Rep Power: 14
JohnAB is on a distinguished road
I also tried to use different mesh methods, like trimmer + surface remesher + prism layer mesher + extruder, that was used on a boat simulation. No success...
JohnAB is offline   Reply With Quote

Old   November 22, 2012, 19:52
Default
  #6
Senior Member
 
Join Date: Oct 2009
Location: Germany
Posts: 636
Rep Power: 22
abdul099 is on a distinguished road
Could you post some pictures of the mesh and the surface? At least when using the trimmer it should work without having a choppy surface.
__________________
We do three types of jobs here:
GOOD, FAST AND CHEAP
You may choose any two!
abdul099 is offline   Reply With Quote

Old   November 28, 2012, 14:07
Default
  #7
Member
 
Join Date: Nov 2012
Posts: 74
Rep Power: 14
JohnAB is on a distinguished road
I'm sorry I can't show the entire thing, but here are some pictures of the surface and the mesh (thinner than the elements we see on the surface picture).
I still cannot make it work...
Attached Images
File Type: jpg mesh1.jpg (95.5 KB, 71 views)
File Type: jpg surface1.JPG (12.4 KB, 71 views)
JohnAB is offline   Reply With Quote

Old   November 29, 2012, 18:34
Default
  #8
Member
 
Join Date: Nov 2012
Posts: 74
Rep Power: 14
JohnAB is on a distinguished road
any idea ? I don't see where I'm wrong..
JohnAB is offline   Reply With Quote

Old   November 29, 2012, 19:34
Default
  #9
Member
 
Join Date: Nov 2012
Posts: 74
Rep Power: 14
JohnAB is on a distinguished road
Another issue is that there is no wave/wake generated by the partially submerged spoon, it moves at a speed such that we should have both waves and wake (Fr=1.4), but nothing happens, water is only elevated in a region very very close to the spoon... I'm in K-epsilon turbulent flow and I've check the viscosity, all is normal.. any thought ?

thank you very much, I'm really stuck on this problem
JohnAB is offline   Reply With Quote

Old   December 11, 2012, 07:27
Default
  #10
New Member
 
Dan Hamilton
Join Date: Mar 2012
Posts: 7
Rep Power: 14
DanHamilton is on a distinguished road
an easy way to ensure that the initial free surface is 'smooth' is to put an internal interface at the initialized water level, and grow a layer of prisms off the interface. Or use a trimmed mesh rather than polyhedral
DanHamilton is offline   Reply With Quote

Old   January 16, 2013, 20:23
Default
  #11
Member
 
Join Date: Nov 2012
Posts: 74
Rep Power: 14
JohnAB is on a distinguished road
Thanks, but it did not change a lot.. Anyway maybe this is a secondary issue at that stage..

I am still having troubles to get something... did one of you guys do something similar ?

I have re-read the tutorials but nothing in there is helping anymore. It seems like such a simple problem, I would be very surprised if nobody got it to work!

Thanks for the help!
JohnAB is offline   Reply With Quote

Old   January 18, 2013, 16:21
Default
  #12
Senior Member
 
Join Date: Oct 2009
Location: Germany
Posts: 636
Rep Power: 22
abdul099 is on a distinguished road
I'm sorry, I can't see any issues from your (pretty rough) description. Could you maybe create a generic, non confidential case from your setup (e.g. with a simplified spoon, just an axis with a flat plate at the end, or however your spoon looks like) and post the file here, so I can have a look on it?
__________________
We do three types of jobs here:
GOOD, FAST AND CHEAP
You may choose any two!
abdul099 is offline   Reply With Quote

Old   January 23, 2013, 19:38
Default
  #13
Member
 
Join Date: Nov 2012
Posts: 74
Rep Power: 14
JohnAB is on a distinguished road
Hello,

Here is attached a generic example of what I am trying to solve, with the little cube (half submerged) supposed to run in circles around the y-axis. I have added the x_t parts from Solidworks as well.

The goal is, starting from a state of rest, run the little cube in circle and see the wake, the reflections, and all the waves generated by that motion.
I have created the isosurface, and a new Field function for the initial state of rest.

The mesh is not generated in that file to keep the file as small as possible.

I would appreciate any help on that, I am really stuck now...

Thanks!
Attached Files
File Type: zip demo_stir.zip (68.9 KB, 18 views)
File Type: zip Part4_1.zip (2.2 KB, 11 views)
File Type: zip Part4_2.zip (2.3 KB, 9 views)
JohnAB is offline   Reply With Quote

Old   January 24, 2013, 15:25
Default
  #14
Member
 
Join Date: Nov 2012
Posts: 74
Rep Power: 14
JohnAB is on a distinguished road
Every time I run this example (as well as my other model) I get an Error, floating point exception. And I cannot figure out why, "the specific cause cannot be identified"...
JohnAB is offline   Reply With Quote

Old   February 1, 2013, 13:29
Default
  #15
Member
 
Join Date: Nov 2012
Posts: 74
Rep Power: 14
JohnAB is on a distinguished road
I can have the "spoon" moving around in that "bowl", but it produces no wave, nothing...
Could you help me and tell me if I missed something ?

Thanks!
JohnAB is offline   Reply With Quote

Old   February 1, 2013, 15:42
Default
  #16
Senior Member
 
siara817's Avatar
 
siamak rahimi ardkapan
Join Date: Jul 2010
Location: Copenhagen, Denmark
Posts: 220
Rep Power: 18
siara817 is on a distinguished road
Do you use VOF model, try VOF to see what will happen.
__________________
Good luck
Siamak
siara817 is offline   Reply With Quote

Old   February 12, 2013, 17:39
Default
  #17
Member
 
Join Date: Nov 2012
Posts: 74
Rep Power: 14
JohnAB is on a distinguished road
I do already use VOF and it does not work well... but thanks for the suggestion!
JohnAB is offline   Reply With Quote

Old   February 20, 2013, 15:07
Default
  #18
Member
 
Join Date: Nov 2012
Posts: 74
Rep Power: 14
JohnAB is on a distinguished road
It seems like the water just perfectly slides on the moving object instead of being pushed and moved by it. There is no flow...

Does anybody have any idea ?
JohnAB is offline   Reply With Quote

Old   March 7, 2013, 21:11
Default
  #19
Member
 
Join Date: Nov 2012
Posts: 74
Rep Power: 14
JohnAB is on a distinguished road
I'm sorry to come back to you again guys, but I really cannot make this work... does anybody see why the water wouldn't move at all ?
JohnAB is offline   Reply With Quote

Old   March 8, 2013, 14:11
Default
  #20
New Member
 
AndrewLBloxom's Avatar
 
Andrew L. Bloxom
Join Date: Dec 2010
Location: Blacksburg, VA
Posts: 7
Rep Power: 15
AndrewLBloxom is on a distinguished road
John,

I looked at your file. I would suggest adding a volume source which spans the expected amplitude of the waves you expect and then refine isotropically to a much finer level. Your cells on the free surface have a high aspect ratio which make them like pancakes and their size of .4m will make is difficult to capture much if any free surface detail. Also your surface size on your box should be decreased.

Andrew
AndrewLBloxom 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
[ICEM] surface mesh merging problem everest ANSYS Meshing & Geometry 44 April 14, 2016 07:41
How to plot the wave contour in ship flow (free surface) problem deddy1973 CFX 6 February 19, 2013 06:49
error with isolated volumes in free surface flow sakalido CFX 3 September 4, 2012 13:43
Free surface problem Luk CFX 2 July 27, 2006 02:07
CFX4.3 -build analysis form Chie Min CFX 5 July 13, 2001 00:19


All times are GMT -4. The time now is 21:34.