32 #ifndef PDRsetFields_H 33 #define PDRsetFields_H 54 #define floatSMALL 1.e-10 59 #define DEFAULT_K 0.00015 60 #define DEFAULT_EPS 1e-5 62 #define DEFAULT_P 100000 63 #define DEFAULT_SU 0.5 64 #define DEFAULT_LOBS 0.1 // Does not matter what it is outside congestion 66 #define DEFAULT_EP 0.01 // Gives length scale 0.1, calc. as (Xp-0.999)/Ep with Xp=1 69 #define K_WALL_FN "kqRWallFunction" 70 #define EPS_WALL_FN "epsilonWallFunction" 71 #define ALPHAT_WALL "nutkWallFunction" 72 #define MUT_WALL_FN "mutkWallFunction" 73 #define NUT_WALL_FN "nutkWallFunction" 75 #define K_WALL_FN_LEGACY "compressible::kqRWallFunction" 76 #define EPS_WALL_FN_LEGACY "compressible::epsilonWallFunction" 77 #define ALPHAT_WALL_FN_LEGACY "alphatWallFunction;\n\t\tPrt\t0.85" 82 #define MIN_AB_FOR_SIZE 0.002 83 #define MAX_VB_FOR_SIZE 0.9 84 #define COUNT_FOR_SIZE 0.1 85 #define MIN_COUNT_FOR_SIZE 0.05 110 const scalar multiplier = 1.0
A range or interval of labels defined by a start and a size.
scalar block_cylinder_overlap(DynamicList< PDRobstacle > &blocks, const labelRange &range, const UList< PDRobstacle > &cylinders)
Calculate block/cylinder overlaps.
A 1D vector of objects of type <T> that resizes itself as necessary to accept the new objects...
A 1D vector of objects of type <T>, where the size of the vector is known and can be used for subscri...
scalar block_overlap(DynamicList< PDRobstacle > &blocks, const labelRange &range, const scalar multiplier=1.0)
Calculate block/block overlaps.