|
[Sponsors] |
Self-defined IOobject variable not in objectRegistry |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
April 16, 2010, 07:06 |
Self-defined IOobject variable not in objectRegistry
|
#1 |
New Member
Patrick Dems
Join Date: May 2009
Posts: 4
Rep Power: 16 |
Hello,
I have implemented two new variables of the same kind as Code:
volScalarField m0 ( IOobject ( "m0", runTime.timeName(), mesh, IOobject::MUST_READ, IOobject::AUTO_WRITE ), mesh ); Code:
volScalarField m1 ( IOobject ( "m1", runTime.timeName(), mesh, IOobject::MUST_READ, IOobject::AUTO_WRITE ), mesh ); The problem now is that m1 is not in the regObjects list but m0. Therefore I have problems with runtime.write() where m1 won't be written and with fieldAverage, because fieldAverage doesn't know m1: Code:
Calculating averages request for volScalarField m1 from objectRegistry region0 failed available objects of type volScalarField are At the second cluster the code is vectorized during the compilation. I have no idea, can anybody help me, at least some hints how to force m1 into the objectRegistry? Thanks in advance! |
|
April 20, 2010, 06:49 |
Problem gone by changing from version 1.5 to 1.6
|
#2 |
New Member
Patrick Dems
Join Date: May 2009
Posts: 4
Rep Power: 16 |
Don't know why but using version 1.6 it works. That's what I call good work in software improvement!
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
reconstructParMesh not working with an axisymetric case | francesco | OpenFOAM Bugs | 4 | May 8, 2009 05:49 |
error in COMSOL:'ERROR:6164 Duplicate Variable' | bhushas | COMSOL | 1 | May 30, 2008 04:35 |
Gradient of a User defined Variable | Ramadas | CFX | 2 | August 21, 2007 09:19 |
Env variable not set | gruber2 | OpenFOAM Installation | 5 | December 30, 2005 04:27 |
Replace periodic by inlet-outlet pair | lego | CFX | 3 | November 5, 2002 20:09 |