Static Public Member Functions | Static Public Attributes | List of all members
cylinder Struct Reference

A cylinder, selectable as cyl or cylinder. More...

Inheritance diagram for cylinder:
Inheritance graph
[legend]
Collaboration diagram for cylinder:
Collaboration graph
[legend]

Static Public Member Functions

static void read (PDRobstacle &obs, const dictionary &dict)
 
- Static Public Member Functions inherited from PDRobstacle
static scalar legacyReadFiles (const fileName &obsFileDir, const wordList &obsFileNames, const boundBox &meshBb, DynamicList< PDRobstacle > &blocks, DynamicList< PDRobstacle > &cylinders)
 
static scalar readFiles (const fileName &obsFileDir, const wordList &obsFileNames, const boundBox &meshBb, DynamicList< PDRobstacle > &blocks, DynamicList< PDRobstacle > &cylinders)
 
static bool isCylinder (const label id)
 
static label addPieces (vtk::surfaceWriter &surfWriter, const UList< PDRobstacle > &list, label pieceId=0)
 
static void generateVtk (const fileName &outputDir, const UList< PDRobstacle > &obslist, const UList< PDRobstacle > &cyllist)
 

Static Public Attributes

static constexpr int enumTypeId = legacyTypes::CYLINDER
 
- Static Public Attributes inherited from PDRobstacle
static constexpr int maxBlowoffPressure = 10
 

Additional Inherited Members

- Public Types inherited from PDRobstacle
enum  legacyTypes {
  NONE = 0, CUBOID_1 = 1, CYLINDER = 2, LOUVER_BLOWOFF = 5,
  LOUVRE_BLOWOFF = 5, CUBOID = 6, WALL_BEAM = 7, GRATING = 8,
  OLD_INLET = 9, OLD_BLOWOFF = 10, CIRC_PATCH = 12, RECT_PATCH = 16,
  DIAG_BEAM = 22, IGNITION = 41, MESH_PLANE = 46, IGNORE = 200
}
 
- Public Member Functions inherited from PDRobstacle
scalar dia () const
 
scalar theta () const
 
scalar len () const
 
scalar & dia ()
 
scalar & theta ()
 
scalar & len ()
 
 PDRobstacle ()
 
 PDRobstacle (Istream &is)
 
 declareMemberFunctionSelectionTable (void, PDRobstacle, read, dictionary,(PDRobstacle &obs, const dictionary &dict),(obs, dict))
 
bool read (Istream &is)
 
void readProperties (const dictionary &dict)
 
scalar x () const
 
scalar y () const
 
scalar z () const
 
scalar & x ()
 
scalar & y ()
 
scalar & z ()
 
bool isCylinder () const
 
void clear ()
 
void scale (const scalar factor)
 
scalar volume () const
 
bool tooSmall (const scalar minWidth) const
 
bool setFromLegacy (const int groupTypeId, const string &buffer, const label lineNo=-1, const word &inputFile=word::null)
 
volumeType trim (const boundBox &bb)
 
meshedSurface surface () const
 
InfoProxy< PDRobstacleinfo () const
 
- Public Attributes inherited from PDRobstacle
label groupId
 
int typeId
 
direction orient
 
scalar sortBias
 
point pt
 
vector span
 
union {
   scalar   wa
 
   scalar   slat_width
 
   scalar   blowoff_press
 
}; 
 
union {
   scalar   wb
 
   scalar   blowoff_time
 
}; 
 
scalar vbkge
 
scalar xbkge
 
scalar ybkge
 
scalar zbkge
 
union {
   int   blowoff_type
 
   int   inlet_dirn
 
}; 
 
string identifier
 

Detailed Description

A cylinder, selectable as cyl or cylinder.

Dictionary controls

Property Description Required Default
point The end centre-point yes
length The cylinder length yes
diameter The cylinder diameter yes
direction The x/y/z direction yes

Example,

cyl
{
     point       (0 0 0);
     length      0.95;
     diameter    0.05;
     direction   x;
}
Note
Does not have porosity.

Definition at line 98 of file PDRobstacleTypes.H.

Member Function Documentation

◆ read()

static void read ( PDRobstacle obs,
const dictionary dict 
)
static

Member Data Documentation

◆ enumTypeId

constexpr int enumTypeId = legacyTypes::CYLINDER
staticconstexpr

Definition at line 100 of file PDRobstacleTypes.H.


The documentation for this struct was generated from the following file: