CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > ANSYS > CFX

CEL for Void Fraction gradient

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 15, 2018, 14:25
Default CEL for Void Fraction gradient
  #1
Member
 
cfxtwophaseflow
Join Date: Aug 2017
Posts: 46
Rep Power: 6
sarrazs is on a distinguished road
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?
sarrazs is offline   Reply With Quote

Old   January 15, 2018, 14:31
Default
  #2
Member
 
cfxtwophaseflow
Join Date: Aug 2017
Posts: 46
Rep Power: 6
sarrazs is on a distinguished road
I just solved this problem. I used air.vf.Gradient X instead of eps.Gradient X
sarrazs is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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
Wrong flow in ratating domain problem Sanyo CFX 17 August 15, 2015 07:20
Zero Gradient for Volume fraction at inlet Kushagra CFX 1 January 1, 2014 06:58
The gradient of void fraction in UDF summer FLUENT 2 May 20, 2011 04:34
interDyMFoam - change in volume fraction gopala OpenFOAM Running, Solving & CFD 0 April 27, 2009 11:46
On the damBreak4phaseFine cases paean OpenFOAM Running, Solving & CFD 0 November 14, 2008 22:14


All times are GMT -4. The time now is 02:38.