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 > &) | |
| Construct from patch and internal field. 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 fvPatchFieldMapper &) | |
| Construct by mapping given. 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 | autoMap (const fvPatchFieldMapper &) |
| Map (and resize as needed) from self given a mapping object. More... | |
| virtual void | rmap (const fvPatchScalarField &, const labelList &) |
| Reverse 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>;
samplePatch <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>;
samplePatch <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 | ||
| ) |
Construct from patch and internal field.
Definition at line 44 of file thermalBaffle1DFvPatchScalarField.C.
Referenced by thermalBaffle1DFvPatchScalarField< solidType >::clone(), and thermalBaffle1DFvPatchScalarField< solidType >::thermalBaffle1DFvPatchScalarField().

| thermalBaffle1DFvPatchScalarField | ( | const fvPatch & | p, |
| const DimensionedField< scalar, volMesh > & | iF, | ||
| const dictionary & | dict | ||
| ) |
Construct from patch, internal field and dictionary.
Definition at line 65 of file thermalBaffle1DFvPatchScalarField.C.
References Foam::exit(), Foam::FatalError, FatalErrorInFunction, dictionary::found(), fvPatch::name(), fvPatchField< Type >::operator=(), fvPatch::size(), and thermalBaffle1DFvPatchScalarField< solidType >::thermalBaffle1DFvPatchScalarField().

| thermalBaffle1DFvPatchScalarField | ( | const thermalBaffle1DFvPatchScalarField< solidType > & | ptf, |
| const fvPatch & | p, | ||
| const DimensionedField< scalar, volMesh > & | iF, | ||
| const fvPatchFieldMapper & | mapper | ||
| ) |
Construct by mapping given.
thermalBaffle1DFvPatchScalarField onto a new patch
Definition at line 133 of file thermalBaffle1DFvPatchScalarField.C.
References thermalBaffle1DFvPatchScalarField< solidType >::thermalBaffle1DFvPatchScalarField().

|
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 156 of file thermalBaffle1DFvPatchScalarField.C.
References thermalBaffle1DFvPatchScalarField< solidType >::autoMap(), boundary(), mappedPatchBase::distribute(), Foam::exit(), Foam::FatalError, FatalErrorInFunction, Foam::FatalIOError, FatalIOErrorInFunction, patchIdentifier::index(), thermalBaffle1DFvPatchScalarField< solidType >::reset(), mappedPatchBase::sameRegion(), mappedPatchBase::sampleMesh(), and mappedPatchBase::samplePolyPatch().

| TypeName | ( | "compressible::thermalBaffle1D" | ) |
Runtime type information.
|
inlinevirtual |
Construct and return a clone setting internal field reference.
Definition at line 209 of file thermalBaffle1DFvPatchScalarField.H.
References thermalBaffle1DFvPatchScalarField< solidType >::autoMap(), thermalBaffle1DFvPatchScalarField< solidType >::reset(), thermalBaffle1DFvPatchScalarField< solidType >::rmap(), thermalBaffle1DFvPatchScalarField< solidType >::thermalBaffle1DFvPatchScalarField(), thermalBaffle1DFvPatchScalarField< solidType >::updateCoeffs(), and thermalBaffle1DFvPatchScalarField< solidType >::write().

|
virtual |
Map (and resize as needed) from self given a mapping object.
Used to update fields following mesh topology change
Definition at line 290 of file thermalBaffle1DFvPatchScalarField.C.
References thermalBaffle1DFvPatchScalarField< solidType >::rmap().
Referenced by thermalBaffle1DFvPatchScalarField< solidType >::clone(), and thermalBaffle1DFvPatchScalarField< solidType >::thermalBaffle1DFvPatchScalarField().


|
virtual |
Reverse map the given fvPatchField onto this fvPatchField.
Used to reconstruct fields
Definition at line 306 of file thermalBaffle1DFvPatchScalarField.C.
References thermalBaffle1DFvPatchScalarField< solidType >::reset(), and thermalBaffle1DFvPatchScalarField< solidType >::rmap().
Referenced by thermalBaffle1DFvPatchScalarField< solidType >::autoMap(), thermalBaffle1DFvPatchScalarField< solidType >::clone(), and thermalBaffle1DFvPatchScalarField< solidType >::rmap().


|
virtual |
Reset the fvPatchField to the given fvPatchField.
Used for mesh to mesh mapping
Definition at line 326 of file thermalBaffle1DFvPatchScalarField.C.
References thermalBaffle1DFvPatchScalarField< solidType >::reset().
Referenced by thermalBaffle1DFvPatchScalarField< solidType >::clone(), thermalBaffle1DFvPatchScalarField< solidType >::reset(), thermalBaffle1DFvPatchScalarField< solidType >::rmap(), and thermalBaffle1DFvPatchScalarField< solidType >::thermalBaffle1DFvPatchScalarField().


|
virtual |
Update the coefficients associated with the patch field.
Definition at line 344 of file thermalBaffle1DFvPatchScalarField.C.
References alpha(), mappedPatchBase::distribute(), Foam::endl(), forAll, Foam::gAverage(), Foam::gMax(), Foam::gMin(), Foam::constant::atomic::group, IOobject::groupName(), Foam::Info, thermophysicalTransportModel::kappaEff(), UPstream::msgType(), Foam::fvc::snGrad(), and Foam::Zero.
Referenced by thermalBaffle1DFvPatchScalarField< solidType >::clone().


|
virtual |
Write.
Definition at line 437 of file thermalBaffle1DFvPatchScalarField.C.
References Foam::vtkWriteOps::write(), and Foam::writeEntry().
Referenced by thermalBaffle1DFvPatchScalarField< solidType >::clone().

