Skip to content

Commit f0ed090

Browse files
Keep it for everyone
1 parent 53d4a51 commit f0ed090

2 files changed

Lines changed: 7 additions & 3 deletions

File tree

kratos.gid/apps/DEM/write/write_utils.tcl

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -373,8 +373,6 @@ proc DEM::write::BeforeMeshGenerationUtils {elementsize} {
373373
set groupid "-AKGSkinMesh3D"
374374
DEM::write::CleanAutomaticConditionGroupGiD $entitytype $groupid
375375

376-
GiD_Process Mescape Meshing MeshCriteria NoMesh Surfaces : escape
377-
378376
# Find boundaries
379377
if {[GiD_Groups exists SKIN_SPHERE_DO_NOT_DELETE]} {
380378
GiD_Groups delete SKIN_SPHERE_DO_NOT_DELETE

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)