|
[Sponsors] |
March 15, 2011, 00:56 |
how to define user variables
|
#1 |
New Member
Wendy
Join Date: Mar 2011
Posts: 4
Rep Power: 15 |
Hello everyone,
I want to write a user variable in CFX-pre for shear stress since there is only shear strain rate available in CFX-post: Shear stress = shear strain rate x dynamic viscocity Is there an example for that? Thanks, Wendy |
|
March 15, 2011, 04:22 |
user variabels
|
#2 |
New Member
Matthias Finke
Join Date: Mar 2011
Posts: 12
Rep Power: 15 |
Hi Wendy,
define your expression in CFX-Pre, after solving read in the result file in CFX-Post and define there a user scalar variable which references the expression defined in Pre. best regards Matthias |
|
June 20, 2012, 15:40 |
|
#3 |
New Member
soni
Join Date: Oct 2011
Posts: 25
Rep Power: 14 |
Hi matthias,
I would happy if you could tel me how we can make user defined variables in CFX post. I would really appreciate. Thanks |
|
June 22, 2012, 04:32 |
user variable
|
#4 |
New Member
Matthias Finke
Join Date: Mar 2011
Posts: 12
Rep Power: 15 |
Dear soni_sth,
for example if you are analyzing a pipe flow, you could add scalar or vector user definied variables into CFX-Post. For example i added "dynamic pressure" - select "Variables" tab in CFX - Post - right click into "Variables" white window - select new or edit in command - the data you want to use must be there, i mean a variable from solution or an expression defined in CFX - Pre in the command edior your additional variable "dynamic pressure" should look like this: USER SCALAR VARIABLE: dynamic pressure Boundary Values = Conservative Calculate Global Range = On Expression = 0.5*Fluid.Density*(Fluid.Velocity)^2 Recipe = Expression Variable to Copy = Pressure Variable to Gradient = Pressure END hope this is what your are looking for, best regards MAtthias |
|
June 22, 2012, 11:34 |
|
#5 |
New Member
soni
Join Date: Oct 2011
Posts: 25
Rep Power: 14 |
Thanks a lot Matthias.
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
UDF FOR UNSTEADY TIME STEP | mayur | FLUENT | 3 | August 9, 2006 10:19 |
Add user define monitor in CFX Solver | Zaidun | CFX | 0 | April 17, 2006 14:57 |
user SUBROUTINE for additional variables | Tuks | CFX | 0 | November 8, 2005 02:09 |
CFX 5.5 | Roued | CFX | 1 | October 2, 2001 16:49 |
UDFs for Scalar Eqn - Fluid/Solid HT | Greg Perkins | FLUENT | 0 | October 11, 2000 03:43 |