FreeFOAM The Cross-Platform CFD Toolkit
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...


Detailed Description

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

InNamespace Foam

Source files

Definition in file findRefCell.H.

+ Include dependency graph for findRefCell.H:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  Foam
 Namespace for OpenFOAM.

Functions

void setRefCell (const volScalarField &field, const volScalarField &fieldRef, const dictionary &dict, label &refCelli, scalar &refValue, const bool forceReference=false)
 If the field fieldRef needs referencing find the reference cell nearest.
void setRefCell (const volScalarField &field, const dictionary &dict, label &refCelli, scalar &refValue, const bool forceReference=false)
 If the field needs referencing find the reference cell nearest.
scalar getRefCellValue (const volScalarField &field, const label refCelli)
 Return the current value of field in the reference cell.