cbar is the reference chord. Typically also the length (not position)
of the MAC. Like the reference area Sref and reference span bref, it
is a selected value for a design that is used for
nondimensionalization. We nondimensionalize forces by Sref, and
pitching moments by Sref*cbar, and other moments as appropriate.
The definition of the static margin is:
SM = -dCM/dCL = (xnp-xcg)/cbar
I might have some sign errors in this, doing it off the top of my
head. Draw out the statics problem for longitudinal stability and
you'll convince yourself of this pretty quickly.
So, if you run two AOA cases in an aero code and track CM,CL at each,
you can get the slope dCM/dCL. If you know your chosen cbar, and the
reference point for the CM (xcg) then you can quickly find xnp. By
default, you might set xcg=0 and cbar=1. In that case, the math is
easy enough for me to do.
Yes, the aerodynamic center of the wing is the same thing as the
neutral point of a wing-only configuration. AC is a term that refers
to a flying surface in isolation. NP is a term that refers to a full
vehicle.
Rob