CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Running, Solving & CFD

Problems starting new case interFoam

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 8, 2005, 18:00
Default I get the following error star
  #1
Senior Member
 
Billy
Join Date: Mar 2009
Posts: 167
Rep Power: 17
billy is on a distinguished road
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 is offline   Reply With Quote

Old   October 10, 2005, 10:58
Default I discovered the problem. Apar
  #2
Senior Member
 
Billy
Join Date: Mar 2009
Posts: 167
Rep Power: 17
billy is on a distinguished road
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.
billy is offline   Reply With Quote

Old   October 10, 2005, 14:54
Default Hi Billy, if you think this
  #3
Senior Member
 
Mattijs Janssens
Join Date: Mar 2009
Posts: 1,419
Rep Power: 26
mattijs is on a distinguished road
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
mattijs is offline   Reply With Quote

Old   June 21, 2006, 11:18
Default Hi Billy, I also have the
  #4
Senior Member
 
Guoxiang
Join Date: Mar 2009
Posts: 109
Rep Power: 17
liugx212 is on a distinguished road
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
liugx212 is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Interfoam Droplet under shear test case adona058 OpenFOAM Running, Solving & CFD 3 May 3, 2010 19:46
Runing InterFoam for 3 D damBreak case Patch issue nishant_hull OpenFOAM Running, Solving & CFD 5 February 18, 2009 01:32
Modifying a mesh starting from case file Ale FLUENT 2 September 16, 2008 13:10
FoamX refuses to open an interFoam tutorial case vrecha OpenFOAM Pre-Processing 5 March 12, 2008 13:36
Problem starting a tutorial case alank OpenFOAM Installation 1 December 12, 2006 17:50


All times are GMT -4. The time now is 05:21.