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

Cyclone Simulation (simpleFoam)

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 14, 2010, 13:29
Default Cyclone Simulation (simpleFoam)
  #1
New Member
 
ernest
Join Date: Jun 2010
Posts: 21
Rep Power: 14
erncyc is an unknown quantity at this point
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;
erncyc is offline   Reply With Quote

Old   June 15, 2010, 05:23
Default
  #2
Senior Member
 
maddalena's Avatar
 
maddalena
Join Date: Mar 2009
Posts: 436
Rep Power: 23
maddalena will become famous soon enough
Hi Ernest and welcome!
your problem is quite clear:
Quote:
Originally Posted by erncyc View Post
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
maddalena is offline   Reply With Quote

Old   June 15, 2010, 06:30
Default
  #3
New Member
 
ernest
Join Date: Jun 2010
Posts: 21
Rep Power: 14
erncyc is an unknown quantity at this point
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.
erncyc is offline   Reply With Quote

Old   June 15, 2010, 08:03
Default
  #4
Senior Member
 
maddalena's Avatar
 
maddalena
Join Date: Mar 2009
Posts: 436
Rep Power: 23
maddalena will become famous soon enough
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
maddalena is offline   Reply With Quote

Old   January 28, 2011, 09:40
Default 1.6.x into 1.5 doesn't go
  #5
Senior Member
 
gocarts's Avatar
 
Richard Smith
Join Date: Mar 2009
Location: Enfield, NH, USA
Posts: 138
Blog Entries: 4
Rep Power: 17
gocarts is on a distinguished road
Sorry for the very delayed answer, but your problem is in trying to run a 1.6.x case in a 1.5 solver.
__________________
Symscape, Computational Fluid Dynamics for all
gocarts 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
cyclone simulation fluent_user FLUENT 2 December 9, 2008 09:44
problem about DPM of cyclone separator simulation jason FLUENT 4 November 12, 2007 03:15
CFX simulation of cyclone. Amol CFX 3 July 30, 2007 00:13
Cyclone Simulation by CFX 5.7 Tim Guo CFX 2 March 25, 2005 18:22
simulation cyclone wang haigang Main CFD Forum 6 August 7, 2002 06:57


All times are GMT -4. The time now is 05:32.