jumpCyclic边界条件的问题
-
94 of file jumpCyclicFvPatchField.C
template<class Type> Foam::tmp<Foam::Field<Type>> Foam::jumpCyclicFvPatchField<Type>::patchNeighbourField() const { const Field<Type>& iField = this->primitiveField(); const labelUList& nbrFaceCells = this->cyclicPatch().neighbFvPatch().faceCells(); tmp<Field<Type>> tpnf(new Field<Type>(this->size())); Field<Type>& pnf = tpnf.ref(); Field<Type> jf(this->jump()); if (!this->cyclicPatch().owner()) { jf *= -1.0; } if (this->doTransform()) { forAll(*this, facei) { pnf[facei] = transform ( this->forwardT()[0], iField[nbrFaceCells[facei]] ) - jf[facei]; } } else { forAll(*this, facei) { pnf[facei] = iField[nbrFaceCells[facei]] - jf[facei]; } } return tpnf; }
感觉数学上jump应该是界面两侧物理量的jump,实际被搞成了界面两侧单元物理量的jump。
这个大家怎么看?