|
[Sponsors] |
May 8, 2018, 22:20 |
Scalar BC's for flowRateOutletVelocity
|
#1 |
Member
Bill Lasher
Join Date: Jun 2009
Posts: 36
Rep Power: 16 |
I have a tank with a drain at the bottom and want to specify the drain flow rate. I think I should use flowRateOutletVelocity for U, but I'm unsure what to use for scalars. I think zero gradient for T, k and epsilon but don't know what to do with pressure. Any suggestions?
|
|
May 30, 2018, 10:41 |
Problem solved
|
#2 |
Member
Bill Lasher
Join Date: Jun 2009
Posts: 36
Rep Power: 16 |
I was able to solve this problem so I thought I would post the solution. This is for twoPhaseEulerFoam.
For U.water I am using volumetricFlowRate. For U.air I am using inletOulet (unknown flow rate of air, I'm solving for it). For p and p_rgh I'm using fixedFluxPressure, which lets p go to the value needed to get the desired flow rate. For the rest of the scalars I'm using inletOutlet. It seems to work fine. Bill |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
problem during mpi in server: expected Scalar, found on line 0 the word 'nan' | muth | OpenFOAM Running, Solving & CFD | 3 | August 27, 2018 04:18 |
Division by zero exception - loop over scalarField | Pat84 | OpenFOAM Programming & Development | 6 | February 18, 2017 05:57 |
Issue symmetryPlane 2.5d extruded airfoil simulation | 281419 | OpenFOAM Running, Solving & CFD | 5 | November 28, 2015 13:09 |
Diverging solution in transonicMRFDyMFoam | tsalter | OpenFOAM Running, Solving & CFD | 30 | July 7, 2014 06:20 |
compressible flow in turbocharger | riesotto | OpenFOAM | 50 | May 26, 2014 01:47 |