CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM Running, Solving & CFD (http://www.cfd-online.com/Forums/openfoam-solving/)
-   -   Problem when running rhoSonicFoam solver (http://www.cfd-online.com/Forums/openfoam-solving/60109-problem-when-running-rhosonicfoam-solver.html)

gaottino July 12, 2006 10:45

Hi, I'd like to study what ha
 
Hi,
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:

--> FOAM FATAL ERROR :
request for surfaceScalarField phi from objectRegistry region0 failed
available objects of type surfaceScalarField are

4
(
weightingFactors
limiter
differenceFactors_
phiv
)


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::error::printStack(Foam:http://www.cfd-online.com/OpenFOAM_D...part/proud.gifstream&)
Foam::error::abort()
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]
__libc_start_main
__gxx_personality_v0

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,

Gabriele

munder July 17, 2006 19:02

Hello, I also see the same
 
Hello,

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,
Mark

gaottino July 19, 2006 08:11

Hi, thanks for your answer.
 
Hi,

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.

Gabriele

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 06:59.