CFD Online Discussion Forums

CFD Online Discussion Forums (
-   OpenFOAM Running, Solving & CFD (
-   -   Problem when running rhoSonicFoam solver (

gaottino July 12, 2006 10:45

Hi, I'd like to study what ha
I'd like to study what happens in a convergent-divergent tube. So I used the solver "rhoSonicFoam". But, when I run the case, it stops and in the shell these words are shown:

request for surfaceScalarField phi from objectRegistry region0 failed
available objects of type surfaceScalarField are


From function objectRegistry::lookupObject<type>(const word&) const
in file /home/dm2/henry/OpenFOAM/OpenFOAM-1.3/src/OpenFOAM/lnInclude/objectRegistryTempl ates.C at line 122.

FOAM aborting

Foam::GeometricField<double,> const& Foam::objectRegistry::lookupObject<foam::geometric field<double,> >(Foam::word const&) const
Foam::pressureInletVelocityFvPatchVectorField::upd ateCoeffs()
Foam::GeometricField<foam::vector<double>, Foam::fvPatchField, Foam::volMesh>::GeometricBoundaryField::updateCoef fs()
Foam::fvMatrix<foam::vector<double> >::fvMatrix(Foam::GeometricField<foam::vector<doub le>, Foam::fvPatchField, Foam::volMesh>&, Foam::dimensionSet const&)
Foam::fv::gaussConvectionScheme<foam::vector<doubl e> >::fvmDiv(Foam::GeometricField<double,> const&, Foam::GeometricField<foam::vector<double>, Foam::fvPatchField, Foam::volMesh>&) const
rhoSonicFoam [0x42dd76]
rhoSonicFoam [0x436675]
rhoSonicFoam [0x413a20]

I suppose that I didn't define one variable, but I don't really understand what does it mean.
Someone could help me, please?

Best regards,


munder July 17, 2006 19:02

Hello, I also see the same

I also see the same messages when running rhoSonicFoam but only when doing any "freestream-type" inlet/outlet type boundary conditions. If the boundaries are all fixed, rhoSonicFoam runs fine.

Hope this helps,

gaottino July 19, 2006 08:11

Hi, thanks for your answer.

thanks for your answer.
But I have the same problem also when I use the other types of boundary conditions at the inlet and at the outlet. In particular, I have a convergent-divergent tube: so I'd like to impose the pressure both at the inlet and at the outlet. So I use the "pressureInlet" and "pressureOutlet" conditions respectively, but FoamX gives always the same error messages.
I don't know why.
Thanks for your patience.


sixwp March 1, 2011 05:59

Hi Gabriele,
I know it's been a long time since you had this problem, but I am wondering if you managed to solve this matter (as I'm almost in the same situation), how did you do?

Best Regards

All times are GMT -4. The time now is 14:58.