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

Setting boundary conditions for internal faces

Register Blogs Community New Posts Updated Threads Search

 
 
LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old   November 3, 2016, 09:46
Default Setting boundary conditions for internal faces
  #1
New Member
 
AW
Join Date: Mar 2016
Posts: 17
Rep Power: 10
Andy_Wang is on a distinguished road
Hello Foamers,

ich got a problem with the boundary condition settings. First of all, i use OpenFoam 4.0.1 und the solver is interFoam. I have used blockMesh to create a back ground mesh und used topoSet and createBaffles to create an internal face, which will be defined as patch. Now i want water comes from this patch with defined velocity or flowrate. I tried to use the following BCs, but no success. I attached a pic so that you can understand better. Could anyone please hlep? I've worked on it for long time and it bothers me very much.
Code:
alpha.water: 
type      inletOutlet;
inletValue 1;
value       1;

p_rgh:
type    totalPressure;
p0      1e5;

U
type fixedValue;
value uniform(0 0 -5e-4);
Attached Images
File Type: png internal patch.png (69.2 KB, 87 views)
Andy_Wang is offline   Reply With Quote

 


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
Wind turbine simulation Saturn CFX 58 July 3, 2020 01:13
SigFpe when running ANY application in parallel Pj. OpenFOAM Running, Solving & CFD 3 April 23, 2015 14:53
foam-extend_3.1 decompose and pyfoam warning shipman OpenFOAM 3 July 24, 2014 08:14
Error finding variable "THERMX" sunilpatil CFX 8 April 26, 2013 07:00
[snappyHexMesh] snappyHexMesh won't work - zeros everywhere! sc298 OpenFOAM Meshing & Mesh Conversion 2 March 27, 2011 21:11


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