-
Notifications
You must be signed in to change notification settings - Fork 31
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Reorganize files based on 2024-04-01 telecon discussion. More usage o…
…f the naming convention classes throughout the tests
- Loading branch information
1 parent
a1c680c
commit 2499083
Showing
47 changed files
with
686 additions
and
602 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,2 @@ | ||
#!/usr/bin/env python | ||
from .builder import Builder | ||
from .variable_convention import MPhysVariables | ||
from .multipoint import Multipoint, MultipointParallel | ||
from .distributed_converter import DistributedConverter, DistributedVariableDescription | ||
from .mask_converter import MaskedConverter, UnmaskedConverter, MaskedVariableDescription | ||
from .core import * |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
#!/usr/bin/env python | ||
|
||
from .builder import Builder | ||
from .coupling_group import CouplingGroup | ||
from .distributed_converter import DistributedConverter, DistributedVariableDescription | ||
from .mask_converter import MaskedConverter, UnmaskedConverter, MaskedVariableDescription | ||
from .multipoint import Multipoint, MultipointParallel | ||
from .mphys_group import MphysGroup | ||
from .scenario import Scenario | ||
from .variable_convention import MPhysVariables |
File renamed without changes.
File renamed without changes.
3 changes: 0 additions & 3 deletions
3
mphys/distributed_converter.py → mphys/core/distributed_converter.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,65 @@ | ||
class MPhysVariables: | ||
class Aerodynamics: | ||
class FlowConditions: | ||
ANGLE_OF_ATTACK = "angle_of_attack" | ||
YAW_ANGLE = "yaw_angle" | ||
MACH_NUMBER = "mach_number" | ||
REYNOLDS_NUMBER = "reynolds_number" | ||
DYNAMIC_PRESSURE = "dynamic_pressure" | ||
|
||
class Surface: | ||
#: displacement distribution | ||
DISPLACEMENTS = "u_aero" | ||
|
||
#: force distribution | ||
LOADS = "f_aero" | ||
|
||
#: temperature distribution | ||
TEMPERATURE = "T_aero" | ||
|
||
#: distribution of heat flux * local surface area | ||
HEAT_FLOW = "q_aero" | ||
|
||
#: node coordinates at start of the analysis (jig shape) | ||
COORDINATES_INITIAL = "x_aero0" | ||
|
||
#: current node coordinates, deformed by geometry and/or structures | ||
COORDINATES = "x_aero" | ||
|
||
class Geometry: | ||
#: node coordinates, input to geometry subsystem | ||
COORDINATES_INPUT = "x_aero0_geometry_input" | ||
|
||
#: node coordinates, output of geometry subsystem | ||
COORDINATES_OUTPUT = "x_aero0_geometry_output" | ||
|
||
class Mesh: | ||
#: node coordinates, original surface from mesh file | ||
COORDINATES = "x_aero0_mesh" | ||
|
||
class Structures: | ||
#: displacements at mesh nodes | ||
DISPLACEMENTS = "u_struct" | ||
|
||
#: loads at mesh nodes | ||
LOADS_FROM_AERODYNAMICS = "f_aero_struct" | ||
|
||
#: temperature at mesh nodes | ||
TEMPERATURE = "T_struct" | ||
|
||
#: heat flux * local surface area at mesh nodes | ||
HEAT_FLOW = "q_aero_struct" | ||
|
||
#: Coordinates at start of analysis | ||
COORDINATES = "x_struct0" | ||
|
||
class Geometry: | ||
#: node coordinates, jig shape | ||
COORDINATES_INPUT = "x_struct0_geometry_input" | ||
|
||
#: node coordinates, jig shape | ||
COORDINATES_OUTPUT = "x_struct0_geometry_output" | ||
|
||
class Mesh: | ||
#: node coordinates, original (no geometry changes) | ||
COORDINATES = "x_struct0_mesh" |
Oops, something went wrong.