|
[Sponsors] |
wallGradU or wallShearStress on Time-Averaged Velocity Field |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
August 21, 2013, 23:55 |
[CLOSED] wallGradU or wallShearStress on Time-Averaged Velocity Field
|
#1 |
Member
Join Date: Apr 2009
Posts: 36
Rep Power: 17 |
As the topic says I have a highly unsteady solution which I'd like to find the "time-averaged" wall shear stress for.
Ideally I would simply add wall shear stress to the runtime averaging, ala: Code:
fieldAverage1 { type fieldAverage; functionObjectLibs ( "libfieldFunctionObjects.so" ); enabled true; outputControl outputTime; fields ( U { mean on; prime2Mean on; base time; } p { mean on; prime2Mean on; base time; } wallShearStress { mean on; prime2Mean on; base time; } ); } edit: Wow I feel dumb. ParaView filter Temporal Statistics can achieve this. . .Run wallShearStress and then just average it. This does however require that I basically output many time steps and average. It would be nice to be able to treat wallShearStress like a velocity or pressure and allow the code to average and just end with one single result. Last edited by minger; August 23, 2013 at 20:52. Reason: fixed |
|
August 23, 2013, 11:04 |
|
#2 |
Member
Join Date: Apr 2009
Posts: 36
Rep Power: 17 |
I have gotten close to fixing this. I have gotten nearly there directly in paraFoam by the following approach
- Extract Surfaces - Computer Normals on Surfaces - Create a dummy magnitude for the time-averaged velocity, UMean - Computed the gradient of the new time-avg velocity magnitude - Create a calculator for the dot product of the surface normals and the gradient wallNormGrad = Normals.gradUMean Now, if I zoom way way in near the wall, it seems as though this process is working. That is, I can see contours near the wall, however the values do not seem to exist "On" the wall. My main issue is that I'd like to exact the wall data on the surface for further post processing and comparison which I've currently been unable to do. If anyone can provide some guidance I would appreciate it; thanks. |
|
September 12, 2013, 05:34 |
Time Average
|
#3 |
New Member
Luis Felipe Paulinyi
Join Date: Feb 2013
Location: Southampton, UK
Posts: 4
Rep Power: 13 |
I believe I have figured out an easier way to do it.
If you are doing a field averaging of the vector U, just get the last time step and rename the file UMean as U and run wallShearStress or wallGradU utility. OpenFOAM will calculate the shear stresses based on your averaged velocity field, thus giving you an averaged wall shear stress |
|
September 12, 2013, 13:29 |
|
#4 |
Member
Join Date: Apr 2009
Posts: 36
Rep Power: 17 |
lfpaulinyi,
That seems to simple and elegant I feel ashamed for not having thought of it. I will try when I get home, but see no reason that it shouldn't work. Thanks a ton! |
|
September 12, 2013, 16:49 |
|
#5 |
Senior Member
Niels Gjoel Jacobsen
Join Date: Mar 2009
Location: Copenhagen, Denmark
Posts: 1,902
Rep Power: 37 |
Good evening,
I the case of a highly unsteady case as the present, then you will need to consider the non-linear coupling between the near-wall eddy viscosity and the near wall velocity gradient. Performing an averaging of each of them and computing the shear stress based on these is not (necessarily) the same as computing the average of the shear stress. Kind regards Niels
__________________
Please note that I do not use the Friend-feature, so do not be offended, if I do not accept a request. |
|
September 13, 2013, 18:47 |
|
#6 |
Member
Join Date: Apr 2009
Posts: 36
Rep Power: 17 |
Niels,
I completely agree. My main purpose here is determining the time-average separation point (the actualy value of the shear stress not improtant) -- for which I believe just looking at wall gradient (wallGradU) would be sufficient. Agree? |
|
November 7, 2019, 06:30 |
|
#7 | |
Member
Pedro Ramos
Join Date: Mar 2012
Location: Belgium
Posts: 81
Rep Power: 14 |
Quote:
daaaaaamn... this is extremely clever! thanks! |
||
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
AMI speed performance | danny123 | OpenFOAM | 21 | October 24, 2020 05:13 |
High Courant Number @ icoFoam | Artex85 | OpenFOAM Running, Solving & CFD | 11 | February 16, 2017 14:40 |
Differences between serial and parallel runs | carsten | OpenFOAM Bugs | 11 | September 12, 2008 12:16 |
IcoFoam parallel woes | msrinath80 | OpenFOAM Running, Solving & CFD | 9 | July 22, 2007 03:58 |
Could anybody help me see this error and give help | liugx212 | OpenFOAM Running, Solving & CFD | 3 | January 4, 2006 19:07 |