minor fixup for flowRate bcs.
This commit is contained in:
parent
8b4e098813
commit
d7f85054e8
@ -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);
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -43,7 +43,7 @@ Note
|
||||
a uniformFixedValue patch.
|
||||
|
||||
See Also
|
||||
Foam::timeSeries and Foam::fixedValueFvPatchField
|
||||
Foam::interpolationTable and Foam::fixedValueFvPatchField
|
||||
|
||||
SourceFiles
|
||||
timeVaryingUniformFixedValueFvPatchField.C
|
||||
|
@ -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
|
||||
|
@ -42,8 +42,8 @@ boundaryField
|
||||
}
|
||||
inlet
|
||||
{
|
||||
type massFlowRateInletVelocity;
|
||||
massFlowRate 0.1;
|
||||
type flowRateInletVelocity;
|
||||
flowRate 0.1;
|
||||
value uniform (0 0 0);
|
||||
}
|
||||
outlet
|
||||
|
@ -42,8 +42,8 @@ boundaryField
|
||||
}
|
||||
inlet
|
||||
{
|
||||
type massFlowRateInletVelocity;
|
||||
massFlowRate 0.1;
|
||||
type flowRateInletVelocity;
|
||||
flowRate 0.1;
|
||||
value uniform (0 0 0);
|
||||
}
|
||||
outlet
|
||||
|
Loading…
Reference in New Issue
Block a user