CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM (http://www.cfd-online.com/Forums/openfoam/)
-   -   Cyclone Simulation (simpleFoam) (http://www.cfd-online.com/Forums/openfoam/77136-cyclone-simulation-simplefoam.html)

erncyc June 14, 2010 13:29

Cyclone Simulation (simpleFoam)
 
Hi all I am a new user to OpenFOAM and I am trying to simulate flow in a cyclone. I imported the mesh from a program caedium which created the .ofm. I get the following errors when i try to run please help thank you. (I am using simplefoam). I have also enclosed the offending file (ie RASproperties). thanks!

Errors below:

/*---------------------------------------------------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 1.5 |
| \\ / A nd | Web: http://www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
Exec : c:\cfd\OpenFOAM-1.5\bin\simpleFoam
Date : Jun 14 2010
Time : 20:07:31
Host : hostname
PID : 3416
Case : C:\Users\user\Documents\PhD\CFD\Openfoam\My-tutorials\cyclone\cyclone-flow
nProcs : 1

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

Create mesh for time = 0

Reading field p

Reading field U

Reading/calculating face flux field phi

Selecting incompressible transport model Newtonian
Selecting RAS turbulence model kEpsilon
Programme terminated with errors: exit code 1, status 0.
Error messages:

keyword kEpsilonCoeffs is undefined in dictionary "C:\Users\user\Documents\PhD\CFD\Openfoam\My-tutorials\cyclone\cyclone-flow\constant\RASProperties"

file: C:\Users\user\Documents\PhD\CFD\Openfoam\My-tutorials\cyclone\cyclone-flow\constant\RASProperties from line 14 to line 15.

From function dictionary::subDict(const word& keyword)
in file C:\tmp\OpenFOAM-1.5\src\OpenFOAM\db\dictionary\dictionary.C at line 288.

FOAM exiting



Offending file below:

/*--------------------------------*- C++ -*----------------------------------*/
// OpenFOAM 1.6.x
// Generated by Symscape's Caedium on: 14 Jun 2010 16:20:41, www.symscape.com

FoamFile
{
version 2.0;
format binary;
class dictionary;
object RASProperties;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

RASModel kEpsilon;
turbulence on;

maddalena June 15, 2010 05:23

Hi Ernest and welcome!
your problem is quite clear:
Quote:

Originally Posted by erncyc (Post 262958)
Error messages:
keyword kEpsilonCoeffs is undefined in dictionary "C:\Users\user\Documents\PhD\CFD\Openfoam\My-tutorials\cyclone\cyclone-flow\constant\RASProperties";

you miss the coefficients definition for the kEpsilon model. The problem is not on your RASproperty file, but on constant/turbulenceProperty file (do you have it?). There something like:
Code:

kEpsilonCoeffs
{
    Cmu            Cmu [ 0 0 0 0 0 0 0 ] 0.09;
    C1              C1 [ 0 0 0 0 0 0 0 ] 1.44;
    C2              C2 [ 0 0 0 0 0 0 0 ] 1.92;
    alphaEps        alphaEps [ 0 0 0 0 0 0 0 ] 0.76923;
}

Should be defined.

Hope it helps.
Enjoy.

mad

erncyc June 15, 2010 06:30

Hi Maddalena...

thanx for your response...i have tried the code and now i get the following error (actually simplefoam.exe crashes)...i appreciate all your help

Programme terminated with errors: exit code 3, status 0.
Error messages:


Attempt to return dictionary entry as a primitive

file: C:\Users\user\Documents\PhD\CFD\Openfoam\My-tutorials\cyclone\cyclone-flow\system\fvSolution::U from line 27 to line 30.

From function ITstream& primitiveEntry::stream() const
in file C:\tmp\OpenFOAM-1.5\src\OpenFOAM\db\dictionary\dictionaryEntry\dic tionaryEntry.C at line 83.

FOAM aborting


This application has requested the Runtime to terminate it in an unusual way.
Please contact the application's support team for more information.

maddalena June 15, 2010 08:03

I guess the problem is with your fvSolution, probably a misspelled word. Try to crosscheck with one fvSolution file from the tutorial or with the userGuide examples.
Cheers,

mad

gocarts January 28, 2011 10:40

1.6.x into 1.5 doesn't go
 
Sorry for the very delayed answer, but your problem is in trying to run a 1.6.x case in a 1.5 solver.


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