Create an instance of Gmsh2DRVE that represents a RVE of the auxetic square microstructure.
The geometry that is specific to this microstructure is defined in this staticmethod. Then, the generic operations will be performed with the Gmsh2DRVE methods.
Parameters
----------
L : float
Length of the sides of the square cell.
a : float
Length of the slits beetween squares.
t : float
Width of the slits beetween squares.
nb_cells : tuple or 1D array
nb of cells in each direction of repetition
offset : tuple or 1D array
Relative position inside a cell of the point that will coincide with the origin of the global domain
Returns
-------
Instance of the Gmsh2DRVE class.
"""
name=nameifnameelse"aux_square"
model.add(name)
# geo.reset()
offset=np.asarray(offset)
nb_cells=np.asarray(nb_cells)
logger.info("Start defining the auxetic_square geometry")