|
[Sponsors] |
February 27, 2019, 02:18 |
fieldAveraged wallShearStress
|
#1 |
New Member
machao
Join Date: Mar 2018
Posts: 3
Rep Power: 8 |
Dear Foamers
I'm doing the simulation of the flow over a circular cylinder.I want to get the mean-flow skin-friction coefficient.I try to use the fieldAverage function.This function can help me get Umean and Pmean.However it doesn't work to get wallShearStressmean.The file isn't created in time folders.How can I get wallShearStressmean on run-time?My OF version is 5.0. I'm appreciate for anyone who can help me. |
|
February 28, 2019, 04:38 |
|
#2 |
Senior Member
|
Hi,
It works if you first define the wallShearStress functionObject in the controlDict and than the average. Just make sure you execute wallShearStress every iteration/timestep: Code:
wallShearStress { type wallShearStress; libs ("libfieldFunctionObjects.so"); executeControl timeStep; writeControl writeTime; } fieldAverage { type fieldAverage; writeControl writeTime; timeStart 2500; fields ( U { mean on; prime2Mean off; base time; } wallShearStress { mean on; prime2Mean off; base time; } ); functionObjectLibs ("libfieldFunctionObjects.so"); } Tom |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
wallGradU or wallShearStress on Time-Averaged Velocity Field | minger | OpenFOAM Post-Processing | 6 | November 7, 2019 05:30 |
Error computing wallShearStress with simpleFoam | sita | OpenFOAM Post-Processing | 6 | November 4, 2018 15:02 |
wallShearStress vs. force functionObject | pad | OpenFOAM Post-Processing | 2 | March 8, 2016 11:24 |
why does 'sample' do this? wallShearStress question | CHARLES | OpenFOAM Post-Processing | 0 | August 7, 2013 19:30 |
wallShearStress VS wallGradU | bigrock | OpenFOAM Post-Processing | 0 | July 2, 2013 05:54 |