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

columnAverage for fields (UMean UPrime2Mean wallShearStressMean)

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 21, 2020, 06:55
Default columnAverage for fields (UMean UPrime2Mean wallShearStressMean)
  #1
Member
 
niewiemnic
Join Date: Jan 2018
Location: Niemcy
Posts: 80
Rep Power: 8
spalartallmaras is on a distinguished road
Hi,

I simulate channel flow and I want to do postprocessing with columnAverage.

But columnAverage works well with fields (U p);

not with fields (UMean UPrime2Mean wallShearStressMean);

Code:
columnAverage
	{
    	  type        columnAverage;
          libs        ("libfieldFunctionObjects.so");
   	  writeControl    writeTime;
  	  patches     (inout2_half0 inout2_half1); //unten_inlet_outlet
	  //patches     (inout1_half0 inout1_half1);
  	  fields      (UMean UPrime2Mean wallShearStressMean);
	}
Does anyone have Idea for the problem?
spalartallmaras is offline   Reply With Quote

Old   January 23, 2020, 11:50
Default
  #2
Member
 
niewiemnic
Join Date: Jan 2018
Location: Niemcy
Posts: 80
Rep Power: 8
spalartallmaras is on a distinguished road
if I start postProcess -dict system/controlDict -latestTime


OpenFOAM cannot find U p UMean and UPrime2Mean in the result folder, even there are results!



Code:
bash-4.2# postProcess -dict system/controlDict -latestTime
/*---------------------------------------------------------------------------*\
| =========                 |                                                 |
| \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox           |
|  \\    /   O peration     | Version:  v1912                                 |
|   \\  /    A nd           | Website:  www.openfoam.com                      |
|    \\/     M anipulation  |                                                 |
\*---------------------------------------------------------------------------*/
Build  : _f3950763fe-20191219 OPENFOAM=1912
Arch   : "LSB;label=32;scalar=64"
Exec   : postProcess -dict system/controlDict -latestTime
Date   : Jan 23 2020
Time   : 16:41:19
Host   : 660b166e447b
PID    : 6029
I/O    : uncollated
Case   : /root/platte/OpenFOAM/halloleute/run/kanal_WALE/kanal_180
nProcs : 1
trapFpe: Floating point exception trapping enabled (FOAM_SIGFPE).
fileModificationChecking : Monitoring run-time modified files using timeStampMaster (fileModificationSkew 10)
allowSystemOperations : Allowing user-supplied system call operations

// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
Create time

Create mesh for time = 4999.97413939496982

Time = 4999.97413939496982

Reading fields:

Executing functionObjects
--> FOAM Warning : 
    From function virtual bool Foam::functionObjects::fieldSelection::checkSelection()
    in file functionObjects/fieldSelections/fieldSelection/fieldSelection.C at line 166
    Field U not found
--> FOAM Warning : 
    From function virtual bool Foam::functionObjects::fieldSelection::checkSelection()
    in file functionObjects/fieldSelections/fieldSelection/fieldSelection.C at line 166
    Field UMean not found
--> FOAM Warning : 
    From function virtual bool Foam::functionObjects::fieldSelection::checkSelection()
    in file functionObjects/fieldSelections/fieldSelection/fieldSelection.C at line 166
    Field UPrime2Mean not found
--> FOAM Warning : 
    From function virtual bool Foam::functionObjects::fieldSelection::checkSelection()
    in file functionObjects/fieldSelections/fieldSelection/fieldSelection.C at line 166
    Field p not found
--> FOAM Warning : 
    From function virtual bool Foam::functionObjects::fieldSelection::checkSelection()
    in file functionObjects/fieldSelections/fieldSelection/fieldSelection.C at line 166
    Field columnAverage:columnAverage(U) not found
--> FOAM Warning : 
    From function virtual bool Foam::functionObjects::fieldSelection::checkSelection()
    in file functionObjects/fieldSelections/fieldSelection/fieldSelection.C at line 166
    Field columnAverage:columnAverage(UPrime2Mean) not found
--> FOAM Warning : 
    From function virtual bool Foam::functionObjects::fieldSelection::checkSelection()
    in file functionObjects/fieldSelections/fieldSelection/fieldSelection.C at line 166
    Field columnAverage:columnAverage(p) not found
--> FOAM Warning : 
    From function virtual bool Foam::functionObjects::fieldSelection::checkSelection()
    in file functionObjects/fieldSelections/fieldSelection/fieldSelection.C at line 166
    Field columnAverage:columnAverage(UMean) not found

End
spalartallmaras is offline   Reply With Quote

Old   January 26, 2020, 14:22
Default
  #3
Member
 
Damian Berghof
Join Date: May 2019
Posts: 41
Rep Power: 11
virengos will become famous soon enough
Hi,
Usually I take a detour for such post-processing operations. Assuming the raw data is already available.

I import all the data (e.g. CSV) into a python pandas data frame, make the required modifications (statistics) and create a nice output for plotting with matplotlib or ParaView. All this stuff during run-time
best,
Damian
__________________
Get more support about Meshing with Salome and Visualization with ParaView in my growing groups
https://bit.ly/2lFfDkQ
https://bit.ly/2k2u8Pj
virengos 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
[General] ParaView skips timeframe for UMean Max0139 ParaView 1 November 24, 2016 05:29


All times are GMT -4. The time now is 10:37.