You can modify the spatial fields of profile data using the Modify Spatial Fields transformation option. For example, you can transform the spatial fields from cylindrical to Cartesian coordinates.
Spatial Fields Definition > Option can be set to:
Convert Spatial Fields
This option can be used to:
Convert the profile data spatial coordinates from cylindrical to Cartesian.
To do this, set Source Coord. Sys. to
Cylindrical
. The source profile must have three cylindrical spatial fields (for example, "r", "theta", "z"). The Cartesian coordinates "X", "Y", "Z" in the target profile are calculated from these cylindrical fields as "r cos(theta)", "r sin(theta)", and "z".Note: In CFD-Post, the "Theta" variable is calculated to be dependent on the position of the geometry and is usually offset from theta calculated directly from X- and Y-coordinates (Theta in the CFD-Post User's Guide). If the source profile has been exported from CFD-Post and uses "Theta" as one of the spatial fields, the calculated Cartesian coordinates might not be what was intended.
Convert the profile data spatial coordinates using a transformation derived from a profile function.
To do this, set Source Coord. Sys. to
Coordinate System From Profile
and set Profile Name to the name of a profile function.The profile data being edited must have non-Cartesian spatial fields, and the profile function specified by Profile Name must define a mapping from these non-Cartesian fields to Cartesian fields using its Coordinate System Definition settings.
For details on the Coordinate System Definition settings of a profile function, see Coordinate System Definition.
If some points in the edited profile data cannot be successfully mapped to Cartesian coordinates, then the Ignore Unmapped Points setting determines the behavior. If the setting is selected, then unmapped points are removed from the target profile data. Otherwise, the transformation process stops with an error message.
Target Coord. Sys. can only be set to:
Cartesian Coordinates
This means that the transformed spatial coordinates are always Cartesian. The original cylindrical or custom fields are retained in the profile data as new value fields.
Use Selected Variable Fields
This option swaps the spatial coordinates with the profile variables that you select.
The original spatial coordinates become new profile variables and the selected profile variables become the spatial coordinates.