From cae7227cd4bd7586dd78fdea287ec35e1dcde0ce Mon Sep 17 00:00:00 2001 From: andy Date: Fri, 11 Jan 2013 12:16:51 +0000 Subject: [PATCH] ENH: Tutorial update --- .../heatExchanger/{Allrun-serial => Allrun} | 0 .../heatExchanger/system/air/fvOptions | 28 ++++++++++++++++++- .../heatExchanger/system/porous/fvOptions | 2 +- 3 files changed, 28 insertions(+), 2 deletions(-) rename tutorials/heatTransfer/chtMultiRegionSimpleFoam/heatExchanger/{Allrun-serial => Allrun} (100%) diff --git a/tutorials/heatTransfer/chtMultiRegionSimpleFoam/heatExchanger/Allrun-serial b/tutorials/heatTransfer/chtMultiRegionSimpleFoam/heatExchanger/Allrun similarity index 100% rename from tutorials/heatTransfer/chtMultiRegionSimpleFoam/heatExchanger/Allrun-serial rename to tutorials/heatTransfer/chtMultiRegionSimpleFoam/heatExchanger/Allrun diff --git a/tutorials/heatTransfer/chtMultiRegionSimpleFoam/heatExchanger/system/air/fvOptions b/tutorials/heatTransfer/chtMultiRegionSimpleFoam/heatExchanger/system/air/fvOptions index 44aba3100f..00978429d9 100644 --- a/tutorials/heatTransfer/chtMultiRegionSimpleFoam/heatExchanger/system/air/fvOptions +++ b/tutorials/heatTransfer/chtMultiRegionSimpleFoam/heatExchanger/system/air/fvOptions @@ -21,17 +21,43 @@ airToporous active on; selectionMode mapRegion; interpolationMethod cellVolumeWeight; - nbrModelName porousToair; nbrRegionName porous; master false; constantHeatTransferCoeffs { + nbrModelName porousToair; fieldNames (h); semiImplicit no; } } +porosityBlockage +{ + type interRegionExplicitPorositySource; + active on; + selectionMode mapRegion; + interpolationMethod cellVolumeWeight; + nbrRegionName porous; + + interRegionExplicitPorositySourceCoeffs + { + type DarcyForchheimer; + + DarcyForchheimerCoeffs + { + d d [0 -2 0 0 0] (10 -1000 -1000); + f f [0 -1 0 0 0] (0 0 0); + + coordinateSystem + { + e1 (0 1 0); + e2 (0 0 1); + } + } + } +} + MRF1 { type MRFSource; diff --git a/tutorials/heatTransfer/chtMultiRegionSimpleFoam/heatExchanger/system/porous/fvOptions b/tutorials/heatTransfer/chtMultiRegionSimpleFoam/heatExchanger/system/porous/fvOptions index 64561c37f6..f2f64e4882 100644 --- a/tutorials/heatTransfer/chtMultiRegionSimpleFoam/heatExchanger/system/porous/fvOptions +++ b/tutorials/heatTransfer/chtMultiRegionSimpleFoam/heatExchanger/system/porous/fvOptions @@ -21,12 +21,12 @@ porousToair active on; selectionMode mapRegion; interpolationMethod cellVolumeWeight; - nbrModelName airToporous; nbrRegionName air; master true; constantHeatTransferCoeffs { + nbrModelName airToporous; fieldNames (h); semiImplicit no; }