|
[Sponsors] |
September 4, 2015, 14:22 |
T-junction multiphase
|
#1 |
New Member
Alberta
Join Date: Dec 2014
Posts: 2
Rep Power: 0 |
Hello everybody,
I need your help I am trying to simulate two-phase flow in T-junction channel with two inlets; one for oil and the other for water. I also have one outlet. I tried interFoam as well as multiphaseEulerFoam but the problem was that water enters through the two inlet. How can I make Openfoam simulate two different phases at the inlet ? Thanks |
|
September 5, 2015, 06:33 |
|
#2 |
Senior Member
Saideep
Join Date: Apr 2015
Location: INDIA
Posts: 203
Rep Power: 12 |
hi;
So, i was workin over T-junctions for some time. If you need to have two different conditions for the inlet boundary or so you can just divide the entry faces into two different blocks so that one is independent from the other. however you can also use several external utilities like "swak4Foam" to set these typical boundary conditions but i guess splitting face into 2 different blocks is easier and straight forward. hope this helps; Saideep |
|
September 10, 2015, 14:05 |
|
#3 |
New Member
Alberta
Join Date: Dec 2014
Posts: 2
Rep Power: 0 |
hi
First of all thank you for your replay. Actually, I using gmsh to create a mesh and I have inletOil and Inletwater what I mean I used two different inlets conditions not only because they are not the same phase but also because I have a velocity in the x-direction and the other in y-direction. |
|
September 10, 2015, 14:37 |
|
#4 |
Senior Member
Saideep
Join Date: Apr 2015
Location: INDIA
Posts: 203
Rep Power: 12 |
Hi,
I am not familiar with gmesh. But with blockMesh you can still do that. Divide your inlet into two faces ans specify the velocities at the inlet. For example: inlet1 faces{0 1 2 3}, inlet2 faces {4 5 6 7}; inlet1 { type fixedValue; value uniform (x 0 0); } inlet2 { type fixedValue; value uniform (0 y 0); } |
|
September 14, 2015, 04:29 |
|
#5 |
New Member
Dominik Schmidt
Join Date: Mar 2014
Posts: 11
Rep Power: 12 |
As far as I understood, you don't need to split the inlets, cause you want to use one inlet only for water and the other one just for oil.
For that purpose, you control the phase fractions at boundaries with the "alpha"-files. In interFoam you only have one alpha-file an switch between the phases with alpha 1/0. https://github.com/OpenFOAM/OpenFOAM...apillaryRise/0 e.g.: Code:
inlet1 { type fixedValue; value uniform 0; } inlet2 { type fixedValue; value uniform 1; } In multiphaseEulerFoam each phase has its own alpha file. https://github.com/OpenFOAM/OpenFOAM...bubbleColumn/0 e.g. Code:
alpha.oil... inlet1 { type fixedValue; value uniform 0; } inlet2 { type fixedValue; value uniform 1; } alpha.water... inlet1 { type fixedValue; value uniform 1; } inlet2 { type fixedValue; value uniform 0; } Last edited by dschmidt; September 15, 2015 at 04:10. |
|
December 2, 2015, 03:50 |
|
#6 |
New Member
Sripadaraja
Join Date: Sep 2015
Posts: 23
Rep Power: 11 |
Hi Everyone,
I am New to OpenFoam. I want to perform the same kind of simulation which Alberta mentioned. I am not sure which mesh is suitable. I am getting the following error. Pls help. paramesh@HP-WS3:~/OpenFOAM/paramesh-3.0.0/run/tutorials/incompressible/icoFoam/TJunction_gmail$ blockMesh /*---------------------------------------------------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 3.0.0 | | \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ Build : 3.0.0-8b097f6d8dd9 Exec : blockMesh Date : Dec 02 2015 Time : 13:15:22 Host : "HP-WS3" PID : 5841 Case : /home/paramesh/OpenFOAM/paramesh-3.0.0/run/tutorials/incompressible/icoFoam/TJunction_gmail nProcs : 1 sigFpe : Enabling floating point exception trapping (FOAM_SIGFPE). fileModificationChecking : Monitoring run-time modified files using timeStampMaster allowSystemOperations : Allowing user-supplied system call operations // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // Create time --> FOAM Warning : From function dlOpen(const fileName&, const bool) in file POSIX.C at line 1179 dlopen error : libgroovyBC.so: cannot open shared object file: No such file or directory --> FOAM Warning : From function dlLibraryTable:pen(const fileName&, const bool) in file db/dynamicLibrary/dlLibraryTable/dlLibraryTable.C at line 99 could not load "libgroovyBC.so" --> FOAM Warning : From function dlOpen(const fileName&, const bool) in file POSIX.C at line 1179 dlopen error : libswakFunctionObjects.so: cannot open shared object file: No such file or directory --> FOAM Warning : From function dlLibraryTable:pen(const fileName&, const bool) in file db/dynamicLibrary/dlLibraryTable/dlLibraryTable.C at line 99 could not load "libswakFunctionObjects.so" --> FOAM FATAL ERROR: Cannot open mesh description file "/home/paramesh/OpenFOAM/paramesh-3.0.0/run/tutorials/incompressible/icoFoam/TJunction_gmail/system/blockMeshDict" From function blockMesh in file blockMeshApp.C at line 149. FOAM exiting -Sripadaraja |
|
Tags |
interfoam, multiphase flow, multiphaseeulerfoam, t-junction pipe |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Difference in flow distribution of single phase and multiphase analysis | shivasluzz | CFX | 0 | April 22, 2015 23:54 |
3D multiphase micro model: mixing effect of air and water at the T junction | ehsanfareed | FLUENT | 2 | March 22, 2015 23:29 |
[ICEM] Blocking strategy for sharp angle junction (Pipe) | Daniel_Khazaei | ANSYS Meshing & Geometry | 6 | February 19, 2015 12:31 |
Low Mach Number Compressible Multiphase Flows | DarrenC | CFX | 10 | May 26, 2014 09:52 |
Junction Box | Anil | CFX | 2 | June 27, 2006 11:18 |