CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM (https://www.cfd-online.com/Forums/openfoam/)
-   -   Turbulent combustion error... XiFoam model (https://www.cfd-online.com/Forums/openfoam/77191-turbulent-combustion-error-xifoam-model.html)

achinta June 16, 2010 05:08

Turbulent combustion error... XiFoam model
 
Hi,
I am working on Gas turbine combustion simulation. I tried to use XiFoam model. The following error was displayed.

-------------------------------------------
Create time

Create mesh for time = 0

Reading combustion properties


Ignition switched off

Reading g
Reading thermophysical properties

Selecting thermodynamics package hhuMixtureThermo<homogeneousMixture<sutherlandTran sport<specieThermo<janafThermo<perfectGas>>>>>
min(b) = 1

Reading field U

Reading/calculating face flux field phi

Creating turbulence model

Selecting turbulence model type RASModel
Selecting RAS turbulence model LaunderSharmaKE


LHS and RHS of + have different dimensions
dimensions : [0 0 0 0 0 0 0] + [-1 3 0 0 0 0 0]
#0 Foam::error::printStack(Foam::Ostream&) in "/usr/logau/expsm/OpenFOAM/OpenFOAM-1.6/lib/linux64GccDPOpt/libOpenFOAM.so"
#1 Foam::error::abort() in "/usr/logau/expsm/OpenFOAM/OpenFOAM-1.6/lib/linux64GccDPOpt/libOpenFOAM.so"
#2 Foam::operator+(Foam::dimensionSet const&, Foam::dimensionSet const&) in "/usr/logau/expsm/OpenFOAM/OpenFOAM-1.6/lib/linux64GccDPOpt/libOpenFOAM.so"
#3 Foam::tmp<Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh> > Foam::operator+<Foam::fvPatchField, Foam::volMesh>(Foam::dimensioned<double> const&, Foam::tmp<Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh> > const&) in "/usr/logau/expsm/OpenFOAM/OpenFOAM-1.6/applications/bin/linux64GccDPOpt/XiFoam"
#4 Foam::compressible::RASModels::LaunderSharmaKE::fM u() const in "/usr/logau/expsm/OpenFOAM/OpenFOAM-1.6/lib/linux64GccDPOpt/libcompressibleRASModels.so"
#5 Foam::compressible::RASModels::LaunderSharmaKE::La underSharmaKE(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 "/usr/logau/expsm/OpenFOAM/OpenFOAM-1.6/lib/linux64GccDPOpt/libcompressibleRASModels.so"
#6 Foam::compressible::RASModel::adddictionaryConstru ctorToTable<Foam::compressible::RASModels::Launder SharmaKE>::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 "/usr/logau/expsm/OpenFOAM/OpenFOAM-1.6/lib/linux64GccDPOpt/libcompressibleRASModels.so"
#7 Foam::compressible::RASModel::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 "/usr/logau/expsm/OpenFOAM/OpenFOAM-1.6/lib/linux64GccDPOpt/libcompressibleRASModels.so"
#8 Foam::compressible::turbulenceModel::addturbulence ModelConstructorToTable<Foam::compressible::RASMod 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 "/usr/logau/expsm/OpenFOAM/OpenFOAM-1.6/lib/linux64GccDPOpt/libcompressibleRASModels.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 "/usr/logau/expsm/OpenFOAM/OpenFOAM-1.6/lib/linux64GccDPOpt/libcompressibleTurbulenceModel.so"
#10 main in "/usr/logau/expsm/OpenFOAM/OpenFOAM-1.6/applications/bin/linux64GccDPOpt/XiFoam"
#11 __libc_start_main in "/lib64/libc.so.6"
#12 _start at /usr/src/packages/BUILD/glibc-2.9/csu/../sysdeps/x86_64/elf/start.S:116


From function operator+(const dimensionSet& ds1, const dimensionSet& ds2)
in file dimensionSet/dimensionSet.C at line 403.

FOAM aborting

--------------------------------------------

There is a problem with dimensions. I am not able to locate it as I am new to OpenFOAM. Could someone please locate the problem?

Thank you,

Regards,
Achinta

ziooscuro July 7, 2010 08:24

you did an error in the input dimensions!
a typical case is when you copy the Bc from an incompressible case to a compressible one.. in these two cases the pressures are measured in a different way (one is scaled by the density).
i hope i helped you!
cheers
Danilo


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