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

Error, running a modified version of twoPhaseEulerFoam

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 11, 2012, 17:17
Default Error, running a modified version of twoPhaseEulerFoam
  #1
Member
 
Alexander
Join Date: Jul 2011
Posts: 38
Rep Power: 15
foamer is on a distinguished road
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:perator=(const dimensionSet& ds) const
in file dimensionSet/dimensionSet.C at line 142.

FOAM aborting

#0 Foam::error:rintStack(Foam::Ostream&) in "/opt/openfoam171/lib/linux64GccDPOpt/libOpenFOAM.so"
#1 Foam::error::abort() in "/opt/openfoam171/lib/linux64GccDPOpt/libOpenFOAM.so"
#2 Foam::dimensionSet:perator=(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
foamer is offline   Reply With Quote

Reply


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
dsmcFoam modified version download Marta OpenFOAM 27 July 1, 2023 11:23
compiling error(s) in a modified twoPhaseEulerFoam solver foamer OpenFOAM 14 June 20, 2014 09:51
paraview installation woes vex OpenFOAM Installation 15 January 30, 2011 08:11
[OpenFOAM] Problem with paraFoam on a linux-64 bit bunni ParaView 4 April 14, 2010 21:55
paraFoam reader for OpenFOAM 1.6 smart OpenFOAM Installation 13 November 16, 2009 22:41


All times are GMT -4. The time now is 00:03.