|
[Sponsors] |
run-time post-processing for uniformity index |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
April 16, 2019, 09:18 |
run-time post-processing for uniformity index
|
#1 |
New Member
Christian Wolf
Join Date: Mar 2009
Posts: 27
Rep Power: 17 |
Hello!
I would like to start a run-time post-processing: The output should be the 'uniformity index' (UI) with respect to velocity at a certain outlet patch. The problem is: How do I implement at function with is evaluated during simulation run. I use OF4.1 and do not have swak4Foam installed. Thanks for advise! |
|
April 16, 2019, 14:40 |
|
#2 |
Senior Member
Join Date: Aug 2015
Posts: 494
Rep Power: 15 |
You can create a custom function object and put it in controlDict. It will be compiled and used at runtime. See :
https://github.com/OpenFOAM/OpenFOAM...nctionObject.H. Caelan |
|
March 11, 2021, 03:46 |
Run time / On the fly Uniformity Index implementation
|
#3 |
New Member
Balaji
Join Date: May 2013
Posts: 21
Rep Power: 13 |
Here is a code which you can add in your functions inside controlDict for a user plane or a sampled surface
Code:
UniformityIndex_User_Plane1 { enabled yes; type surfaceFieldValue; libs ("libfieldFunctionObjects.so"); writeControl timeStep; writeInterval 1; log true; writeFields false; regionType sampledSurface; name User_Plane1 ; sampledSurfaceDict { type sampledTriSurfaceMesh; surface User_Plane_P1.stl; source cells; // sample cells or boundaryFaces interpolate false; } operation uniformity; //- options: sum, areaIntegrate // weightField phi; //scaleFactor 1.183; fields ( U ); } |
|
Tags |
run-time processing, uniformity index |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Fit the image using run time post processing | Gaubtas | OpenFOAM Post-Processing | 2 | August 7, 2019 09:38 |
Stuck in a Rut- interDyMFoam! | xoitx | OpenFOAM Running, Solving & CFD | 14 | March 25, 2016 08:09 |
Micro Scale Pore, icoFoam | gooya_kabir | OpenFOAM Running, Solving & CFD | 2 | November 2, 2013 14:58 |
AMI interDyMFoam for mixer nu problem | danny123 | OpenFOAM Programming & Development | 8 | September 6, 2013 03:34 |
dynamic Mesh is faster than MRF???? | sharonyue | OpenFOAM Running, Solving & CFD | 14 | August 26, 2013 08:47 |