|
[Sponsors] |
interFoam: type flowRateInletVelocity does not return the expected results |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
March 29, 2022, 01:33 |
interFoam: type flowRateInletVelocity does not return the expected results
|
#1 |
New Member
William
Join Date: Jan 2022
Posts: 4
Rep Power: 4 |
Hi everyone, to validate the use of flowRateInletVelocity type, I have a cubic container with a side of 100m, which receives water at 500m3/s, considering the volume of the container (100^3=1000000m3), it must be filled in 2000 seconds, my U and blockMeshDict dictionaries are as follows.
U Code:
FoamFile { version 2.0; format ascii; arch "LSB;label=32;scalar=64"; class volVectorField; location "0"; object U; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // dimensions [0 1 -1 0 0 0 0]; internalField uniform (1 0 0); boundaryField { inlet { type flowRateInletVelocity; volumetricFlowRate constant 500; } atmosphere { type pressureInletOutletVelocity; value uniform (0 0 0); } walls { type fixedValue; value uniform (0 0 0); } } blockMeshDict Code:
FoamFile { version 2.0; format ascii; class dictionary; object blockMeshDict; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // scale 1; vertices ( (0 0 0) (0 35 0) (0 65 0) (0 100 0) (100 0 0) (100 35 0) (100 65 0) (100 100 0) (0 0 100) (0 35 100) (0 65 100) (0 100 100) (100 0 100) (100 35 100) (100 65 100) (100 100 100) (0 0 103.5) (0 35 103.5) (0 65 103.5) (0 100 103.5) (100 0 103.5) (100 35 103.5) (100 65 103.5) (100 100 103.5) ); blocks ( hex (0 1 9 8 4 5 13 12) (11 33 33) simpleGrading (1 1 1) hex (1 2 10 9 5 6 14 13) (11 33 33) simpleGrading (1 1 1) hex (2 3 11 10 6 7 15 14) (11 33 33) simpleGrading (1 1 1) hex (8 9 17 16 12 13 21 20) (11 4 33) simpleGrading (1 1 1) hex (9 10 18 17 13 14 22 21) (11 4 33) simpleGrading (1 1 1) hex (10 11 19 18 14 15 23 22) (11 4 33) simpleGrading (1 1 1) ); edges ( ); boundary ( inlet { type patch; faces ( (9 17 18 10) ); } walls { type wall; faces ( (0 8 9 1) (1 9 10 2) (2 10 11 3) (3 11 15 7) (7 15 14 6) (6 14 13 5) (5 13 12 4) (3 7 6 2) (2 6 5 1) (1 5 4 0) (0 4 12 8) (8 16 17 9) (10 18 19 11) (11 19 23 15) (15 23 22 14) (14 22 21 13) (13 21 20 12) (8 12 20 16) ); } atmosphere { type patch; faces ( (19 18 22 23) (18 17 21 22) (17 16 20 21) ); } ); Last edited by 4lrdyD; March 31, 2022 at 14:53. Reason: small corrections |
|
April 4, 2022, 09:12 |
|
#2 |
New Member
Join Date: Feb 2016
Posts: 23
Rep Power: 10 |
What is the flow rate that you're seeing in your model? Have you also tried setting up the BC as it is shown in the documentation?
https://www.openfoam.com/documentati...ctorField.html |
|
April 4, 2022, 23:07 |
|
#3 | |
New Member
William
Join Date: Jan 2022
Posts: 4
Rep Power: 4 |
Quote:
Regarding BC, I changed the inlet BC to: Code:
inlet { type flowRateInletVelocity; volumetricFlowRate constant 500; extrapolateProfile yes; value uniform (0 0 0); } Code:
extrapolateProfile yes; |
||
Tags |
flowrateinletvelocity, interfoam, volumetricflowrate |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
FOAM FATAL ERROR: Maximum number of iterations exceeded: 100 | antoniomollo | OpenFOAM Running, Solving & CFD | 5 | March 2, 2023 07:13 |
The udf.h headers are unable to open- in VISUAL STUDIO 13 | sanjeetlimbu | Fluent UDF and Scheme Programming | 4 | May 2, 2016 06:38 |
Mesquite - Adaptive mesh refinement / coarsening? | philippose | OpenFOAM Running, Solving & CFD | 94 | January 27, 2016 10:40 |
Floating point exception error | lpz_michele | OpenFOAM Running, Solving & CFD | 53 | October 19, 2015 03:50 |
Compiling dynamicTopoFvMesh for OpenFOAM 2.1.x | Saxwax | OpenFOAM Installation | 25 | November 29, 2013 06:34 |