|
[Sponsors] |
Apply boundary condition on internal face (faceZones) |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
January 23, 2020, 13:47 |
Apply boundary condition on internal face (faceZones)
|
#1 |
New Member
Giannokostas Konstantinos
Join Date: Aug 2016
Posts: 6
Rep Power: 10 |
Hello,
I want to simulate a flow in straight 3D pipe using pressure driven flow. It means that I apply fixedValue p1 at the inlet patch (z=0) and fixedValue p2 at the outlet patch (z=L) while velocity is setting to zero gradient type for both inlet/outlet pathces. Everything is ok and the field is correct. Now I want to create a small region at the inlet of the pipe where the first face is the inlet patch (z=0) and the second is an internal face named intFace placed at z = L/3. I create this geometry from Salome and save the mesh in .unv. When I run ideasUnvToFoam it creates three pathces (inlet, outlet,wall) and one faceZones (intFace). Now I want to apply p1 at the inlet patch, p2 at the intFace and zero gradient at the outlet patch, while for velocity the boundary conditions are the same as before. How can I impose a fixedValue at an internal face ?? This is not working intFace { type fixedValue; value uniform p2; } Thank you |
|
January 24, 2020, 04:28 |
|
#2 |
Senior Member
anonymous
Join Date: Jan 2016
Posts: 416
Rep Power: 14 |
Hi!
You can't impose a boundary condition on an internal face. There is a strong reason why it is called BOUNDARY condition, and not internal condition. In the 0 directory you can't prescribe anything on a faceZone. But you can create a baffle from that faceZone. See the attached image (Sorry for the poor quality, I'm not an artist. ). The left is the initial mesh, where that red face is the faceZone. Then you can split it into two boundary faces as you can see on the right side. Of course the mesh won't distorted, i just draw it like this so you can see that there is 2 face now. And on these faces you can impose cyclic boundary conditions with pressure jump, internal wall, or anything you want. For that check the "createBaffles" utility. |
|
January 27, 2020, 04:23 |
|
#3 |
New Member
Giannokostas Konstantinos
Join Date: Aug 2016
Posts: 6
Rep Power: 10 |
Thank you very much for your reply. I will check it !!!
|
|
Tags |
boundary condition error, internal faces |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
how to set periodic boundary conditions | Ganesh | FLUENT | 15 | November 18, 2020 07:09 |
[blockMesh] Internal walls of zero thickness | anger | OpenFOAM Meshing & Mesh Conversion | 23 | February 6, 2020 19:25 |
My radial inflow turbine | Abo Anas | CFX | 27 | May 11, 2018 02:44 |
Question about adaptive timestepping | Guille1811 | CFX | 25 | November 12, 2017 18:38 |
snappyhexmesh remove blockmesh geometry | philipp1 | OpenFOAM Running, Solving & CFD | 2 | December 12, 2014 11:58 |