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

KEpsilon model k_oldTime not working

Register Blogs Community New Posts Updated Threads Search

 
 
LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old   December 9, 2008, 20:06
Default Hi, I try to modify the kEp
  #1
Member
 
Daniel Harlacher
Join Date: Mar 2009
Location: Davis, CA, United States
Posts: 60
Rep Power: 17
harly is on a distinguished road
Hi,

I try to modify the kEpsilon model and I wanted to access k_.oldTime() - the application compiled and ran - but the value k_.oldTime() was always the current k_ value.

k_ is defined as:

k_
(
IOobject
(
"k",
runTime_.timeName(),
mesh_,
IOobject::MUST_READ,
IOobject::AUTO_WRITE
),
mesh_
),
in OpenFOAM-1.5/src/turbulenceModels/RAS/incompressible/kEpsilon/kEpsilon.C

you can try

Info << "k_.oldTime()" << endl;
Info << "k_" << endl;

to see what I mean.
hope you have an idea ...

thanks
-harly
harly is offline   Reply With Quote

 


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
Modify kEpsilon model harly OpenFOAM 5 December 3, 2008 17:43
About kEpsilon turbulence model osimonsimon OpenFOAM Running, Solving & CFD 10 April 24, 2008 02:52
NACA0012 Study kepsilon Model pda OpenFOAM Running, Solving & CFD 1 March 11, 2008 03:12
msha ADD A NEW RELATION TO kepsilon MODEL msha OpenFOAM 0 December 30, 2007 09:30
Adjusting kepsilon model braennstroem OpenFOAM Running, Solving & CFD 2 April 12, 2005 09:52


All times are GMT -4. The time now is 07:45.