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

How is runTime object also the objectRegistry?

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By GerhardHolzinger

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 23, 2020, 01:54
Default How is runTime object also the objectRegistry?
  #1
Senior Member
 
Mandeep Shetty
Join Date: Apr 2016
Posts: 188
Rep Power: 10
granzer is on a distinguished road
From what I have read I have come to understand that a runTime object is an object of class Time. How is runTime object also used as the objectRegistry?
granzer is offline   Reply With Quote

Old   March 23, 2020, 04:09
Default
  #2
Senior Member
 
Gerhard Holzinger
Join Date: Feb 2012
Location: Austria
Posts: 342
Rep Power: 28
GerhardHolzinger will become famous soon enoughGerhardHolzinger will become famous soon enough
The class Time is derived from the class objectRegistry. Hence, the runTime object is an objectRegistry. It certainly makes sense, since a simulation might feature one or many meshes, but there can only be one runTime. [The Highlander pun was definitely intended.]

Attached, you find a class diagram which shows a part of the ancrestral tree.
Attached Images
File Type: png objectRegistryClassHierarchy.png (18.0 KB, 35 views)
granzer likes this.
GerhardHolzinger is offline   Reply With Quote

Reply

Tags
objectregistry


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
Question regarding objectRegistry and related subjects. granzer OpenFOAM 0 March 21, 2020 14:01
[OpenFOAM.org] Instructions to install OpenFOAM-2.4.x on CentOS-6.10 redbullah OpenFOAM Installation 9 September 7, 2019 18:18
[foam-extend.org] Error compiling OpenFOAM-1.6-ext Canesin OpenFOAM Installation 137 January 20, 2016 15:56
Compilation error OF1.5-dev on Suse10.3 darenyang OpenFOAM Installation 0 April 29, 2009 05:55
[blockMesh] BlockMeshmergePatchPairs hjasak OpenFOAM Meshing & Mesh Conversion 11 August 15, 2008 08:36


All times are GMT -4. The time now is 02:47.