mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
stabilisation for zero-area faces
This commit is contained in:
@ -626,7 +626,8 @@ bool Foam::primitiveMesh::checkFaceSkewness
|
||||
vector d = cellCtrs[nei[faceI]] - cellCtrs[own[faceI]];
|
||||
|
||||
// Skewness vector
|
||||
vector sv = Cpf - ((fAreas[faceI] & Cpf)/(fAreas[faceI] & d))*d;
|
||||
vector sv =
|
||||
Cpf - ((fAreas[faceI] & Cpf)/((fAreas[faceI] & d) + SMALL))*d;
|
||||
vector svHat = sv/(mag(sv) + VSMALL);
|
||||
|
||||
// Normalisation distance calculated as the approximate distance
|
||||
|
||||
Reference in New Issue
Block a user