diff --git a/src/finiteVolume/fields/fvPatchFields/derived/flowRateInletVelocity/flowRateInletVelocityFvPatchVectorField.C b/src/finiteVolume/fields/fvPatchFields/derived/flowRateInletVelocity/flowRateInletVelocityFvPatchVectorField.C index c3427b4bded0a4c28ae931f79021ee374d885ddd..2d2f6f204c49d2e26b6f09f888bd72f3b5bf58a8 100644 --- a/src/finiteVolume/fields/fvPatchFields/derived/flowRateInletVelocity/flowRateInletVelocityFvPatchVectorField.C +++ b/src/finiteVolume/fields/fvPatchFields/derived/flowRateInletVelocity/flowRateInletVelocityFvPatchVectorField.C @@ -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); diff --git a/src/finiteVolume/fields/fvPatchFields/derived/flowRateInletVelocity/flowRateInletVelocityFvPatchVectorField.H b/src/finiteVolume/fields/fvPatchFields/derived/flowRateInletVelocity/flowRateInletVelocityFvPatchVectorField.H index b0c8de9b2f018be80b6060eb2d87eba3214d2060..ff5b0e4afc09f4d06163fc2ca9de41a080f45b6c 100644 --- a/src/finiteVolume/fields/fvPatchFields/derived/flowRateInletVelocity/flowRateInletVelocityFvPatchVectorField.H +++ b/src/finiteVolume/fields/fvPatchFields/derived/flowRateInletVelocity/flowRateInletVelocityFvPatchVectorField.H @@ -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 diff --git a/src/finiteVolume/fields/fvPatchFields/derived/timeVaryingFlowRateInletVelocity/timeVaryingFlowRateInletVelocityFvPatchVectorField.H b/src/finiteVolume/fields/fvPatchFields/derived/timeVaryingFlowRateInletVelocity/timeVaryingFlowRateInletVelocityFvPatchVectorField.H index cbacacb4c545b205afe14eeffc82412729b7ad38..21198d936eaff29ec63932bf956f79abd57aa5af 100644 --- a/src/finiteVolume/fields/fvPatchFields/derived/timeVaryingFlowRateInletVelocity/timeVaryingFlowRateInletVelocityFvPatchVectorField.H +++ b/src/finiteVolume/fields/fvPatchFields/derived/timeVaryingFlowRateInletVelocity/timeVaryingFlowRateInletVelocityFvPatchVectorField.H @@ -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 diff --git a/src/finiteVolume/fields/fvPatchFields/derived/timeVaryingUniformFixedValue/timeVaryingUniformFixedValueFvPatchField.H b/src/finiteVolume/fields/fvPatchFields/derived/timeVaryingUniformFixedValue/timeVaryingUniformFixedValueFvPatchField.H index bd073c24b1ce638b8c4d8307f4ccba9609bb3a07..b6ce246cc6d92dbfa4c2234abe7642823badb0f2 100644 --- a/src/finiteVolume/fields/fvPatchFields/derived/timeVaryingUniformFixedValue/timeVaryingUniformFixedValueFvPatchField.H +++ b/src/finiteVolume/fields/fvPatchFields/derived/timeVaryingUniformFixedValue/timeVaryingUniformFixedValueFvPatchField.H @@ -43,7 +43,7 @@ Note a uniformFixedValue patch. See Also - Foam::timeSeries and Foam::fixedValueFvPatchField + Foam::interpolationTable and Foam::fixedValueFvPatchField SourceFiles timeVaryingUniformFixedValueFvPatchField.C diff --git a/src/finiteVolume/fields/fvPatchFields/derived/timeVaryingUniformTotalPressure/timeVaryingUniformTotalPressureFvPatchScalarField.H b/src/finiteVolume/fields/fvPatchFields/derived/timeVaryingUniformTotalPressure/timeVaryingUniformTotalPressureFvPatchScalarField.H index 4bfead28d1cbd105ca4cbf6753f8a463e8147be7..8d02bcefeb872cdc2906e224de235591b8295d1c 100644 --- a/src/finiteVolume/fields/fvPatchFields/derived/timeVaryingUniformTotalPressure/timeVaryingUniformTotalPressureFvPatchScalarField.H +++ b/src/finiteVolume/fields/fvPatchFields/derived/timeVaryingUniformTotalPressure/timeVaryingUniformTotalPressureFvPatchScalarField.H @@ -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 diff --git a/tutorials/rhoPimpleFoam/angledDuct/0/U b/tutorials/rhoPimpleFoam/angledDuct/0/U index f18de82fff1381139696e2a69a48a5128a71e068..54bfd05ea9389f3d0f9782ef24163eb49cdf8d6e 100644 --- a/tutorials/rhoPimpleFoam/angledDuct/0/U +++ b/tutorials/rhoPimpleFoam/angledDuct/0/U @@ -42,8 +42,8 @@ boundaryField } inlet { - type massFlowRateInletVelocity; - massFlowRate 0.1; + type flowRateInletVelocity; + flowRate 0.1; value uniform (0 0 0); } outlet diff --git a/tutorials/rhoPorousSimpleFoam/angledDuctImplicit/0/U b/tutorials/rhoPorousSimpleFoam/angledDuctImplicit/0/U index e6ded2df85a075c0f57c3d5ddde201a2509a9509..afea1eb58d696c9239afc01401fc420db42598eb 100644 --- a/tutorials/rhoPorousSimpleFoam/angledDuctImplicit/0/U +++ b/tutorials/rhoPorousSimpleFoam/angledDuctImplicit/0/U @@ -42,8 +42,8 @@ boundaryField } inlet { - type massFlowRateInletVelocity; - massFlowRate 0.1; + type flowRateInletVelocity; + flowRate 0.1; value uniform (0 0 0); } outlet