minor fixup for flowRate bcs.

This commit is contained in:
Mark Olesen 2008-07-07 08:49:35 +02:00
parent 8b4e098813
commit d7f85054e8
7 changed files with 17 additions and 13 deletions

View File

@ -156,8 +156,8 @@ void Foam::flowRateInletVelocityFvPatchVectorField::updateCoeffs()
FatalErrorIn
(
"flowRateInletVelocityFvPatchVectorField::updateCoeffs()"
) << "dimensions of phi are incorrect"
<< "\n on patch " << this->patch().name()
) << "dimensions of " << phiName_ << " are incorrect" << nl
<< " on patch " << this->patch().name()
<< " of field " << this->dimensionedInternalField().name()
<< " in file " << this->dimensionedInternalField().objectPath()
<< nl << exit(FatalError);

View File

@ -26,12 +26,13 @@ Class
Foam::flowRateInletVelocityFvPatchVectorField
Description
Describes an volumetric/mass flow normal vector boundary condition by its
Describes a volumetric/mass flow normal vector boundary condition by its
magnitude as an integral over its area.
The basis of the patch (volumetric or mass) is determined by the
dimensions of the flux, phi.
The current density is used to correct the velocity when applying the mass
basis.
The current density is used to correct the velocity when applying the
mass basis.
Example of the boundary condition specification:
@verbatim

View File

@ -46,7 +46,7 @@ Note
- strange behaviour with potentialFoam since the U equation is not solved
See Also
Foam::timeSeries and Foam::flowRateInletVelocityFvPatchVectorField
Foam::interpolationTable and Foam::flowRateInletVelocityFvPatchVectorField
SourceFiles
timeVaryingFlowRateInletVelocityFvPatchVectorField.C

View File

@ -43,7 +43,7 @@ Note
a uniformFixedValue patch.
See Also
Foam::timeSeries and Foam::fixedValueFvPatchField
Foam::interpolationTable and Foam::fixedValueFvPatchField
SourceFiles
timeVaryingUniformFixedValueFvPatchField.C

View File

@ -26,8 +26,11 @@ Class
Foam::timeVaryingUniformTotalPressureFvPatchScalarField
Description
See timeVaryingUniformFixedValueFvPatchField.H
and totalPressureFvPatchScalarField.H
A time-varying form of a uniform total pressure boundary condition.
See Also
Foam::timeVaryingUniformFixedValueFvPatchField
and Foam::totalPressureFvPatchScalarField.H
SourceFiles
timeVaryingUniformTotalPressureFvPatchScalarField.C

View File

@ -42,8 +42,8 @@ boundaryField
}
inlet
{
type massFlowRateInletVelocity;
massFlowRate 0.1;
type flowRateInletVelocity;
flowRate 0.1;
value uniform (0 0 0);
}
outlet

View File

@ -42,8 +42,8 @@ boundaryField
}
inlet
{
type massFlowRateInletVelocity;
massFlowRate 0.1;
type flowRateInletVelocity;
flowRate 0.1;
value uniform (0 0 0);
}
outlet