|
[Sponsors] |
July 28, 2020, 13:48 |
interpolationSchemes
|
#1 |
New Member
Cleyton
Join Date: Jun 2020
Posts: 4
Rep Power: 6 |
Hi!
I'm trying understand the discretization schemes in the fvSchemes and I have a doubt : 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? 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 Last edited by Cleyton; July 28, 2020 at 15:29. |
|
July 29, 2020, 09:54 |
|
#2 |
New Member
Cleyton
Join Date: Jun 2020
Posts: 4
Rep Power: 6 |
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 |
|
July 29, 2020, 12:40 |
|
#3 |
Senior Member
Join Date: Aug 2015
Posts: 494
Rep Power: 15 |
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 |
|
July 30, 2020, 10:46 |
|
#4 |
New Member
Cleyton
Join Date: Jun 2020
Posts: 4
Rep Power: 6 |
Thanks for reply Caelan
|
|
July 30, 2020, 17:13 |
|
#5 |
New Member
Cleyton
Join Date: Jun 2020
Posts: 4
Rep Power: 6 |
I found what I'm looking for in this thread Basic Questions about fvSchemes file
interpolationSchemes gives the way on how the flux (phi) is calculated. |
|
July 30, 2023, 12:20 |
Interpolation Scheme
|
#6 |
New Member
Join Date: Aug 2021
Posts: 7
Rep Power: 5 |
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 |
|
Tags |
discretization scheme, interpolationschemes |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Accuracy when using upwind for interpolationSchemes in hypersonic flow | quarkz | OpenFOAM Running, Solving & CFD | 2 | February 6, 2018 08:30 |
Numerical diffusion between TVD and NVD schemes | Eric Brant | OpenFOAM Running, Solving & CFD | 0 | November 21, 2016 08:14 |
rhoCentralFoam linearUpwind | Andy_bm | OpenFOAM Running, Solving & CFD | 8 | November 14, 2011 12:34 |