|
[Sponsors] |
Gradient of a variable calculation in CFX PRE |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
September 11, 2017, 05:42 |
Gradient of a variable calculation in CFX PRE
|
#1 |
New Member
Luigi Gurreri
Join Date: Jul 2012
Posts: 18
Rep Power: 14 |
I need to calculate the gradient of an additional variable and insert it in another equation as source term.
Is there a simple way to calculate the gradient in the CFX PRE, e.g. using CEL expressions? |
|
September 14, 2017, 16:10 |
|
#2 |
Senior Member
Join Date: Jun 2009
Posts: 1,880
Rep Power: 33 |
For example you have a created an additional variable named MyAV, you can then access its spatial gradient components as MyAV.Gradient X, MyAV.Gradient Y, MyAV.Gradient Z as needed in your CEL expressions
Hope the above helps, |
|
September 15, 2017, 05:04 |
|
#3 |
New Member
Luigi Gurreri
Join Date: Jul 2012
Posts: 18
Rep Power: 14 |
Thank you. I found that the CEL expression MyAv.Gradient_x works!
|
|
Tags |
cel expression, derivative, gradient |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
overwrite a variable in CFX pre | alirezame | CFX | 4 | July 20, 2023 05:22 |
CEL expression in CFX pre | Jane92 | Main CFD Forum | 1 | June 3, 2016 03:48 |
emag beta feature: charge density | charlotte | CFX | 4 | March 22, 2011 10:14 |
Assign new variable in CFX Post | Ben | CFX | 1 | August 25, 2008 15:59 |
User Defined Variable in CFX PRE | Hamidur Rahman | CFX | 2 | September 21, 2007 15:18 |