How to get the gradient of a scalar in CFX 11.0
Can anybody let me know how to get a gradient of a scalar variable using CFX 11.0 without User Fortran
With thanx sm |
Re: How to get the gradient of a scalar in CFX 11.
Dear sm,
You can refer to it, by using the same naming convention you see in CFX-Post.. Examples: Value = Temperature.Gradient X Source = Pressure.Gradient Y Additional Variable = MyOtherAV.Gradient Z Notice that you always access the gradient components explicitly not the gradient vector.. Hope this helps, Opaque |
Re: How to get the gradient of a scalar in CFX 11.
Thanx opaque. Is there a way to get a divergence of a vector in CFX?
sm |
Re: How to get the gradient of a scalar in CFX 11.
Dear SM,
No.. But, what do you want to do with the divergence of vector? Is it a source term in another equation? That determines how you evaluate the term. You can always (not recommended for source terms) get the gradient and apply the summation of the components: d/dx + d/dy + d/dz (Phi).. Opaque.. |
Re: How to get the gradient of a scalar in CFX 11.
Thanx opaque. I need it for a source term.
sm |
All times are GMT -4. The time now is 22:39. |