|
[Sponsors] |
![]() |
![]() |
#1 |
Member
Timothy
Join Date: Apr 2010
Posts: 33
Rep Power: 16 ![]() |
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 |
|
![]() |
![]() |
![]() |
![]() |
#2 |
Super Moderator
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,931
Rep Power: 145 ![]() ![]() ![]() ![]() |
I think the variable you want is "Wall Distance". It is a scalar, not a vector.
|
|
![]() |
![]() |
![]() |
![]() |
#3 |
Member
Timothy
Join Date: Apr 2010
Posts: 33
Rep Power: 16 ![]() |
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. |
|
![]() |
![]() |
![]() |
![]() |
#4 |
Senior Member
Ugly Kid Joe
Join Date: Aug 2010
Posts: 193
Rep Power: 16 ![]() |
||
![]() |
![]() |
![]() |
Tags |
additional variable, wall distance |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
emag beta feature: charge density | charlotte | CFX | 4 | March 22, 2011 09:14 |
Problems with additional variable | Krishna Premi | CFX | 1 | October 29, 2007 08:19 |
Additional Variable - Diffusive Transport Equation | RadheShyam Das | CFX | 3 | October 18, 2007 12:35 |
Multi_component Vs Additional Variable | Anurag | CFX | 2 | February 4, 2005 16:45 |
Replace periodic by inlet-outlet pair | lego | CFX | 3 | November 5, 2002 20:09 |