|
[Sponsors] |
OpenFoam_compressibleInterFoam solver_calculation void fraction in the Outlet |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
August 20, 2014, 12:18 |
OpenFoam_compressibleInterFoam solver_calculation void fraction in the Outlet
|
#1 |
New Member
sahar rafiei
Join Date: Aug 2014
Posts: 4
Rep Power: 11 |
Hello everyone
I use to compressibleInterFoam solver for two phase flow in horizontal channel. i want to calculate void fraction (alpha) in the Outlet, for this purpose, i add this formula in the controlDict : functions { alpha.wateroutlet { type patchExpression; patches ( outlet1 outlet2 ); verbose true; expression "alpha.water"; accumulations ( average ); } } the error is : - -> FOAM FATAL ERROR: Parser Error for driver PatchValueExpressionDriver at "1.1-5" : "field alpha not existing or of wrong type" "alpha" ^^^^^ - - | can you help me? Thank you |
|
April 5, 2017, 09:04 |
|
#2 |
New Member
Ekaterina
Join Date: Feb 2012
Posts: 1
Rep Power: 0 |
To fix the error add the following
aliases { alphaWater alpha.water; } expression "alphaWater"; |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Compressible flow, no data at the outlet | mireis | FLUENT | 6 | September 3, 2015 02:10 |
OpenFoam_compressibleInterFoam solver_calculation void fraction in the Outlet | sahar_rf | OpenFOAM Running, Solving & CFD | 0 | August 20, 2014 12:15 |
Mass fraction and volume fraction | eric weddle | CFX | 0 | September 26, 2011 05:02 |
void fraction!!! | deniz goker | Main CFD Forum | 5 | May 20, 2011 11:06 |
UFD to report mass fraction at the outlet cells | Laura | FLUENT | 4 | June 10, 2005 03:42 |