|
[Sponsors] |
December 11, 2012, 15:11 |
Accessing neighbor cells fields
|
#1 |
New Member
Join Date: Oct 2011
Posts: 27
Rep Power: 14 |
Hello all,
I am trying to do an average of cells neighbors. For instance, if I want to get an average of Temperature in the internal field I can easily type Code:
sum(T.internalField())/mesh.nCells() What could be the function to do it just in cell neighbors? Could it be inside geometricField.C? Thanks! António |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Time averaged fields on a defined time range | Yann | OpenFOAM Post-Processing | 8 | August 7, 2019 04:46 |
Accessing fields and dictionaries from within a BC implementation | alberto | OpenFOAM Running, Solving & CFD | 12 | December 6, 2011 09:30 |
Missing fields in reconstructPar | flowris | OpenFOAM | 1 | July 9, 2010 02:48 |
domainIntegrate, dieselFoam and Lagrangian Fields | mturcios777 | OpenFOAM | 0 | May 14, 2010 15:16 |
PostChannel | maka | OpenFOAM Post-Processing | 5 | July 22, 2009 09:15 |