why don't you make an intermediate step and then store only the required component. Store ncap components in 2/3 UDM and then recall the gradient .. take the required component only

This is my understanding of the above. Please correct me if I'm wrong.nStore the x and y component of ncap in 2 separate UDS (UDS1 and UDS2).nGet the x-component gradient of UDS1 by UDSG1[0] and x-component gradient of UDS2 by UDSG2[1] and add UDSG1[0] and UDSG2[1] to get the term ∇⋅n̂ .nIs my understanding right? If it is, just suggest on how to obtain only the x and y components of ncap in a UDS. Will ncap[0] or ncap[1] work?n