Get current entry category
I take it you are on the category template as defined in admin/settings/categories/:id.

You should have a model representation of the category assigned to category in the template, so you should be able to get the current category id by simply doing {{ category.id }} in the template.

Your code could look like:

for cat in craft.categories.group('productCategories').descendantOf(category.id)