Text this: Simulations of common-envelope evolution in binary stellar systems: physical models and numerical techniques