Combination of physics and artificial intelligence (AI) for smart management of well and field