The following library is an extension to the already implemented dynamicRefineFvMesh library with the additional option to specify a second field for the adaptive mesh refinement. This can be used to refine only the interface of e.g. an multiphase solver such as interFoam. The video below demonstrates how the library act. The test case can be found in the library and is just a demonstration case without physical settings.
Go to the dynamicInterfaceRefineFvMesh Repository.