David Mercier
Ansys Employee

You can use pyAnsys to script a parametric geometry or you use SpaceClaim/Discovery to design your RVE, then you use MaterialDesigner in Workbench to perform homogenization studies:

https://www.padtinc.com/wp-content/uploads/sites/2/2022/03/PADT-ANSYS-Lattice-Material_Homogenization-1.pdf