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

suitable bc to prevent an inflow where there is outflow only.

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 20, 2015, 14:28
Smile suitable bc to prevent an inflow where there is outflow only.
  #1
Senior Member
 
Saideep
Join Date: Apr 2015
Location: INDIA
Posts: 203
Rep Power: 12
Saideep is on a distinguished road
Hi FOAMERS;

Before you go onto the weekend i have a question for you!!

I am simulating flow through micro channels {2P flow -> using interFOAM solver} and have a serious problem with boundary conditions.

I start with a very simple case having an inlet and outlet face. I keep injecting one phase and it flows through the outlet face. Seems to be quite simple to analyze but what bc do you use for U at the outlet?

I fixed the pressure at 0 at outlet and tried several U bcs {indirectly a zeroGradient bc with additional features} like zeroGradient, inletOutlet {inletValue = 0}, pressureInletOutletVelocity.

But what happens is that there is an inflow of one phase from the outlet and the inflow phase displaces it out. This is quite nonphysical i guess.

I read in some experimental papers they try to neglect the capillary end effects by taking a central region for analysis. Is this something related to that?

I am also not flexible with the field alpha as i have one flow inflow through inlet and mixed flow (zeroGradient) at the outlet face.

I tried the same with many shapes of micro channels but all have this sort of inflow from the outlets. If this is physical what is the reason if not what are the suitable bcs?

Thanks and a nice weekend;
Saideep
Saideep is offline   Reply With Quote

Old   November 20, 2015, 14:51
Default
  #2
New Member
 
Tiko
Join Date: Nov 2015
Location: Detroit, Michigan
Posts: 15
Rep Power: 10
mchehab2 is on a distinguished road
Hi saideep,

try to use
U:
outlet
{type inletOutlet;
inletValue uniform (0 0 0);
value ( 0 0 0);
}
how did you make the phase flows, would you show me the code?
mchehab2 is offline   Reply With Quote

Old   November 20, 2015, 14:53
Default
  #3
New Member
 
Tiko
Join Date: Nov 2015
Location: Detroit, Michigan
Posts: 15
Rep Power: 10
mchehab2 is on a distinguished road
i am doing multiphase example, when i use fixedvalue for velocities, the vectors dont move when simulating ( there is no flow), how can i make the vectors flow when simulating the model?
mchehab2 is offline   Reply With Quote

Old   November 20, 2015, 15:18
Default
  #4
Senior Member
 
Saideep
Join Date: Apr 2015
Location: INDIA
Posts: 203
Rep Power: 12
Saideep is on a distinguished road
hi,

i tried inletOutlet but i guess in order to maintain continuity it still breaks up the bc and injects the phase at the boundary face.
Also i read elsewhere it isnt a strict bc. There should be something more effecient than that i guess.

I guess your setFields data are incorrect. Can you notice your phases at 0 time step? Then applying your alpha, U, p_rgh are straight forward.

Saideep
Saideep is offline   Reply With Quote

Old   November 20, 2015, 16:01
Default
  #5
New Member
 
Tiko
Join Date: Nov 2015
Location: Detroit, Michigan
Posts: 15
Rep Power: 10
mchehab2 is on a distinguished road
where do i get the setfield data from?
mchehab2 is offline   Reply With Quote

Old   November 20, 2015, 16:20
Default
  #6
Senior Member
 
Saideep
Join Date: Apr 2015
Location: INDIA
Posts: 203
Rep Power: 12
Saideep is on a distinguished road
i guess you were too fast to experiment.

You find that in system folder. The aim of setFields is to specify the initial location of specific phase in your system.

For getting started try damBreak example from user manual. It gives you a basic idea of how interFoam works.

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
Setting the height of the stream in the free channel kevinmccartin CFX 12 October 13, 2022 21:43
potentialFoam doesnt start?! Sway OpenFOAM Running, Solving & CFD 0 July 2, 2015 07:48
DSMC errors at inflow and outflow boundary wenjie OpenFOAM 5 February 20, 2013 23:27
suitable turbulent (kOmegaSST)BC for inflow and outflow. immortality OpenFOAM Running, Solving & CFD 0 January 6, 2013 03:03
Correct location for inflow and outflow boundaries Varun CFX 1 May 23, 2008 03:43


All times are GMT -4. The time now is 21:58.