|
[Sponsors] |
Strange Hydrostatic Boundary Backflow with interFoam |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
November 15, 2016, 22:32 |
Strange Hydrostatic Boundary Backflow with interFoam
|
#1 |
Senior Member
Abe
Join Date: May 2016
Posts: 119
Rep Power: 10 |
Hello Foamers,
I am having a strange issue when using interFoam with a hydrostatic boundary condition. The general setting is that I have two plates with a narrow gap between them. A thick, laminar liquid is flowing into the gap under a constant head, hydrostatic boundary condition. So I am using the interFoam solver. The liquid that is displacing the air is orders of magnitude denser, so I just set the boundaries to zero pressure where the air is exiting the gap. flow.png shows the simulation after 40 seconds. backflow.png is the same, but with forward streamlines. You can clearly see that the section that is assigned the uniformDensityHydrostaticPressure condition has split itself between inflow and outflow. I can't figure this out, because the pressure there is greater than zero. Here are the boundary conditions for pgh (the "freeinlet" patch is located directly above the uniformDensityHydrostaticPressure patch): Code:
boundaryField { inlet { type uniformDensityHydrostaticPressure; rho 1263.9; pRefValue 0; pRefPoint (0 0 .16); value uniform 0; // optional initial value } freeinlet { type fixedValue; value uniform 0; } outlet { type fixedValue; value uniform 0; } wedgewalls { type fixedFluxPressure; } lid { type fixedValue; value uniform 0; } } Code:
boundaryField { inlet { type zeroGradient; } freeinlet { type zeroGradient; } outlet { type inletOutlet; inletValue uniform (0 0 0); value uniform (0 0 0); } wedgewalls { type fixedValue; value uniform (0 0 0); } lid { type slip; } } Code:
boundaryField { inlet { type inletOutlet; inletValue uniform 1; value uniform 0; } freeinlet { type inletOutlet; inletValue uniform 0; value uniform 0; } outlet { type inletOutlet; inletValue uniform 0; value uniform 0; } wedgewalls { type zeroGradient; } lid { type inletOutlet; inletValue uniform 0; value uniform 0; } defaultFaces { type empty; } } Thanks! |
|
Tags |
boundary conditions, hydrostatic pressure, interfoam |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Centrifugal fan | j0hnny | CFX | 13 | October 1, 2019 14:55 |
Domain Imbalance | HMR | CFX | 5 | October 10, 2016 06:57 |
Wrong flow in ratating domain problem | Sanyo | CFX | 17 | August 15, 2015 07:20 |
Error finding variable "THERMX" | sunilpatil | CFX | 8 | April 26, 2013 08:00 |
[Commercial meshers] Trimmed cell and embedded refinement mesh conversion issues | michele | OpenFOAM Meshing & Mesh Conversion | 2 | July 15, 2005 05:15 |