

--> FOAM FATAL IO ERROR:
keyword RAS is undefined in dictionary "/home/kvk/Desktop/Hydraulicjump/constant/turbulenceProperties"
file: /home/kvk/Desktop/Hydraulicjump/constant/turbulenceProperties from line 19 to line 19.
From function dictionary::subDict(const word& keyword)
in file db/dictionary/dictionary.C at line 666.
FOAM exiting
/*--------------------------------*- C++ -*----------------------------------*\\
| ========= | |
| \\\\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\\\ / O peration | Version: 2.3.1 |
| \\\\ / A nd | Web: www.OpenFOAM.org |
| \\\\/ M anipulation | |
\\*---------------------------------------------------------------------------*/
/* Windows port by Atizar Ltd *\\
\\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class dictionary;
location "constant";
object turbulenceProperties;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
simulationType RAS;
// ************************************************************************* //
/*--------------------------------*- C++ -*----------------------------------*\\
| ========= | |
| \\\\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\\\ / O peration | Version: 2.3.1 |
| \\\\ / A nd | Web: www.OpenFOAM.org |
| \\\\/ M anipulation | |
\\*---------------------------------------------------------------------------*/
/* Windows port by Atizar Ltd *\\
\\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
class dictionary;
format ascii;
location "constant";
object RASProperties;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
printCoeffs on;
RAS kEpsilon ;
turbulence on;
Please tell me how to over come the error.
OpenFOAM


we are looking into your case files.
For the above error, please check your RASProperties files in constant folder.
Regards,
Rahul Joshi


I have solved the problem with RAS properties in constant folder . But when i am running the simulation i am getting an error as follows
/*---------------------------------------------------------------------------*\\
| ========= | |
| \\\\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\\\ / O peration | Version: 3.0.1 |
| \\\\ / A nd | Web: www.OpenFOAM.org |
| \\\\/ M anipulation | |
\\*---------------------------------------------------------------------------*/
Build : 3.0.1-d8a290b55d28
Exec : interFoam
Date : Mar 31 2016
Time : 23:36:59
Host : "kvk-DL-H61MXEL"
PID : 3115
Case : /home/kvk/Desktop/Hydraulicjump
nProcs : 1
sigFpe : Enabling floating point exception trapping (FOAM_SIGFPE).
fileModificationChecking : Monitoring run-time modified files using timeStampMaster
allowSystemOperations : Allowing user-supplied system call operations
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
Create time
Create mesh for time = 0
PIMPLE: Operating solver in PISO mode
Reading field p_rgh
Reading field U
Reading/calculating face flux field phi
Reading transportProperties
Selecting incompressible transport model Newtonian
Selecting incompressible transport model Newtonian
Selecting turbulence model type RAS
Selecting RAS turbulence model SpalartAllmaras
Selecting patchDistMethod meshWave
SpalartAllmarasCoeffs
{
sigmaNut 0.66666;
kappa 0.41;
Cb1 0.1355;
Cb2 0.622;
Cw2 0.3;
Cw3 2;
Cv1 7.1;
Cs 0.3;
}
Reading g
Reading hRef
Calculating field g.h
Creating MRF zone list from MRFProperties
No finite volume options present
--> FOAM FATAL ERROR:
Continuity error cannot be removed by adjusting the outflow.
Please check the velocity boundary conditions and/or run potentialFoam to initialise the outflow.
Total flux : 1e-300
Specified mass inflow : 1.25
Specified mass outflow : 0
Adjustable mass outflow : 0
From function adjustPhi(surfaceScalarField&, const volVectorField&,volScalarField&)
in file cfdTools/general/adjustPhi/adjustPhi.C at line 114.
FOAM exiting
Please help me how to solve it.


Try running this case by putting your case directory inside the interFoam solver.
Login to add comment


Inside which there is a folder named multiphase , in which you have interFoam solver ( directory ).
Put your case inside that directory.


