Sphere#
- final class Sphere[source]#
Bases:
_VolumeEntityBaseSphere in three-dimensional space.
Example
>>> Sphere( ... name="sphere_zone", ... center=(0, 0, 0) * unyt.m, ... radius=1.5 * unyt.m, ... axis=(0, 0, 1), ... )
Attributes
- axis: Axis#
The axis of rotation for the sphere (used in sliding interfaces).
- Default:
(0, 0, 1)
Properties
Additional Constructors
- classmethod from_file(filename)#
Load a Flow360BaseModel from a .json file.
- Parameters:
filename (str)
- Return type:
Flow360BaseModel
Methods