Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options not deleted user 13154

OpenFOAM is a free, open source CFD software package developed by OpenCFD Ltd at ESI Group and distributed by the OpenFOAM Foundation.

2 votes
1 answer
2k views

How to calculate skewness for a mesh?

I found the following code used in OpenFOAM to calculate skewness, but the math behind it is not very clear: Note: the /* */ comments are mine, however, I am not 100% sure about my interpretation of the …
Algo's user avatar
  • 304
2 votes
3 answers
522 views

Flux sign and face normal confusion in finite volume method

equation can be further discretized to (using Gaussian quadrature with single integration point): $$ \sum_{faces} \ (\nabla T .n) S_f = 0$$ My Python solver imports a simple Cartesian (100 x 100 x 1) OpenFOAM … After importing the owner-neighbor OpenFOAM mesh relations, I assumed that the flux is always in the direction from owner to neighbor, so $n$ basically was pointing out of the cell for the faces owned …
Algo's user avatar
  • 304
2 votes
2 answers
1k views

Getting adjacent cells map for an unstructured polyhedral mesh

I am doing a little project on solving the heat equation using finite-volume method on a solid cube, I converted the polyhedral mesh of the cube to an OpenFOAM mesh. …
Algo's user avatar
  • 304