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

I get different results when I scale the 'falling box' tutorial

Register Blogs Community New Posts Updated Threads Search

Like Tree3Likes
  • 1 Post By KevinZ09
  • 1 Post By KevinZ09
  • 1 Post By KevinZ09

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 8, 2017, 17:39
Default I get different results when I scale the 'falling box' tutorial
  #1
Member
 
Join Date: Jun 2015
Posts: 46
Rep Power: 10
Hossein1 is on a distinguished road
I run the case file of 'falling box' tutorial in which box size and mass is 1m*1m and 666kg. I set the file exactly like instructed in the manual, but the only difference is that I give a downward initial velocity (-5 m/s) to the box through C.G. velocity in 'Dyn. Mesh Zone' window. When I run, the box velocity increases while it's falling and decreases when it's going into water as we expect.

However, when I scale the mesh by a factor of 1/500 (so that box size becomes 2mm*2mm), and I modify the mass and moments in udf, I could see that as simulation runs and box starts falling, the box velocity drops suddenly to ~-1.7 m/s which is not reasonable (the C.G. velocity of box reduces).

Does anyone know what is the reason for this weird behavior of case due to scaling?

PS.
1) I keep the k-eps model for the small box as well.
2) Could it be because of the very tiny values of mass and moment in the second udf? or something related to 'Reference Values' or 'Solution Control' (I've attached the results and both UDFs)
Attached Images
File Type: jpg 7.jpg (109.7 KB, 15 views)
Attached Files
File Type: c UDF-actual mass.c (828 Bytes, 8 views)
File Type: c UDF-reduced mass.c (825 Bytes, 7 views)

Last edited by Hossein1; January 8, 2017 at 18:59.
Hossein1 is offline   Reply With Quote

Old   January 9, 2017, 06:20
Default
  #2
Senior Member
 
Kevin
Join Date: Dec 2016
Posts: 138
Rep Power: 9
KevinZ09 is on a distinguished road
Why does it surprise you? It could very well be that the initial velocity you set is larger than the terminal fall velocity of the reduced box, in which case the drag force is larger than the gravitational pull. Hence the reduced box will slow down. The force balance looks like:

m*a = m*g - 0.5*rho_fluid*v^2*A*Cd.

Your mass goes down by a factor 500^3, while the drag force only decreases by a factor of about 500^2. So in your case it could be that the second term is larger than the first (m*g), hence a decelaration. So I'd suggest to look up for the proper value of Cd for a box, and check the expected terminal fall velocity.

Also, as some alternative tests, try with a smaller reduction and with a reduction of 500 but an initial velocity of 0.5 m/s or even less.
Hossein1 likes this.
KevinZ09 is offline   Reply With Quote

Old   January 9, 2017, 08:25
Default
  #3
Member
 
Join Date: Jun 2015
Posts: 46
Rep Power: 10
Hossein1 is on a distinguished road
How can I set the Fluent not to consider the drag force only when particle travels in air? (it seems it's not possible just by changing the air viscosity to a very small value)

PS. The reason I chose 'falling box into water tank' is that I think it's very similar to my own problem of droplet-particle collision, and that's why I try to scale it down to my size range.
Hossein1 is offline   Reply With Quote

Old   January 9, 2017, 09:47
Default
  #4
Senior Member
 
Kevin
Join Date: Dec 2016
Posts: 138
Rep Power: 9
KevinZ09 is on a distinguished road
Then try lowering the density of the fluid, i.e., of air.
Hossein1 likes this.
KevinZ09 is offline   Reply With Quote

Old   January 9, 2017, 14:24
Default
  #5
Member
 
Join Date: Jun 2015
Posts: 46
Rep Power: 10
Hossein1 is on a distinguished road
I reduced air density and viscosity by a factor of 1e-4. Briefly, with the original mesh, the simulation goes well at the beginning, but eventually particle velocity increases again from -5 to +41 m/s.

But when I apply Dynamic Refinement, as the box approaches the water surface, simulation stops due to some errors although the velocity remains reasonable. What do you think about the reason?
(Please see the attached picture)
Attached Images
File Type: jpg 8.jpg (117.3 KB, 8 views)

Last edited by Hossein1; January 9, 2017 at 21:36.
Hossein1 is offline   Reply With Quote

Old   January 11, 2017, 04:31
Default
  #6
Senior Member
 
Kevin
Join Date: Dec 2016
Posts: 138
Rep Power: 9
KevinZ09 is on a distinguished road
Well, I still wonder why you say the -1.7 m/s isn't reasonable when you shrank the box size. Was everything running smoothly in the simulation except for the changed box velocity? If so, let it run and see if the results are reasonable. And try to figure out what the expected fall velocity will be for such a smaller box. I'm not sure of the Cd value of a cube but a quick google seems to suggest about 1-2. So -1.7 m/s of terminal fall velocity in air may not be wrong after all. But again, check it well and try to come up with an estimate.

Then, to reduce your density/viscosity, try to take smaller steps. Reduce it by a factor of 10 and see what the outcome is. Reducing it by such a large factor could introduce all sorts of other problems. So lower it gradually and see. I'd suggest lower the density first, and keep the viscosity (of air) the same.
Hossein1 likes this.
KevinZ09 is offline   Reply With Quote

Old   January 11, 2017, 07:58
Default
  #7
Member
 
Join Date: Jun 2015
Posts: 46
Rep Power: 10
Hossein1 is on a distinguished road
Another thing that I was thinking about is the box mass that I insert into udf which is originally 666 kg for the large box (1m * 1m). However, when I scale it down (2mm * 2mm), I consider the cube depth to be 2mm and so scaled the mass by a factor of 0.002^3, but I was wondering if Fluent considers a 1m depth and I need to insert the mass for a box with these dimensions: 2mm * 2mm * 1000mm.
I run a simulation with the above-mentioned change, and it seems that the results is much better than what I already got.

In our udf, regardless of the size of the box in X and Y directions, do we really need to insert an equivalent mass for a 1000 mm depth?

Last edited by Hossein1; January 11, 2017 at 17:34.
Hossein1 is offline   Reply With Quote

Old   August 19, 2017, 02:52
Default
  #8
spz
New Member
 
spz
Join Date: Dec 2013
Posts: 12
Rep Power: 12
spz is on a distinguished road
hi dear ..
i start working on this tutorial and i cant understand what is the
relation for density and speed and sound. actually i cant understand the physics of problem. i would be very pleasure if u could answer my question kindly,
tanks a lot
spz is offline   Reply With Quote

Reply

Tags
6dof, collisions, dynamic mesh, falling box, scale problem


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
Tutorial 2D Box Falling into Water pedrin84 FLUENT 2 June 19, 2014 13:23
[Other] Modification of multi region heater tutorial geometry mukut OpenFOAM Meshing & Mesh Conversion 2 October 4, 2013 20:59
Problem on Fluent Tutorial: Horizontal Film Boilig Feng FLUENT 2 April 13, 2013 05:34
CFD-ACE Tutorial for Serpentine Fuel cell Channel Taqi Main CFD Forum 0 April 13, 2008 13:12
Length Scale vs. Hydraulic Diameter? Will FLUENT 1 April 13, 2004 06:09


All times are GMT -4. The time now is 23:18.