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

CEL expression

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 12, 2007, 06:12
Default CEL expression
  #1
Selim
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

  Reply With Quote

Old   June 12, 2007, 10:08
Default Re: CEL expression
  #2
opaque
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

  Reply With Quote

Old   June 13, 2007, 11:26
Default Re: CEL expression
  #3
Selim
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
  Reply With Quote

Old   June 13, 2007, 12:14
Default Re: CEL expression
  #4
opaque
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

  Reply With Quote

Old   June 14, 2007, 08:27
Default Re: CEL expression
  #5
Selim
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

  Reply With Quote

Old   June 14, 2007, 10:03
Default Re: CEL expression
  #6
opaque
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

  Reply With Quote

Old   June 14, 2007, 11:51
Default Re: CEL expression
  #7
Sohag
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
  Reply With Quote

Reply


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
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


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