|
[Sponsors] |
May 11, 2005, 16:21 |
Hi All,
Does OpenFoam have an
|
#1 |
Member
diablo80@web.de
Join Date: Mar 2009
Posts: 93
Rep Power: 17 |
Hi All,
Does OpenFoam have an explicit scheme to calculate the Grad(U) at cell faces, like simply taking the difference between the two values at adjacent center points and dividing by the distance? Thanks Luiz |
|
May 11, 2005, 16:27 |
Try snGrad:
OpenFOAM-1.1/sr
|
#2 |
Senior Member
Hrvoje Jasak
Join Date: Mar 2009
Location: London, England
Posts: 1,907
Rep Power: 33 |
Try snGrad:
OpenFOAM-1.1/src/OpenFOAM/lnInclude/snGradScheme.H Enjoy, Hrv
__________________
Hrvoje Jasak Providing commercial FOAM/OpenFOAM and CFD Consulting: http://wikki.co.uk |
|
May 11, 2005, 16:40 |
Thanks Hrvoje,
But I wanted t
|
#3 |
Member
diablo80@web.de
Join Date: Mar 2009
Posts: 93
Rep Power: 17 |
Thanks Hrvoje,
But I wanted the full gradient, i.e. the tensor, not the surface normal. Probably I will have to implement one based on snGrad, right? Thanks a lot, Luiz |
|
May 11, 2005, 16:43 |
The difference between the two
|
#4 |
Senior Member
Hrvoje Jasak
Join Date: Mar 2009
Location: London, England
Posts: 1,907
Rep Power: 33 |
The difference between the two values around the face gives you just the surface normal gradient.
For the full gradient, interpolate the cell centre gradient and if you're really keen, rip out the surface normal component and replace it with the face snGrad. Hrv
__________________
Hrvoje Jasak Providing commercial FOAM/OpenFOAM and CFD Consulting: http://wikki.co.uk |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Can't connect faces | Magic | FLUENT | 2 | December 5, 2008 08:18 |
[Technical] Mapping cell faces to other cell faces | doug | OpenFOAM Meshing & Mesh Conversion | 5 | March 30, 2007 03:43 |
UNREFERENCED FACES | Animesh | FLUENT | 2 | June 15, 2005 05:39 |
GradU in Post | sch | CFX | 5 | September 4, 2003 17:56 |
shadow faces! | Andrew Flintoff | FLUENT | 3 | July 2, 2002 17:11 |