sajad6 |
October 30, 2014 06:18 |
modified solver gives this message: "incompatible dimensions for operation"
1 Attachment(s)
I add enetgy equation to icoFoam and build icoHeatFoam. after I make blockMesh and boundrycondition I face with this error:
Code:
ajad@sajad-pc:~/Desktop/heatedCavity$ icoHeatFoam
/*---------------------------------------------------------------------------*\
| ========= | |
| \\ / 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 : icoHeatFoam
Date : Oct 30 2014
Time : 14:44:14
Host : "sajad-pc"
PID : 5810
Case : /home/sajad/Desktop/heatedCavity
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
Reading transportProperties
Reading field p
Reading field T
Reading field U
Reading/calculating face flux field phi
Starting time loop
Time = 0.005
Courant Number mean: 0.0001875 max: 0.005
--> FOAM FATAL ERROR:
incompatible dimensions for operation
[U[0 1 -2 0 0 0 0] ] == [-grad(p)[1 -2 -2 0 0 0 0] ]
From function checkMethod(const fvMatrix<Type>&, const GeometricField<Type, fvPatchField, volMesh>&)
in file /opt/openfoam210/src/finiteVolume/lnInclude/fvMatrix.C at line 1337.
FOAM aborting
#0 Foam::error::printStack(Foam::Ostream&) in "/opt/openfoam210/platforms/linuxGccDPOpt/lib/libOpenFOAM.so"
#1 Foam::error::abort() in "/opt/openfoam210/platforms/linuxGccDPOpt/lib/libOpenFOAM.so"
#2
in "/home/sajad/OpenFOAM/sajad-2.1.0/platforms/linuxGccDPOpt/bin/icoHeatFoam"
#3
in "/home/sajad/OpenFOAM/sajad-2.1.0/platforms/linuxGccDPOpt/bin/icoHeatFoam"
#4
in "/home/sajad/OpenFOAM/sajad-2.1.0/platforms/linuxGccDPOpt/bin/icoHeatFoam"
#5 __libc_start_main in "/lib/tls/i686/cmov/libc.so.6"
#6
in "/home/sajad/OpenFOAM/sajad-2.1.0/platforms/linuxGccDPOpt/bin/icoHeatFoam"
Aborted
what does this error mean and how can I debug it?
tnx for any help(I attached my case)
|