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? |
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. |
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 |
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 05:59. |