OpenFOAM logo
The Open Source CFD Toolbox
  Source Guide OpenCFD Solutions Contact OpenFOAM

findRefCell.H File Reference

Find the reference cell nearest (in index) to the given cell but which is not on a cyclic, symmetry or processor patch. More...

Go to the source code of this file.


Namespaces

namespace  Foam
 Namespace for OpenFOAM.

Functions

void setRefCell (const volScalarField &field, const dictionary &dict, label &refCelli, scalar &refValue, const bool forceReference=false)
 Find the reference cell nearest (in index) to the given cell,.
scalar getRefCellValue (const volScalarField &field, const label refCelli)
 Return the current value of field in the reference cell.

Detailed Description

Find the reference cell nearest (in index) to the given cell but which is not on a cyclic, symmetry or processor patch.

Original source file findRefCell.H

InNamespace Foam

Source files

Definition in file findRefCell.H.

Copyright © 2000-2009 OpenCFD Ltd