Simulation of Nonharmonic Interactions in a Crystal by Self-Consistent Reservoirs