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

Problem with sample and fieldAverage

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 19, 2013, 07:08
Default Problem with sample and fieldAverage
  #1
Member
 
Florian
Join Date: Nov 2009
Posts: 59
Rep Power: 16
Horus is on a distinguished road
Hello,

Sorry the wrong subject, the problem is with forceCoeffs and fieldAverage, but I can't edit topic.

I use fieldAverage, reconstructPar the case and now I want to calculate forceCoeffs using the averaged values, but:

OpenFOAM 2.1x but I can switch to OF 2.2 if this is the problem.
Code:
Time = 8000
    Reading phi
    Reading U
    Reading p
Selecting incompressible transport model Newtonian
Selecting RAS turbulence model kOmegaSST
kOmegaSSTCoeffs
{
[...]
}

--> FOAM Warning : 
    From function void forces::read(const dictionary&)
    in file forces/forces.C at line 309
    Could not find UMean, pMean in database.
    De-activating forces.
--> FOAM Warning : 
    From function void forces::read(const dictionary&)
    in file forces/forces.C at line 309
    Could not find UMean, pMean in database.
    De-activating forces.
--> FOAM Warning : 
--> FOAM FATAL IO ERROR: 
timeStepMean is not in enumeration: 
2
(
outputTime
timeStep
)

file: /scratch/flindner/Car.Scoop6/system/controlDict::functions::coeffsRearWheelsAveraged::outputControl at line 137.

    From function NamedEnum<Enum, nEnum>::read(Istream&) const
    in file lnInclude/NamedEnum.C at line 72.
Well, but
Code:
$ ls 8000/
k.gz  nut.gz  omega.gz  p.gz  phi.gz  pMean.gz  U.gz  UMean.gz  uniform
I have also tried to comment out the fieldAverage function object from the controlDict.

What can the problem be here?

Thanks,
Florian
Horus is offline   Reply With Quote

Old   June 19, 2013, 09:25
Default
  #2
Member
 
Florian
Join Date: Nov 2009
Posts: 59
Rep Power: 16
Horus is on a distinguished road
A related problem I ran into is that I try to look up pMean from a piece of custom code:

Code:
    request for volScalarField pMean from objectRegistry region0 failed
    available objects of type volScalarField are
So it seems that somehow pMean und UMean are not registered to the database...

Any idea someone?
Horus is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

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



All times are GMT -4. The time now is 13:28.