Skip to content

Group files

Group files

polars/P<POL>-<GROUP>-<KIND>.csv, one file per polar, group and kind (DIM, ACOEF, RCOEF). Every file of one polar sorts together. One row per point, with the columns of the FAM file it mirrors (FAM-DIM, FAM-ACOEF, FAM-RCOEF) and GROUP, GROUP_ID in place of FAMILY, FAMILY_ID.

<GROUP> in a file name is the group's name with every character other than a letter, a digit, -, _ or . replaced by _ (the rule of every file named after an alias), so Left/Right is written P0001-Left_Right-ACOEF.csv; the GROUP column and products.json keep the name as written. Two [groups] keys that are one name after the rule (Left/Right and Left_Right) are refused when the pproc is read, naming both.

The groups

Group Members GROUP_ID Declared
TOTAL every family 0 never; written for every polar
AIRFRAME every family not inside a rotor 1 never; written for every polar
the rotor's alias the rotor's families 10 + the rotor's id never; every rotor is a group by itself
a [groups] key the families of the alias it names 100 + k, the k-th key in the order written in the pproc

A [groups] key spelled TOTAL or AIRFRAME (in any case), or equal to a rotor's alias, is refused by name: the group is written without it. So is a key spelled FAM or GRP, or opening with P and a digit, which the file names cannot carry. A numbered key is written g<NN> ("1" is g01). Two keys that reach one file name are refused when the pproc is read, naming both: after the rule of the file names (every character other than a letter, a digit, -, _ or . is written _), a numbered key written g<NN>, and case ignored, since a Windows file system does not tell Wing from WING. A key that reaches the file name of a rotor's alias the same way is refused, naming both, and the rotor's own group stands. A group that selects no family of the polar's loads is named under skipped, with what selects its families, and has no file. A group that selects no family of one point's loads has no row at that point, never a row of NA: the point is named under skipped as polars/P<POL>-<GROUP>-ACOEF.csv#<point>, with the group's selector and the families the point states, and is no run of the group's files. At a point that states only some of a group's families, the group's row is the sum of those it states; a FAM file has a row only for a family the point states. A point whose loads export states its loads in an analysis frame that is not a translation of the geometry's axes (a rotor's own frame) is no row of any polar file: it is warned and named under every group's polars/P<POL>-<GROUP>-ACOEF.csv#<point> with the frame it states.

A group's values are formed from the SUM of its members' dimensional loads (forces and moments about the moment reference point; the moment about the rotor's hub for an RCOEF file), never by summing coefficients (group definition). An unsteady group row is the sum of its families' window averages, or the group's own plot where the families' plots are not all in the record (MRP_TOTAL for TOTAL, the rotor's own history for a rotor).

An RCOEF file is written only for a group whose members all sit inside one rotor: every rotor's group, and a declared group of one rotor's families.

Each file's products.json entry names the runs of its own rows, in row order, and its source: the window-averaged plots of an unsteady row, or, for a steady polar, the loads export of a steady run or, for a quasi-steady wheel, mean of <k> clockings with clockings (the k, or each point's where they differ). The files of a rotor's group also name it under rotor.

The polars derived from a group ACOEF file

Beside each group ACOEF file, under its stem, when the pproc asks:

File Key
P<POL>-<GROUP>-ACOEF_trim.csv, the row at zero pitching moment [products] trimmed_polar (moment trim_moment, default CmB)
P<POL>-<GROUP>-ACOEF_at_<name>.csv, the polar sampled along a column [[polar_at]]
P<POL>-<GROUP>-ACOEF.dat, the same rows in the fixed-width custom format [products] custom_polar_format

[products] polar_format = "legacy_polar" writes the FAM and group files in the fixed-width form instead of csv.