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

New Variable in CFX Post

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 24, 2008, 22:55
Default New Variable in CFX Post
  #1
Ben
Guest
 
Posts: n/a
Hi,

I'm trying to create a new vector variable in CFX post. (velocity * vorticity). However, I can't get to assign the new variables. Does anyone know how to assign a new variable dependent on existing variables?

Cheers, ben
  Reply With Quote

Old   August 24, 2008, 23:35
Default Re: New Variable in CFX Post
  #2
frank
Guest
 
Posts: n/a
you can try the following:

1. cfx-post, click variable table, then right click > new>name. 2.select the method= expression >vector. 3. input you definations. 4.a user defined variable will appear under the variable table.
  Reply With Quote

Old   August 25, 2008, 12:16
Default Re: New Variable in CFX Post
  #3
John S.
Guest
 
Posts: n/a
Another method would be to create and expression in Post defined as Vorticity * Velocity and then simply create a variable that references that expression.

For example, when I run my CFD I usually create an expression for the reference pressure, Pref, which I subtract off from the value I set at pressure specified inlets/outlets. When I post process and want to calculate the absolute total pressure, I create an expression (usually called ptpsi or something) and define it simply as Total Pressure + Pref. I then create a new variable called PT abs and reference it to the expression ptpsi. That way when I want to do any calculations or contours involving total pressure I can specify my new PT abs variable and not have to do any manual pressure corrections.

  Reply With Quote

Old   August 26, 2008, 17:28
Default Re: New Variable in CFX Post
  #4
CycLone
Guest
 
Posts: n/a
Did you want Vorticity times Velocity or Vorticity dot Velocity? For the latter you need to write expressions for each component.

  Reply With Quote

Old   August 28, 2008, 23:47
Default Re: New Variable in CFX Post
  #5
Ben
Guest
 
Posts: n/a
Thanks for the reminder.. I am interested in vorticity 'cross' velocity. Does this mean that I will have to write the expression for each of the component in ANSYS? Or does ANSYS CFX instantly recognize in the expression function that: vector x vector = "cross product of vectors"?
  Reply With Quote

Old   August 29, 2008, 17:18
Default Re: New Variable in CFX Post
  #6
CycLone
Guest
 
Posts: n/a
Post doesn't currently do vector arithmetic, so you need to input the expressions. Which isn't really much work, we've already done more typing in this discussion alone!
  Reply With Quote

Old   September 1, 2008, 01:37
Default Re: New Variable in CFX Post
  #7
Ben
Guest
 
Posts: n/a
Ok, cheers for the input!
  Reply With Quote

Old   March 27, 2012, 10:35
Default Create expression in CFD-Post
  #8
New Member
 
pritam gole
Join Date: Oct 2011
Posts: 3
Rep Power: 15
pritam1688 is on a distinguished road
I am trying to create a new expression in cfd-post for Nussult number i.e

Nu = h*d / k
But not succeded,i done with heat transfer coefficient i.e 'h' at perticular interface but not with 'Nu'

please help
pritam1688 is offline   Reply With Quote

Old   March 27, 2012, 18:48
Default
  #9
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,871
Rep Power: 144
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
Have a look in the CFX tutorials, I know some of them define post-processing variables. That will show you how to do it.
ghorrocks is offline   Reply With Quote

Old   June 20, 2012, 19:10
Default
  #10
New Member
 
soni
Join Date: Oct 2011
Posts: 25
Rep Power: 15
soni_sth is on a distinguished road
Hi Ghorrocks,

How can we define variables in CFX post? You mentioned its in tutorials but I found defining variable in CFX pre. Is there a way to define in post?I have to plot the contour of pressure coefficient at the mid span of turbine blade.

I would really appreciate your help

Thanks
soni_sth is offline   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
Camber Line in CFX Post arunraj CFX 1 August 25, 2011 19:56
chart for transiente simulation - CFX Post rogbrito CFX 0 June 22, 2009 13:12
Assign new variable in CFX Post Ben CFX 1 August 25, 2008 15:59
CFX 11, post Anant CFX 1 June 24, 2008 12:03
Proper output of angle of attack in CFX post Kevin CFX 3 October 18, 2006 13:18


All times are GMT -4. The time now is 03:42.