Generation of optimal assumed stress expansions for hybrid-stress elements