From fa6e3fb7063883c00c20cf4f430988b30cb09a78 Mon Sep 17 00:00:00 2001 From: Will Bainbridge Date: Fri, 15 Dec 2023 10:58:13 +0000 Subject: [PATCH] aactiveBaffleVelocity, activePressureForceBaffleVelocity: Moved into PDRFoam These conditions are legacy and should not be considered for general use. They require specific, unintuitive mesh structuring (i.e., duplicated boundary faces) that only PDRMesh can now create. If an an interface is needed which opens or closes based on modelling criteria, then this should be implemented as an extension of NCC. That would be more flexible, parallelisable, and would not require modification of the underlying polyheral mesh. --- applications/legacy/combustion/PDRFoam/Make/files | 3 +++ .../activeBaffleVelocityFvPatchVectorField.C | 0 .../activeBaffleVelocityFvPatchVectorField.H | 0 .../activePressureForceBaffleVelocityFvPatchVectorField.C | 0 .../activePressureForceBaffleVelocityFvPatchVectorField.H | 0 src/finiteVolume/Make/files | 2 -- 6 files changed, 3 insertions(+), 2 deletions(-) rename {src/finiteVolume/fields/fvPatchFields/derived => applications/legacy/combustion/PDRFoam/derivedFvPatchFields}/activeBaffleVelocity/activeBaffleVelocityFvPatchVectorField.C (100%) rename {src/finiteVolume/fields/fvPatchFields/derived => applications/legacy/combustion/PDRFoam/derivedFvPatchFields}/activeBaffleVelocity/activeBaffleVelocityFvPatchVectorField.H (100%) rename {src/finiteVolume/fields/fvPatchFields/derived => applications/legacy/combustion/PDRFoam/derivedFvPatchFields}/activePressureForceBaffleVelocity/activePressureForceBaffleVelocityFvPatchVectorField.C (100%) rename {src/finiteVolume/fields/fvPatchFields/derived => applications/legacy/combustion/PDRFoam/derivedFvPatchFields}/activePressureForceBaffleVelocity/activePressureForceBaffleVelocityFvPatchVectorField.H (100%) diff --git a/applications/legacy/combustion/PDRFoam/Make/files b/applications/legacy/combustion/PDRFoam/Make/files index d1b1d5a8f8..d6a1e9ec51 100644 --- a/applications/legacy/combustion/PDRFoam/Make/files +++ b/applications/legacy/combustion/PDRFoam/Make/files @@ -27,6 +27,9 @@ PDRModels/XiGModels/basicXiSubG/basicXiSubG.C laminarFlameSpeed/SCOPE/SCOPELaminarFlameSpeed.C +derivedFvPatchFields/activeBaffleVelocity/activeBaffleVelocityFvPatchVectorField.C +derivedFvPatchFields/activePressureForceBaffleVelocity/activePressureForceBaffleVelocityFvPatchVectorField.C + PDRFoam.C EXE = $(FOAM_APPBIN)/PDRFoam diff --git a/src/finiteVolume/fields/fvPatchFields/derived/activeBaffleVelocity/activeBaffleVelocityFvPatchVectorField.C b/applications/legacy/combustion/PDRFoam/derivedFvPatchFields/activeBaffleVelocity/activeBaffleVelocityFvPatchVectorField.C similarity index 100% rename from src/finiteVolume/fields/fvPatchFields/derived/activeBaffleVelocity/activeBaffleVelocityFvPatchVectorField.C rename to applications/legacy/combustion/PDRFoam/derivedFvPatchFields/activeBaffleVelocity/activeBaffleVelocityFvPatchVectorField.C diff --git a/src/finiteVolume/fields/fvPatchFields/derived/activeBaffleVelocity/activeBaffleVelocityFvPatchVectorField.H b/applications/legacy/combustion/PDRFoam/derivedFvPatchFields/activeBaffleVelocity/activeBaffleVelocityFvPatchVectorField.H similarity index 100% rename from src/finiteVolume/fields/fvPatchFields/derived/activeBaffleVelocity/activeBaffleVelocityFvPatchVectorField.H rename to applications/legacy/combustion/PDRFoam/derivedFvPatchFields/activeBaffleVelocity/activeBaffleVelocityFvPatchVectorField.H diff --git a/src/finiteVolume/fields/fvPatchFields/derived/activePressureForceBaffleVelocity/activePressureForceBaffleVelocityFvPatchVectorField.C b/applications/legacy/combustion/PDRFoam/derivedFvPatchFields/activePressureForceBaffleVelocity/activePressureForceBaffleVelocityFvPatchVectorField.C similarity index 100% rename from src/finiteVolume/fields/fvPatchFields/derived/activePressureForceBaffleVelocity/activePressureForceBaffleVelocityFvPatchVectorField.C rename to applications/legacy/combustion/PDRFoam/derivedFvPatchFields/activePressureForceBaffleVelocity/activePressureForceBaffleVelocityFvPatchVectorField.C diff --git a/src/finiteVolume/fields/fvPatchFields/derived/activePressureForceBaffleVelocity/activePressureForceBaffleVelocityFvPatchVectorField.H b/applications/legacy/combustion/PDRFoam/derivedFvPatchFields/activePressureForceBaffleVelocity/activePressureForceBaffleVelocityFvPatchVectorField.H similarity index 100% rename from src/finiteVolume/fields/fvPatchFields/derived/activePressureForceBaffleVelocity/activePressureForceBaffleVelocityFvPatchVectorField.H rename to applications/legacy/combustion/PDRFoam/derivedFvPatchFields/activePressureForceBaffleVelocity/activePressureForceBaffleVelocityFvPatchVectorField.H diff --git a/src/finiteVolume/Make/files b/src/finiteVolume/Make/files index a0bd74a6c9..9f56de6d74 100644 --- a/src/finiteVolume/Make/files +++ b/src/finiteVolume/Make/files @@ -166,8 +166,6 @@ $(constraintFvPatchFields)/nonConformalError/nonConformalErrorFvPatchFields.C $(constraintFvPatchFields)/nonConformalProcessorCyclic/nonConformalProcessorCyclicFvPatchFields.C derivedFvPatchFields = $(fvPatchFields)/derived -$(derivedFvPatchFields)/activeBaffleVelocity/activeBaffleVelocityFvPatchVectorField.C -$(derivedFvPatchFields)/activePressureForceBaffleVelocity/activePressureForceBaffleVelocityFvPatchVectorField.C $(derivedFvPatchFields)/advective/advectiveFvPatchFields.C $(derivedFvPatchFields)/codedFixedValue/codedFixedValueFvPatchFields.C $(derivedFvPatchFields)/codedMixed/codedMixedFvPatchFields.C