|November 2, 2013, 14:35||
Object registry empty
Join Date: Mar 2009
Posts: 117Rep Power: 13
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:
centreOfVolumeTranslation::centreOfVolumeTranslation( const Time& runTime, const fvMesh& mesh, const dictionary& TFRDict, const word& translationName) : translationalFrame(runTime, mesh, TFRDict), alpha1_(runTime.db().lookupObject<volScalarField>("alpha1")), ...
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.
|Thread||Thread Starter||Forum||Replies||Last Post|
|Annoying issue of automatic "Rescale to Data Range " with paraFoam/paraview 3.12||keepfit||OpenFOAM Paraview & paraFoam||60||September 18, 2013 03:23|
|Error compiling OpenFOAM-1.6-ext||Canesin||OpenFOAM Installation||136||April 25, 2012 11:22|
|variables missing from object registry||ganeshv||OpenFOAM Running, Solving & CFD||1||February 29, 2012 08:12|
|Compilation error OF1.5-dev on Suse10.3||darenyang||OpenFOAM Installation||0||April 29, 2009 04:55|
|BlockMeshmergePatchPairs||hjasak||OpenFOAM Native Meshers: blockMesh||11||August 15, 2008 07:36|