Preparation of fields for PDRFoam. More...
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) |
Calculate block/block overlaps. More... | |
scalar | block_cylinder_overlap (DynamicList< PDRobstacle > &blocks, const labelRange &range, const UList< PDRobstacle > &cylinders) |
Calculate block/cylinder overlaps. More... | |
Preparation of fields for PDRFoam.
Original source file PDRsetFields.H
Definition in file PDRsetFields.H.
#define floatSMALL 1.e-10 |
Definition at line 48 of file PDRsetFields.H.
#define DEFAULT_K 0.00015 |
Definition at line 53 of file PDRsetFields.H.
#define DEFAULT_EPS 1e-5 |
Definition at line 54 of file PDRsetFields.H.
#define DEFAULT_T 300 |
Definition at line 55 of file PDRsetFields.H.
#define DEFAULT_P 100000 |
Definition at line 56 of file PDRsetFields.H.
#define DEFAULT_SU 0.5 |
Definition at line 57 of file PDRsetFields.H.
#define DEFAULT_LOBS 0.1 |
Definition at line 58 of file PDRsetFields.H.
#define DEFAULT_EP 0.01 |
Definition at line 60 of file PDRsetFields.H.
#define K_WALL_FN "kqRWallFunction" |
Definition at line 63 of file PDRsetFields.H.
#define EPS_WALL_FN "epsilonWallFunction" |
Definition at line 64 of file PDRsetFields.H.
#define ALPHAT_WALL "nutkWallFunction" |
Definition at line 65 of file PDRsetFields.H.
#define MUT_WALL_FN "mutkWallFunction" |
Definition at line 66 of file PDRsetFields.H.
#define NUT_WALL_FN "nutkWallFunction" |
Definition at line 67 of file PDRsetFields.H.
#define K_WALL_FN_LEGACY "compressible::kqRWallFunction" |
Definition at line 69 of file PDRsetFields.H.
#define EPS_WALL_FN_LEGACY "compressible::epsilonWallFunction" |
Definition at line 70 of file PDRsetFields.H.
#define ALPHAT_WALL_FN_LEGACY "alphatWallFunction;\n\t\tPrt\t0.85" |
Definition at line 71 of file PDRsetFields.H.
#define MIN_AB_FOR_SIZE 0.002 |
Definition at line 76 of file PDRsetFields.H.
#define MAX_VB_FOR_SIZE 0.9 |
Definition at line 77 of file PDRsetFields.H.
#define COUNT_FOR_SIZE 0.1 |
Definition at line 78 of file PDRsetFields.H.
#define MIN_COUNT_FOR_SIZE 0.05 |
Definition at line 79 of file PDRsetFields.H.
scalar block_overlap | ( | DynamicList< PDRobstacle > & | blocks, |
const labelRange & | range, | ||
const scalar | multiplier = 1.0 |
||
) |
Calculate block/block overlaps.
Binary self-intersections are to be checked for blocks. Resulting negative blocks are appended to blocks. These new blocks have the opposite sign from input blocks, and blockage multiplied by multiplier.
If the number of newly generated blocks is required, check the size of blocks on output vs input to see how many have been added.
[in,out] | blocks | |
[in] | range | - the range within blocks to be examined |
scalar block_cylinder_overlap | ( | DynamicList< PDRobstacle > & | blocks, |
const labelRange & | range, | ||
const UList< PDRobstacle > & | cylinders | ||
) |
Calculate block/cylinder overlaps.
Binary intersections are to be checked for blocks and cylinders. Resulting negative blocks are appended to blocks. These new blocks have the opposite sign from input blocks, and blockage multiplied by multiplier.
If the number of newly generated blocks is required, check the size of blocks on output vs input to see how many have been added.
[in,out] | arrp | |
[in,out] | blocks | |
[in] | range | - the range within blocks to be examined |
[in] | cylinders | - the cylinders to be examined |