Generation of regular and focused waves by using an internal wave maker in a CIP-based model