Uniform fixed heat flux boundary condition for Eulerian multi-phase cases. Constructs a mixed constraint which portions the heat flux between the phases in such a way as to keep the boundary temperature uniform across all phases. The heat flux can be specified as a time-varying function, and an under-relaxation factor can be supplied if this is necessary to maintain stability. More...


Public Member Functions | |
| TypeName ("uniformFixedMultiphaseHeatFlux") | |
| Runtime type information. More... | |
| uniformFixedMultiphaseHeatFluxFvPatchScalarField (const fvPatch &, const DimensionedField< scalar, volMesh > &, const dictionary &) | |
| Construct from patch, internal field and dictionary. More... | |
| uniformFixedMultiphaseHeatFluxFvPatchScalarField (const uniformFixedMultiphaseHeatFluxFvPatchScalarField &, const fvPatch &, const DimensionedField< scalar, volMesh > &, const fvPatchFieldMapper &) | |
| Construct by mapping given. More... | |
| uniformFixedMultiphaseHeatFluxFvPatchScalarField (const uniformFixedMultiphaseHeatFluxFvPatchScalarField &)=delete | |
| Disallow copy without setting internal field reference. More... | |
| uniformFixedMultiphaseHeatFluxFvPatchScalarField (const uniformFixedMultiphaseHeatFluxFvPatchScalarField &, 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 | updateCoeffs () |
| Update the coefficients associated with the patch field. More... | |
| virtual void | write (Ostream &) const |
| Write. More... | |
Uniform fixed heat flux boundary condition for Eulerian multi-phase cases. Constructs a mixed constraint which portions the heat flux between the phases in such a way as to keep the boundary temperature uniform across all phases. The heat flux can be specified as a time-varying function, and an under-relaxation factor can be supplied if this is necessary to maintain stability.
| Property | Description | Required | Default value |
|---|---|---|---|
q | Heat flux [w/m^2] | yes | |
relax | Relaxation factor | no | 1 |
Example of the boundary condition specification:
<patchName>
{
type uniformFixedMultiphaseHeatFlux;
q 1000;
relax 0.3;
value $internalField;
}Definition at line 87 of file uniformFixedMultiphaseHeatFluxFvPatchScalarField.H.
| uniformFixedMultiphaseHeatFluxFvPatchScalarField | ( | const fvPatch & | p, |
| const DimensionedField< scalar, volMesh > & | iF, | ||
| const dictionary & | dict | ||
| ) |
Construct from patch, internal field and dictionary.
Definition at line 33 of file uniformFixedMultiphaseHeatFluxFvPatchScalarField.C.
References Foam::operator==(), and Foam::Zero.
Referenced by uniformFixedMultiphaseHeatFluxFvPatchScalarField::clone().


| uniformFixedMultiphaseHeatFluxFvPatchScalarField | ( | const uniformFixedMultiphaseHeatFluxFvPatchScalarField & | psf, |
| const fvPatch & | p, | ||
| const DimensionedField< scalar, volMesh > & | iF, | ||
| const fvPatchFieldMapper & | mapper | ||
| ) |
Construct by mapping given.
uniformFixedMultiphaseHeatFluxFvPatchScalarField onto a new patch
Definition at line 53 of file uniformFixedMultiphaseHeatFluxFvPatchScalarField.C.
|
delete |
Disallow copy without setting internal field reference.
| uniformFixedMultiphaseHeatFluxFvPatchScalarField | ( | const uniformFixedMultiphaseHeatFluxFvPatchScalarField & | psf, |
| const DimensionedField< scalar, volMesh > & | iF | ||
| ) |
Copy constructor setting internal field reference.
Definition at line 68 of file uniformFixedMultiphaseHeatFluxFvPatchScalarField.C.
| TypeName | ( | "uniformFixedMultiphaseHeatFlux" | ) |
Runtime type information.
|
inlinevirtual |
Construct and return a clone setting internal field reference.
Definition at line 141 of file uniformFixedMultiphaseHeatFluxFvPatchScalarField.H.
References uniformFixedMultiphaseHeatFluxFvPatchScalarField::uniformFixedMultiphaseHeatFluxFvPatchScalarField().

|
virtual |
Update the coefficients associated with the patch field.
Definition at line 83 of file uniformFixedMultiphaseHeatFluxFvPatchScalarField.C.
References alpha(), GeometricField< Type, PatchField, GeoMesh >::boundaryField(), f(), forAll, phaseModel::kappaEff(), Foam::max(), patchi, phaseSystem::phases(), phaseSystem::propertiesName, basicThermo::T(), Foam::T(), and phaseModel::thermo().

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