CFD Online Logo CFD Online URL
Home > Forums > OpenFOAM

gradient component

Register Blogs Members List Search Today's Posts Mark Forums Read

LinkBack Thread Tools Display Modes
Old   December 12, 2010, 16:03
Default gradient component
Senior Member
John Deas
Join Date: Mar 2009
Posts: 160
Rep Power: 10
johndeas is on a distinguished road

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.



Last edited by johndeas; December 13, 2010 at 19:20.
johndeas is offline   Reply With Quote

Old   August 4, 2016, 01:06
Default Formula in OF
Senior Member
Join Date: Mar 2009
Posts: 109
Rep Power: 10
ehsan is on a distinguished road
May I ask you whether is it correct to code the below formula in OF
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 is offline   Reply With Quote


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

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 07:13
Diffusion component at inlet Balaji FLUENT 2 August 8, 2005 07: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 13, 2003 23:57
UDF component in Cyliderical Velocity? Hongchan Kim FLUENT 3 April 24, 2001 12:20

All times are GMT -4. The time now is 16:01.