compare_transient_pressures()
Description: This function calculates the peak error between two transient pressure fields.
Usage
pressure_error = compare_transient_pressures(reference_field, comparison_field);
Arguments
- reference_field The transient pressure field to use as the reference.
- comparison_field The transient pressure field to compare to the reference field.
Output Parameters
- pressure_error The maximum normalized error in the comparison pressure field relative to the reference.
Notes
The error between the two pressure fields is calculated by taking the difference between the two fields at each point in space and then dividing these values by the peak pressure in the reference field. The largest of these values is returned.

