Skip to content

Commit a1830a6

Browse files
Merge pull request #687 from KratosMultiphysics/dem/meshing-bugfix
Meshcriteria is resetted on all surfaces of the model
2 parents a1d5208 + f0ed090 commit a1830a6

1 file changed

Lines changed: 7 additions & 1 deletion

File tree

kratos.gid/kratos.tcl

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -353,10 +353,16 @@ proc Kratos::TransformProblemtype {old_dom old_filespd} {
353353
proc Kratos::Event_BeforeMeshGeneration {elementsize} {
354354
# Prepare things before meshing
355355

356+
357+
GiD_Process Mescape Meshing MeshCriteria NoMesh Lines 1:end escape escape escape
358+
GiD_Process Mescape Meshing MeshCriteria NoMesh Surfaces 1:end escape escape escape
359+
GiD_Process Mescape Meshing MeshCriteria NoMesh Volumes 1:end escape escape escape
360+
356361
# We need to mesh every line and surface assigned to a group that appears in the tree
357362
foreach group [spdAux::GetAppliedGroups] {
358363
GiD_Process Mescape Meshing MeshCriteria Mesh Lines {*}[GiD_EntitiesGroups get $group lines] escape escape escape
359-
GiD_Process Mescape Meshing MeshCriteria Mesh Surfaces {*}[GiD_EntitiesGroups get $group surfaces] escape escape
364+
GiD_Process Mescape Meshing MeshCriteria Mesh Surfaces {*}[GiD_EntitiesGroups get $group surfaces] escape escape escape
365+
GiD_Process Mescape Meshing MeshCriteria Mesh Volumes {*}[GiD_EntitiesGroups get $group volumes] escape escape escape
360366
}
361367
# Maybe the current application needs to do some extra job
362368
set ret [apps::ExecuteOnCurrentApp BeforeMeshGeneration $elementsize]

0 commit comments

Comments
 (0)