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

surfaceToCell Class Reference

A topoSetSource to select cells based on relation to surface. More...

Inheritance diagram for surfaceToCell:
Collaboration diagram for surfaceToCell:

List of all members.


Public Member Functions

 TypeName ("surfaceToCell")
 Runtime type information.
 surfaceToCell (const polyMesh &mesh, const fileName &surfName, const pointField &outsidePoints, const bool includeCut, const bool includeInside, const bool includeOutside, const scalar nearDist, const scalar curvature)
 Construct from components.
 surfaceToCell (const polyMesh &mesh, const fileName &surfName, const triSurface &surf, const triSurfaceSearch &querySurf, const pointField &outsidePoints, const bool includeCut, const bool includeInside, const bool includeOutside, const scalar nearDist, const scalar curvature)
 Construct from components (supplied surface, surfaceSearch).
 surfaceToCell (const polyMesh &mesh, const dictionary &dict)
 Construct from dictionary.
 surfaceToCell (const polyMesh &mesh, Istream &)
 Construct from Istream.
virtual ~surfaceToCell ()
virtual void applyToSet (const topoSetSource::setAction action, topoSet &) const

Detailed Description

A topoSetSource to select cells based on relation to surface.

Selects:

  • all cells inside/outside/cut by surface
  • cells with centre nearer than XXX to surface
  • cells with centre nearer than XXX to surface and with normal at nearest point to centre and cell-corners differing by more than YYY (i.e., point of high curvature)

Source files

Definition at line 54 of file surfaceToCell.H.


Constructor & Destructor Documentation

surfaceToCell ( const polyMesh &  mesh,
const fileName &  surfName,
const pointField &  outsidePoints,
const bool  includeCut,
const bool  includeInside,
const bool  includeOutside,
const scalar  nearDist,
const scalar  curvature 
)

Construct from components.

Definition at line 329 of file surfaceToCell.C.

surfaceToCell ( const polyMesh &  mesh,
const fileName &  surfName,
const triSurface &  surf,
const triSurfaceSearch &  querySurf,
const pointField &  outsidePoints,
const bool  includeCut,
const bool  includeInside,
const bool  includeOutside,
const scalar  nearDist,
const scalar  curvature 
)

Construct from components (supplied surface, surfaceSearch).

Definition at line 358 of file surfaceToCell.C.

surfaceToCell ( const polyMesh &  mesh,
const dictionary &  dict 
)

Construct from dictionary.

Definition at line 389 of file surfaceToCell.C.

surfaceToCell ( const polyMesh &  mesh,
Istream &  is 
)

Construct from Istream.

Definition at line 412 of file surfaceToCell.C.

~surfaceToCell (  )  [virtual]

Definition at line 435 of file surfaceToCell.C.


Member Function Documentation

TypeName ( "surfaceToCell"   ) 

Runtime type information.

void applyToSet ( const topoSetSource::setAction  action,
topoSet &  set 
) const [virtual]

Implements topoSetSource.

Definition at line 454 of file surfaceToCell.C.


The documentation for this class was generated from the following files:
Copyright © 2000-2009 OpenCFD Ltd