Elmer FEM 2D flow examples fix (#12777)

* Update equation_flow_elmer_2D.py

* Update equation_flow_initial_elmer_2D.py

* Update equation_flow_turbulent_elmer_2D.py
This commit is contained in:
FEA-eng
2024-03-11 18:21:46 +01:00
committed by GitHub
parent 8ce8376271
commit 835d23d09f
3 changed files with 6 additions and 0 deletions

View File

@@ -81,6 +81,7 @@ def setup(doc=None, solvertype="elmer"):
p5 = Vector(0, 50.000, 0)
p6 = Vector(0, -50.000, 0)
wire = Draft.make_wire([p1, p2, p3, p4, p5, p6], closed=True)
wire.MakeFace = True
wire.Label = "Wire"
# the circle defining the heating rod
@@ -88,6 +89,7 @@ def setup(doc=None, solvertype="elmer"):
axisCirc = Vector(1, 0, 0)
placementCircle = Placement(pCirc, Rotation(axisCirc, 0))
circle = Draft.make_circle(10, placement=placementCircle)
circle.MakeFace = True
circle.Label = "HeatingRod"
circle.ViewObject.Visibility = False

View File

@@ -81,6 +81,7 @@ def setup(doc=None, solvertype="elmer"):
p5 = Vector(0, 50.000, 0)
p6 = Vector(0, -50.000, 0)
wire = Draft.make_wire([p1, p2, p3, p4, p5, p6], closed=True)
wire.MakeFace = True
wire.Label = "Wire"
# the circle defining the heating rod
@@ -88,6 +89,7 @@ def setup(doc=None, solvertype="elmer"):
axisCirc = Vector(1, 0, 0)
placementCircle = Placement(pCirc, Rotation(axisCirc, 0))
circle = Draft.make_circle(10, placement=placementCircle)
circle.MakeFace = True
circle.Label = "HeatingRod"
circle.ViewObject.Visibility = False

View File

@@ -81,6 +81,7 @@ def setup(doc=None, solvertype="elmer"):
p5 = Vector(0, 50.000, 0)
p6 = Vector(0, -50.000, 0)
wire = Draft.make_wire([p1, p2, p3, p4, p5, p6], closed=True)
wire.MakeFace = True
wire.Label = "Wire"
# the circle defining the heating rod
@@ -88,6 +89,7 @@ def setup(doc=None, solvertype="elmer"):
axisCirc = Vector(1, 0, 0)
placementCircle = Placement(pCirc, Rotation(axisCirc, 0))
circle = Draft.make_circle(10, placement=placementCircle)
circle.MakeFace = True
circle.Label = "HeatingRod"
circle.ViewObject.Visibility = False