Skip to content

Commit 79979ac

Browse files
doc examples
1 parent 5cd538b commit 79979ac

File tree

4 files changed

+46
-0
lines changed

4 files changed

+46
-0
lines changed

flow360/examples/DARPA.py

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
"""
2+
DARPA SUBOFF geometry
3+
"""
4+
5+
from .base_test_case import BaseTestCase
6+
7+
8+
class DARPA_SUBOFF(BaseTestCase):
9+
name = "DARPA_SUBOFF"
10+
11+
class url:
12+
geometry = "https://simcloud-public-1.s3.amazonaws.com/examples/submarine/DARPA.STEP"

flow360/examples/XV15_csm.py

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
"""
2+
XV-15 csm file geometry
3+
"""
4+
5+
from .base_test_case import BaseTestCase
6+
7+
8+
class XV15_CSM(BaseTestCase):
9+
name = "XV15_CSM"
10+
11+
class url:
12+
geometry = "https://simcloud-public-1.s3.amazonaws.com/examples/xv15_wing/XV15_Wing.csm"

flow360/examples/__init__.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,10 @@
44
from .bet_example_data import BETExampleData
55
from .bet_line import BETLine
66
from .convergence import Convergence
7+
from .cube import Cube
78
from .cylinder2D import Cylinder2D
89
from .cylinder3D import Cylinder3D
10+
from .DARPA import DARPA_SUBOFF
911
from .drivaer import DrivAer
1012
from .evtol import EVTOL
1113
from .isolated_propeller import IsolatedPropeller
@@ -23,6 +25,8 @@
2325
from .tutorial_periodic_BC import TutorialPeriodicBC
2426
from .tutorial_RANS_xv15 import TutorialRANSXv15
2527
from .tutorial_UDD_forces_moments import TutorialUDDForcesMoments
28+
from .tutorial_UDD_structural import TutorialUDDStructural
29+
from .XV15_csm import XV15_CSM
2630

2731
__all__ = [
2832
"ActuatorDisk",
@@ -31,8 +35,10 @@
3135
"BETExampleData",
3236
"BETLine",
3337
"Convergence",
38+
"Cube",
3439
"Cylinder2D",
3540
"Cylinder3D",
41+
"DARPA_SUBOFF",
3642
"DrivAer",
3743
"EVTOL",
3844
"IsolatedPropeller",
@@ -49,5 +55,7 @@
4955
"TutorialDynamicDerivatives",
5056
"TutorialRANSXv15",
5157
"TutorialUDDForcesMoments",
58+
"TutorialUDDStructural",
5259
"Quadcopter",
60+
"XV15_CSM",
5361
]
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
"""
2+
tutorial of UDD forces and moments example
3+
"""
4+
5+
from .base_test_case import BaseTestCase
6+
7+
8+
class TutorialUDDStructural(BaseTestCase):
9+
name = "tutorialUDDStructural"
10+
11+
class url:
12+
mesh = (
13+
"https://simcloud-public-1.s3.amazonaws.com/examples/rotatingPlate/rotatingPlate.cgns"
14+
)

0 commit comments

Comments
 (0)