|
[Sponsors] |
December 12, 2010, 16:03 |
gradient component
|
#1 |
Senior Member
John Deas
Join Date: Mar 2009
Posts: 160
Rep Power: 17 |
Hi,
This is a very simple question. Can you confirm to me that grad(U).component(tensor::YZ) returns dV/dZ ? Although it seems logical, it is not that clear from the 1.6 programmer guide. Regards, John Last edited by johndeas; December 13, 2010 at 19:20. |
|
August 4, 2016, 02:06 |
Formula in OF
|
#2 |
Senior Member
Ehsan
Join Date: Mar 2009
Posts: 112
Rep Power: 17 |
Hello,
May I ask you whether is it correct to code the below formula in OF as: Gij=(sqr(delta_X())*fvc::grad(U).component(tensor: :XX)*fvc::grad(U).component(tensor::YX))+(sqr(delt a_Y())*fvc::grad(U).component(tensor::XY)*fvc::gra d(U).component(tensor::YY))+(sqr(delta_Z())*fvc::g rad(U).component(tensor::XZ)*fvc::grad(U).componen t(tensor::YZ)) Best Regards Ehsan |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Tangential component of gradient of scalar field at surface | tehache | OpenFOAM Running, Solving & CFD | 5 | July 4, 2013 08:13 |
Diffusion component at inlet | Balaji | FLUENT | 2 | August 8, 2005 08:37 |
How to compute gradient for non-orthogonal grids? | Paul Hsieh | Main CFD Forum | 3 | November 11, 2003 05:52 |
what is gradient vector? | majestywzh | FLUENT | 0 | April 14, 2003 00:57 |
UDF component in Cyliderical Velocity? | Hongchan Kim | FLUENT | 3 | April 24, 2001 13:20 |