interpolationSchemes
Hi!
I'm trying understand the discretization schemes in the fvSchemes and I have a doubt :confused:: If for each discretization scheme (grad, div and laplacian) we already set the interporlation schemes, for exemple "Gauss Linear". So, why do I need to fill the interpolationSchemes subdictionary? :confused: gradSchemes { default Gauss linear; grad(p) Gauss linear; } divSchemes { default none; div(phi,U) Gauss linear; } laplacianSchemes { default Gauss linear orthogonal; } interpolationSchemes { default linear; Regards, Cleyton |
I’m sorry, I dont’ know if my question is clear. I’m new in openFoam
Let me try again… When I set for example the divSchemes like Gauss linear it means that the spatial discretization will follow Gauss theorem, where appears face fluxes and then I have to set the interpolation scheme for the fluxes, in this case linear (central differences). (please let me know if I’m wrong in my thinking) I don’t understand why I have to set the interpolationSchemes sub-dictionary if I already do it for each term (div, grad and laplacian). Where OpenFoam use that information? Thanks for your help |
Check out the interpolation section here : https://cfd.direct/openfoam/user-guide/v6-fvschemes/. So the interpolation schemes are for interpolating to faces only -- likely using something like fvc::interpolate -- to compute/update a surfaceScalarField/surfaceVectorField.
Caelan |
Thanks for reply Caelan:)
|
I found what I'm looking for in this thread https://www.cfd-online.com/Forums/op...emes-file.html
interpolationSchemes gives the way on how the flux (phi) is calculated. |
Interpolation Scheme
Dear foamers
Is there any interpolation Scheme that set the value at the surface just equal to that on the same cell center. For lapalacian term, I do not want to set the conductivity value as the average of two adjacent cell. i need it axactly equal to the value at the same cell center. best, Hoss |
All times are GMT -4. The time now is 06:56. |