BUG: fix value-entry behaviour in atmBoundaryLayerInlet (fixes #1578)
DOC: improve atmBoundaryLayerInlet header documentation Without this change: - for serial-parallel computations, if `value` entry is available in an `atmBoundaryLayerInlet` BC, the theoretical ABL profile expressions are not computed, and the `value` entry content is used as a profile data - for parallel computations, if `value` entry is not available, `decomposePar` could not be executed. With this change: - assuming `value` entry is always be present, the use of `value` entry for the ABL profile specification is determined by a flag `initABL` - the default value of the optional flag `initABL` is `true`, but whenever `initABL=true` is executed, `initABL` is overwritten as `false` for the subsequent runs, so that `value` entry can be safely used. Thanks Per Jørgensen for the bug report.
Showing
- src/atmosphericModels/derivedFvPatchFields/atmBoundaryLayer/atmBoundaryLayer.C 23 additions, 14 deletions.../derivedFvPatchFields/atmBoundaryLayer/atmBoundaryLayer.C
- src/atmosphericModels/derivedFvPatchFields/atmBoundaryLayer/atmBoundaryLayer.H 95 additions, 67 deletions.../derivedFvPatchFields/atmBoundaryLayer/atmBoundaryLayer.H
- src/atmosphericModels/derivedFvPatchFields/atmBoundaryLayerInletEpsilon/atmBoundaryLayerInletEpsilonFvPatchScalarField.C 5 additions, 3 deletions...tEpsilon/atmBoundaryLayerInletEpsilonFvPatchScalarField.C
- src/atmosphericModels/derivedFvPatchFields/atmBoundaryLayerInletEpsilon/atmBoundaryLayerInletEpsilonFvPatchScalarField.H 65 additions, 9 deletions...tEpsilon/atmBoundaryLayerInletEpsilonFvPatchScalarField.H
- src/atmosphericModels/derivedFvPatchFields/atmBoundaryLayerInletK/atmBoundaryLayerInletKFvPatchScalarField.C 5 additions, 3 deletions...aryLayerInletK/atmBoundaryLayerInletKFvPatchScalarField.C
- src/atmosphericModels/derivedFvPatchFields/atmBoundaryLayerInletK/atmBoundaryLayerInletKFvPatchScalarField.H 62 additions, 9 deletions...aryLayerInletK/atmBoundaryLayerInletKFvPatchScalarField.H
- src/atmosphericModels/derivedFvPatchFields/atmBoundaryLayerInletVelocity/atmBoundaryLayerInletVelocityFvPatchVectorField.C 5 additions, 3 deletions...elocity/atmBoundaryLayerInletVelocityFvPatchVectorField.C
- src/atmosphericModels/derivedFvPatchFields/atmBoundaryLayerInletVelocity/atmBoundaryLayerInletVelocityFvPatchVectorField.H 63 additions, 8 deletions...elocity/atmBoundaryLayerInletVelocityFvPatchVectorField.H
Please register or sign in to comment