CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Running, Solving & CFD

Droplet Falling using interFoam

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

Like Tree1Likes
  • 1 Post By Cara Gao

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 28, 2014, 11:49
Default Droplet Falling using interFoam
  #1
New Member
 
Fei Gao
Join Date: Aug 2014
Posts: 12
Rep Power: 12
Cara Gao is on a distinguished road
Hi, everybody. I am new in Openfoam. Recently I am using interFoam to simulate a falling droplet under gravity. However, the droplet falls much more slower than expected.
I have been stuck here for one month; really hope some one can help me out.

Attached is the p_rgh and U file.

Thanks!

Screenshot from 2014-08-28 10:45:39.jpg

Screenshot from 2014-08-28 10:46:12.jpg
Cara Gao is offline   Reply With Quote

Old   August 29, 2014, 08:10
Default
  #2
Member
 
Vignesh
Join Date: Oct 2012
Location: Darmstadt, Germany
Posts: 66
Rep Power: 14
vigneshTG is on a distinguished road
Hi Cara !!
Did you switch on gravity ? There's a file named g in constant directory, Check inside the file whether g is set as

value ( 0 -9.81 0 );
__________________
Thanks and Regards

Vignesh
vigneshTG is offline   Reply With Quote

Old   August 29, 2014, 19:19
Default
  #3
New Member
 
Fei Gao
Join Date: Aug 2014
Posts: 12
Rep Power: 12
Cara Gao is on a distinguished road
Quote:
Originally Posted by vigneshTG View Post
Hi Cara !!
Did you switch on gravity ? There's a file named g in constant directory, Check inside the file whether g is set as

value ( 0 -9.81 0 );
Hi, Vignesh TG,

Yeah, I believe I did edit the g file in constant. I am guessing that maybe my boundary conditions for the case is not right. I set all the surrounding boundaries to be patches, and set pressure and velocity boundary conditions accordingly.

Thanks,
Cara
Cara Gao is offline   Reply With Quote

Old   September 3, 2014, 18:30
Default
  #4
New Member
 
Sebastian
Join Date: Nov 2013
Location: Germany
Posts: 14
Rep Power: 13
Googlestuff is on a distinguished road
Hi Cara.
Can you specify more precisely what you mean by "slower than expected?".
Googlestuff is offline   Reply With Quote

Old   September 4, 2014, 09:13
Default
  #5
New Member
 
Sebastian
Join Date: Nov 2013
Location: Germany
Posts: 14
Rep Power: 13
Googlestuff is on a distinguished road
I think further information about the case is necessary to help you. What does your mesh look like? How did you set the alpha field? Maybe you can upload your dictionaries? As is saw you based your simulation on the damBreak tutorial, is that right? If so, what did you change and what is standard?

Regards,
Sebastian

Last edited by Googlestuff; September 7, 2014 at 07:10.
Googlestuff is offline   Reply With Quote

Old   September 4, 2014, 12:15
Smile Falling Droplet
  #6
New Member
 
Fei Gao
Join Date: Aug 2014
Posts: 12
Rep Power: 12
Cara Gao is on a distinguished road
Yes, the case is based on the dambreak case. In the damBreak case, there is only one patch for the side to atmosphere, the others are walls; but in my case (3D), the droplet falls in the atmosphere, so all the boundaries are patches except for the groud it falls on. And the boundary conditions are the same with that in damBreak.

p_rgh: total pressure

U: pressureInletOutletVelocty

The mesh is not the directory (too large to upload successfully). But all the other stuff are in it.

Thanks a lot for your help.
By the way, I am also working on a case about channel flow with fixed heat flux into it, but I didn't find any similar case in the tutorial. I want to set the heat flux directly instead of set a temperature gradient. Do you have any suggestion??

Thanks,

Best,
Cara
Attached Files
File Type: gz DropFreefall.tar.gz (3.1 KB, 172 views)
aigul likes this.
Cara Gao is offline   Reply With Quote

Old   September 4, 2014, 13:34
Default
  #7
New Member
 
Sebastian
Join Date: Nov 2013
Location: Germany
Posts: 14
Rep Power: 13
Googlestuff is on a distinguished road
Okay. I see you have five areas you assign boundary conditions to. Inlet, Outlet and Walls 1-3. But if you have a 3D Case there must be a sixth face. Maybe you forgot to assign a BC to that? Your dictionaries look just fine to me.

I am also simulating a falling drop under similar conditions, but i assign a start velocity to the drop so i don't have to wait for too long for the splash. Maybe that's an option for you too?

Regards!
Googlestuff is offline   Reply With Quote

Old   September 4, 2014, 13:43
Smile
  #8
New Member
 
