mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
GeometricField::GeometricBoundaryField -> GeometricField::Boundary
When the GeometricBoundaryField template class was originally written it
was a separate class in the Foam namespace rather than a sub-class of
GeometricField as it is now. Without loss of clarity and simplifying
code which access the boundary field of GeometricFields it is better
that GeometricBoundaryField be renamed Boundary for consistency with the
new naming convention for the type of the dimensioned internal field:
Internal, see commit 4a57b9be2e
This is a very simple text substitution change which can be applied to
any code which compiles with the OpenFOAM-dev libraries.
This commit is contained in:
@ -124,7 +124,7 @@ void Foam::multiphaseSystem::solveAlphas()
|
||||
);
|
||||
}
|
||||
|
||||
surfaceScalarField::GeometricBoundaryField& alphaPhiCorrBf =
|
||||
surfaceScalarField::Boundary& alphaPhiCorrBf =
|
||||
alphaPhiCorr.boundaryFieldRef();
|
||||
|
||||
// Ensure that the flux at inflow BCs is preserved
|
||||
@ -266,10 +266,10 @@ void Foam::multiphaseSystem::correctContactAngle
|
||||
(
|
||||
const phaseModel& phase1,
|
||||
const phaseModel& phase2,
|
||||
surfaceVectorField::GeometricBoundaryField& nHatb
|
||||
surfaceVectorField::Boundary& nHatb
|
||||
) const
|
||||
{
|
||||
const volScalarField::GeometricBoundaryField& gbf
|
||||
const volScalarField::Boundary& gbf
|
||||
= phase1.boundaryField();
|
||||
|
||||
const fvBoundaryMesh& boundary = mesh_.boundary();
|
||||
@ -668,7 +668,7 @@ Foam::tmp<Foam::volVectorField> Foam::multiphaseSystem::Svm
|
||||
}
|
||||
}
|
||||
|
||||
volVectorField::GeometricBoundaryField& SvmBf =
|
||||
volVectorField::Boundary& SvmBf =
|
||||
tSvm.ref().boundaryFieldRef();
|
||||
|
||||
// Remove virtual mass at fixed-flux boundaries
|
||||
@ -718,7 +718,7 @@ Foam::multiphaseSystem::dragCoeffs() const
|
||||
)
|
||||
).ptr();
|
||||
|
||||
volScalarField::GeometricBoundaryField& Kbf = Kptr->boundaryFieldRef();
|
||||
volScalarField::Boundary& Kbf = Kptr->boundaryFieldRef();
|
||||
|
||||
// Remove drag at fixed-flux boundaries
|
||||
forAll(dm.phase1().phi().boundaryField(), patchi)
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
========= |
|
||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||
\\ / O peration |
|
||||
\\ / A nd | Copyright (C) 2011-2012 OpenFOAM Foundation
|
||||
\\ / A nd | Copyright (C) 2011-2016 OpenFOAM Foundation
|
||||
\\/ M anipulation |
|
||||
-------------------------------------------------------------------------------
|
||||
License
|
||||
@ -213,7 +213,7 @@ private:
|
||||
(
|
||||
const phaseModel& alpha1,
|
||||
const phaseModel& alpha2,
|
||||
surfaceVectorField::GeometricBoundaryField& nHatb
|
||||
surfaceVectorField::Boundary& nHatb
|
||||
) const;
|
||||
|
||||
tmp<volScalarField> K
|
||||
|
||||
Reference in New Issue
Block a user