diff --git a/flow360/component/simulation/meshing_param/volume_params.py b/flow360/component/simulation/meshing_param/volume_params.py index 50bbe9ca8..388971426 100644 --- a/flow360/component/simulation/meshing_param/volume_params.py +++ b/flow360/component/simulation/meshing_param/volume_params.py @@ -492,7 +492,7 @@ def _validate_spacing_requirements_by_entity_type(self, param_info: ParamsValida @deprecated( "The `RotationCylinder` class is deprecated! Use `RotationVolume`," - "which supports both `Cylinder` and `AxisymmetricBody` entities instead." + "which supports `Cylinder`, `AxisymmetricBody`, and `Sphere` entities instead." ) class RotationCylinder(RotationVolume): """ diff --git a/flow360/component/simulation/translator/volume_meshing_translator.py b/flow360/component/simulation/translator/volume_meshing_translator.py index a39622827..c78c0cd73 100644 --- a/flow360/component/simulation/translator/volume_meshing_translator.py +++ b/flow360/component/simulation/translator/volume_meshing_translator.py @@ -54,7 +54,9 @@ def uniform_refinement_translator(obj: UniformRefinement): return {"spacing": obj.spacing.value.item()} -def cylindrical_refinement_translator(obj: Union[AxisymmetricRefinement, RotationVolume]): +def cylindrical_refinement_translator( + obj: Union[AxisymmetricRefinement, RotationVolume], +): """ Translate AxisymmetricRefinement or RotationVolume with Cylinder/AxisymmetricBody entities.