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

Suitable boundary condition and interfoam computation

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 12, 2015, 12:26
Default Suitable boundary condition and interfoam computation
  #1
Senior Member
 
Saideep
Join Date: Apr 2015
Location: INDIA
Posts: 203
Rep Power: 11
Saideep is on a distinguished road
Hi guys;

I am stuck with a peculiar problem and would appreciate any sort of advice in this matter.

I am using interfoam solver for the following setup.

I have 4 injection channels {alternate injections of wetting(w), non-wetting(nw) phases} as shown in the figure.
problem1.jpg

An ideal bc at the inlet would be is to fix the velocity and compute the pressure at the ends.

But due to the shape of the domain i am not able to get an exact phase pressure at the inlet and outlet which i need.

So, an alternative is to go for fixing the pressures at the inlets and outlets.
I define the inlet velocity bc as pressureInletOuletVelocity and oulet bc for velocity as zeroGradient.

Interfoam works as expected when the pressure of w phase is less than the nw phase.
But when i try to equal or increase the pressure of the wetting phase the entire flow is reversed in the domain as can be seen from the output.

/*-ve sign here at inlet means flow into the domain*/
Expression totalInflow_0 : sum=-1.92084e-13
Expression totalInflow_1 : sum=4.19385e-13
Expression totalInflow_2 : sum=-1.78747e-13
Expression totalInflow_3 : sum=-1.6061e-14

/*+ve sign at outlet means flow out of the domain.*/
Expression totalOutflow_0 : sum=-6.52957e-15
Expression totalOutflow_1 : sum=-1.24967e-14
Expression totalOutflow_2 : sum=-7.9281e-15
Expression totalOutflow_3 : sum=-5.53935e-15

Max(alpha1) = 176.701

All the variables calculated from thereon are wrong interms of alpha> 4000, p ranging from e-7 to -e-5 Pa and so on.

Is there anything fishy about the bcs that i am using or is there a better bc for the case that i mentoined or a better solution to solve this kind of a case?

Thanks;
Saideep
Saideep 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
interFoam and cyclic boundary condition issue General_Gee OpenFOAM Running, Solving & CFD 17 October 8, 2018 09:33
Outlet boundary condition for wave flume with interFoam solver Arnoldinho OpenFOAM 9 July 10, 2018 05:15
Outlet pressure boundary condition in interFoam arnau1985 OpenFOAM Running, Solving & CFD 22 May 13, 2018 16:01
Boundary Condition for an Open Channel in InterFoam CFD-Cat OpenFOAM Pre-Processing 6 January 20, 2014 09:18
Outlet boundary condition for pd in InterFoam gopala OpenFOAM Running, Solving & CFD 0 March 19, 2008 09:26


All times are GMT -4. The time now is 13:29.