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

Additional Variable

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By tav98f

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 25, 2011, 17:41
Red face Additional Variable
  #1
Member
 
Timothy
Join Date: Apr 2010
Posts: 33
Rep Power: 16
tav98f is on a distinguished road
I hope this is not a stupid question

(CFX 12.1)

I need to use the negative of the gradient of wall distance as an input to a particle tracking routine. CFX has the variable wall distance and I would like to define an additional variable for the negative gradient of the wall distance. In CFX pre I can click on the additional variable button and I can specify the variable type, the units, and the tensor type. I do not understand how I can cause the variable to be equal to the negative gradient of the wall distance. Where do I specify this?

Also I assume that the tensor type will be a vector. Should the variable type be unspecified and the units be [m]?

Or should I be using additional variable at all?

Thanks in advance,
tim
tav98f is offline   Reply With Quote

Old   April 26, 2011, 22:56
Default
  #2
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
I think the variable you want is "Wall Distance". It is a scalar, not a vector.
ghorrocks is offline   Reply With Quote

Old   April 28, 2011, 12:25
Cool I figured out some things
  #3
Member
 
Timothy
Join Date: Apr 2010
Posts: 33
Rep Power: 16
tav98f is on a distinguished road
In case someone is having the same issue some time:

First of all the way you actually define what an additional variable is equal to, is in Default Domain/Fluid Models/Additional Variable Models. I was not really expecting that

I agree that wall distance is a scalar, however, the negative gradient of the wall distance is a vector. I was wrong about the units because if you have something with the units [m] the gradient of that is dimensionless. I think that the type should still be unspecified but I am still not really sure what that does.
vmlxb6 likes this.
tav98f is offline   Reply With Quote

Old   April 28, 2011, 13:33
Default
  #4
Senior Member
 
Ugly Kid Joe
Join Date: Aug 2010
Posts: 193
Rep Power: 16
vmlxb6 is on a distinguished road
Quote:
Originally Posted by tav98f View Post
In case someone is having the same issue some time:
I agree that wall distance is a scalar, however, the negative gradient of the wall distance is a vector.

Thanks Tim that was useful.
vmlxb6 is offline   Reply With Quote

Reply

Tags
additional variable, wall distance


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
emag beta feature: charge density charlotte CFX 4 March 22, 2011 10:14
Problems with additional variable Krishna Premi CFX 1 October 29, 2007 09:19
Additional Variable - Diffusive Transport Equation RadheShyam Das CFX 3 October 18, 2007 13:35
Multi_component Vs Additional Variable Anurag CFX 2 February 4, 2005 17:45
Replace periodic by inlet-outlet pair lego CFX 3 November 5, 2002 21:09


All times are GMT -4. The time now is 17:12.