laplacian discretisation: interpolation of the diffusion coefficient
Hi.
I need some extra info on how laplacian function works in openfoam. According to https://www.openfoam.com/documentati...n-details.html, "the laplacian is given by the sum over all faces of the dot product of the face normal with the gradient value at the face. To transform the quantity from the cell centre to the face centre, an interpolation scheme is required". First, how is the gradient at the face calculated? is it the cell values interpolated to the face? If so, with what scheme is it interpolated? Or it is calculated directly by differentiating cell values? Second, what if the quantity? what if we input an interpolated quantity? |
Hello,
all this questions are answered in the programmer guide. http://foam.sourceforge.net/docs/Gui...mmersGuide.pdf a very good book about the numerics in OF is https://www.springer.com/de/book/9783319168739. I found this book very useful and it is written very well and in a very comprehensive way. Best Michael |
All times are GMT -4. The time now is 14:59. |