butterfly.make2dparameters module

Butterfly make2d Parameters.

Parameters to convert a 3d OpenFOAM case to 2d.

class butterfly.make2dparameters.Make2dParameters(origin, normal, width=0.5)[source]

Bases: object

Make2d parameters.

origin

Plane origin as (x, y, z).

normal

Plane normal as (x, y, z).

width

width of 2d blockMeshDict (default: 0.5).

ToString()[source]

Overwrite .NET ToString method.

duplicate()[source]

Return a copy of this object.

isMake2dParameters

Return True.