|
[Sponsors] |
October 20, 2008, 13:48 |
I define a volScalarField linP
|
#1 |
Senior Member
Jens Klostermann
Join Date: Mar 2009
Posts: 117
Rep Power: 17 |
I define a volScalarField linP = gradP * (flowDirection & (mesh.C()))
,where gradP is a constant scalar and flowDirection a unitvector (both as in channelOodles) if I now check mag(fvc::grad(linP)) it is not equal gradP, why? Is there a way to improve this? Jens |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Gradient calculation | Harry | Main CFD Forum | 3 | October 7, 2006 05:19 |
gradient calculation UserFortran code | Karlis | CFX | 4 | June 20, 2005 12:58 |
Gradient calculation | phil | CFX | 3 | April 11, 2005 13:03 |
Calculation of velocity gradient | Chris | Main CFD Forum | 8 | December 18, 2003 09:35 |
Gradient calculation in CFD | apurva shukla | Main CFD Forum | 1 | August 21, 1998 08:05 |