If the meshes are meshed separately you need to map the function or derived quantity from one mesh to the other, see for instance
which illustrates this.