|
[Sponsors] |
fieldAverage over window complains about missing "windowType" |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
February 4, 2023, 06:35 |
fieldAverage over window complains about missing "windowType"
|
#1 | |
New Member
Tobias
Join Date: Jul 2022
Posts: 14
Rep Power: 4 |
Good morning (or whatever time it is with you).
I am using OF 2206 with interFoam and I have a functionObject that looks and runs OK like this: Code:
fieldAverage1 { type fieldAverage; libs (fieldFunctionObjects); writeControl writeTime; executeControl writeTime; fields ( U { mean on; prime2Mean on; base time; } ); } Code:
fieldAverage1 { type fieldAverage; libs (fieldFunctionObjects); writeControl writeTime; executeControl writeTime; fields ( U { mean on; prime2Mean on; base time; window 2; windowName Uavg windowType exact; } ); } Quote:
|
||
February 5, 2023, 04:31 |
|
#2 | |
Member
Hasan Celik
Join Date: Sep 2016
Posts: 64
Rep Power: 10 |
You need a semicolon after
Code:
windowName Uavg Code:
windowName Uavg; Quote:
|
||
February 5, 2023, 06:50 |
|
#3 | |
New Member
Tobias
Join Date: Jul 2022
Posts: 14
Rep Power: 4 |
Do you also know such situations where you wish you hadn't written something because it's a bit ashaming?
Anyway, so I was a bit glad that there seemed to be other problems with my simulation: I still got the following error Code:
[13] [13] --> FOAM FATAL IO ERROR: (openfoam-2206 patch=221104) [13] Entry 'windowTimes' not found in dictionary "stream.fieldAverage1.U" [13] [13] [13] file: stream.fieldAverage1.U at line 0. [13] [13] From bool Foam::dictionary::readEntry(const Foam::word&, T&, Foam::keyType::option, bool) const [with T = Foam::FIFOStack<double>] [13] in file ./src/OpenFOAM/lnInclude/dictionaryTemplates.C at line Quote:
brought me to the conclusion that the uniform directory is the problem.... Many thanks for the input, it has brought me further! |
||
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Mathematical meaning of window averaging in fieldAverage functionObject | Tobermory | OpenFOAM Post-Processing | 2 | December 31, 2022 10:44 |
fieldAverage - window and periodicRestart | mechkween | OpenFOAM | 1 | April 17, 2018 04:19 |
[OpenFOAM] Xlib: extension "GLX" missing on display | goldbeard | ParaView | 5 | March 24, 2013 14:12 |
errors when installing openfoam2.1 on ubuntu12.o4 | hewei | OpenFOAM Installation | 5 | May 29, 2012 08:43 |
Physics message window is missing | Kindel | CFX | 3 | August 18, 2010 17:45 |