|
[Sponsors] |
April 23, 2023, 00:29 |
Two different fluids in one simulation
|
#1 |
New Member
Rollo
Join Date: Apr 2023
Posts: 2
Rep Power: 0 |
I'm new to CFD and have a slightly unusual CFD problem to solve. In essence I need to model water flowing over and around a pipe containing compressed air which has a small hole in it, so a stream of air is exiting the pipe and interacting with the water flowing over/around the pipe. (That's it in a very simplified nut shell anyway).
Is there a way to model this in openfoam? I'm not sure how to specify two different fluids and also how to have two fluids entering the simulation. Could I just specify that the interior of the pipe is a certain pressure and not have to define an incoming and outgoing flow? Thanks in advance. |
|
April 23, 2023, 04:49 |
|
#2 | |
Senior Member
Arjun
Join Date: Mar 2009
Location: Nurenberg, Germany
Posts: 1,285
Rep Power: 34 |
Quote:
Not sure about openfoam but its trivial in Wildkatze. |
||
April 23, 2023, 08:20 |
|
#3 |
Member
Join Date: May 2016
Posts: 40
Rep Power: 10 |
Not sure if I understood the problem you described correctly. But if you need to simulate air and water interactions, you'd have a multiphase problem (VOF) that you can solve using interFoam. In geometry you need to define two inlets. Inlet1 is water flow that you define velocity or flow rate boundary and inlet2 is defined at the hole as air velocity or flow rate. The outlet boundary is pressure outlet boundary. If the nature of the problem is time dependant you need to apply transient (interFoam) but if that can be said eventually reaches a steady state solution you can use interFoam-LTS.
|
|
April 23, 2023, 19:26 |
|
#4 | |
New Member
Rollo
Join Date: Apr 2023
Posts: 2
Rep Power: 0 |
Quote:
That's a great help. Thank you so much! |
||
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
CFG file Set Up | Nicola_Fontana | SU2 | 5 | November 16, 2021 13:48 |
Control simulation to apply different fields with chtMultiRegionFoam | jmdf | OpenFOAM Running, Solving & CFD | 0 | February 29, 2016 08:05 |
Problem during simulation of mixid fluids ( solver: buoyantBoussinesqSimpleFoam) | Cenzy | OpenFOAM Running, Solving & CFD | 1 | October 19, 2013 18:06 |
Simulation of mixing of two compressible fluids | shinde.gopal | OpenFOAM | 1 | September 7, 2010 10:37 |
Simulation of mixing of two compressible fluids | shinde.gopal | Main CFD Forum | 0 | December 10, 2009 05:08 |