|
[Sponsors] |
January 15, 2018, 13:25 |
CEL for Void Fraction gradient
|
#1 |
Member
cfxtwophaseflow
Join Date: Aug 2017
Posts: 46
Rep Power: 8 |
Hi
I want to calculate the components of the gradient(void fraction) with CEL expression. I defined a variable eps = air.vf then I defined var1 = eps.Gradient X var2 = eps.Gradient Y var3 = eps.Gradient Z I get this error : Bad expression value 'Cvm2' detected in parameter 'Virtual Mass Coefficient' in object '/FLOW:Flow Analysis 1/DOMAINefault Domain/FLUID PAIR:air | water/MOMENTUM TRANSFER/VIRTUAL MASS FORCE'. CEL error: The following unrecognised name was referenced: eps.Gradient X, eps.Gradient Y, eps.Gradient Z. I don't know why I can't use the gradient operator with eps and is there another way to do it? |
|
January 15, 2018, 13:31 |
|
#2 |
Member
cfxtwophaseflow
Join Date: Aug 2017
Posts: 46
Rep Power: 8 |
I just solved this problem. I used air.vf.Gradient X instead of eps.Gradient X
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Wrong flow in ratating domain problem | Sanyo | CFX | 17 | August 15, 2015 06:20 |
Zero Gradient for Volume fraction at inlet | Kushagra | CFX | 1 | January 1, 2014 05:58 |
The gradient of void fraction in UDF | summer | FLUENT | 2 | May 20, 2011 03:34 |
interDyMFoam - change in volume fraction | gopala | OpenFOAM Running, Solving & CFD | 0 | April 27, 2009 10:46 |
On the damBreak4phaseFine cases | paean | OpenFOAM Running, Solving & CFD | 0 | November 14, 2008 21:14 |