**dg_transform#

Description#

This command is used to transform a mesh for continuous Galerkin formulation to a mesh suitable for discontinuous Galerkin formulation.

Syntax#

The command has the following syntax:

**dg_transform [ *elset ] elset-name [ *bset ] bset-name [ *name ] name-of-bset-to-create

*elset

specifies elset where operations should be made.

*bset

specifies bset where discontinuity should be inserted (should not work well for now).

*name

specifies name that will be given to pairs of bset where DG interface formulation will be imposed (format will be namea0/nameb0, namea1/nameb1, … ,nameaN/namebN).

Example#

In this example, the nodes at element boundaries (3 and 4 in the mesh on the left) are duplicated so that mesh elements are “decoupled”.

../../_images/discontinuous_galerkin.svg