Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Inconsistency of the definition of Cn in NeoFOAM and OpenFOAM #170

Open
chihtaw opened this issue Oct 25, 2024 · 0 comments
Open

Inconsistency of the definition of Cn in NeoFOAM and OpenFOAM #170

chihtaw opened this issue Oct 25, 2024 · 0 comments
Assignees

Comments

@chihtaw
Copy link
Collaborator

chihtaw commented Oct 25, 2024

In the BoundaryMesh class of NeoFOAM, the variable Cn is defined as face normal.
https://github.com/exasim-project/NeoFOAM/blob/main/include/NeoFOAM/mesh/unstructured/boundaryMesh.hpp#L39C7-L39C42

However, the variable Cn is defined as neighbor cell center in OpenFOAM.
https://www.openfoam.com/documentation/guides/latest/api/classFoam_1_1fvPatch.html#a6644397238b36a49d0caf58d1d88e18d

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants