Skip to content

Commit fc764bb

Browse files
updates according to PR review (#1067)
1 parent c7248fe commit fc764bb

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

flow360/component/simulation/migration/BETDisk.py

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -171,9 +171,10 @@ def read_single_v1_BETDisk(
171171
--------
172172
Create a BET disk from flow360.json.
173173
174-
>>> param = BETDisk.read_single_v1_BETDisk(
174+
>>> from flow360.component.simulation.migration import BETDisk
175+
... param = BETDisk.read_single_v1_BETDisk(
175176
... file_path="BET_Flow360.json",
176-
... mesh_unit=u.m,
177+
... mesh_unit=fl.u.m,
177178
... freestream_temperature = 288.15 * fl.u.K,
178179
... bet_disk_name: str = "BETDisk"
179180
... )
@@ -216,7 +217,8 @@ def read_all_v1_BETDisks(
216217
--------
217218
Create a BET disk from flow360.json.
218219
219-
>>> param = read_all_v1_BETDisks(
220+
>>> from flow360.component.simulation.migration import BETDisk
221+
... param = BETDisk.read_all_v1_BETDisks(
220222
... file_path="flow360.json",
221223
... mesh_unit=1 * fl.u.m,
222224
... freestream_temperature = 288.15 * fl.u.K,

0 commit comments

Comments
 (0)