CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Programming & Development (https://www.cfd-online.com/Forums/openfoam-programming-development/)
-   -   PtrDictionary: pointer with structure (order) of mesh (https://www.cfd-online.com/Forums/openfoam-programming-development/129699-ptrdictionary-pointer-structure-order-mesh.html)

maybee February 11, 2014 04:27

PtrDictionary: pointer with structure (order) of mesh
 
Hi,

I want to create a Pointer Dictionary like

Code:

PtrDict <volScalarField> MyDict;
where I want to give the POINTERS the structure of the previously created mesh, so that each pointer is "connected" to the right mesh cell.

The main aim is to create a pointer for each cell and within the volScalarField of each pointer several values that belongs to the respective mesh cell.

Any ideas to achieve this in this way or in another are welcome :).

greetings
maybee


All times are GMT -4. The time now is 11:05.