CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Running, Solving & CFD

ERROR: request for volScalarField thermo:psi from objectRegistry region0

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 8, 2019, 11:09
Unhappy ERROR: request for volScalarField thermo:psi from objectRegistry region0
  #1
New Member
 
Abdelrahman Abouali
Join Date: Mar 2017
Location: Coimbra, Portugal
Posts: 2
Rep Power: 0
AAbouali is on a distinguished road
Hello

I am trying to run a case based on the tutorial "hotroom" using buoyantBoussinesqPimpleFoam.

I have changed the boundary conditions as I need to have an inlet wind and an outlet that's open to the atmosphere and the ceiling as well. I have only the side walls and the ground as Wall Type.

I run the blockMesh then decompose the case and run setFields on parallel, all this is normal without errors.

But when I try to run the solver I get this error:

Code:
 --> FOAM FATAL ERROR: 
[2] 
    request for volScalarField thermo:psi from objectRegistry region0 failed
    available objects of type volScalarField are

11
(
rhok
nut
alphaEff
k
p_rgh
nu
gh
alphat
p
T
epsilon
)
[2] 
[2] 
[2]     From function const Type& Foam::objectRegistry::lookupObject(const Foam::word&) const [with Type = Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh>]
[2]     in file /home/ubuntu/OpenFOAM/OpenFOAM-4.1/src/OpenFOAM/lnInclude/objectRegistryTemplates.C at line 193.
[2] 
FOAM parallel run aborting
Although that I am defining the volScalarField as T in the setFieldsDict:

Code:
defaultFieldValues
(
    volScalarFieldValue T 300
);

regions
(
    // Set patch values (using ==)
    boxToFace
    {
        box (4.5 1.5 -1000) (5.5 2.5 1e-5);

        fieldValues
        (
            volScalarFieldValue T 500
        );
    }
);
Here is my BCs:
Code:
wall	: floor
    scalar		nut		generic
    scalar		k		generic
    scalar		p_rgh		fixedFluxPressure
    scalar		alphat		generic
    scalar		p		calculated
    scalar		T		fixedValue
    scalar		epsilon		generic
    vector		U		noSlip

patch	: ceiling
patch	: outlet
    scalar		nut		calculated
    scalar		k		calculated
    scalar		p_rgh		totalPressure
    scalar		alphat		calculated
    scalar		p		calculated
    scalar		T		totalTemperature
    scalar		epsilon		calculated
    vector		U		pressureInletOutletVelocity

patch	: inlet
    scalar		nut		calculated
    scalar		k		calculated
    scalar		p_rgh		zeroGradient
    scalar		alphat		calculated
    scalar		p		calculated
    scalar		T		fixedValue
    scalar		epsilon		calculated
    vector		U		fixedValue

wall	: sideWalls
    scalar		nut		generic
    scalar		k		generic
    scalar		p_rgh		fixedFluxPressure
    scalar		alphat		generic
    scalar		p		calculated
    scalar		T		zeroGradient
    scalar		epsilon		generic
    vector		U		noSlip
Any suggestions please or could someone explain to me why the error has "volScalarField thermosi" ? should't be the T?

Thanks in advance!
AAbouali is offline   Reply With Quote

Old   September 19, 2020, 05:53
Default
  #2
New Member
 
Haoyu Zhai
Join Date: Sep 2020
Posts: 1
Rep Power: 0
Haoyu is on a distinguished road
Hi,

I faced the same error, have you fixed it yet?
I checked the source code of buoyantBoussinesqPimpleFoam and can't find 'thermosi' in it.
Quote:
Originally Posted by AAbouali View Post
Hello

I am trying to run a case based on the tutorial "hotroom" using buoyantBoussinesqPimpleFoam.

I have changed the boundary conditions as I need to have an inlet wind and an outlet that's open to the atmosphere and the ceiling as well. I have only the side walls and the ground as Wall Type.

I run the blockMesh then decompose the case and run setFields on parallel, all this is normal without errors.

But when I try to run the solver I get this error:

Code:
 --> FOAM FATAL ERROR: 
[2] 
    request for volScalarField thermo:psi from objectRegistry region0 failed
    available objects of type volScalarField are

11
(
rhok
nut
alphaEff
k
p_rgh
nu
gh
alphat
p
T
epsilon
)
[2] 
[2] 
[2]     From function const Type& Foam::objectRegistry::lookupObject(const Foam::word&) const [with Type = Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh>]
[2]     in file /home/ubuntu/OpenFOAM/OpenFOAM-4.1/src/OpenFOAM/lnInclude/objectRegistryTemplates.C at line 193.
[2] 
FOAM parallel run aborting
Although that I am defining the volScalarField as T in the setFieldsDict:

Code:
defaultFieldValues
(
    volScalarFieldValue T 300
);

regions
(
    // Set patch values (using ==)
    boxToFace
    {
        box (4.5 1.5 -1000) (5.5 2.5 1e-5);

        fieldValues
        (
            volScalarFieldValue T 500
        );
    }
);
Here is my BCs:
Code:
wall	: floor
    scalar		nut		generic
    scalar		k		generic
    scalar		p_rgh		fixedFluxPressure
    scalar		alphat		generic
    scalar		p		calculated
    scalar		T		fixedValue
    scalar		epsilon		generic
    vector		U		noSlip

patch	: ceiling
patch	: outlet
    scalar		nut		calculated
    scalar		k		calculated
    scalar		p_rgh		totalPressure
    scalar		alphat		calculated
    scalar		p		calculated
    scalar		T		totalTemperature
    scalar		epsilon		calculated
    vector		U		pressureInletOutletVelocity

patch	: inlet
    scalar		nut		calculated
    scalar		k		calculated
    scalar		p_rgh		zeroGradient
    scalar		alphat		calculated
    scalar		p		calculated
    scalar		T		fixedValue
    scalar		epsilon		calculated
    vector		U		fixedValue

wall	: sideWalls
    scalar		nut		generic
    scalar		k		generic
    scalar		p_rgh		fixedFluxPressure
    scalar		alphat		generic
    scalar		p		calculated
    scalar		T		zeroGradient
    scalar		epsilon		generic
    vector		U		noSlip
Any suggestions please or could someone explain to me why the error has "volScalarField thermosi" ? should't be the T?

Thanks in advance!
Haoyu is offline   Reply With Quote

Reply

Tags
boundaries, heat transfer


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
request for volScalarField k from objectRegistry region0 failed+(DPMFoam) abdollahi OpenFOAM Programming & Development 41 January 7, 2020 14:14
chtMultiRegionSimpleFoam: crash on parallel run student666 OpenFOAM Running, Solving & CFD 3 April 20, 2017 12:05
[waves2Foam] objectRegistry region0 failed gautami OpenFOAM Community Contributions 3 November 15, 2016 13:14
request for surfaceScalarField corrected from objectRegistry region0 failed immortality OpenFOAM Running, Solving & CFD 7 May 7, 2015 22:00
reconstructParMesh not working with an axisymetric case francesco OpenFOAM Bugs 4 May 8, 2009 06:49


All times are GMT -4. The time now is 09:33.