CRS computer program is presented, which calculates the dynamical deformation of metals under irradiation by high-current electron and powerful ion beams. The incorporated mathematical models allow one to calculate stresses, deformations and structural changes induced by the irradiation. The CRS code numerically solves the equations system, which consists of continua mechanics equations, supplemented by equations of dynamics and kinetics of structural defects: dislocations, grain boundaries, twins, micro-cracks and vapour bubbles. The dislocation plasticity model, the grain boundary sliding model, the mechanical twinning model, the spall fracture model and the non-equilibrium evaporation model are incorporated in the code. The energy release function for electron beam can be calculated within the code, while it can be exported from over programs for ion beam. The CRS code can be a useful tool in theoretical estimation and interpretation of experiments in the field of materials modification by intensive energy fluxes. Restricted rate of plastic deformation provides high values of shear stresses and action of several competitive plasticity mechanisms. Non-equilibrium evaporation of metal in the energy release zone leads to a metastable state of overheated melt, which results in formation of tensile wave following the stress wave in the solid part of the irradiated metal.