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

Output Parameters

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.