diff --git a/src/regionModels/pyrolysisModels/reactingOneDim/reactingOneDim.C b/src/regionModels/pyrolysisModels/reactingOneDim/reactingOneDim.C index db31437057b4f1c67210363d43f2e9cd2c4c8e53..10c8a4b4ac440af69bb2e30ead371a0a0c1bd4c4 100644 --- a/src/regionModels/pyrolysisModels/reactingOneDim/reactingOneDim.C +++ b/src/regionModels/pyrolysisModels/reactingOneDim/reactingOneDim.C @@ -323,7 +323,7 @@ void reactingOneDim::solveEnergy() - fvm::laplacian(alpha, h_) == chemistrySh_ - + fvm::Sp(solidChemistry_->RRg(), h_) + - fvm::Sp(solidChemistry_->RRg(), h_) ); if (gasHSource_) diff --git a/src/regionModels/thermalBaffleModels/derivedFvPatchFields/thermalBaffle/thermalBaffleFvPatchScalarField.C b/src/regionModels/thermalBaffleModels/derivedFvPatchFields/thermalBaffle/thermalBaffleFvPatchScalarField.C index 3d254324b67daed5ee71ff56b3258175552346e5..60b418053bd26da7022e4b571474f6edf8cf0cdc 100644 --- a/src/regionModels/thermalBaffleModels/derivedFvPatchFields/thermalBaffle/thermalBaffleFvPatchScalarField.C +++ b/src/regionModels/thermalBaffleModels/derivedFvPatchFields/thermalBaffle/thermalBaffleFvPatchScalarField.C @@ -42,7 +42,7 @@ thermalBaffleFvPatchScalarField const DimensionedField<scalar, volMesh>& iF ) : - turbulentTemperatureCoupledBaffleMixedFvPatchScalarField(p, iF), + turbulentTemperatureRadCoupledMixedFvPatchScalarField(p, iF), owner_(false), baffle_(), dict_(dictionary::null) @@ -58,7 +58,7 @@ thermalBaffleFvPatchScalarField const fvPatchFieldMapper& mapper ) : - turbulentTemperatureCoupledBaffleMixedFvPatchScalarField + turbulentTemperatureRadCoupledMixedFvPatchScalarField ( ptf, p, @@ -79,7 +79,7 @@ thermalBaffleFvPatchScalarField const dictionary& dict ) : - turbulentTemperatureCoupledBaffleMixedFvPatchScalarField(p, iF, dict), + turbulentTemperatureRadCoupledMixedFvPatchScalarField(p, iF, dict), owner_(false), baffle_(), dict_(dict) @@ -134,7 +134,7 @@ thermalBaffleFvPatchScalarField const DimensionedField<scalar, volMesh>& iF ) : - turbulentTemperatureCoupledBaffleMixedFvPatchScalarField(ptf, iF), + turbulentTemperatureRadCoupledMixedFvPatchScalarField(ptf, iF), owner_(ptf.owner_), baffle_(ptf.baffle_), dict_(ptf.dict_) @@ -177,13 +177,13 @@ void thermalBaffleFvPatchScalarField::updateCoeffs() baffle_->evolve(); } - turbulentTemperatureCoupledBaffleMixedFvPatchScalarField::updateCoeffs(); + turbulentTemperatureRadCoupledMixedFvPatchScalarField::updateCoeffs(); } void thermalBaffleFvPatchScalarField::write(Ostream& os) const { - turbulentTemperatureCoupledBaffleMixedFvPatchScalarField::write(os); + turbulentTemperatureRadCoupledMixedFvPatchScalarField::write(os); const fvMesh& thisMesh = patch().boundaryMesh().mesh(); diff --git a/src/regionModels/thermalBaffleModels/derivedFvPatchFields/thermalBaffle/thermalBaffleFvPatchScalarField.H b/src/regionModels/thermalBaffleModels/derivedFvPatchFields/thermalBaffle/thermalBaffleFvPatchScalarField.H index 4097f055648b0774ab889a1971bb8388398462e7..035e0fe86692bca7ed26307ab773b410ee16ff9a 100644 --- a/src/regionModels/thermalBaffleModels/derivedFvPatchFields/thermalBaffle/thermalBaffleFvPatchScalarField.H +++ b/src/regionModels/thermalBaffleModels/derivedFvPatchFields/thermalBaffle/thermalBaffleFvPatchScalarField.H @@ -50,9 +50,11 @@ Description type compressible::temperatureThermoBaffle; // Coupled boundary condition - neighbourFieldName T; - kappa fluidThermo; - KName none; + Tnbr T; + kappa fluidThermo; // or solidThermo + KappaName none; + QrNbr Qr; // or none.Name of Qr field on neighbour region + Qr Qr; // or none.Name of Qr field on local region // Thermo baffle model @@ -111,7 +113,7 @@ Description \endverbatim SeeAlso - Foam::turbulentTemperatureCoupledBaffleMixedFvPatchScalarField + Foam::turbulentTemperatureRadCoupledMixedFvPatchScalarField Foam::regionModels::thermalBaffleModels::thermalBaffleModel SourceFiles @@ -126,7 +128,7 @@ SourceFiles #include "autoPtr.H" #include "regionModel.H" #include "thermalBaffleModel.H" -#include "turbulentTemperatureCoupledBaffleMixedFvPatchScalarField.H" +#include "turbulentTemperatureRadCoupledMixedFvPatchScalarField.H" // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // @@ -142,7 +144,7 @@ namespace compressible class thermalBaffleFvPatchScalarField : - public turbulentTemperatureCoupledBaffleMixedFvPatchScalarField + public turbulentTemperatureRadCoupledMixedFvPatchScalarField { // Private data diff --git a/tutorials/heatTransfer/buoyantSimpleFoam/circuitBoardCooling/system/baffleRegion/changeDictionaryDict b/tutorials/heatTransfer/buoyantSimpleFoam/circuitBoardCooling/system/baffleRegion/changeDictionaryDict index c325fcd6999b17982c408d26ea7d22c552563ce9..5582d92c3640bfbc4e3ccf5def4ed04c5e7705b4 100644 --- a/tutorials/heatTransfer/buoyantSimpleFoam/circuitBoardCooling/system/baffleRegion/changeDictionaryDict +++ b/tutorials/heatTransfer/buoyantSimpleFoam/circuitBoardCooling/system/baffleRegion/changeDictionaryDict @@ -23,9 +23,11 @@ dictionaryReplacement "region0_to.*" { type compressible::thermalBaffle; - neighbourFieldName T; + Tnbr T; kappa solidThermo; kappaName none; + QrNbr none; + Qr none; value uniform 300; } baffleFaces2_side diff --git a/tutorials/heatTransfer/buoyantSimpleFoam/circuitBoardCooling/system/changeDictionaryDict.baffleRegion b/tutorials/heatTransfer/buoyantSimpleFoam/circuitBoardCooling/system/changeDictionaryDict.baffleRegion index bcbf67f06da4d436ff0ccec0e1bd3440dd6c2338..a16a5206868ea57f986671c378397d9147534542 100644 --- a/tutorials/heatTransfer/buoyantSimpleFoam/circuitBoardCooling/system/changeDictionaryDict.baffleRegion +++ b/tutorials/heatTransfer/buoyantSimpleFoam/circuitBoardCooling/system/changeDictionaryDict.baffleRegion @@ -94,9 +94,11 @@ dictionaryReplacement type compressible::thermalBaffle; // Coupled BC. - neighbourFieldName T; + Tnbr T; kappa fluidThermo; kappaName none; + QrNbr none; + Qr none; // Thermo baffle model thermalBaffleModel thermalBaffle;