Fei Gao
Join Date: Aug 2014
Posts: 12
Rep Power: 12
Cara Gao is on a distinguished road
Dear Sebastian,

Thanks for your quick reply.
I group the walls at the same level, and name it wall 1,2,3. And then set boundary condition to these walls.
I think it will be easier if the droplet is assigned a initial velocity, but I cannot see the deformation(might be very small) at the beginning.

Thanks,
Cara
Cara Gao is offline   Reply With Quote

Old   September 4, 2014, 14:21
Default
  #9
New Member
 
Sebastian
Join Date: Nov 2013
Location: Germany
Posts: 14
Rep Power: 13
Googlestuff is on a distinguished road
Okay maybe i missunderstand. If you did group the walls, why did you assign the BC's to them individually? Maybe a picture of your mesh might help me to understand your geometry.

Code:
boundaryField
{
    INLET
    {
        type            pressureInletOutletVelocity;
        value           uniform (0 0 0);
    }
    WALL_1
    {
        type            pressureInletOutletVelocity;
        value           uniform (0 0 0);
    }
    WALL_2
    {
        type            pressureInletOutletVelocity;
        value           uniform (0 0 0);
    }
    WALL_3
    {
        type            pressureInletOutletVelocity;
        value           uniform (0 0 0);
    }
    OUTLET
    {
        type            fixedValue;
        value           uniform (0 0 0);
    }
}
Another thing to look at: Did you investigate the pressure and velocity fields for your simulation? Is there anything unexpected that would explain this behaviour? Hope this hints help!

Best regards,
Sebastian
Googlestuff is offline   Reply With Quote

Old   September 4, 2014, 15:03
Smile
  #10
New Member
 
Fei Gao
Join Date: Aug 2014
Posts: 12
Rep Power: 12
Cara Gao is on a distinguished road
Hi, Sebastian,

I have attatched the pictures of the geometry, each picture for each boundary, except the inlet surface(because the maximam number of files is 5).

I have ever checked the presssure and velocity fields in paraFoam, and then became more confused.

Best,
Cara
Cara Gao is offline   Reply With Quote

Old   September 4, 2014, 15:08
Default
  #11
New Member
 
Sebastian
Join Date: Nov 2013
Location: Germany
Posts: 14
Rep Power: 13
Googlestuff is on a distinguished road
Ah ok. Now I get it

So with that configuration your BC's look reasonable.

Why were you confused looking at p and U?

I see your outlet is also a patch. I would recommend to define the type as "wall" in the blockMeshDict. I think in the tutorial they also use wall, because with this type the wall-distance is treated in a special way.
Googlestuff is offline   Reply With Quote

Old   September 4, 2014, 15:31
Default
  #12
New Member
 
Fei Gao
Join Date: Aug 2014
Posts: 12
Rep Power: 12
Cara Gao is on a distinguished road
The outlet is wall; I think in paraView it set all boundaries to be patch.

Thanks,
Best,
Cara
Cara Gao is offline   Reply With Quote

Old   September 5, 2014, 07:51
Default
  #13
New Member
 
Sebastian
Join Date: Nov 2013
Location: Germany
Posts: 14
Rep Power: 13
Googlestuff is on a distinguished road
So what confuses you looking at the pressure and velocity fields?
Googlestuff is offline   Reply With Quote

Old   September 6, 2014, 18:57
Default
  #14
New Member
 
Fei Gao
Join Date: Aug 2014
Posts: 12
Rep Power: 12
Cara Gao is on a distinguished road
It's like the droplet is in the areospace, the gravity is 10 times smaller. And the the accelation happens really slow.

Best,
Cara
Cara Gao is offline   Reply With Quote

Old   August 24, 2015, 22:47
Default
  #15
Senior Member
 
Elham
Join Date: Oct 2009
Posts: 184
Rep Power: 17
Elham is on a distinguished road
Hi,

I am also simulating a falling droplet in OpenFOAM. Although the droplet is just under the action of gravity and it is in the air, but it tends to right or left depending on the max Courant number when it is falling . Can anybody help me to solve it?
Elham 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
Modelling falling solid sphere using interFoam VOF model eelcovv OpenFOAM Running, Solving & CFD 6 August 7, 2021 22:52
2D water droplet fall in InterFoam muhanad OpenFOAM Pre-Processing 3 May 3, 2019 04:48
Falling Droplet using InterFoam cosbergel OpenFOAM Running, Solving & CFD 5 May 16, 2018 06:21
droplet falling - VOF bohis FLUENT 1 July 10, 2013 05:28
sphere falling down droplet naderafshar FLUENT 1 December 24, 2011 11:30


All times are GMT -4. The time now is 17:59.