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/)
-   -   continuity error (https://www.cfd-online.com/Forums/openfoam-solving/76422-continuity-error.html)

FabOr May 25, 2010 10:31

continuity error
 
Hi all,

i am new to OpenFoam andi want to simulate a vacuum-chamber pumpdown. So there is no inlet and only one outlet. At the outlet i use a fixed velocity-value and zeroGradient pressure.
When i run pisoFoam it crashes after a few iterations because of a continuity error and advises me to run potentialFoam to initialise the outflow. But when i run potentialFoam it crahses during the first iteration.

Are there any special requirements for the B, k, nuSgs or nuTilda files when there is no inlet?
Should i try other solvers?
What kind of type should the outlet be? inletOutlet or something else?

I would be pleased if anyone can help me!

CedricVH May 25, 2010 10:36

pisoFoam is an incompressible solver, so I don`t think that is is suitable for your case.

FabOr May 25, 2010 11:06

thanks for your fast reply.
Of course you are right:)

now i have copied alphaSgs,... out of a tutorial and modified the BC for my case. then i want to solve this with rhoPisoFoam and get the following error:

Selecting turbulence model type LESModel
Selecting LES turbulence model oneEqEddy


Different dimensions for =
dimensions : [1 -1 -1 0 0 0 0] = [0 2 -1 0 0 0 0]
#0 Foam::error::printStack(Foam::Ostream&) in "/home/fabian/OpenFOAM/OpenFOAM-1.6/lib/linuxGccDPOpt/libOpenFOAM.so"
#1 Foam::error::abort() in "/home/fabian/OpenFOAM/OpenFOAM-1.6/lib/linuxGccDPOpt/libOpenFOAM.so"
#2 Foam::dimensionSet::operator=(Foam::dimensionSet const&) const in "/home/fabian/OpenFOAM/OpenFOAM-1.6/lib/linuxGccDPOpt/libOpenFOAM.so"
#3 Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh>::operator=(Foam::tmp<Foam::Geometri cField<double, Foam::fvPatchField, Foam::volMesh> > const&) in "/home/fabian/OpenFOAM/OpenFOAM-1.6/applications/bin/linuxGccDPOpt/rhoPisoFoam"
#4 Foam::compressible::LESModels::oneEqEddy::updateSu bGridScaleFields() in "/home/fabian/OpenFOAM/OpenFOAM-1.6/lib/linuxGccDPOpt/libcompressibleLESModels.so"
#5 Foam::compressible::LESModels::oneEqEddy::oneEqEdd y(Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh> const&, Foam::GeometricField<Foam::Vector<double>, Foam::fvPatchField, Foam::volMesh> const&, Foam::GeometricField<double, Foam::fvsPatchField, Foam::surfaceMesh> const&, Foam::basicThermo const&) in "/home/fabian/OpenFOAM/OpenFOAM-1.6/lib/linuxGccDPOpt/libcompressibleLESModels.so"
#6 Foam::compressible::LESModel::adddictionaryConstru ctorToTable<Foam::compressible::LESModels::oneEqEd dy>::New(Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh> const&, Foam::GeometricField<Foam::Vector<double>, Foam::fvPatchField, Foam::volMesh> const&, Foam::GeometricField<double, Foam::fvsPatchField, Foam::surfaceMesh> const&, Foam::basicThermo const&) in "/home/fabian/OpenFOAM/OpenFOAM-1.6/lib/linuxGccDPOpt/libcompressibleLESModels.so"
#7 Foam::compressible::LESModel::New(Foam::GeometricF ield<double, Foam::fvPatchField, Foam::volMesh> const&, Foam::GeometricField<Foam::Vector<double>, Foam::fvPatchField, Foam::volMesh> const&, Foam::GeometricField<double, Foam::fvsPatchField, Foam::surfaceMesh> const&, Foam::basicThermo const&) in "/home/fabian/OpenFOAM/OpenFOAM-1.6/lib/linuxGccDPOpt/libcompressibleLESModels.so"
#8 Foam::compressible::turbulenceModel::addturbulence ModelConstructorToTable<Foam::compressible::LESMod el>::NewturbulenceModel(Foam::GeometricField<doubl e, Foam::fvPatchField, Foam::volMesh> const&, Foam::GeometricField<Foam::Vector<double>, Foam::fvPatchField, Foam::volMesh> const&, Foam::GeometricField<double, Foam::fvsPatchField, Foam::surfaceMesh> const&, Foam::basicThermo const&) in "/home/fabian/OpenFOAM/OpenFOAM-1.6/lib/linuxGccDPOpt/libcompressibleLESModels.so"
#9 Foam::compressible::turbulenceModel::New(Foam::Geo metricField<double, Foam::fvPatchField, Foam::volMesh> const&, Foam::GeometricField<Foam::Vector<double>, Foam::fvPatchField, Foam::volMesh> const&, Foam::GeometricField<double, Foam::fvsPatchField, Foam::surfaceMesh> const&, Foam::basicThermo const&) in "/home/fabian/OpenFOAM/OpenFOAM-1.6/lib/linuxGccDPOpt/libcompressibleTurbulenceModel.so"
#10 main in "/home/fabian/OpenFOAM/OpenFOAM-1.6/applications/bin/linuxGccDPOpt/rhoPisoFoam"
#11 __libc_start_main in "/lib/tls/i686/cmov/libc.so.6"
#12 _start at /usr/src/packages/BUILD/glibc-2.9/csu/../sysdeps/i386/elf/start.S:122


From function dimensionSet::operator=(const dimensionSet& ds) const
in file dimensionSet/dimensionSet.C at line 143.


You have any idea where the problem is?

FabOr May 25, 2010 11:13

i know it has something to do with the density, but what dimensions should i change?
alphaSgs and muSgs are (1 -1 -1 0 0 0 0)
nuSgs and nuTilda are (0 2 -1 0 0 0 0)


All times are GMT -4. The time now is 05:30.