Skip to content
Snippets Groups Projects
Commit 1c912e4c authored by Andreas Weissenbrunner's avatar Andreas Weissenbrunner
Browse files

Update README.md

parent b54a0d9e
No related branches found
No related tags found
No related merge requests found
......@@ -32,7 +32,9 @@ In the file **Flow_class.py** the class **Elbow_profile** is defined, which can
*flow = Elbow_profile(casename)*
A flow profile can be accessed with the method get_profile(Rk,dl,dist,x=None,y=None,addfully = False,asmat = True). e.g.:
*u = flow.get_profile(Rk = 1.3,dl=0.2,dist=10,addfully = True)*
It returns the velocity profile of u_x, u_y and u_z (u_z = axial velocity) as a numpy array of the size (3, Nphi, Nr), which is in the current version (3, 81, 41). x and y are just dummies and are not used.
It will always return the velocity profile at the coordinates stored in the variables flow.r flow.phi or flow.xm, flow.ym as matrixes (81,41), flwo.x and flow.y are flat arrays of size 81*41.
......@@ -42,7 +44,7 @@ The *FlowMeter* class is defined in *FlowMeter.py*, it only contains information
If the button "Eval Flow Meter" is clicked, an instance of the flow meter class with the selected parameter types is generated and it is checked whether the values of this exact type of flow meter was saved beforehand in the folder "FlowMeters/casename/" with the file name *flow meter type _ Variation _ number of reflections _ alpha*
e.g. an ultrasonic V-path (number of reflections = 1) flow meter with axial angle alpha = 30 degree is saved according to
*FlowMeters/"DoubleElbow"/Ultrasonic_diametral_1_30.npz*
*FlowMeters/DoubleElbow/Ultrasonic_diametral_1_30.npz*
Is the correct flow meter file is not found the evaluation of the flow meter will be calculated for all parameters and the loaded case. After the calculation the flow meter values are saved in the folder as explained above. The calculation needs, depending on the performance of the computer, 10 to 30 minutes to be calculated for the double elbow cases.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment