flowRateInletVelocityFvPatchVectorField: Minor updates

This commit is contained in:
Henry Weller
2016-02-09 12:24:04 +00:00
parent 20718552c0
commit 798f13d81b
2 changed files with 20 additions and 22 deletions

View File

@ -25,10 +25,8 @@ License
#include "flowRateInletVelocityFvPatchVectorField.H"
#include "volFields.H"
#include "addToRunTimeSelectionTable.H"
#include "fvPatchFieldMapper.H"
#include "surfaceFields.H"
#include "one.H"
#include "addToRunTimeSelectionTable.H"
// * * * * * * * * * * * * * * * * Constructors * * * * * * * * * * * * * * //
@ -48,24 +46,6 @@ flowRateInletVelocityFvPatchVectorField
{}
Foam::flowRateInletVelocityFvPatchVectorField::
flowRateInletVelocityFvPatchVectorField
(
const flowRateInletVelocityFvPatchVectorField& ptf,
const fvPatch& p,
const DimensionedField<vector, volMesh>& iF,
const fvPatchFieldMapper& mapper
)
:
fixedValueFvPatchField<vector>(ptf, p, iF, mapper),
flowRate_(ptf.flowRate_, false),
volumetric_(ptf.volumetric_),
rhoName_(ptf.rhoName_),
rhoInlet_(ptf.rhoInlet_),
extrapolateProfile_(ptf.extrapolateProfile_)
{}
Foam::flowRateInletVelocityFvPatchVectorField::
flowRateInletVelocityFvPatchVectorField
(
@ -117,6 +97,24 @@ flowRateInletVelocityFvPatchVectorField
}
Foam::flowRateInletVelocityFvPatchVectorField::
flowRateInletVelocityFvPatchVectorField
(
const flowRateInletVelocityFvPatchVectorField& ptf,
const fvPatch& p,
const DimensionedField<vector, volMesh>& iF,
const fvPatchFieldMapper& mapper
)
:
fixedValueFvPatchField<vector>(ptf, p, iF, mapper),
flowRate_(ptf.flowRate_, false),
volumetric_(ptf.volumetric_),
rhoName_(ptf.rhoName_),
rhoInlet_(ptf.rhoInlet_),
extrapolateProfile_(ptf.extrapolateProfile_)
{}
Foam::flowRateInletVelocityFvPatchVectorField::
flowRateInletVelocityFvPatchVectorField
(

View File

@ -87,8 +87,8 @@ Note
- Strange behaviour with potentialFoam since the U equation is not solved
SeeAlso
Foam::Function1
Foam::fixedValueFvPatchField
Foam::Function1Types
SourceFiles
flowRateInletVelocityFvPatchVectorField.C