Mutual effects of flow and crystallization: investigations in flow-induced crystallization and crystallization induced solidification