|
[Sponsors] |
February 15, 2022, 14:31 |
Calculating average velocity Umean on a line
|
#1 |
Member
Emre
Join Date: Nov 2015
Location: Izmir, Turkey
Posts: 97
Rep Power: 10 |
Hello dear foamers,
I observe Ux (x component of velocity U) over a line during my 2d, transient analysis by this script within my controldict. Code:
functions{ myLinefunction{ type sets; libs ("libsampling.so"); interpolationScheme cellPoint; setFormat raw; writeControl timeStep; writeInterval 1; sets ( data { type uniform; axis xyz; start (0.349493 -0.357075 0.0); end (0.349493 0.357075 0.0); nPoints 200; } ); fields (U); } } umean.png Regards |
|
Tags |
average velocity, umean |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Import .csv - velocity profile - error | eSKa | CFX | 9 | April 3, 2021 13:38 |
kindly help me .. i have and error at line number 147.. | m zubair | Fluent UDF and Scheme Programming | 0 | February 10, 2019 11:25 |
[OpenFOAM] Annoying issue of automatic "Rescale to Data Range " with paraFoam/paraview 3.12 | keepfit | ParaView | 60 | September 18, 2013 03:23 |
Problems of Duns Codes! | Martin J | Main CFD Forum | 8 | August 14, 2003 23:19 |
error while compiling the USER Sub routine | CFD user | CFX | 3 | November 25, 2002 15:16 |