|
[Sponsors] |
June 12, 2007, 06:12 |
CEL expression
|
#1 |
Guest
Posts: n/a
|
Hallo,
I have the option Velocity u.Gradient x in CFX 5 ,fine. But I need also gradient of this expression? How can I do that? thnks Selim |
|
June 12, 2007, 10:08 |
Re: CEL expression
|
#2 |
Guest
Posts: n/a
|
Dear Selim,
Would you mind sharing your need for a second derivative of velocity? Perhaps there are other alternatives.. The gradient of the gradient of a vector is a third order tensor, that is not available via CEL. Opaque |
|
June 13, 2007, 11:26 |
Re: CEL expression
|
#3 |
Guest
Posts: n/a
|
Hi opaque,
Actually I need the gradient of a scalar. Temprature,x-component of velocity etc. Is there a way to get from CFX post? Thnks, SElim |
|
June 13, 2007, 12:14 |
Re: CEL expression
|
#4 |
Guest
Posts: n/a
|
Dear Selim,
Check in the Variables tab for CFX-Post. If the <variable of interest>.Gradient <X/Y/Z Component> is not already listed, it is not available at all. Gradients are usually written for variables that are used for the High Resolution/Specified Blend Factor advection schemes..Otherwise, they are not written to the results file, and consequently unavailable in CFX-Post.. You could create an Vector Algebraic Additional Variable in CFX-Pre, and set the values to the gradient components you need.. Then, this AV will be written to the results file. ADDITIONAL VARIABLE: MyAvForTempGrad Option = Vector Algebraic Equation Vector xValue = Temperature.Gradient X Vector yValue = Temperature.Gradient Y Vector zValue = Temperature.Gradient Z END The above should work in ANSYS CFX 11.0, in 10.0 you must use UserFortran to access the gradients.. Hope it helps, Opaque |
|
June 14, 2007, 08:27 |
Re: CEL expression
|
#5 |
Guest
Posts: n/a
|
Thanks in advance,
Isnt there anyway to do it with Post? Not so easy for me to do the calculations from the begining Regards, Selim |
|
June 14, 2007, 10:03 |
Re: CEL expression
|
#6 |
Guest
Posts: n/a
|
Dear Selim,
If your case is steady state, you only need to restart the solver for 1 iteration.. For the transient case, do you need the gradient at all timesteps, or only at the last one? For the latter, just run an additional time step. Hope it helps, Opaque |
|
June 14, 2007, 11:51 |
Re: CEL expression
|
#7 |
Guest
Posts: n/a
|
Sorry to distrub both of you. I also want to wite a velocity gradient e.g at the wall velocity u=(delu/deln), n is the normal inword to the wall. How I can write it using CEL expressions in CFX-10.I would be very grateful to you if you give me any informations.Please help me. Sohag
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
CEL expression | vmlxb6 | CFX | 1 | March 18, 2011 07:39 |
How to install CGNS under windows xp? | lzgwhy | Main CFD Forum | 1 | January 11, 2011 19:44 |
CGNS lib and Fortran compiler | manaliac | Main CFD Forum | 2 | November 29, 2010 07:25 |
Help needed for writing CEL expression | kmgraju | CFX | 5 | September 20, 2010 19:30 |
Lift, Drag Vs time chart,calculations | Jamesd69climber | CFX | 8 | February 17, 2005 18:23 |