Skip to content
Snippets Groups Projects
Commit 5f3a48c0 authored by mattijs's avatar mattijs Committed by Mattijs Janssens
Browse files

BUG: fan: bc value not updated. See #3211

parent e4f4c73b
No related branches found
No related tags found
No related merge requests found
...@@ -1092,6 +1092,10 @@ void Foam::GeometricField<Type, PatchField, GeoMesh>::relax(const scalar alpha) ...@@ -1092,6 +1092,10 @@ void Foam::GeometricField<Type, PatchField, GeoMesh>::relax(const scalar alpha)
<< "Relaxing" << nl << this->info() << " by " << alpha << endl; << "Relaxing" << nl << this->info() << " by " << alpha << endl;
operator==(prevIter() + alpha*(*this - prevIter())); operator==(prevIter() + alpha*(*this - prevIter()));
// Make sure any e.g. jump-cyclic are updated. Note: unfortunately also
// triggers e.g. cyclic interpolation.
this->correctLocalBoundaryConditions();
} }
......
...@@ -175,7 +175,7 @@ public: ...@@ -175,7 +175,7 @@ public:
virtual bool ready() const; virtual bool ready() const;
//- Return neighbour field given internal field //- Return neighbour field given internal field
tmp<Field<Type>> patchNeighbourField() const; virtual tmp<Field<Type>> patchNeighbourField() const;
// Evaluation // Evaluation
......
...@@ -170,7 +170,7 @@ public: ...@@ -170,7 +170,7 @@ public:
// Evaluation functions // Evaluation functions
//- Return neighbour coupled internal cell data //- Return neighbour coupled internal cell data
tmp<Field<Type>> patchNeighbourField() const; virtual tmp<Field<Type>> patchNeighbourField() const;
//- Return reference to neighbour patchField //- Return reference to neighbour patchField
const cyclicFvPatchField<Type>& neighbourPatchField() const; const cyclicFvPatchField<Type>& neighbourPatchField() const;
......
...@@ -128,7 +128,7 @@ public: ...@@ -128,7 +128,7 @@ public:
// Evaluation functions // Evaluation functions
//- Return neighbour coupled given internal cell data //- Return neighbour coupled given internal cell data
tmp<Field<Type>> patchNeighbourField() const; virtual tmp<Field<Type>> patchNeighbourField() const;
//- Update result field based on interface functionality //- Update result field based on interface functionality
virtual void updateInterfaceMatrix virtual void updateInterfaceMatrix
......
...@@ -128,7 +128,7 @@ public: ...@@ -128,7 +128,7 @@ public:
// Evaluation functions // Evaluation functions
//- Return neighbour coupled given internal cell data //- Return neighbour coupled given internal cell data
tmp<Field<Type>> patchNeighbourField() const; virtual tmp<Field<Type>> patchNeighbourField() const;
//- Update result field based on interface functionality //- Update result field based on interface functionality
virtual void updateInterfaceMatrix virtual void updateInterfaceMatrix
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment