CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Running, Solving & CFD

Scalar BC's for flowRateOutletVelocity

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 8, 2018, 22:20
Default Scalar BC's for flowRateOutletVelocity
  #1
Member
 
Bill Lasher
Join Date: Jun 2009
Posts: 36
Rep Power: 16
lasherwc is on a distinguished road
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?
lasherwc is offline   Reply With Quote

Old   May 30, 2018, 10:41
Default Problem solved
  #2
Member
 
Bill Lasher
Join Date: Jun 2009
Posts: 36
Rep Power: 16
lasherwc is on a distinguished road
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
lasherwc is offline   Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


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


All times are GMT -4. The time now is 05:55.