|
[Sponsors] |
November 29, 2013, 09:54 |
automatic interpolation of field on call
|
#1 |
Senior Member
Roman Thiele
Join Date: Aug 2009
Location: Eindhoven, NL
Posts: 374
Rep Power: 20 |
I have a question. Let's say I have a field
Code:
const volScalarField& k Code:
label faceI // surface between two cells label faceCellI // cell center Code:
k[faceCellI] Code:
k[faceI] Now the question, does OpenFOAM automatically interpolate in these cases? I wonder if the same also works for volVectorFields, when retrieving a value from the interface between two neighboring cells (through a label) that it then interpolates.
__________________
~roman |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Setting an external B0_x field in MHD module | fferroni | FLUENT | 11 | August 1, 2022 08:20 |
[OpenFOAM] Annoying issue of automatic "Rescale to Data Range " with paraFoam/paraview 3.12 | keepfit | ParaView | 60 | September 18, 2013 03:23 |
How to get the velocity field from the pressure field | Hermano | Main CFD Forum | 2 | November 29, 2011 08:32 |
automatic call a function in a program | gerado | OpenFOAM | 9 | June 29, 2009 02:30 |
2D CFD code using SIMPLE algorithm | bfan | Main CFD Forum | 3 | June 22, 2002 22:01 |