Engineering analysis with CAD-based macroelements