Skip to content
Snippets Groups Projects
Commit 81b3c28f authored by Henry Weller's avatar Henry Weller
Browse files

flowRateInletVelocityFvPatchVectorField: Minor updates

parent 49f1c7e2
No related branches found
No related tags found
No related merge requests found
...@@ -25,10 +25,8 @@ License ...@@ -25,10 +25,8 @@ License
#include "flowRateInletVelocityFvPatchVectorField.H" #include "flowRateInletVelocityFvPatchVectorField.H"
#include "volFields.H" #include "volFields.H"
#include "addToRunTimeSelectionTable.H"
#include "fvPatchFieldMapper.H"
#include "surfaceFields.H"
#include "one.H" #include "one.H"
#include "addToRunTimeSelectionTable.H"
// * * * * * * * * * * * * * * * * Constructors * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * Constructors * * * * * * * * * * * * * * //
...@@ -48,24 +46,6 @@ flowRateInletVelocityFvPatchVectorField ...@@ -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:: Foam::flowRateInletVelocityFvPatchVectorField::
flowRateInletVelocityFvPatchVectorField flowRateInletVelocityFvPatchVectorField
( (
...@@ -117,6 +97,24 @@ 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:: Foam::flowRateInletVelocityFvPatchVectorField::
flowRateInletVelocityFvPatchVectorField flowRateInletVelocityFvPatchVectorField
( (
......
...@@ -87,8 +87,8 @@ Note ...@@ -87,8 +87,8 @@ Note
- Strange behaviour with potentialFoam since the U equation is not solved - Strange behaviour with potentialFoam since the U equation is not solved
SeeAlso SeeAlso
Foam::Function1
Foam::fixedValueFvPatchField Foam::fixedValueFvPatchField
Foam::Function1Types
SourceFiles SourceFiles
flowRateInletVelocityFvPatchVectorField.C flowRateInletVelocityFvPatchVectorField.C
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment