Monitor Point

The Monitor point class is used to create a monitor point. Several methods in the Analysis class pertain to monitor points, and are used to extract data.

In this example, we will create a new monitor point object (mp) at the inlet of our model, and set its coordinates. We then add it to the analysis as a post monitor point, and get its value to assign to a variable.

mp = new MonitorPoint("inlet_point");

mp.setCoordinates(-0.669, -0.273, 0);

a.addPostMonitorPoint(mp);

pressure = a.value("Static Pressure", mp);