CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Programming & Development (https://www.cfd-online.com/Forums/openfoam-programming-development/)
-   -   Error concerning rDelatT (https://www.cfd-online.com/Forums/openfoam-programming-development/109693-error-concerning-rdelatt.html)

Azorica November 23, 2012 16:23

Error concerning rDelatT
 
Hello everybody,

I am trying to modify the coalChemistryFoam to an LTScoalChemistryFoam. I have followed the example of reactingFoam - LTSreacting Foam. This is however the first solver modification I am operating, so don t know if I am doing it right or wrong.

I have mange to compile the new solver, but when I try to run the test case I get the following error:



--> FOAM FATAL ERROR:

request for volScalarField rDeltaT from objectRegistry region0 failed
available objects of type volScalarField are

20
(
psi
N2
rho
CO2
k
O2
psi_0
H2
CH4
alphat
alpha
p
T
mut
pDyn
H2O
rhoEffLagrangian
mu
hs
epsilon
)


From function objectRegistry::lookupObject<Type>(const word&) const
in file /home/imagda/OpenFOAM/OpenFOAM-2.1.x/src/OpenFOAM/lnInclude/objectRegistryTemplates.C at line 131.

FOAM aborting

I have created a volScalarField rDeltaT in CreateFileds. h, but I get the same error when I run the case. Does anybody has any idea how can I correct this.

maalan August 3, 2017 14:39

Quote:

Hello everybody,

I am trying to modify the coalChemistryFoam to an LTScoalChemistryFoam. I have followed the example of reactingFoam - LTSreacting Foam. This is however the first solver modification I am operating, so don t know if I am doing it right or wrong.

I have mange to compile the new solver, but when I try to run the test case I get the following error:



--> FOAM FATAL ERROR:

request for volScalarField rDeltaT from objectRegistry region0 failed
available objects of type volScalarField are

20
(
psi
N2
rho
CO2
k
O2
psi_0
H2
CH4
alphat
alpha
p
T
mut
pDyn
H2O
rhoEffLagrangian
mu
hs
epsilon
)


From function objectRegistry::lookupObject<Type>(const word&) const
in file /home/imagda/OpenFOAM/OpenFOAM-2.1.x/src/OpenFOAM/lnInclude/objectRegistryTemplates.C at line 131.

FOAM aborting

I have created a volScalarField rDeltaT in CreateFileds. h, but I get the same error when I run the case. Does anybody has any idea how can I correct this.
Hi! I'm trying to do the same for the twoEulerFoam solver and I get the same error. Did you solve it?

Cheers

sree.- June 8, 2019 08:31

Same Error
 
Hi
I am working with similar kind of error.
Code:

--> FOAM FATAL ERROR:

    request for volScalarField kappa from objectRegistry region0 failed
    available objects of type volScalarField are

25
(
Kd
rhok
F
C_0
alpha.liquid
C.liquid
rho
C.solid
((alpha.solid*Cp)+(alpha.liquid*Cp))
min(max((Tmelt+(((Teut-Tmelt)|Ceut)*C)),Teut),Tmelt)
Tsol
min(max((Tmelt+(((Teut-Tmelt)|Calpha)*C)),Teut),Tmelt)
p_rgh
Tliq
dFdT
gh
C
alpha.solid
rho_0
p
T
T_0
(((180|sqr(DAS))*pow(min(alpha.solid,0.95),2))|pow(max(alpha.liquid,0.05),3))
H
alpha.liquid_0
)


    From function const Type& Foam::objectRegistry::lookupObject(const Foam::word&, bool) const [with Type = Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh>]
    in file /home/sree/OpenFOAM/OpenFOAM-v1712/src/OpenFOAM/lnInclude/objectRegistryTemplates.C at line 239.

FOAM aborting

#0  Foam::error::printStack(Foam::Ostream&) at ??:?
#1  Foam::error::abort() at ??:?
#2  Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh> const& Foam::objectRegistry::lookupObject<Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh> >(Foam::word const&, bool) const in "/home/sree/OpenFOAM/sree-v1712/platforms/linux64GccDPInt32Opt/bin/scdccfFoam"
#3  ? in "/home/sree/OpenFOAM/sree-v1712/platforms/linux64GccDPInt32Opt/bin/scdccfFoam"
#4  Foam::fvMatrix<double>::fvMatrix(Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh> const&, Foam::dimensionSet const&) in "/home/sree/OpenFOAM/sree-v1712/platforms/linux64GccDPInt32Opt/bin/scdccfFoam"
#5  Foam::fv::EulerDdtScheme<double>::fvmDdt(Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh> const&) at ??:?
#6  Foam::tmp<Foam::fvMatrix<double> > Foam::fvm::ddt<double>(Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh> const&) in "/home/sree/OpenFOAM/sree-v1712/platforms/linux64GccDPInt32Opt/bin/scdccfFoam"
#7  ? in "/home/sree/OpenFOAM/sree-v1712/platforms/linux64GccDPInt32Opt/bin/scdccfFoam"
#8  __libc_start_main in "/lib/x86_64-linux-gnu/libc.so.6"
#9  ? in "/home/sree/OpenFOAM/sree-v1712/platforms/linux64GccDPInt32Opt/bin/scdccfFoam"
Aborted (core dumped)

Thanks



Cheers


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