Skip to content
Snippets Groups Projects
Commit f83dc933 authored by Max Jäschke's avatar Max Jäschke Committed by Florian Zill
Browse files

Modification of the Extrusion

BHE-Line must have the same nodes as the Soil-Mesh and the Soil-Mesh must have a node at the_depth
parent bc4f2b71
No related branches found
No related tags found
1 merge request!123[msh2vtu] fix for BHE meshes
Pipeline #22186 passed
...@@ -152,9 +152,9 @@ def bhe_mesh( ...@@ -152,9 +152,9 @@ def bhe_mesh(
geo.synchronize() geo.synchronize()
model.mesh.embed(0, [d1, d2, d3, d4, d5, d6, d7], 2, 1) model.mesh.embed(0, [d1, d2, d3, d4, d5, d6, d7], 2, 1)
soil_1 = geo.extrude([(2, 1)], 0, 0, -depth / 2, [6], [1], True) soil_1 = geo.extrude([(2, 1)], 0, 0, -depth / 2, [4], [1], True)
soil_2 = geo.extrude([soil_1[0]], 0, 0, -depth / 2, [6], [1], True) soil_2 = geo.extrude([soil_1[0]], 0, 0, -depth / 2, [4], [1], True)
bhe = geo.extrude([(0, 5)], 0, 0, -bhe_depth, [7], [1], True) bhe = geo.extrude([(0, 5)], 0, 0, -bhe_depth, [5], [1], True)
top_soil_tag = model.addPhysicalGroup(dim=3, tags=[soil_1[1][1]]) top_soil_tag = model.addPhysicalGroup(dim=3, tags=[soil_1[1][1]])
bottom_soil_tag = model.addPhysicalGroup(dim=3, tags=[soil_2[1][1]]) bottom_soil_tag = model.addPhysicalGroup(dim=3, tags=[soil_2[1][1]])
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment