CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Running, Solving & CFD (https://www.cfd-online.com/Forums/openfoam-solving/)
-   -   The IOobject class and single scalars & vectors (https://www.cfd-online.com/Forums/openfoam-solving/105554-ioobject-class-single-scalars-vectors.html)

linch August 2, 2012 09:17

The IOobject class and single scalars & vectors
 
Hi guys,

if I understood the WIKI right, the IOobject class can be used to read - write dictionaries or fields.

Can single scalars or vectors be automatically written in the same manner? Or do one have to create a dictionaries to store the values there?

The next questions is, classes like dimensionedScalar or dimensionedVector have no .oldTime() members. Does it mean one have to manually create another scalar and manually store the old time step values? Or is there a work around?

Best regards,
Illya


All times are GMT -4. The time now is 06:27.