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/)
-   -   Error, running a modified version of twoPhaseEulerFoam (http://www.cfd-online.com/Forums/openfoam-solving/98449-error-running-modified-version-twophaseeulerfoam.html)

foamer March 11, 2012 17:17

Error, running a modified version of twoPhaseEulerFoam
 
Hi

I am running a modified version of the solver twoPhaseEulerFoam. The problem is that i can not understand how to get around the error message i get. I understand at some level that there are some dimensions that are wrong somewhere. however, it seems like the error is in "dimensionSet" at line 142, and i do not know where that file is.


I am trying to simulate a stratified air/water pipe. I have put uniform conditions in the "0"folder. To achieve that, i took away the default inletOutlet boundary condition in the "0" folder. I want this eventually to be a laminar case (100 m pipe-length).


The simulation and the error message i get is the following:


/*---------------------------------------------------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 1.7.x |
| \\ / A nd | Web: www.OpenFOAM.com |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
Build : 1.7.x-131caa989cd3
Exec : twoPhaseEulerFoam
Date : Mar 11 2012
Time : 21:40:16
Host : user-VirtualBox
PID : 8509
Case : /home/user/OpenFOAM/user-1.7.1/run/stratPipe01
nProcs : 1
SigFpe : Enabling floating point exception trapping (FOAM_SIGFPE).

// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
Create time

Create mesh for time = 0


Reading g
Reading transportProperties

Calculating face flux field phia
Calculating face flux field phib
Reading field alpha

Reading field p

Reading field k

Reading field epsilon

Calculating field nutb

Calculating field nuEffa

Calculating field nuEffb

Calculating field DDtUa and DDtUb

Calculating field g.h

Selecting dragModel for phase a: SchillerNaumann
Selecting dragModel for phase b: SchillerNaumann
dragPhase is blended
Selecting viscosityModel Syamlal
Selecting conductivityModel HrenyaSinclair
Selecting radialModel Gidaspow
Selecting granularPressureModel Lun
Selecting frictionalStressModel JohnsonJackson
Courant Number mean: 1 max: 2

Starting time loop

Courant Number mean: 1 max: 2
Max Ur Courant Number = 0
Reading/calculating field UaMean

Reading/calculating field UbMean

Reading/calculating field alphaMean

Reading/calculating field pMean

fieldAverage: starting averaging at time 0

Time = 1

DILUPBiCG: Solving for alpha, Initial residual = 0.999993, Final residual = 1.50555e-16, No Iterations 1
Dispersed phase volume fraction = 0.5 Min(alpha) = 0.5 Max(alpha) = 0.5
DILUPBiCG: Solving for alpha, Initial residual = 0.326787, Final residual = 5.03032e-17, No Iterations 1
Dispersed phase volume fraction = 0.5 Min(alpha) = 0.5 Max(alpha) = 0.5


--> FOAM FATAL ERROR:
Different dimensions for =
dimensions : [1 -3 -1 0 0 0 0] = [0 0 0 0 0 0 0]


From function dimensionSet::operator=(const dimensionSet& ds) const
in file dimensionSet/dimensionSet.C at line 142.

FOAM aborting

#0 Foam::error::printStack(Foam::Ostream&) in "/opt/openfoam171/lib/linux64GccDPOpt/libOpenFOAM.so"
#1 Foam::error::abort() in "/opt/openfoam171/lib/linux64GccDPOpt/libOpenFOAM.so"
#2 Foam::dimensionSet::operator=(Foam::dimensionSet const&) const in "/opt/openfoam171/lib/linux64GccDPOpt/libOpenFOAM.so"
#3
in "/home/user/OpenFOAM/user-1.7.1/applications/bin/linux64GccDPOpt/twoPhaseEulerFoam"
#4 __libc_start_main in "/lib/libc.so.6"
#5
in "/home/user/OpenFOAM/user-1.7.1/applications/bin/linux64GccDPOpt/twoPhaseEulerFoam"
Aborted



I am not very experiensed in interpreting theese OpenFOAM error messages, so of course any help would be deeply appreciated.

Alex


All times are GMT -4. The time now is 04:12.