CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM Running, Solving & CFD (http://www.cfd-online.com/Forums/openfoam-solving/)
-   -   Problems starting new case interFoam (http://www.cfd-online.com/Forums/openfoam-solving/60152-problems-starting-new-case-interfoam.html)

billy October 8, 2005 18:00

I get the following error star
 
I get the following error starting a new case with interFoam:

Mean and max Courant Numbers = 0 0
deltaT = 0.002
Time = 0.002

Liquid phase volume fraction = 0.25 Min(gamma) = 0 Max(gamma) = 1
Liquid phase volume fraction = 0.25 Min(gamma) = 0 Max(gamma) = 1
Liquid phase volume fraction = 0.25 Min(gamma) = 0 Max(gamma) = 1
Liquid phase volume fraction = 0.25 Min(gamma) = 0 Max(gamma) = 1


--> FOAM FATAL ERROR : LHS and RHS of - have different dimensions
dimensions : [0 -2 0 0 0 0 0] - [1 -2 -2 0 0 0 0]


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

FOAM aborting

Aborted

Does anyone know what is wrong?

billy October 10, 2005 10:58

I discovered the problem. Apar
 
I discovered the problem. Aparently when you initiate a new interFoam case (not a clone case), the dimensions set in the transportProperties file are not correct and you have to edit the file because FoamX does not allow changing dimensions.

I think version 1.1 didn't have this problem. In this version you also have to set the div schemes since they are not set by default.

mattijs October 10, 2005 14:54

Hi Billy, if you think this
 
Hi Billy,

if you think this is a bug can you report it in the OpenFOAM-bugs section? Please specify which constant in the transportProperties is wrong etc. See also the bug template.

thanks

liugx212 June 21, 2006 11:18

Hi Billy, I also have the
 
Hi Billy,

I also have the same problem when I tried a new solver for CO2 concetration model. So I put my error and solver here. Could you please help me see and give some advice?

Thanks in advance.

my variables and dimensions:
nu (viscosity): kg/s*m

mu (Kinematic viscosity, thermal diffusivity, mass diffusivity): m^2/s,

pd (pressure): N/m^2 = (kg/(m/s^2))/m^2 = kg*s^2/m^3

rho (density): kg/m^3

rhoinj (injection): kg/s

resist (permeability): m^2

D (diffusion): m^2/s

Porous (porosity): constant

gh (gravity): m/s^2

C (concentration): kg/m^3

U (velocity): m/s

The error:
--> FOAM FATAL ERROR : LHS and RHS of - have different dimensions
dimensions : [1 -3 2 0 0 0 0] - [1 -1 -2 0 0 0 0]


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

FOAM aborting

Aborted

My solver linking:
http://www.cfd-online.com/OpenFOAM_D...tml?1150814110


All times are GMT -4. The time now is 07:23.