|November 23, 2013, 10:06||
Questions about several Class Descriptions
Join Date: Jan 2012
Posts: 159Rep Power: 7
when reading the following OpenFoam class descriptions I am not able to understand all:
1.Time: Class to control time during OpenFOAM simulations that is also the top-level objectRegistry.
2.Clock:Read access to the system clock with formatting.
3.CpuTime:Starts timing CPU usage and return elapsed time from start.
4.TimePaths: A class for addressing time paths without using the Time class.
5.objectRegistry: Registry of regIOobjects.
6.regIOobjects:regIOobject is an abstract class derived from IOobject to handle automatic object registration with the objectRegistry.
7.IOobject: IOobject defines the attributes of an object for which implicit objectRegistry management is supported, and provides the infrastructure for performing stream I/O.
1.What means top-level objectRegistry?
2.what means with formatting?
3.Does "Starts timing CPU usage" mean the same as "Starts CPU usage"?
4.What is meant with "adressing time paths" and what is a "time path" in this context?
5.What is a ObjectRegistry class good for?
6.What is meant with "automatic object registration with the objectRegistry"?
7.What is meant with "objectRegistry management" ?
Hopefully some people with more programming knowledge will be able to teach me something here .
|November 24, 2013, 13:14||
Niels Gjoel Jacobsen
Join Date: Mar 2009
Location: Deltares, Delft, The Netherlands
Posts: 1,733Rep Power: 29
I will try to address some of your questions:
Ad. 1.: All objects such as volScalarField, surfaceVectorField, dictionaries, etc are registered in a database for easy access across the code. This is what is termed the object registry.
Ad. 3.: The time path is used to look up objects in the correct time folders when starting the simulations and for the model to know in which time folder output should be written.
Ad. 5.: See Ad. 1.
I do not have a clear answer on your other questions, as they seem to rely on some comment in a source code file, so I will not try to guess on the meaning of those.
Please note that I do not use the Friend-feature, so do not be offended, if I do not accept a request.
|November 24, 2013, 17:39||
Join Date: Mar 2009
Location: Lisbon, Portugal
Blog Entries: 39Rep Power: 108
Greetings to all!
I hope that most of the questions regarding "objectRegistry" are answered here: http://openfoamwiki.net/index.php/Op...objectRegistry (big thanks to Marupio: http://openfoamwiki.net/index.php?ti...action=history)
More information is available from here: http://openfoamwiki.net/index.php/OpenFOAM_guide
|Thread||Thread Starter||Forum||Replies||Last Post|
|thobois class engineTopoChangerMesh error||Peter_600||OpenFOAM||4||August 2, 2014 09:52|
|Errors running allwmake in OpenFOAM141dev with WM_COMPILE_OPTION%3ddebug||unoder||OpenFOAM Installation||11||January 30, 2008 21:30|
|How to add a new class locally||ville||OpenFOAM||4||December 11, 2006 14:20|
|About UList and List class||leosding||OpenFOAM Running, Solving & CFD||1||December 2, 2005 00:52|
|Expanding a class||fabianpk||OpenFOAM||0||October 3, 2005 04:26|