|
[Sponsors] |
November 16, 2012, 14:34 |
Stir in a bowl : free surface problem
|
#1 |
Member
Join Date: Nov 2012
Posts: 74
Rep Power: 14 |
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 |
|
November 19, 2012, 13:51 |
|
#2 |
Member
Join Date: Nov 2012
Posts: 74
Rep Power: 14 |
Hey,
does anyone have any idea ? I'm still stuck on that... Thank you so much! |
|
November 20, 2012, 09:15 |
|
#3 |
Senior Member
Reza
Join Date: Mar 2009
Location: Appleton, WI
Posts: 116
Rep Power: 17 |
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. |
|
November 21, 2012, 18:23 |
|
#4 |
Member
Join Date: Nov 2012
Posts: 74
Rep Power: 14 |
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! |
|
November 21, 2012, 19:14 |
|
#5 |
Member
Join Date: Nov 2012
Posts: 74
Rep Power: 14 |
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...
|
|
November 22, 2012, 19:52 |
|
#6 |
Senior Member
Join Date: Oct 2009
Location: Germany
Posts: 636
Rep Power: 22 |
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! |
|
November 28, 2012, 14:07 |
|
#7 |
Member
Join Date: Nov 2012
Posts: 74
Rep Power: 14 |
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... |
|
November 29, 2012, 18:34 |
|
#8 |
Member
Join Date: Nov 2012
Posts: 74
Rep Power: 14 |
any idea ? I don't see where I'm wrong..
|
|
November 29, 2012, 19:34 |
|
#9 |
Member
Join Date: Nov 2012
Posts: 74
Rep Power: 14 |
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 |
|
December 11, 2012, 07:27 |
|
#10 |
New Member
Dan Hamilton
Join Date: Mar 2012
Posts: 7
Rep Power: 14 |
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
|
|
January 16, 2013, 20:23 |
|
#11 |
Member
Join Date: Nov 2012
Posts: 74
Rep Power: 14 |
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! |
|
January 18, 2013, 16:21 |
|
#12 |
Senior Member
Join Date: Oct 2009
Location: Germany
Posts: 636
Rep Power: 22 |
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! |
|
January 23, 2013, 19:38 |
|
#13 |
Member
Join Date: Nov 2012
Posts: 74
Rep Power: 14 |
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! |
|
January 24, 2013, 15:25 |
|
#14 |
Member
Join Date: Nov 2012
Posts: 74
Rep Power: 14 |
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"...
|
|
February 1, 2013, 13:29 |
|
#15 |
Member
Join Date: Nov 2012
Posts: 74
Rep Power: 14 |
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! |
|
February 1, 2013, 15:42 |
|
#16 |
Senior Member
siamak rahimi ardkapan
Join Date: Jul 2010
Location: Copenhagen, Denmark
Posts: 220
Rep Power: 18 |
Do you use VOF model, try VOF to see what will happen.
__________________
Good luck Siamak |
|
February 12, 2013, 17:39 |
|
#17 |
Member
Join Date: Nov 2012
Posts: 74
Rep Power: 14 |
I do already use VOF and it does not work well... but thanks for the suggestion!
|
|
February 20, 2013, 15:07 |
|
#18 |
Member
Join Date: Nov 2012
Posts: 74
Rep Power: 14 |
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 ? |
|
March 7, 2013, 21:11 |
|
#19 |
Member
Join Date: Nov 2012
Posts: 74
Rep Power: 14 |
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 ?
|
|
March 8, 2013, 14:11 |
|
#20 |
New Member
Andrew L. Bloxom
Join Date: Dec 2010
Location: Blacksburg, VA
Posts: 7
Rep Power: 15 |
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 |
|
|
|
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 |