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

Water fountain from a vertical pipe inside another water body with lesser density

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 25, 2020, 12:10
Question Water fountain from a vertical pipe inside another water body with lesser density
  #1
New Member
 
Ahsan
Join Date: Nov 2019
Location: Bologna, Italy
Posts: 27
Rep Power: 6
mahsankhan is on a distinguished road
Hello Fellows,

I am doing a master thesis in Italy and I need to simulate a case in OpenFOAM.
The case is of a vertical pipe nozzle (that ejects water like an underwater volcano, just to explain), while the outlet of the nozzle pipe is actually immersed inside another water body of lesser density. I am not able to find any tutorial that can simulate this condition.
I guess it is a multiphase problem (since there are two fluids of different densities). I am new to OpenFOAM, although I know how to create blockMesh and also familiar with snappyHexMesh. I am planning to create STL file for the pipe and import it into the blockMesh using snappyHexMesh.

But how can I simulate this particular condition? How can I describe one end of the pipe as inlet and other as the outlet while the outlet part is 20 cm under the water? Please help me
Thank you, people!
mahsankhan is offline   Reply With Quote

Old   March 26, 2020, 04:14
Default
  #2
Senior Member
 
Alexey Matveichev
Join Date: Aug 2011
Location: Nancy, France
Posts: 1,938
Rep Power: 38
alexeym has a spectacular aura aboutalexeym has a spectacular aura about
Send a message via Skype™ to alexeym
Hi,

You just need inlet patch (which is created by snappyHexMesh). Outlet of the tube is inside simulation domain, so there is no boundary conditions there.

You can adapt almost any interFoam tutorial to your case.
alexeym is offline   Reply With Quote

Old   March 29, 2020, 12:33
Default
  #3
New Member
 
Ahsan
Join Date: Nov 2019
Location: Bologna, Italy
Posts: 27
Rep Power: 6
mahsankhan is on a distinguished road
Quote:
Originally Posted by alexeym View Post
Hi,

You just need inlet patch (which is created by snappyHexMesh). Outlet of the tube is inside simulation domain, so there is no boundary conditions there.

You can adapt almost any interFoam tutorial to your case.
Thank you so much alexeym for the response. I have made the geometry(inlet, pipe, tank, everything), I even used setFieldsDict to set my fluids in the domain.
But when the simulation goes on, I see that the velocity U is coming out from the pipe into the tank, but the fluids are not mixing at all, I mean I don't understand which fluid's velocity is this.

I am using interMixingFoam in 3D. The inlet is at the bottom center of the tank.
I have uploaded my simulation photos, showing heavy and light water at 0.125 seconds, as well as velocity at times 0, 0.025 and 0.125 seconds.
Attached Images
File Type: png 1.png (13.6 KB, 22 views)
File Type: png 2.png (10.5 KB, 17 views)
File Type: png 3.png (16.3 KB, 16 views)
File Type: png 4.png (20.5 KB, 17 views)
File Type: png 5.png (22.4 KB, 15 views)
mahsankhan is offline   Reply With Quote

Old   March 29, 2020, 12:42
Question
  #4
New Member
 
Ahsan
Join Date: Nov 2019
Location: Bologna, Italy
Posts: 27
Rep Power: 6
mahsankhan is on a distinguished road
My heavy water is not coming out of the pipe into the tank to be mixed with the lighter water
mahsankhan is offline   Reply With Quote

Old   March 29, 2020, 16:52
Default
  #5
Senior Member
 
Alexey Matveichev
Join Date: Aug 2011
Location: Nancy, France
Posts: 1,938
Rep Power: 38
alexeym has a spectacular aura aboutalexeym has a spectacular aura about
Send a message via Skype™ to alexeym
Hi,

From attached figures it is difficult to say if your geometry/mesh/boundary conditions are correct. Could you post mesh coloured by patch IDs? Could you post checkMesh output?
alexeym is offline   Reply With Quote

Old   April 4, 2020, 07:26
Default
  #6
New Member
 
Ahsan
Join Date: Nov 2019
Location: Bologna, Italy
Posts: 27
Rep Power: 6
mahsankhan is on a distinguished road
Quote:
Originally Posted by alexeym View Post
Hi,

From attached figures it is difficult to say if your geometry/mesh/boundary conditions are correct. Could you post mesh coloured by patch IDs? Could you post checkMesh output?
Dear Alexeym, Thank you so much for your help. As you suggested about the inlet condition, I tried to work on that. The problem was that I was using a wrong velocity condition for my inlet.

I used flowRateInletVelocity now and everything works fine.
mahsankhan is offline   Reply With Quote

Reply

Tags
fountain, nozzle, pipe, underwater pipe


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
Pressure driven flow in vertical pipe Hale OpenFOAM Pre-Processing 6 September 13, 2013 08:16
[DesignModeler] How to create smaller pipe inside bigger pipe? Munggang ANSYS Meshing & Geometry 2 March 7, 2012 14:01
My Revised "Time Vs Energy" Article For Review Abhi Main CFD Forum 2 July 9, 2002 09:08
Terrible Mistake In Fluid Dynamics History Abhi Main CFD Forum 12 July 8, 2002 09:11
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 02:08.