CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Running, Solving & CFD (https://www.cfd-online.com/Forums/openfoam-solving/)
-   -   Error in running buoyantBoussinesqSimpleFoam (https://www.cfd-online.com/Forums/openfoam-solving/216405-error-running-buoyantboussinesqsimplefoam.html)

swapnil13 April 6, 2019 01:57

Error in running buoyantBoussinesqSimpleFoam
 
Hello, I am using buoyantBoussinesqSimpleFoam. I am getting error as given below. Problem is regarding forced convection through pipe. Flow is laminar and fluid is water.

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

10
(
rhok
rAU
p_rgh
nu
gh
alphat
p
T
p_rghPrevIter
div(phiHbyA)
)


From function const Type& Foam::objectRegistry::lookupObject(const Foam::word&) const [with Type = Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh>]
in file X:/OpenFOAM-5.x/src/OpenFOAM/db/objectRegistry/objectRegistryTemplates.C at line 193.

FOAM aborting

clapointe April 6, 2019 15:25

Error is pretty standard -- solver is looking for rho and can't find it. Off the top of my head, the boussinesq class of solvers is quasi-incompressible (density changes are only a function of temperature) and doesn't actually construct rho, so a dummy rhok field is created. I'd guess that a boundary condition has something like :

Code:

rho rho
in it. You can try using "rho rhok" instead there. This is all just a guess from the minimal information that you've provided.

Caelan


All times are GMT -4. The time now is 01:31.