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:
@ -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;
|
||||
|
||||
|
||||
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// ************************************************************************* //
|
||||
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// ************************************************************************* //
|
||||
Reference in New Issue
Block a user