Local-field-dependent critical-current density for high-Tc YBa2Cu3O7−δ superconductors