CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Pre-Processing

OpenFOAM - Boundary conditions

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 21, 2014, 03:58
Default OpenFOAM - Boundary conditions
  #1
New Member
 
srirao
Join Date: May 2009
Posts: 6
Rep Power: 17
sri_fmlab is on a distinguished road
Hi,

Please help me in setting the appropriate boundary conditions in my simulation.

I am simulating a flow through a tank having one INLET and two OUTLETS. Water is entering the tank at 1m/s velocity and leaving the tank through OUTLET1 which is maintaining at 18000pascals. The pressure inside the tank is 2700pascals and it is maintained by air evacuation through OUTLET2. So pressure at OUTLET is 2700 pascals. The backflow is happening in my simulations because of pressure variation from out let to inlet. please see my attached boundary conditions.

My question is what kind of boundary condition for Alpha, p and u should i specify to develop a water column and make the flow out with out backflow.

Thanks in advance

regards
Sri
Attached Files
File Type: pdf DOMAIN.pdf (11.3 KB, 52 views)
File Type: txt alpha1.txt (1.5 KB, 9 views)
File Type: txt p_rgh.txt (1.9 KB, 15 views)
File Type: txt U.txt (1.6 KB, 22 views)
sri_fmlab is offline   Reply With Quote

Old   March 28, 2014, 17:01
Default
  #2
Member
 
sajad
Join Date: Aug 2013
Posts: 71
Rep Power: 13
seju is on a distinguished road
hi srirao
please change U BC follow this method and give me your results.
FoamFile
{
version 2.0;
format ascii;
class volVectorField;
location "0";
object U;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

dimensions [0 1 -1 0 0 0 0];

internalField uniform (0 0 0);

boundaryField
{
walls
{
type fixedValue;
value uniform (0 0 0);
}
inlet
{
type fixedValue;
value uniform (0 1 0);
}

outlet1
{
type inletOutlet; //fluxCorrectedVelocity;
value uniform (0 0 0);
inletValue uniform (0 0 0);
}

outlet2
{
type pressureInletOutletVelocity;
value uniform (0 0 0);
}
simmetry
{
type fixedValue;
value uniform (0 0 0);
}
wall1
{
type fixedValue;
value uniform (0 0 0);
}
wall2
{
type fixedValue;
value uniform (0 0 0);
}
}
seju 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
How the boundary conditions are called in the OpenFOAM solvers? openfoammaofnepo OpenFOAM Programming & Development 15 February 11, 2020 05:28
non reflective boundary conditions for incompresible flow Pascal_doran OpenFOAM Programming & Development 16 August 25, 2015 06:35
inlet boundary conditions newOFuser OpenFOAM 1 January 10, 2013 09:08
Boundary conditions for 2D Navie-Stockes simulation L1011 OpenFOAM 5 December 13, 2012 09:17
[Commercial meshers] exporting boundary conditions with pointwise -> openFoam ebah6 OpenFOAM Meshing & Mesh Conversion 2 September 16, 2012 17:57


All times are GMT -4. The time now is 16:07.