8.1.3. quad meshΒΆ

mesh('quad', tag, numlines, *ltags, id, ndf, meshsize, eleType='', *eleArgs=[])

Create a quad mesh object. The number of lines must be 4. These lines are continuous to form a loop.

tag (int)

mesh tag.

numlines (int)

number of lines (line mesh) for defining a polygon.

ltags (list (int))

the line mesh tags

id (int)

mesh id. Meshes with same id are considered as same structure of fluid identity.

  • id = 0 : not in FSI

  • id > 0 : structure

  • id < 0 : fluid

ndf (int)

ndf for nodes to be created.

meshsize (float)

mesh size.

eleType (str)

the element type, (optional)

if no type is given, only nodes are created. If beam elements are given, beams are created instead of quad elements. If triangular elements are given, they are created by dividing one quad to two triangles.

eleArgs (list)

a list of element arguments. The arguments are same as in the element commands, but without element tag, and node tags. (optional)

For example,

eleArgs = ['PFEMElementBubble', rho, mu, b1, b2, thickness, kappa]