| ========= | |
| \\\\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\\\ / O peration | Version: 3.0.1 |
| \\\\ / A nd | Web: www.OpenFOAM.org |
| \\\\/ M anipulation | |
\\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format binary;
class volVectorField;
location "0";
object U;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
dimensions [0 1 -1 0 0 0 0];
internalField uniform (0 0 0);
boundaryField
{
new_wall
{
type fixedValue;
value uniform (0 0 0);
}
wall
{
type fixedValue;
value uniform (0 0 0);
}
outlet
{
type inletOutlet;
inletValue uniform (2.5 0 0);
value uniform (0 0 0);
}
inlet
{
type variableHeightFlowRateInletVelocity;
flowRate 50;
alpha alpha.phase1;
value uniform (2.5 0 0);
}
}
// ************************************************************************* //
/*--------------------------------*- C++ -*----------------------------------*\\
| ========= | |
| \\\\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\\\ / O peration | Version: 2.3.1 |
| \\\\ / A nd | Web: www.OpenFOAM.org |
| \\\\/ M anipulation | |
\\*---------------------------------------------------------------------------*/
/* Windows port by Atizar Ltd *\\
\\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format binary;
class volScalarField;
location "0";
object p_rgh;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
dimensions [1 -1 -2 0 0 0 0];
internalField uniform 0.0;
boundaryField
{
inlet
{
type fixedFluxPressure;
}
new_wall
{
type fixedFluxPressure;
}
outlet
{
type fixedFluxPressure;
}
wall
{
type fixedFluxPressure;
}
}
// ************************************************************************* //
Login to add comment


/*********************************
type fixedFluxPressure;
value uniform 0;
/*********************************
Also why are you using two different versions of OpenFOAM. In the header it shows 3.0.1 for the U file and 2.3.1 for p_rgh file.
Login to add comment


I have checked RAS properties in Constant folder and made necessary corrections. When i am trying to run the simulation i am getting the error as follows
/*---------------------------------------------------------------------------*\\
| ========= | |
| \\\\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\\\ / O peration | Version: 3.0.1 |
| \\\\ / A nd | Web: www.OpenFOAM.org |
| \\\\/ M anipulation | |
\\*---------------------------------------------------------------------------*/
Build : 3.0.1-d8a290b55d28
Exec : interFoam
Date : Mar 31 2016
Time : 23:36:59
Host : "kvk-DL-H61MXEL"
PID : 3115
Case : /home/kvk/Desktop/Hydraulicjump
nProcs : 1
sigFpe : Enabling floating point exception trapping (FOAM_SIGFPE).
fileModificationChecking : Monitoring run-time modified files using timeStampMaster
allowSystemOperations : Allowing user-supplied system call operations
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
Create time
Create mesh for time = 0
PIMPLE: Operating solver in PISO mode
Reading field p_rgh
Reading field U
Reading/calculating face flux field phi
Reading transportProperties
Selecting incompressible transport model Newtonian
Selecting incompressible transport model Newtonian
Selecting turbulence model type RAS
Selecting RAS turbulence model SpalartAllmaras
Selecting patchDistMethod meshWave
SpalartAllmarasCoeffs
{
sigmaNut 0.66666;
kappa 0.41;
Cb1 0.1355;
Cb2 0.622;
Cw2 0.3;
Cw3 2;
Cv1 7.1;
Cs 0.3;
}
Reading g
Reading hRef
Calculating field g.h
Creating MRF zone list from MRFProperties
No finite volume options present
--> FOAM FATAL ERROR:
Continuity error cannot be removed by adjusting the outflow.
Please check the velocity boundary conditions and/or run potentialFoam to initialise the outflow.
Total flux : 1e-300
Specified mass inflow : 1.25
Specified mass outflow : 0
Adjustable mass outflow : 0
From function adjustPhi(surfaceScalarField&, const volVectorField&,volScalarField&)
in file cfdTools/general/adjustPhi/adjustPhi.C at line 114.
FOAM exiting
Please help me in this regard.
31-03-16, 11:42 p.m. KVK
Login to add comment