|
[Sponsors] | |||||
|
|
|
#1 |
|
Guest
Posts: n/a
|
Can anybody let me know how to get a gradient of a scalar variable using CFX 11.0 without User Fortran
With thanx sm |
|
|
||
|
|
|
#2 |
|
Guest
Posts: n/a
|
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 |
|
|
||
|
|
|
#3 |
|
Guest
Posts: n/a
|
Thanx opaque. Is there a way to get a divergence of a vector in CFX?
sm |
|
|
||
|
|
|
#4 |
|
Guest
Posts: n/a
|
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.. |
|
|
||
|
|
|
#5 |
|
Guest
Posts: n/a
|
Thanx opaque. I need it for a source term.
sm |
|
|
||
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Calculating Gradient of a Scalar | ali hemmati | Fluent UDF and Scheme Programming | 2 | August 4, 2011 04:05 |
| Temperature gradient in CFX | Chander | CFX | 4 | July 11, 2011 08:21 |
| How to calculate laplacian of a scalar in cfx? | Jun | CFX | 11 | October 6, 2010 06:13 |
| Intel Fortran and CFX 11.0 | Rogerio Fernandes Brito | CFX | 4 | November 11, 2008 00:27 |
| running CFX 11.0 on Fedora 7 : display problems | Eric Joubarne | CFX | 1 | October 3, 2007 16:51 |