Loading...
Searching...
No Matches
Foam::PDRlegacy Namespace Reference

Legacy and transitional routines. More...

Classes

class  obstacleGrouping
 Locations for each instance of an obstacle group. More...

Functions

labelPair readObstacleFiles (const fileName &obsFileDir, const wordList &obsFileNames, Map< obstacleGrouping > &groups)
 Read obstacle files, do counting only.
scalar readObstacleFiles (const fileName &obsFileDir, const wordList &obsFileNames, const Map< obstacleGrouping > &groups, const boundBox &meshBb, DynamicList< PDRobstacle > &blocks, DynamicList< PDRobstacle > &cylinders)
 Read obstacle files and add to the lists.
void print_info (const PDRblock &block)
void read_mesh_spec (const fileName &casepath, PDRblock &pdrBlock)
void read_mesh_spec (ISstream &is, PDRblock &pdrBlock)

Detailed Description

Legacy and transitional routines.

Source files

Function Documentation

◆ readObstacleFiles() [1/2]

labelPair readObstacleFiles ( const fileName & obsFileDir,
const wordList & obsFileNames,
Map< obstacleGrouping > & groups )

Read obstacle files, do counting only.

Returns
nObstacle, nCylinder read

◆ readObstacleFiles() [2/2]

scalar readObstacleFiles ( const fileName & obsFileDir,
const wordList & obsFileNames,
const Map< obstacleGrouping > & groups,
const boundBox & meshBb,
DynamicList< PDRobstacle > & blocks,
DynamicList< PDRobstacle > & cylinders )

Read obstacle files and add to the lists.

Returns
the total volume

References meshBb().

Here is the call graph for this function:

◆ print_info()

void print_info ( const PDRblock & block)

◆ read_mesh_spec() [1/2]

void read_mesh_spec ( const fileName & casepath,
PDRblock & pdrBlock )

◆ read_mesh_spec() [2/2]

void read_mesh_spec ( ISstream & is,
PDRblock & pdrBlock )