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 Members List Search Today's Posts Mark Forums Read

Like Tree1Likes
  • 1 Post By GerhardHolzinger

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 23, 2020, 00:54
Default How is runTime object also the objectRegistry?
  #1
Member
 
granzer
Join Date: Apr 2016
Posts: 65
Rep Power: 5
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, 03:09
Default
  #2
Senior Member
 
Gerhard Holzinger
Join Date: Feb 2012
Location: Austria
Posts: 272
Rep Power: 23
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, 11 views)
granzer likes this.
GerhardHolzinger is offline   Reply With Quote

Reply

Tags
objectregistry

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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 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 13:01
[OpenFOAM.org] Instructions to install OpenFOAM-2.4.x on CentOS-6.10 redbullah OpenFOAM Installation 9 September 7, 2019 17:18
[foam-extend.org] Error compiling OpenFOAM-1.6-ext Canesin OpenFOAM Installation 137 January 20, 2016 14:56
Compilation error OF1.5-dev on Suse10.3 darenyang OpenFOAM Installation 0 April 29, 2009 04:55
[blockMesh] BlockMeshmergePatchPairs hjasak OpenFOAM Meshing & Mesh Conversion 11 August 15, 2008 07:36


All times are GMT -4. The time now is 23:51.