Skip to content

Commit

Permalink
Add bc
Browse files Browse the repository at this point in the history
  • Loading branch information
Jonathan Bergh committed May 7, 2022
1 parent 7d0e2a1 commit 704d4ae
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions CfdFluidBoundary.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,14 +41,16 @@
BOUNDARY_TYPES = ["wall", "inlet", "outlet", "open", "constraint", "baffle"]

SUBNAMES = [["No-slip (viscous)", "Slip (inviscid)", "Partial slip", "Translating", "Rough"],
["Uniform velocity", "Volumetric flow rate", "Mass flow rate", "Total pressure", "Static pressure"],
["Uniform velocity", "Volumetric flow rate", "Mass flow rate", "Total pressure", "Static pressure",
"SRF velocity"],
["Static pressure", "Uniform velocity", "Extrapolated"],
["Ambient pressure", "Far-field"],
["Symmetry"],
["Porous Baffle"]]

SUBTYPES = [["fixedWall", "slipWall", "partialSlipWall", "translatingWall", "roughWall"],
["uniformVelocityInlet", "volumetricFlowRateInlet", "massFlowRateInlet", "totalPressureInlet", "staticPressureInlet"],
["uniformVelocityInlet", "volumetricFlowRateInlet", "massFlowRateInlet", "totalPressureInlet",
"staticPressureInlet", "SRFVelocity"],
["staticPressureOutlet", "uniformVelocityOutlet", "outFlowOutlet"],
["totalPressureOpening", "farField"],
["symmetry"],
Expand All @@ -63,7 +65,7 @@
"Uniform volume flow rate specified",
"Uniform mass flow rate specified",
"Total pressure specified; treated as static pressure for reverse flow",
"Static pressure specified"],
"Static pressure specified", "Single rotating frame of reference velocity"],
["Static pressure specified for outflow and total pressure for reverse flow",
"Normal component imposed for outflow; velocity fixed for reverse flow",
"All fields extrapolated; possibly unstable"],
Expand All @@ -85,7 +87,8 @@
[True, [3], False, True, True, True, [2]], # Vol flow rate
[True, [4], False, True, True, True, [2]], # Mass Flow rate
[True, [1], False, True, True, True, [2]], # Total pressure
[True, [0, 1], False, True, True, True, [2]]], # Static pressure
[True, [0, 1], False, True, True, True, [2]], # Static pressure
[True, [0, 1], False, True, True, True, [2]]], # SRF velocity
[[True, [0, 1], False, False, True, True, [2]], # Static pressure
[True, [0, 1], False, False, True, True, [2]], # Uniform velocity
[False, [], False, False, False, False, None]], # Outflow
Expand Down

0 comments on commit 704d4ae

Please sign in to comment.