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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
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

Old   November 20, 2016, 14:44
Default
  #2
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,975
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
Quick answer: I've received the PM you sent me, but you aren't giving us enough information on how exactly you created the baffles.

My guess is that you created a baffle with the same name on both sides of the baffle. Here: https://github.com/OpenFOAM/OpenFOAM...ateBafflesDict - you can find two examples for creating baffles, where the second one shows how to create with two separate name, one for each side.

If you still have a problem with this, please create a simple test case, preferably based on one of OpenFOAM's tutorials, so that we can more easily reproduce the same problem and try to fix it.


Beyond this, if you haven't already, please read the thread http://www.cfd-online.com/Forums/ope...-get-help.html
__________________
wyldckat 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
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 22:57.