Cylinder#
- final class Cylinder[source]#
Bases:
_VolumeEntityBaseCylinder in three-dimensional space.
Example
>>> Cylinder( ... name="bet_disk_volume", ... center=(0, 0, 0) * unyt.inch, ... axis=(0, 0, 1), ... outer_radius=150 * unyt.inch, ... height=15 * unyt.inch, ... )
Attributes
- axis: Axis#
The axis of the cylinder.
Properties
Additional Constructors
- classmethod from_file(filename)#
Load a Flow360BaseModel from a .json file.
- Parameters:
filename (str)
- Return type:
Flow360BaseModel
Methods