Heat the olive oil in a large pot over medium heat. Add the beef cubes and brown them on all sides, then remove the beef and set it aside.
Add the diced onion, sliced carrots, and cubed potatoes to the pot. Cook for 5 minutes until the onion starts to soften.
Stir in the minced garlic and cook for 1 minute more.
Sprinkle the flour over the vegetables and stir to coat. Cook for 2 minutes to remove the raw flour taste.
Pour in the Irish stout beer, scraping the bottom of the pot to loosen any browned bits.
Add the beef broth, tomato paste, dried thyme, bay leaves, salt, and pepper. Return the browned beef to the pot.
Bring the mixture to a simmer, then cover and cook on low heat for 1.5 hours until the beef is tender.
Remove the bay leaves. Let the stew cool completely before dividing into freezer-safe containers.