This BC solves a steady 1D thermal baffle. More...


Public Member Functions | |
| TypeName ("compressible::thermalBaffle1D") | |
| Runtime type information. More... | |
| thermalBaffle1DFvPatchScalarField (const fvPatch &, const DimensionedField< scalar, volMesh > &, const dictionary &) | |
| Construct from patch, internal field and dictionary. More... | |
| thermalBaffle1DFvPatchScalarField (const thermalBaffle1DFvPatchScalarField &, const fvPatch &, const DimensionedField< scalar, volMesh > &, const fieldMapper &) | |
| Construct by mapping given thermalBaffle1DFvPatchScalarField. More... | |
| thermalBaffle1DFvPatchScalarField (const thermalBaffle1DFvPatchScalarField &)=delete | |
| Disallow copy without setting internal field reference. More... | |
| thermalBaffle1DFvPatchScalarField (const thermalBaffle1DFvPatchScalarField &, const DimensionedField< scalar, volMesh > &) | |
| Copy constructor setting internal field reference. More... | |
| virtual tmp< fvPatchScalarField > | clone (const DimensionedField< scalar, volMesh > &iF) const |
| Construct and return a clone setting internal field reference. More... | |
| virtual void | map (const fvPatchScalarField &, const fieldMapper &) |
| Map the given fvPatchField onto this fvPatchField. More... | |
| virtual void | reset (const fvPatchScalarField &) |
| Reset the fvPatchField to the given fvPatchField. More... | |
| virtual void | updateCoeffs () |
| Update the coefficients associated with the patch field. More... | |
| virtual void | write (Ostream &) const |
| Write. More... | |
This BC solves a steady 1D thermal baffle.
The solid properties are specify as dictionary. Optionally radiative heat flux (qr) can be incorporated into the balance. Some under-relaxation might be needed on qr. Baffle and solid properties need to be specified on the master side of the baffle.
<masterPatchName>
{
type compressible::thermalBaffle1D<eConstSolidThermoPhysics>;
neighbourPatch <slavePatchName>;
thickness uniform 0.005; // Thickness [m]
qs uniform 100; // Source heat flux [W/m^2]
qr none;
qrRelaxation 1;
// Solid thermo
specie
{
molWeight 20;
}
transport
{
kappa 1;
}
thermodynamics
{
hf 0;
Cv 10;
}
equationOfState
{
rho 10;
}
value uniform 300;
}
<slavePatchName>
{
type compressible::thermalBaffle1D<eConstSolidThermoPhysics>;
neighbourPatch <masterPatchName>;
qr none;
relaxation 1;
value uniform 300;
}
Definition at line 109 of file thermalBaffle1DFvPatchScalarField.H.
| thermalBaffle1DFvPatchScalarField | ( | const fvPatch & | p, |
| const DimensionedField< scalar, volMesh > & | iF, | ||
| const dictionary & | dict | ||
| ) |
Construct from patch, internal field and dictionary.
Definition at line 42 of file thermalBaffle1DFvPatchScalarField.C.
References dict, mappedPatchBaseBase::from::differentPatch, Foam::dimArea, DimensionedField< Type, GeoMesh, PrimitiveField >::dimensions(), Foam::dimLength, Foam::dimPower, fvPatchField< Type >::operator, p, mappedPatchBaseBase::from::sameRegion, Foam::unitFraction, and mappedPatchBaseBase::validateMapForField().
Referenced by thermalBaffle1DFvPatchScalarField< solidType >::clone().


| thermalBaffle1DFvPatchScalarField | ( | const thermalBaffle1DFvPatchScalarField< solidType > & | ptf, |
| const fvPatch & | p, | ||
| const DimensionedField< scalar, volMesh > & | iF, | ||
| const fieldMapper & | mapper | ||
| ) |
Construct by mapping given thermalBaffle1DFvPatchScalarField.
onto a new patch
Definition at line 121 of file thermalBaffle1DFvPatchScalarField.C.
|
delete |
Disallow copy without setting internal field reference.
| thermalBaffle1DFvPatchScalarField | ( | const thermalBaffle1DFvPatchScalarField< solidType > & | ptf, |
| const DimensionedField< scalar, volMesh > & | iF | ||
| ) |
Copy constructor setting internal field reference.
Definition at line 143 of file thermalBaffle1DFvPatchScalarField.C.
| TypeName | ( | "compressible::thermalBaffle1D" | ) |
Runtime type information.
|
inlinevirtual |
Construct and return a clone setting internal field reference.
Definition at line 198 of file thermalBaffle1DFvPatchScalarField.H.
References thermalBaffle1DFvPatchScalarField< solidType >::thermalBaffle1DFvPatchScalarField().

|
virtual |
Map the given fvPatchField onto this fvPatchField.
Definition at line 257 of file thermalBaffle1DFvPatchScalarField.C.
|
virtual |
Reset the fvPatchField to the given fvPatchField.
Used for mesh to mesh mapping
Definition at line 277 of file thermalBaffle1DFvPatchScalarField.C.
|
virtual |
Update the coefficients associated with the patch field.
Definition at line 296 of file thermalBaffle1DFvPatchScalarField.C.
References alpha(), Foam::endl(), forAll, Foam::gAverage(), mappedFvPatchBaseBase::getMap(), Foam::gMax(), Foam::gMin(), Foam::constant::atomic::group, IOobject::groupName(), Foam::Info, thermophysicalTransportModel::kappaEff(), UPstream::msgType(), Foam::fvc::snGrad(), and Foam::Zero.

|
virtual |
Write.
Definition at line 388 of file thermalBaffle1DFvPatchScalarField.C.
References Foam::vtkWriteOps::write(), and Foam::writeEntry().
