mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
ENH: making consistent Tnbr for turbulentTemperatureCoupledBaffleMixedFvPatchScalarField and turbulentTemperatureRadCoupledMixedFvPatchScalarField.
and updating heat transfer tutorials
This commit is contained in:
@ -80,7 +80,7 @@ turbulentTemperatureCoupledBaffleMixedFvPatchScalarField
|
||||
:
|
||||
mixedFvPatchScalarField(p, iF),
|
||||
temperatureCoupledBase(patch(), dict),
|
||||
TnbrName_(dict.lookup("neighbourFieldName"))
|
||||
TnbrName_(dict.lookup("Tnbr"))
|
||||
{
|
||||
if (!isA<mappedPatchBase>(this->patch().patch()))
|
||||
{
|
||||
@ -237,7 +237,7 @@ void turbulentTemperatureCoupledBaffleMixedFvPatchScalarField::write
|
||||
) const
|
||||
{
|
||||
mixedFvPatchScalarField::write(os);
|
||||
os.writeKeyword("TnbrName")<< TnbrName_
|
||||
os.writeKeyword("Tnbr")<< TnbrName_
|
||||
<< token::END_STATEMENT << nl;
|
||||
temperatureCoupledBase::write(os);
|
||||
}
|
||||
|
||||
@ -40,10 +40,10 @@ Description
|
||||
myInterfacePatchName
|
||||
{
|
||||
type compressible::turbulentTemperatureCoupledBaffleMixed;
|
||||
neighbourFieldName T;
|
||||
kappa lookup;
|
||||
kappaName kappa;
|
||||
value uniform 300;
|
||||
Tnbr T;
|
||||
kappa lookup;
|
||||
kappaName kappa;
|
||||
value uniform 300;
|
||||
}
|
||||
|
||||
Needs to be on underlying mapped(Wall)FvPatch.
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
========= |
|
||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||
\\ / O peration |
|
||||
\\ / A nd | Copyright (C) 2011-2012 OpenFOAM Foundation
|
||||
\\ / A nd | Copyright (C) 2011-2013 OpenFOAM Foundation
|
||||
\\/ M anipulation |
|
||||
-------------------------------------------------------------------------------
|
||||
License
|
||||
@ -34,7 +34,7 @@ Description
|
||||
myInterfacePatchName
|
||||
{
|
||||
type compressible::turbulentTemperatureRadCoupledMixed;
|
||||
TNbr T; // name of T field on neighbour region
|
||||
Tnbr T; // name of T field on neighbour region
|
||||
kappa lookup;
|
||||
KappaName kappa;
|
||||
QrNbr Qr; // or none. Name of Qr field on neighbour region
|
||||
|
||||
Reference in New Issue
Block a user