Skip to content
Snippets Groups Projects
Commit 86a37284 authored by mattijs's avatar mattijs
Browse files

BUG: cyclicAMIFvPatchField: transform before interpolate

parent 821f43c9
Branches
Tags
No related merge requests found
......@@ -194,11 +194,11 @@ void Foam::cyclicAMIFvPatchField<Type>::updateInterfaceMatrix
scalarField pnf(psiInternal, nbrFaceCells);
pnf = cyclicAMIPatch_.interpolate(pnf);
// Transform according to the transformation tensors
transformCoupleField(pnf, cmpt);
pnf = cyclicAMIPatch_.interpolate(pnf);
// Multiply the field by coefficients and add into the result
const labelUList& faceCells = cyclicAMIPatch_.faceCells();
......
......@@ -86,6 +86,9 @@ void Foam::cyclicAMIGAMGInterfaceField::updateInterfaceMatrix
cyclicAMIInterface_.neighbPatch().interfaceInternalField(psiInternal)
);
// Transform according to the transformation tensors
transformCoupleField(pnf, cmpt);
if (cyclicAMIInterface_.owner())
{
pnf = cyclicAMIInterface_.AMI().interpolateToSource(pnf);
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment