mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
added boundaryManipulate function
This commit is contained in:
@ -591,6 +591,20 @@ void Foam::fvMatrix<Type>::relax()
|
||||
}
|
||||
|
||||
|
||||
template<class Type>
|
||||
void Foam::fvMatrix<Type>::boundaryManipulate
|
||||
(
|
||||
typename GeometricField<Type, fvPatchField, volMesh>::
|
||||
GeometricBoundaryField& bFields
|
||||
)
|
||||
{
|
||||
forAll(bFields, patchI)
|
||||
{
|
||||
bFields[patchI].manipulateMatrix(*this);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
template<class Type>
|
||||
Foam::tmp<Foam::scalarField> Foam::fvMatrix<Type>::D() const
|
||||
{
|
||||
|
||||
@ -350,6 +350,13 @@ public:
|
||||
// alpha is read from controlDict
|
||||
void relax();
|
||||
|
||||
//- Manipulate based on a boundary field
|
||||
void boundaryManipulate
|
||||
(
|
||||
typename GeometricField<Type, fvPatchField, volMesh>::
|
||||
GeometricBoundaryField& values
|
||||
);
|
||||
|
||||
//- Construct and return the solver
|
||||
// Solver controls read from Istream
|
||||
autoPtr<fvSolver> solver(Istream&);
|
||||
@ -386,7 +393,7 @@ public:
|
||||
|
||||
//- Return the face-flux field from the matrix
|
||||
tmp<GeometricField<Type, fvsPatchField, surfaceMesh> >
|
||||
flux() const;
|
||||
flux() const;
|
||||
|
||||
|
||||
// Member operators
|
||||
|
||||
Reference in New Issue
Block a user