Error with dimensions (interFoam)
I am getting this error while trying to run my case files:
--> FOAM FATAL ERROR:
LHS and RHS of + have different dimensions
dimensions : [0 2 -2 0 0 0 0] + [1 -1 -2 0 0 0 0]
From function operator+(const dimensionSet&, const dimensionSet&)
in file dimensionSet/dimensionSet.C at line 514.
#0 Foam::error::printStack(Foam::Ostream&) in "/opt/openfoam211/platforms/linuxGccDPOpt/lib/libOpenFOAM.so"
#1 Foam::error::abort() in "/opt/openfoam211/platforms/linuxGccDPOpt/lib/libOpenFOAM.so"
#2 Foam::operator+(Foam::dimensionSet const&, Foam::dimensionSet const&) in "/opt/openfoam211/platforms/linuxGccDPOpt/lib/libOpenFOAM.so"
#5 __libc_start_main in "/lib/i386-linux-gnu/libc.so.6"
I think this has something to do with the dimensions of pressure (the ones which I have used are [0 2 -2 0 0 0 0]).
Any help will be much appreciated. :)
Dimension of pressure in interFoam should be [1 -1 -2 0 0 0 0];
In incompressible and single phase solver, usually, p/rho is used instead of just p. You're trying to use the former one for interFoam, which is not correct.
Thank you so much. It worked!
But now I am getting time step continuity errors in my simulations. I just went through some of the old forums on the same and found out that they are related to the pressure solver tolerance. Typical values that I'm getting:
time step continuity errors : sum local = 6.68285e-06, global = -5.08031e-07, cumulative = -0.000199826
Is the cumulative value too big and a cause for concern? If yes, how can I fix it?
No I haven't tried that yet since my simulations are still running. I figured that I should let it run atleast once and see what the results looks like.
But is the cumulative value too large and something to be worried about?
|All times are GMT -4. The time now is 19:21.|