fvModels: interRegionHeatTransfer: Rationalisation

There is now just one inter-region heat transfer model, and heat
transfer coefficient models are selected as sub-models. This has been
done to permit usage of the heat transfer models in other contexts.

Example usage:

    interRegionHeatTransfer
    {
        type            interRegionHeatTransfer;

        interRegionHeatTransferCoeffs
        {
            nbrRegion       other;

            interpolationMethod cellVolumeWeight;
            master          true;

            semiImplicit    no;

            type            constant;

            AoV             200;
            htc             10;
        }
    }
This commit is contained in:
Will Bainbridge
2021-03-17 16:31:52 +00:00
parent de39bb45ca
commit 4442ce54a5
23 changed files with 1404 additions and 722 deletions

View File

@ -17,14 +17,17 @@ FoamFile
airToporous
{
type constantHeatTransfer;
type interRegionHeatTransfer;
interpolationMethod cellVolumeWeight;
nbrRegionName porous;
master false;
interRegionHeatTransferCoeffs
{
nbrRegion porous;
nbrModel porousToair;
semiImplicit no;
interpolationMethod cellVolumeWeight;
master false;
semiImplicit no;
}
}
porosityBlockage
@ -33,8 +36,9 @@ porosityBlockage
interRegionExplicitPorositySourceCoeffs
{
nbrRegion porous;
interpolationMethod cellVolumeWeight;
nbrRegionName porous;
type DarcyForchheimer;

View File

@ -1,31 +0,0 @@
/*--------------------------------*- C++ -*----------------------------------*\
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org
\\ / A nd | Version: dev
\\/ M anipulation |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class volScalarField;
location "constant";
object AoV;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
dimensions [0 -1 0 0 0 0 0];
internalField uniform 200;
boundaryField
{
".*"
{
type zeroGradient;
}
}
// ************************************************************************* //

View File

@ -17,14 +17,22 @@ FoamFile
porousToair
{
type constantHeatTransfer;
type interRegionHeatTransfer;
interpolationMethod cellVolumeWeight;
nbrRegionName air;
master true;
interRegionHeatTransferCoeffs
{
nbrRegion air;
nbrModel airToporous;
semiImplicit no;
interpolationMethod cellVolumeWeight;
master true;
semiImplicit no;
type constant;
htc 10;
AoV 200;
}
}

View File

@ -1,31 +0,0 @@
/*--------------------------------*- C++ -*----------------------------------*\
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org
\\ / A nd | Version: dev
\\/ M anipulation |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class volScalarField;
location "constant";
object htcConst;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
dimensions [1 0 -3 -1 0 0 0];
internalField uniform 10;
boundaryField
{
".*"
{
type zeroGradient;
}
}
// ************************************************************************* //