|
[Sponsors] |
November 2, 2013, 13:35 |
Object registry empty
|
#1 |
Senior Member
Robert Sawko
Join Date: Mar 2009
Posts: 117
Rep Power: 22 |
Dear All,
I am developing a little library for translation frames. The idea is that the equations are solved in a moving, possibly accelerating frame of refence but the velocity can be changed in different ways. The library allows to switch between different translation models. It contains appropriate boundary conditions and several different velocity change methods (including constant), I am now implementing tracking with respect to a centre of volume of a selected scalar. This is in order to cover cases similar to the one in Rusche's thesis. The initalisation of the constructor of the respective class looks like this: Code:
centreOfVolumeTranslation::centreOfVolumeTranslation( const Time& runTime, const fvMesh& mesh, const dictionary& TFRDict, const word& translationName) : translationalFrame(runTime, mesh, TFRDict), alpha1_(runTime.db().lookupObject<volScalarField>("alpha1")), ... Code:
request for volScalarField alpha1 from objectRegistry bubble failed available objects of type volScalarField are 0 ( ) I wouldn't like to change the interface to my library as providing alpha1 to the constructor is redunant in my case - most models don't use it. The read access to alpha1 field is enough and I understand that object registry should allow for this. Please let me know if you have any suggestions. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[foam-extend.org] Error compiling OpenFOAM-1.6-ext | Canesin | OpenFOAM Installation | 137 | January 20, 2016 14:56 |
[OpenFOAM] Annoying issue of automatic "Rescale to Data Range " with paraFoam/paraview 3.12 | keepfit | ParaView | 60 | September 18, 2013 03:23 |
variables missing from object registry | ganeshv | OpenFOAM Running, Solving & CFD | 1 | February 29, 2012 07:12 |
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 |