CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM

gradient component

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   December 12, 2010, 15:03
Default gradient component
  #1
Senior Member
 
John Deas
Join Date: Mar 2009
Posts: 160
Rep Power: 17
johndeas is on a distinguished road
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 18:20.
johndeas is offline   Reply With Quote

Old   August 4, 2016, 01:06
Default Formula in OF
  #2
Senior Member
 
Ehsan
Join Date: Mar 2009
Posts: 112
Rep Power: 17
ehsan is on a distinguished road
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
ehsan is offline   Reply With Quote

Reply


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 Off
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 04: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 07:47.