CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Pre-Processing (https://www.cfd-online.com/Forums/openfoam-pre-processing/)
-   -   Allocation of variables in the grid (https://www.cfd-online.com/Forums/openfoam-pre-processing/152745-allocation-variables-grid.html)

gomeslorenzo May 7, 2015 12:28

Allocation of variables in the grid
 
Hi, foamers

Does anyone know how OpenFOAM allocates the variables in the grid ? I would guess that the scalar fields are allocated in the center of the cells while vector fields components in the faces of the cells. Is that right ?

Thanks,

nimasam May 12, 2015 12:36

it use collocated method, means both scalar and vector variables are placed at cell centers

gomeslorenzo May 19, 2015 08:55

Thank you, that really helped me.

Best wishes,


All times are GMT -4. The time now is 19:30.