CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Pre-Processing

OpenFoam_compressibleInterFoam solver_calculation void fraction in the Outlet

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 20, 2014, 12:21
Default OpenFoam_compressibleInterFoam solver_calculation void fraction in the Outlet
  #1
New Member
 
sahar rafiei
Join Date: Aug 2014
Posts: 4
Rep Power: 11
sahar_rf is on a distinguished road
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
sahar_rf 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
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
VOF Outlet boundary condition in cfd - ace JM Main CFD Forum 0 December 15, 2006 08:07
UFD to report mass fraction at the outlet cells Laura FLUENT 4 June 10, 2005 03:42


All times are GMT -4. The time now is 13:10.