CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Programming & Development

IOobject and objectRegistry

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By alimea

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 19, 2017, 11:29
Default IOobject and objectRegistry
  #1
Senior Member
 
A. Min
Join Date: Mar 2015
Posts: 308
Rep Power: 12
alimea is on a distinguished road
Hi all
I want to know about IOobject and objectRegistry. I have searched a lot about it but I didn't find out it completely!
just I know that IOobject is a class for input/output variables!
e.g. that is used for Reading T in createFields.H .
what is IOdictionary ?
what mesh is used in arguments ?


IOdictionary transportProperties
(
IOobject
(
"transportProperties",
runTime.constant(),
mesh,
IOobject::MUST_READ,
IOobject::NO_WRITE
)
);

I will be thankfull if explain for me about it.
granzer likes this.
alimea is offline   Reply With Quote

Old   December 1, 2017, 12:34
Default
  #2
New Member
 
Max
Join Date: Sep 2016
Location: Delft
Posts: 22
Rep Power: 10
WildeCat is on a distinguished road
Quote:
Originally Posted by alimea View Post
Hi all
I want to know about IOobject and objectRegistry. I have searched a lot about it but I didn't find out it completely!
just I know that IOobject is a class for input/output variables!
e.g. that is used for Reading T in createFields.H .
what is IOdictionary ?
what mesh is used in arguments ?


IOdictionary transportProperties // indicates that you read from the dictionary file transport Properties
(
IOobject // inside transport properties you want a specific object or in this case file
(
"transportProperties", // Name of the dictionary file
runTime.constant(), // where the file is stored. runTime for which time and constant the constant folder
mesh, // is the object registry. It is a way of understanding the data inside OpenFOAM for its communications. Bascially this value will be used on the entire mesh
IOobject::MUST_READ, // self explanatory
IOobject::NO_WRITE // self explanatory
)
);

I will be thankfull if explain for me about it.

Answers in quote and see link

https://openfoamwiki.net/index.php/O...objectRegistry

Cheers
WildeCat is offline   Reply With Quote

Reply


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 Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Memory consumption of an IOobject sharonyue OpenFOAM Programming & Development 1 February 24, 2016 11:08
Global variables or How to get a vector into an objectRegistry maddhi OpenFOAM Running, Solving & CFD 1 January 8, 2016 02:56
Questions about several Class Descriptions maybee OpenFOAM Programming & Development 3 November 25, 2013 07:40
Self-defined IOobject variable not in objectRegistry lama OpenFOAM Programming & Development 1 April 20, 2010 07:49
reconstructParMesh not working with an axisymetric case francesco OpenFOAM Bugs 4 May 8, 2009 06:49


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