Optimizing Collaboration of LLM based Agents for Finite Element Analysis