Thermomechanical 3D wave propagation in biocompatible sandwich nanoplates: influence of magnetic field, foam structure, and foundation | Synapse