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

Wrong file in motorBike tutorial?

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   August 4, 2011, 10:06
Default Wrong file in motorBike tutorial?
  #1
Senior Member
 
lore
Join Date: Mar 2010
Location: Italy
Posts: 436
Rep Power: 8
lovecraft22 is on a distinguished road
Send a message via Skype™ to lovecraft22
Why the motorBike tutorial (/tutorials/incompressible/simpleFoam/motorBike) has a file called omega inside the 0.org folder which object is actually epsilon?

Here the file content:

Code:
/*--------------------------------*- C++ -*----------------------------------*\
| =========                 |                                                 |
| \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox           |
|  \\    /   O peration     | Version:  2.0.0                                 |
|   \\  /    A nd           | Web:      www.OpenFOAM.com                      |
|    \\/     M anipulation  |                                                 |
\*---------------------------------------------------------------------------*/
FoamFile
{
    version     2.0;
    format      ascii;
    class       volScalarField;
    object      epsilon;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

#include        "include/initialConditions"

dimensions      [0 0 -1 0 0 0 0];

internalField   uniform $turbulentOmega;

boundaryField
{
    #include "include/fixedInlet"

    outlet
    {
        type            inletOutlet;
        inletValue      $internalField;
        value           $internalField;
    }

    lowerWall
    {
        type            omegaWallFunction;
    }

    "motorBike_.*"
    {
        type            omegaWallFunction;
    }

    #include "include/frontBackUpperPatches"
}


// ************************************************************************* //
lovecraft22 is offline   Reply With Quote

Old   August 4, 2011, 10:58
Default
  #2
Member
 
Join Date: Nov 2009
Location: Germany
Posts: 96
Rep Power: 6
val46 is on a distinguished road
Hi,

the standard turbulence model in this tutorial is komegaSST.
Thats why, you need the omega file.
But you can of course switch to kepsilon (then you need an epsilon file).
__________________
"When I meet God, I am going to ask him two questions: Why relativity? And why turbulence? I really believe he will have an answer for the first." Werner Heisenberg
val46 is offline   Reply With Quote

Old   August 4, 2011, 12:05
Default
  #3
Senior Member
 
lore
Join Date: Mar 2010
Location: Italy
Posts: 436
Rep Power: 8
lovecraft22 is on a distinguished road
Send a message via Skype™ to lovecraft22
Thank you val;
what I was saying is that the file is called omega but the object is actually epsilon…
lovecraft22 is offline   Reply With Quote

Old   August 4, 2011, 13:03
Default
  #4
Senior Member
 
akidess's Avatar
 
Anton Kidess
Join Date: May 2009
Location: Delft, Netherlands
Posts: 912
Rep Power: 16
akidess will become famous soon enough
Copy&Paste error most probably. As far as I know that part of the file is always ignored.
akidess is offline   Reply With Quote

Reply

Thread Tools
Display Modes

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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
GroovyBC the dynamic cousin of funkySetFields that lives on the suburb of the mesh gschaider OpenFOAM 297 August 12, 2014 06:51
Installation of OpenFOAM-1.6 on Ubuntu 9.10 marval OpenFOAM Installation 2 March 17, 2010 09:33
OF 1.6 | Ubuntu 9.10 (64bit) | GLIBCXX_3.4.11 not found piprus OpenFOAM Installation 22 February 25, 2010 13:43
OpenFOAM Install Script ljsh OpenFOAM Installation 82 October 12, 2009 11:47
DxFoam reader update hjasak OpenFOAM Post-Processing 69 April 24, 2008 01:24


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