From a4f9cc5255edb60195ba4c0dad48aa8b481523e1 Mon Sep 17 00:00:00 2001 From: piotrkluba Date: Fri, 27 Mar 2026 16:39:45 +0000 Subject: [PATCH 1/2] docstrings fixed so that sphinx does not complain --- flow360/component/simulation/meshing_param/volume_params.py | 4 ++-- flow360/component/simulation/models/material.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/flow360/component/simulation/meshing_param/volume_params.py b/flow360/component/simulation/meshing_param/volume_params.py index 607d9b834..3ae4c0cd5 100644 --- a/flow360/component/simulation/meshing_param/volume_params.py +++ b/flow360/component/simulation/meshing_param/volume_params.py @@ -635,8 +635,8 @@ class _FarfieldAllowingEnclosedEntities(_FarfieldBase): None, description=""" The surfaces/surface groups that are the interior boundaries of the `farfield` zone when defining custom volumes. - - Only allowed when using one or more `CustomZone`(s) to define volume zone(s) in meshing parameters - - Cylinder, AxisymmetricBody, Sphere entities must be associated with `RotationVolume`(s) + - Only allowed when using one or more ``CustomZone``\(s) to define volume zone(s) in meshing parameters + - Cylinder, AxisymmetricBody, Sphere entities must be associated with ``RotationVolume``\(s) """, ) diff --git a/flow360/component/simulation/models/material.py b/flow360/component/simulation/models/material.py index 8772655c9..cfc24a15a 100644 --- a/flow360/component/simulation/models/material.py +++ b/flow360/component/simulation/models/material.py @@ -534,7 +534,7 @@ def get_specific_heat_ratio(self, temperature: AbsoluteTemperatureType) -> pd.Po For thermally perfect gas, gamma = cp/cv = (cp/R) / (cp/R - 1) varies with temperature. The cp/R is computed from the NASA 9-coefficient polynomial: - cp/R = a0*T^-2 + a1*T^-1 + a2 + a3*T + a4*T^2 + a5*T^3 + a6*T^4 + cp/R = a0*T^-2 + a1*T^-1 + a2 + a3*T + a4*T^2 + a5*T^3 + a6*T^4 Parameters ---------- From 54b2701c37838f3b143ad27e29387b73a14349c4 Mon Sep 17 00:00:00 2001 From: piotrkluba Date: Fri, 27 Mar 2026 16:49:43 +0000 Subject: [PATCH 2/2] fix lint --- flow360/component/simulation/meshing_param/volume_params.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/flow360/component/simulation/meshing_param/volume_params.py b/flow360/component/simulation/meshing_param/volume_params.py index 3ae4c0cd5..2abf82009 100644 --- a/flow360/component/simulation/meshing_param/volume_params.py +++ b/flow360/component/simulation/meshing_param/volume_params.py @@ -635,8 +635,8 @@ class _FarfieldAllowingEnclosedEntities(_FarfieldBase): None, description=""" The surfaces/surface groups that are the interior boundaries of the `farfield` zone when defining custom volumes. - - Only allowed when using one or more ``CustomZone``\(s) to define volume zone(s) in meshing parameters - - Cylinder, AxisymmetricBody, Sphere entities must be associated with ``RotationVolume``\(s) + - Only allowed when using one or more ``CustomZone(s)`` to define volume zone(s) in meshing parameters + - Cylinder, AxisymmetricBody, Sphere entities must be associated with ``RotationVolume(s)`` """, )