The frequency of sugar consumption and hence acid provoking attacks will affect the concentration of acid produced in the dental plaque. This in turn will be moderated to some extent by saliva or whether the lesion is open (frank cavitation) or closed, but in general the more acid produced the greater the concentration gradient toward the pulp.