|January 8, 2013, 13:18||
During I add the temperature equation to cavitatingFoam I Got a problem! The new solver is compiled without any errors. Nevertheless, when I use it the terminal displays:
--> FOAM FATAL ERROR:
incompatible dimensions for operation
[T[0 0 -1 1 0 0 0] ] + [T[1 -3 -1 1 0 0 0] ]
From function checkMethod(const fvMatrix<Type>&, const fvMatrix<Type>&)
in file /home/ifas/OpenFOAM/OpenFOAM-2.1.1/src/finiteVolume/lnInclude/fvMatrix.C at line 1316.
#0 Foam::error:rintStack(Foam::Ostream&) in "/home/ifas/OpenFOAM/OpenFOAM-2.1.1/platforms/linuxGccDPOpt/lib/libOpenFOAM.so"
#1 Foam::error::abort() in "/home/ifas/OpenFOAM/OpenFOAM-2.1.1/platforms/linuxGccDPOpt/lib/libOpenFOAM.so"
#2 void Foam::checkMethod<double>(Foam::fvMatrix<double> const&, Foam::fvMatrix<double> const&, char const*) in "/home/ifas/OpenFOAM/ifas-2.1.1/platforms/linuxGccDPOpt/bin/thermalCavitatingFoam"
#3 Foam::tmp<Foam::fvMatrix<double> > Foam:perator+<double>(Foam::tmp<Foam::fvMatrix<d ouble> > const&, Foam::tmp<Foam::fvMatrix<double> > const&) in "/home/ifas/OpenFOAM/ifas-2.1.1/platforms/linuxGccDPOpt/bin/thermalCavitatingFoam"
#5 __libc_start_main in "/lib/libc.so.6"
Anyone can help me?
|January 22, 2013, 18:31||
Daniel P. Combest
Join Date: Mar 2009
Location: St. Louis, USA
Posts: 604Rep Power: 22
The error is telling you that you are attempting to add a term with the units kelvin per second to a term with a term with the units kilogram kelvin per meter cubed per second. Make sure your temperature equation units/dimensions are consistent throughout. For some help on the dimensions, look at Basic input/output file format.
|January 22, 2013, 18:50||
Marco A. Turcios
Join Date: Mar 2009
Location: Vancouver, BC, Canada
Posts: 730Rep Power: 21
Further to this discussion, it appears that either the first term should be divided by density, or the second one multiplied by it.
|Thread||Thread Starter||Forum||Replies||Last Post|
|Incompatible dimensions....||Amiga500||OpenFOAM Running, Solving & CFD||13||June 1, 2012 07:20|
|Software that can stretch the overall dimensions of a mesh.||Robert_B||Main CFD Forum||2||January 27, 2012 08:39|
|incompatible dimensions for operation (rhoSimpleFoam)||dongest||OpenFOAM Running, Solving & CFD||3||July 19, 2011 04:51|
|Incompatible dimensions for operation||pramodopen4foam||OpenFOAM||8||October 15, 2009 05:00|
|Dimensions of laplacian in PISO loop||kumar2||OpenFOAM Running, Solving & CFD||2||July 3, 2006 14:34|