|
[Sponsors] |
[swak4Foam] weighted average over a subset of a planar slice? |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
March 14, 2016, 09:30 |
weighted average over a subset of a planar slice?
|
#1 |
Senior Member
Pete Bachant
Join Date: Jun 2012
Location: Boston, MA
Posts: 173
Rep Power: 13 |
I have a case setup to use swak4Foam to compute some weighted averages over a slice of my domain, but I would really not like to use the entire cross-section, since my experiments don't reach that far. Right now I'm using something like this with funkyDoCalc:
Code:
planeAverageAdvectionZ { type swakExpression; outputControlMode timeStep; outputInterval 1; valueType surface; surfaceName testPlane; surface { type plane; basePoint (1.0 0.0 0.0); normalVector (1 0 0); interpolate true; }; verbose true; expression "-UMean.z/UMean.x*gradUMeanX.z"; accumulations (weightedAverage); } |
|
March 21, 2016, 03:29 |
|
#2 |
New Member
Silvan
Join Date: Jun 2014
Posts: 12
Rep Power: 11 |
dear pete,
thanks for posting your issue. it is an interesting task, and I tried to achieve something similar in the past with topoSet. my post is here: http://www.cfd-online.com/Forums/ope...tml#post552881 unfortunately, I couldn't motivate any expert on this topic to answer my question... let us know, in case you found the solution to this task. regards, silvan |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
y+ and u+ values with low-Re RANS turbulence models: utility + testcase | florian_krause | OpenFOAM | 114 | August 23, 2023 05:37 |
[Other] Wedge patch '*' is not planar | LilumDaru | OpenFOAM Meshing & Mesh Conversion | 6 | January 12, 2021 05:55 |
[General] Average of SLICE in Paraview | Maurice Waldner | ParaView | 6 | December 16, 2018 17:41 |
Near wall treatment in k-omega SST | Arnoldinho | OpenFOAM Running, Solving & CFD | 38 | March 8, 2017 13:48 |
area weighted average or mass weighted average | sa har | Main CFD Forum | 0 | January 5, 2016 13:16 |