|
[Sponsors] |
semi-periodic boundary conditions for channel flow |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
October 14, 2019, 15:30 |
semi-periodic boundary conditions for channel flow
|
#1 |
New Member
David
Join Date: Mar 2012
Posts: 17
Rep Power: 14 |
Hi,
I am trying to solve a channel flow with leaks. I know the leak pressure (reference 0), and I know the pressure drop within the pipe channel. I want from CFD to get the pressure within the channel. Here a sketch ------------------------------------------- p_in . . . . . . . . . . . . . . . . . . . . . p_out = p_in-5 -----| |------------------------------------ . p = 0 How can I set something like this in openfoam? What would you advice me? + mappedField? This is not working per se, maybe with some dict... I am using snappyHexMesh for meshing (I need to, there are more objects in the flowfield, but the channel is straight and nearestPatchFace should work I guess) outlet { type mappedField; sampleMode nearestPatchFace; samplePatch inlet; field p; setAverage no; average 0; offset (0 0 0); value uniform 0; } I also used nearestPatchFaceAMI, but I get error. If it worked I would have needed some short of setAverage no; average $inlet-5; // I guess you understand this pseudo code + some short of cyclic? + Any better idea? Thank you! |
|
Tags |
cyclic bcs, mapfields |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Boundary conditions for k and epsilon on a periodic channel flow | Maveryck | OpenFOAM | 2 | August 26, 2019 06:08 |
Centrifugal fan-reverse flow in outlet lesds to a mass in flow field | xiexing | CFX | 3 | March 29, 2017 11:00 |
Waterwheel shaped turbine inside a pipe simulation problem | mshahed91 | CFX | 3 | January 10, 2015 12:19 |
Symmetry and Periodic boundary conditions | CFD_Fluent_User | FLUENT | 1 | October 16, 2014 03:18 |
Error finding variable "THERMX" | sunilpatil | CFX | 8 | April 26, 2013 08:00 |