immortality |
February 9, 2013 14:08 |
"request for surfaceScalarField" error
I have changed fvSchemes as this:
Code:
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 2.1.1 |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class dictionary;
location "system";
object fvSchemes;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
ddtSchemes
{
default backward;
}
gradSchemes
{
default Gauss linear;
grad(p) Gauss linear;
grad(U) cellLimited leastSquares 1.0;
}
divSchemes
{
default none;
div(phi,U) Gauss upwind;
div(phid,p) Gauss upwind;
div(phi,K) Gauss upwind;
div(phi,h) Gauss upwind;
div(phi,k) Gauss upwind;
div(phi,epsilon) Gauss upwind;
div(phi,R) Gauss upwind;
div(phi,omega) Gauss upwind;
div((rho*R)) Gauss linear;
div(R) Gauss linear;
div(U) Gauss linear;
div((muEff*dev2(T(grad(U))))) Gauss linear;
div(tauMC) Gauss linear;
}
laplacianSchemes
{
default Gauss filteredLinear2 corrected;//limited .5
/*laplacian(muEff,U) Gauss linear corrected;
laplacian(mut,U) Gauss linear corrected;
laplacian(DkEff,k) Gauss linear corrected;
laplacian(DepsilonEff,epsilon) Gauss linear corrected;
laplacian(DREff,R) Gauss linear corrected;
laplacian(DomegaEff,omega) Gauss linear corrected;
laplacian((rho*(1|A(U))),p) Gauss linear corrected;
laplacian(alphaEff,h) Gauss linear corrected;
laplacian(k,T) Gauss linear corrected;
laplacian(alpha,e) Gauss linear corrected;
laplacian(alphaEff,e) Gauss linear corrected;*/
}
interpolationSchemes
{
default linear;
}
snGradSchemes
{
default corrected;//limited .5
}
fluxRequired
{
default no;
p ;
}
what means the error?
Code:
/*---------------------------------------------------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 2.1.0 |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
Build : 2.1.0-0bc225064152
Exec : rhoPimpleFoam
Date : Feb 09 2013
Time : 21:47:49
Host : "Ehsan-com"
PID : 30304
Case : /home/ehsan/Desktop/WR_Pimple_filling
nProcs : 1
sigFpe : Enabling floating point exception trapping (FOAM_SIGFPE).
fileModificationChecking : Monitoring run-time modified files using timeStampMaster
allowSystemOperations : Disallowing user-supplied system call operations
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
Create time
Create mesh for time = 0
PIMPLE: max iterations = 4
field "(U|k|omega)" : relTol 0, tolerance 1e-11
Reading thermophysical properties
Selecting thermodynamics package hPsiThermo<pureMixture<constTransport<specieThermo<hConstThermo<perfectGas>>>>>
Reading field U
Reading/calculating face flux field phi
Creating turbulence model
Selecting turbulence model type laminar
Creating field dpdt
Creating field kinetic energy K
Starting time loop
Courant Number mean: 4.292084727e-06 max: 0.001188434481
deltaT = 6.711409396e-09
Time = 6.71141e-09
diagonal: Solving for rho, Initial residual = 0, Final residual = 0, No Iterations 0
PIMPLE: iteration 1
--> FOAM FATAL ERROR:
request for surfaceScalarField corrected from objectRegistry region0 failed
available objects of type surfaceScalarField are
3
(
weights
phi
deltaCoeffs
)
From function objectRegistry::lookupObject<Type>(const word&) const
in file /home/opencfd/OpenFOAM/OpenFOAM-2.1.0/src/OpenFOAM/lnInclude/objectRegistryTemplates.C at line 131.
FOAM aborting
#0 Foam::error::printStack(Foam::Ostream&) in "/opt/openfoam210/platforms/linux64GccDPOpt/lib/libOpenFOAM.so"
#1 Foam::error::abort() in "/opt/openfoam210/platforms/linux64GccDPOpt/lib/libOpenFOAM.so"
#2 at filteredLinear2.C:0
#3 Foam::surfaceInterpolationScheme<double>::addMeshConstructorToTable<Foam::LimitedScheme<double, Foam::filteredLinear2Limiter<Foam::NVDTVD>, Foam::limitFuncs::magSqr> >::New(Foam::fvMesh const&, Foam::Istream&) in "/opt/openfoam210/platforms/linux64GccDPOpt/lib/libfiniteVolume.so"
#4 Foam::surfaceInterpolationScheme<double>::New(Foam::fvMesh const&, Foam::Istream&) in "/opt/openfoam210/platforms/linux64GccDPOpt/bin/rhoPimpleFoam"
#5 Foam::fv::laplacianScheme<Foam::Vector<double>, double>::addIstreamConstructorToTable<Foam::fv::gaussLaplacianScheme<Foam::Vector<double>, double> >::New(Foam::fvMesh const&, Foam::Istream&) in "/opt/openfoam210/platforms/linux64GccDPOpt/lib/libfiniteVolume.so"
#6 Foam::fv::laplacianScheme<Foam::Vector<double>, double>::New(Foam::fvMesh const&, Foam::Istream&) in "/opt/openfoam210/platforms/linux64GccDPOpt/lib/libcompressibleTurbulenceModel.so"
#7 Foam::tmp<Foam::fvMatrix<Foam::Vector<double> > > Foam::fvm::laplacian<Foam::Vector<double>, double>(Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh> const&, Foam::GeometricField<Foam::Vector<double>, Foam::fvPatchField, Foam::volMesh> const&) in "/opt/openfoam210/platforms/linux64GccDPOpt/lib/libcompressibleTurbulenceModel.so"
#8 Foam::compressible::laminar::divDevRhoReff(Foam::GeometricField<Foam::Vector<double>, Foam::fvPatchField, Foam::volMesh>&) const in "/opt/openfoam210/platforms/linux64GccDPOpt/lib/libcompressibleTurbulenceModel.so"
#9
in "/opt/openfoam210/platforms/linux64GccDPOpt/bin/rhoPimpleFoam"
#10 __libc_start_main in "/lib/x86_64-linux-gnu/libc.so.6"
#11
in "/opt/openfoam210/platforms/linux64GccDPOpt/bin/rhoPimpleFoam"
Aborted
Killing PID 30302
PyFoam WARNING on line 232 of file /usr/local/lib/python2.7/dist-packages/PyFoam/Execution/FoamThread.py : Process 30302 was already dead
Getting LinuxMem: [Errno 2] No such file or directory: '/proc/30302/status'
ehsan@Ehsan-com:~/Desktop/WR_Pimple_filling$ pyFoamPlotRunner.py --hardcopy --with-courant --no-pickled-file rhoPimpleFoam
|