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

CFX Post - expressions / math. operations

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

Like Tree1Likes
  • 1 Post By Opaque

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 7, 2018, 16:38
Default CFX Post - expressions / math. operations
  #1
New Member
 
Join Date: May 2018
Posts: 1
Rep Power: 0
meister-hubert is on a distinguished road
Hi,

I need to calculate second derivatives in CFX Post.
I created an expression which works for something like \frac{\partial v_x}{\partial x} with
"Velocity u.Gradient X"

Basically I want to calculate something like \frac{\partial^2}{\partial x_i \partial x_j}u_i u_j

I tried different things like Velocity u.Gradient X.Gradient X, but even (Velocity u * Velocity v).Gradient X doesnt work. Also creating an expression for lets say "grad_x_v_x = Velocity u.Gradient X" and then creating a new expression "grad_x_v_x.Gradient X" doesn't work.

I am using version 18.2.

Can anyone help? Thank you guys so much!
meister-hubert is offline   Reply With Quote

Old   May 8, 2018, 15:21
Default
  #2
Senior Member
 
Join Date: Jun 2009
Posts: 1,803
Rep Power: 32
Opaque will become famous soon enough
Insert a User Defined variable, select scalar type.

Then, set equal to Velocity u.Gradient X

MyUGradX = Velocity u.Gradient X

Now, insert a new variable (any name)

Select Gradient, and choose you MyUGradX, press Apply

You should get MyUGradX.Gradient which represents

MyUGrad.Gradient X, MyUGrad.Gradient Y, MyUGrad.Gradient Z

Effectively, they should correspond to

d2u/dx2, d2u/dydx, d2u/dzdx
aero_head likes this.
Opaque is offline   Reply With Quote

Reply

Tags
cfx, expressions, post, variables

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
Accessing cell values (CFX Pre and CFX Post) brahmarishiraj CFX 14 June 24, 2014 19:12
CFX Post Expressions number decimals njiang CFX 3 December 13, 2013 04:39
Transfer of Expressions from CFX to Fluent WK912 ANSYS 0 October 1, 2013 09:12
Transient animation performance in CFX 5.5 POST Sjoerd Romkes CFX 8 February 5, 2013 14:53
CFX post legend modification mactech001 CFX 3 December 25, 2011 22:12


All times are GMT -4. The time now is 22:08.