CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > OpenFOAM Running, Solving & CFD

The IOobject class and single scalars & vectors

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   August 2, 2012, 09:17
Default The IOobject class and single scalars & vectors
  #1
Senior Member
 
Illya Shevchuk
Join Date: Aug 2009
Location: Darmstadt, Germany
Posts: 174
Rep Power: 7
linch is on a distinguished road
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
linch is offline   Reply With Quote

Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
New BoundaryCondition: how to modify a single component of a field? look86 OpenFOAM Programming & Development 4 August 28, 2012 16:48


All times are GMT -4. The time now is 13:59.