Skip to content

Commit a3b4a67

Browse files
lint
1 parent e1ad203 commit a3b4a67

File tree

3 files changed

+5
-10
lines changed

3 files changed

+5
-10
lines changed

examples/post_processing/imported_surfaces/import_surface_field_and_integral.py

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,8 @@
44
ObliqueChannel.get_files()
55

66
project = fl.Project.from_volume_mesh(
7-
ObliqueChannel.mesh_filename,
8-
name="Cartesian channel mesh",
9-
solver_version="release-25.7.3")
7+
ObliqueChannel.mesh_filename, name="Cartesian channel mesh", solver_version="release-25.7.3"
8+
)
109

1110
volume_mesh = project.volume_mesh
1211

@@ -37,9 +36,7 @@
3736
total_temperature=op.thermal_state.temperature * 1.018,
3837
velocity_direction=(1.0, 0.0, 0.0),
3938
spec=fl.MassFlowRate(
40-
value=op.velocity_magnitude
41-
* op.thermal_state.density
42-
* (0.2 * fl.u.m**2)
39+
value=op.velocity_magnitude * op.thermal_state.density * (0.2 * fl.u.m**2)
4340
),
4441
),
4542
fl.Outflow(

flow360/examples/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
from .evtol import EVTOL
1111
from .isolated_propeller import IsolatedPropeller
1212
from .monitors import MonitorsAndSlices
13+
from .oblique_channel import ObliqueChannel
1314
from .om6wing import OM6wing
1415
from .quadcopter import Quadcopter
1516
from .rotating_spheres import RotatingSpheres
@@ -23,7 +24,6 @@
2324
from .tutorial_periodic_BC import TutorialPeriodicBC
2425
from .tutorial_RANS_xv15 import TutorialRANSXv15
2526
from .tutorial_UDD_forces_moments import TutorialUDDForcesMoments
26-
from .oblique_channel import ObliqueChannel
2727

2828
__all__ = [
2929
"ActuatorDisk",

flow360/examples/oblique_channel.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,7 @@ class ObliqueChannel(BaseTestCase):
99
name = "obliqueChannel"
1010

1111
class url:
12-
mesh = (
13-
"https://simcloud-public-1.s3.amazonaws.com/examples/obliqueChannel/cartesian_2d_mesh.oblique.cgns"
14-
)
12+
mesh = "https://simcloud-public-1.s3.amazonaws.com/examples/obliqueChannel/cartesian_2d_mesh.oblique.cgns"
1513
extra = {
1614
"rectangle_normal": "https://simcloud-public-1.s3.amazonaws.com/examples/obliqueChannel/rectangle_normal.cgns",
1715
"rectangle_oblique": "https://simcloud-public-1.s3.amazonaws.com/examples/obliqueChannel/rectangle_oblique.cgns",

0 commit comments

Comments
 (0)