Handle bridge overlap in region couple
This commit is contained in:
parent
7dd740bf24
commit
b5d1c30299
1 changed files with 13 additions and 0 deletions
|
@ -353,6 +353,19 @@ void regionCouplingFvPatchField<Type>::initEvaluate
|
||||||
|
|
||||||
// Do interpolation
|
// Do interpolation
|
||||||
Field<Type>::operator=(weights*fOwn + (1.0 - weights)*fNei);
|
Field<Type>::operator=(weights*fOwn + (1.0 - weights)*fNei);
|
||||||
|
|
||||||
|
if (regionCouplePatch_.bridgeOverlap())
|
||||||
|
{
|
||||||
|
// Symmetry treatment used for overlap
|
||||||
|
vectorField nHat = this->patch().nf();
|
||||||
|
|
||||||
|
Field<Type> pif = this->patchInternalField();
|
||||||
|
|
||||||
|
Field<Type> bridgeField =
|
||||||
|
0.5*(pif + transform(I - 2.0*sqr(nHat), pif));
|
||||||
|
|
||||||
|
regionCouplePatch_.bridge(bridgeField, *this);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Reference in a new issue