CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Pre-Processing

2D water droplet fall in InterFoam

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 21, 2013, 04:12
Default 2D water droplet fall in InterFoam
  #1
New Member
 
Muhanad Fakhri
Join Date: Sep 2012
Posts: 7
Rep Power: 13
muhanad is on a distinguished road
Dear foamers,

I am new to OpenFoam, and currently have a task to alter the dambreak case into two different cases:-

1- Falling 2D drop from the dam top to hit the empty bottom
2- Falling 2D drop from the dam top to hit a film of water in the bottom.

my problem:-

Defining the alpha1 phase to the spherical/cylindrical droplet, I used the following two expressions which i feel correct in setFieldsDict:-

25 sphereToCell
26 {
27 centre (0.05 0.1 0.5);
28 radius 0.01;
29 fieldValues
30 (
31 volScalarFieldValue alpha1 1

and:-
25 cylinderToCell
26 {
27 p1 (0.05 0.1 0);
28 p2 (0.05 0.1 0.5);
28 radius 0.01;
29 fieldValues
30 (
31 volScalarFieldValue alpha1 1

in the blockMeshDict, I considered having 3 blocks:- one block for the circular droplet where its bottom is tangible to the dam square top from the centreline, and 2 blocks for the dam, left and right to the tangible point centreline (just consider a sphere sitting on a box in the centre).

now i have 4 vertices for the droplet,6 vertices for the dam (one vertex is shared between the three blocks: the tangible point).

well, i defined my vertices, the three blocks..
when it came to the droplet i defined four circular arcs, each arc passes through a point (i used inscribed equal rectangle in the the circle to determine these points).

I had a challenge on boundary part of the blockMeshDict:

I have walls to describe the dam left, right and bottom wall, as well as atmosphere to describe the top part.

how to describe the droplet in this case? and how to describe its type/values in alpha1 file and U, & P in directory (0)?

Would be grateful for your support..Maybe all the above is incorrect??!

Regards
Muhanad
muhanad is offline   Reply With Quote

Old   November 21, 2013, 06:57
Default
  #2
New Member
 
Muhanad Fakhri
Join Date: Sep 2012
Posts: 7
Rep Power: 13
muhanad is on a distinguished road
well, I have maintained everything in the dambreak case and just changed the setFields using cylinderToCell instead of box to cell, and altered the position of the droplet to be inside the domain on the top.

the simulation has captured the droplet fall successfully, just i noticed the slowness of the fall, like if there is a drag preventing it from falling quicker!..

Still need to investigate the situation more closely to find more about the required settings...would appreciate your inputs and discussions on this..
muhanad is offline   Reply With Quote

Old   November 21, 2013, 07:33
Default
  #3
New Member
 
Muhanad Fakhri
Join Date: Sep 2012
Posts: 7
Rep Power: 13
muhanad is on a distinguished road
I have now used the refineMesh and got a finer mesh on my droplet, which is supposed to be smaller, the simulation is getting slower really, not falling on real time

still awaiting some comments/ feedbacks on droplet simulation and case setup from your expereinces..
muhanad is offline   Reply With Quote

Old   May 3, 2019, 03:48
Default
  #4
New Member
 
Arne
Join Date: Dec 2018
Posts: 19
Rep Power: 7
arsimons is on a distinguished road
Hi


I am currently also trying to simulate a droplet falling through air. I have found so far that it indeed falls faster when the mesh is coarser. I think this is inherent to interFoam, since the Courant number needs to be smaller than 1. My guess can be found in the following paragraph:


Since the Courant number needs to be smaller than 1, the droplet will always fall less than 1 complete cell for each time step. As a result, after the first step, the top part of the cell right below the cell initially containing the droplet now contains the droplet. However, this cell is the smallest part in the simulation and as such, the simulation will only remember that X% was filled with the droplet. In the following time step, these X% start to fall for less than 1 cell again, and the next cell is reached. This process will continue during the entire simulation.


It might be possible to solve this by using an even smaller mesh or smaller maximum value for Courant. However, I did not investigate this yet. Currently, I am trying interIsoFoam, since this might solve the problem. I will keep you informed!
arsimons 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
UDS for droplet collection efficiency mkozic FLUENT 4 August 18, 2012 22:59
General question- Drag between Water droplet and water film Zaktatir Main CFD Forum 0 August 9, 2011 06:31
Separation phenomenon of water, droplet and air Raymond CFX 0 July 9, 2004 22:59
Water droplet motion and evaporation Julie Polyakh Siemens 0 November 16, 2002 14:16
uptodate water distribution network fredius,magige,tanzanian,(e.a) Main CFD Forum 0 January 27, 2002 07:10


All times are GMT -4. The time now is 15:31.