AndoniBM |
March 25, 2015 18:22 |
I solved it, it appears that the radialModel does not include the Gidaspow, but I can select between this:
-CarnahanStarling
-LunSavage-
-radialModel
-SInclairJackson
But I have another problem.
Code:
/*---------------------------------------------------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 2.2.0 |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
Build : 2.2.0-b363e8d14789
Exec : twoPhaseEulerFoam
Date : Mar 25 2015
Time : 09:01:31
Host : "sparta-VirtualBox"
PID : 2662
Case : /media/home/Sand_Pipe_Project/Test_Models/bed
nProcs : 1
sigFpe : Enabling floating point exception trapping (FOAM_SIGFPE).
fileModificationChecking : Monitoring run-time modified files using timeStampMaster
allowSystemOperations : Disallowing user-supplied system call operations
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
Create time
Create mesh for time = 0
Reading g
Reading transportProperties
Calculating face flux field phi1
Calculating face flux field phi2
Reading field alpha1
Reading field p
kEpsilonCoeffs
{
Cmu 0.09;
C1 1.44;
C2 1.92;
C3 -0.375;
alphak 1;
alphaEps 0.82142;
alpha1k 1;
alpha1Eps 0.76923;
}
wallFunctionCoeffs
{
kappa 0.4187;
E 9;
}
Reading field k
Reading field epsilon
Calculating field nut2
Calculating field nuEff1
Calculating field nuEff2
Calculating field DDtU1 and DDtU2
Calculating field g.h
Selecting dragModel for phase 1: GidaspowSchillerNaumann
Selecting dragModel for phase 2: GidaspowSchillerNaumann
dragPhase is 1
Selecting viscosityModel Syamlal
Selecting conductivityModel HrenyaSinclair
Selecting radialModel CarnahanStarling
Selecting granularPressureModel Lun
Selecting frictionalStressModel JohnsonJackson
No MRF models present
Courant Number mean: 0.00018 max: 0.0225
PIMPLE: Operating solver in PISO mode
Starting time loop
--> FOAM FATAL ERROR:
Requested field Ua does not exist in the database
From function Foam::fieldAverage::initialize()
in file fieldAverage/fieldAverage/fieldAverage.C at line 104.
FOAM exiting
I changed the original name Ua to U1 because at the beginning when I am running it appeared this:
Code:
/*---------------------------------------------------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 2.2.0 |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
Build : 2.2.0-b363e8d14789
Exec : twoPhaseEulerFoam
Date : Mar 25 2015
Time : 09:37:13
Host : "sparta-VirtualBox"
PID : 3298
Case : /media/home/Sand_Pipe_Project/Original_FIles/bed
nProcs : 1
sigFpe : Enabling floating point exception trapping (FOAM_SIGFPE).
fileModificationChecking : Monitoring run-time modified files using timeStampMaster
allowSystemOperations : Disallowing user-supplied system call operations
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
Create time
Create mesh for time = 0
Reading g
Reading transportProperties
--> FOAM FATAL IO ERROR:
keyword phase1 is undefined in dictionary "/media/home/Sand_Pipe_Project/Original_FIles/bed/constant/transportProperties"
file: /media/home/Sand_Pipe_Project/Original_FIles/bed/constant/transportProperties from line 23 to line 39.
From function dictionary::subDict(const word& keyword) const
in file db/dictionary/dictionary.C at line 608.
FOAM exiting
I saw that using phasea and phaseb like the original scripts are useful because the dictionary does not recognize them, so i will change the name for phase1 and phase2 as the program request.
And then another error happens:
Code:
/*---------------------------------------------------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 2.2.0 |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
Build : 2.2.0-b363e8d14789
Exec : twoPhaseEulerFoam
Date : Mar 25 2015
Time : 16:52:08
Host : "sparta-VirtualBox"
PID : 3530
Case : /media/home/Sand_Pipe_Project/Original_FIles/bed
nProcs : 1
sigFpe : Enabling floating point exception trapping (FOAM_SIGFPE).
fileModificationChecking : Monitoring run-time modified files using timeStampMaster
allowSystemOperations : Disallowing user-supplied system call operations
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
Create time
Create mesh for time = 0
Reading g
Reading transportProperties
--> FOAM FATAL IO ERROR:
cannot find file
file: /media/home/Sand_Pipe_Project/Original_FIles/bed/0/U1 at line 0.
From function regIOobject::readStream()
in file db/regIOobject/regIOobjectRead.C at line 73.
FOAM exiting
Then I change the name of the script files Ua and Ub for U1 and U2 respectively .
And then another error:
Code:
/*---------------------------------------------------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 2.2.0 |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
Build : 2.2.0-b363e8d14789
Exec : twoPhaseEulerFoam
Date : Mar 25 2015
Time : 16:59:05
Host : "sparta-VirtualBox"
PID : 3577
Case : /media/home/Sand_Pipe_Project/Original_FIles/bed
nProcs : 1
sigFpe : Enabling floating point exception trapping (FOAM_SIGFPE).
fileModificationChecking : Monitoring run-time modified files using timeStampMaster
allowSystemOperations : Disallowing user-supplied system call operations
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
Create time
Create mesh for time = 0
Reading g
Reading transportProperties
Calculating face flux field phi1
Calculating face flux field phi2
Reading field alpha1
--> FOAM FATAL IO ERROR:
cannot find file
file: /media/home/Sand_Pipe_Project/Original_FIles/bed/0/alpha1 at line 0.
From function regIOobject::readStream()
in file db/regIOobject/regIOobjectRead.C at line 73.
FOAM exiting
Then I change the script name alpha for alpha1
Another error appears...
Code:
/*---------------------------------------------------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 2.2.0 |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
Build : 2.2.0-b363e8d14789
Exec : twoPhaseEulerFoam
Date : Mar 25 2015
Time : 17:03:00
Host : "sparta-VirtualBox"
PID : 3635
Case : /media/home/Sand_Pipe_Project/Original_FIles/bed
nProcs : 1
sigFpe : Enabling floating point exception trapping (FOAM_SIGFPE).
fileModificationChecking : Monitoring run-time modified files using timeStampMaster
allowSystemOperations : Disallowing user-supplied system call operations
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
Create time
Create mesh for time = 0
Reading g
Reading transportProperties
Calculating face flux field phi1
Calculating face flux field phi2
Reading field alpha1
Reading field p
kEpsilonCoeffs
{
Cmu 0.09;
C1 1.44;
C2 1.92;
C3 -0.375;
alphak 1;
alphaEps 0.82142;
alpha1k 1;
alpha1Eps 0.76923;
}
wallFunctionCoeffs
{
kappa 0.4187;
E 9;
}
Reading field k
Reading field epsilon
Calculating field nut2
Calculating field nuEff1
Calculating field nuEff2
Calculating field DDtU1 and DDtU2
--> FOAM FATAL IO ERROR:
keyword div(phi1,U1) is undefined in dictionary "/media/home/Sand_Pipe_Project/Original_FIles/bed/system/fvSchemes.divSchemes"
file: /media/home/Sand_Pipe_Project/Original_FIles/bed/system/fvSchemes.divSchemes from line 29 to line 38.
From function dictionary::lookupEntry(const word&, bool, bool) const
in file db/dictionary/dictionary.C at line 402.
FOAM exiting
It appears that this time I must modify the file fschemes changing the variables:
-phia for phi1
-Ua for U1
-phib for phi2
-Ub for phi2
Again... Another error, this time in the drag model:
Code:
/*---------------------------------------------------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 2.2.0 |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
Build : 2.2.0-b363e8d14789
Exec : twoPhaseEulerFoam
Date : Mar 25 2015
Time : 17:14:23
Host : "sparta-VirtualBox"
PID : 3692
Case : /media/home/Sand_Pipe_Project/Original_FIles/bed
nProcs : 1
sigFpe : Enabling floating point exception trapping (FOAM_SIGFPE).
fileModificationChecking : Monitoring run-time modified files using timeStampMaster
allowSystemOperations : Disallowing user-supplied system call operations
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
Create time
Create mesh for time = 0
Reading g
Reading transportProperties
Calculating face flux field phi1
Calculating face flux field phi2
Reading field alpha1
Reading field p
kEpsilonCoeffs
{
Cmu 0.09;
C1 1.44;
C2 1.92;
C3 -0.375;
alphak 1;
alphaEps 0.82142;
alpha1k 1;
alpha1Eps 0.76923;
}
wallFunctionCoeffs
{
kappa 0.4187;
E 9;
}
Reading field k
Reading field epsilon
Calculating field nut2
Calculating field nuEff1
Calculating field nuEff2
Calculating field DDtU1 and DDtU2
Calculating field g.h
--> FOAM FATAL IO ERROR:
keyword dragModel1 is undefined in dictionary "/media/home/Sand_Pipe_Project/Original_FIles/bed/constant/interfacialProperties"
file: /media/home/Sand_Pipe_Project/Original_FIles/bed/constant/interfacialProperties from line 17 to line 20.
From function dictionary::lookupEntry(const word&, bool, bool) const
in file db/dictionary/dictionary.C at line 402.
FOAM exiting
|