Skip to content

Commit 04dbe93

Browse files
committed
added direction of flow
1 parent 76c6aef commit 04dbe93

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

polyfempy/Problems.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,13 +124,14 @@ def params(self):
124124
#################################################
125125
############Stokes###############################
126126
class Flow:
127-
"""Inflow/outflow problem for fluids. You can specify the sideset for the moving fluxes and the list of obstacle sidesets. https://polyfem.github.io/documentation/#flow"""
127+
"""Inflow/outflow problem for fluids. You can specify the sideset for the moving fluxes, the axial direction of the flow, and the list of obstacle sidesets. https://polyfem.github.io/documentation/#flow"""
128128

129129
def __init__(self):
130130
self.inflow = 1
131131
self.outflow = 3
132132
self.inflow_amout = 0.25
133133
self.outflow_amout = 0.25
134+
self.direction = 0
134135
self.obstacle = [7]
135136

136137
def name(self):

0 commit comments

Comments
 (0)