Inflow products
The inflow tools' products¶
Three products of the quasi-steady inflow. Each states its units and refuses what it cannot state.
The fluctuation report. pyfs-workspace field time-mean --fluctuation writes <stem>.fluctuation.csv beside the mean, and --fluctuation-only --last K writes it alone. For each probe of the last K per-step fields it gives the time mean's companion, the POPULATION standard deviation (divided by K, not K - 1) of each velocity component, std_vx, std_vy, std_vz, and std_mag = sqrt(std_vx^2 + std_vy^2 + std_vz^2), in m/s, with the probe's x, y, z, values to nine significant figures. The steps must be consecutive integers holding the same probes (within 1e-6 m), and a single steady field has no fluctuation and is refused. The provenance record names the file and its sha256.
The interior fill. pyfs-workspace field fill-interior --r-body R (default 0.38 m) gives every probe with r < R, r the distance from the x axis, the velocity of the probe at r >= R with the smallest radius on the same azimuth ray (atan2(z, y) within 1e-3 rad). It changes no position, states how many probes it replaced, and refuses a probe with no partner on its ray. A preview by default; --apply writes with the provenance of the other field operations.
The blade-view harmonics. pyflightstream.post.inflow_tools.blade_view_harmonics reads a custom inflow as one blade meets it, in the blade frame with rotation. At radius r the blade, at psi = 0 along +Z and psi positive in the sense of rotation about +X, meets V_a = v.x and V_t = Omega r - v.e_t(psi); phi = atan2(V_a, V_t) and dalpha(psi) = -(phi - mean phi) (the pitch cancels and a power-off field has no self-induction). The variance share of each harmonic n >= 1 of dalpha is reported for n = 1..8, n95 is the smallest n whose cumulative share reaches 95 per cent (the plan's inflow_fft counting, a harmonic under 0.001 degree of amplitude not counted), k_1P = Omega c / (2 mean V_rel) with the mean relative speed of the revolution and k_eff = n95 k_1P, and PASSAGE_POSITIONS is suggested as ceil(n_max / N + 1) for N blades. dalpha_rms_deg and dalpha_half_ptp_deg are in degrees. The rotor axis must be X because the profile is a YZ plane. inflow_harmonics_map repeats it over advance ratios J = V / (n D) of one fixed field, J moving the rotor speed and V staying, and write_inflow_harmonics writes inflow_harmonics.csv (J, r_over_R, c_over_R, dalpha_rms_deg, dalpha_half_ptp_deg, n95, k_1P, k_eff, share_n1 .. share_n8) and inflow_harmonics_J.csv (J, r_over_R, n95, k_1P, k_eff, dalpha_rms_deg).