Foam-Agent: A large language model-based multi-agent framework for automating computational fluid dynamics workflows