|
[Sponsors] |
[swak4Foam] Calculating a sequence of zone averages with swak4Foam |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
November 6, 2015, 06:49 |
Calculating a sequence of zone averages with swak4Foam
|
#1 |
New Member
Martin Schmelzer
Join Date: Aug 2012
Location: TU Delft
Posts: 4
Rep Power: 14 |
Dear forum,
I do simulations on a straight pipe and would like to extract pressure averaged over the radial plane at specific locations. Of course for the inlet and outlet patches one could use Code:
patchAverage -latestTime p <patch> For that I am using this functionObject definition in controlDict Code:
p0 { type swakExpression; valueType surface; surfaceName p0; surface { type plane; basePoint (0 0 0.001); normalVector (1 0 0); interpolate false; } verbose true; accumulations ( weightedAverage ); outputControlMode timeStep; outputInterval 1; expression "p"; } Code:
execFlowFunctionObjects -latestTime Code:
# Time weightedAverage 35000 1.86158477779654 Any suggestions are more than welcome! Thank you very much! Martin |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[Commercial meshers] Mesh conversion problem (fluent3DMeshToFoam) | Aadhavan | OpenFOAM Meshing & Mesh Conversion | 2 | March 8, 2018 02:47 |
Possible Bug in pimpleFoam (or createPatch) (or fluent3DMeshToFoam) | cfdonline2mohsen | OpenFOAM | 3 | October 21, 2013 10:28 |
[Commercial meshers] fluentMeshToFoam multidomain mesh conversion problem | Attesz | OpenFOAM Meshing & Mesh Conversion | 12 | May 2, 2013 11:52 |
Problem in running ICEM grid in Openfoam | Tarak | OpenFOAM | 6 | September 9, 2011 18:51 |
Problem in IMPORT of ICEM input file in FLUENT | csvirume | FLUENT | 2 | September 9, 2009 02:08 |