gradient component
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 |
Formula in OF
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 |
All times are GMT -4. The time now is 02:34. |