Macros | Functions
PDRsetFields.H File Reference

Preparation of fields for PDRFoam. More...

Include dependency graph for PDRsetFields.H:

Go to the source code of this file.

Macros

#define floatSMALL   1.e-10
 
#define DEFAULT_K   0.00015
 
#define DEFAULT_EPS   1e-5
 
#define DEFAULT_T   300
 
#define DEFAULT_P   100000
 
#define DEFAULT_SU   0.5
 
#define DEFAULT_LOBS   0.1
 
#define DEFAULT_EP   0.01
 
#define K_WALL_FN   "kqRWallFunction"
 
#define EPS_WALL_FN   "epsilonWallFunction"
 
#define ALPHAT_WALL   "nutkWallFunction"
 
#define MUT_WALL_FN   "mutkWallFunction"
 
#define NUT_WALL_FN   "nutkWallFunction"
 
#define K_WALL_FN_LEGACY   "compressible::kqRWallFunction"
 
#define EPS_WALL_FN_LEGACY   "compressible::epsilonWallFunction"
 
#define ALPHAT_WALL_FN_LEGACY   "alphatWallFunction;\n\t\tPrt\t0.85"
 
#define MIN_AB_FOR_SIZE   0.002
 
#define MAX_VB_FOR_SIZE   0.9
 
#define COUNT_FOR_SIZE   0.1
 
#define MIN_COUNT_FOR_SIZE   0.05
 

Functions

scalar block_overlap (DynamicList< PDRobstacle > &blocks, const labelRange &range, const scalar multiplier=1.0)
 
scalar block_cylinder_overlap (DynamicList< PDRobstacle > &blocks, const labelRange &range, const UList< PDRobstacle > &cylinders)
 

Detailed Description

Preparation of fields for PDRFoam.

Original source file PDRsetFields.H

Definition in file PDRsetFields.H.

Macro Definition Documentation

◆ floatSMALL

#define floatSMALL   1.e-10

Definition at line 48 of file PDRsetFields.H.

◆ DEFAULT_K

#define DEFAULT_K   0.00015

Definition at line 53 of file PDRsetFields.H.

◆ DEFAULT_EPS

#define DEFAULT_EPS   1e-5

Definition at line 54 of file PDRsetFields.H.

◆ DEFAULT_T

#define DEFAULT_T   300

Definition at line 55 of file PDRsetFields.H.

◆ DEFAULT_P

#define DEFAULT_P   100000

Definition at line 56 of file PDRsetFields.H.

◆ DEFAULT_SU

#define DEFAULT_SU   0.5

Definition at line 57 of file PDRsetFields.H.

◆ DEFAULT_LOBS

#define DEFAULT_LOBS   0.1

Definition at line 58 of file PDRsetFields.H.

◆ DEFAULT_EP

#define DEFAULT_EP   0.01

Definition at line 60 of file PDRsetFields.H.

◆ K_WALL_FN

#define K_WALL_FN   "kqRWallFunction"

Definition at line 63 of file PDRsetFields.H.

◆ EPS_WALL_FN

#define EPS_WALL_FN   "epsilonWallFunction"

Definition at line 64 of file PDRsetFields.H.

◆ ALPHAT_WALL

#define ALPHAT_WALL   "nutkWallFunction"

Definition at line 65 of file PDRsetFields.H.

◆ MUT_WALL_FN

#define MUT_WALL_FN   "mutkWallFunction"

Definition at line 66 of file PDRsetFields.H.

◆ NUT_WALL_FN

#define NUT_WALL_FN   "nutkWallFunction"

Definition at line 67 of file PDRsetFields.H.

◆ K_WALL_FN_LEGACY

#define K_WALL_FN_LEGACY   "compressible::kqRWallFunction"

Definition at line 69 of file PDRsetFields.H.

◆ EPS_WALL_FN_LEGACY

#define EPS_WALL_FN_LEGACY   "compressible::epsilonWallFunction"

Definition at line 70 of file PDRsetFields.H.

◆ ALPHAT_WALL_FN_LEGACY

#define ALPHAT_WALL_FN_LEGACY   "alphatWallFunction;\n\t\tPrt\t0.85"

Definition at line 71 of file PDRsetFields.H.

◆ MIN_AB_FOR_SIZE

#define MIN_AB_FOR_SIZE   0.002

Definition at line 76 of file PDRsetFields.H.

◆ MAX_VB_FOR_SIZE

#define MAX_VB_FOR_SIZE   0.9

Definition at line 77 of file PDRsetFields.H.

◆ COUNT_FOR_SIZE

#define COUNT_FOR_SIZE   0.1

Definition at line 78 of file PDRsetFields.H.

◆ MIN_COUNT_FOR_SIZE

#define MIN_COUNT_FOR_SIZE   0.05

Definition at line 79 of file PDRsetFields.H.

Function Documentation

◆ block_overlap()

scalar block_overlap ( DynamicList< PDRobstacle > &  blocks,
const labelRange range,
const scalar  multiplier = 1.0 
)

◆ block_cylinder_overlap()

scalar block_cylinder_overlap ( DynamicList< PDRobstacle > &  blocks,
const labelRange range,
const UList< PDRobstacle > &  cylinders 
)