|
[Sponsors] |
Setting boundary conditions for internal faces |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
November 3, 2016, 09:46 |
Setting boundary conditions for internal faces
|
#1 |
New Member
AW
Join Date: Mar 2016
Posts: 17
Rep Power: 10 |
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); |
|
November 20, 2016, 14:44 |
|
#2 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,975
Blog Entries: 45
Rep Power: 128 |
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
__________________
|
|
|
|
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 |