problem with mesh and conditions
Posted: Thu Mar 15, 2018 11:33 am
Dear GiD team,
we use your software (v12) in order to create a surface mesh and to add some conditions/materials/parameters; these info are exported via a "text data report" and a ".dat" file created by the imposed problem type, and loaded into a MATLAB script to create a single input file for our electromagnetic solver.
The proceadure created for GiD works fine but it is very tedious: after the creation/import of the geometrical structure, the material assignment and the problem data definition, we need to assign three particular conditions over the surfaces with the CONDMESHTYPE set to 'over body elements'. The tedious point is that, to each surface, we must assign an unique condition value in order to cleary identify which triangles are defined over which surfaces. This procedure is necessary because if we assigne an unique condition value to all the surfaces pertaion to each volume and we have a surface shared between two volumes, the mesh triangles over the shared surface will have only the condition value assigned to the surfaces of the second volume!! so, in this way, we are unable to discretize which triangles are shared between the two volumes because the condition value assigne to the surfaces of the second volume will destroy the one assigned to the surfaces of the first volume!! To better understand:
- tedious but right procedure:
2 volumes, 6 surfaces for each volume, 11 total surfaces (one shared)
44 triangles (4 for each surface)
11 unique condition values for the 11 total surfaces
4 triangles associated to each condition value
(Triangles <- condition value -> Surface) ==> we are able to discretize the shared triangles
- easier but wrong procedure:
2 volumes, 6 surfaces for each volume, 11 total surfaces (one shared)
44 triangles (4 for each surface)
2 unique condition values: one for each of the 6 surfaces defining each volume
24 triangles associated to each condition value
(24 Triangles <- first condition value -> 6 Surfaces)
(24 Triangles <- second condition value -> 6 Surfaces)
Total: 20 triangles with the first condition value, 24 trianlges with the second condition value: we are unable to discretize the shared
triangles
Now, this is our question: it is possible to set a condition or a group of conditions to simplify the tedious procedure to the difficulty level of the easier one????
Thank to everybody!!
we use your software (v12) in order to create a surface mesh and to add some conditions/materials/parameters; these info are exported via a "text data report" and a ".dat" file created by the imposed problem type, and loaded into a MATLAB script to create a single input file for our electromagnetic solver.
The proceadure created for GiD works fine but it is very tedious: after the creation/import of the geometrical structure, the material assignment and the problem data definition, we need to assign three particular conditions over the surfaces with the CONDMESHTYPE set to 'over body elements'. The tedious point is that, to each surface, we must assign an unique condition value in order to cleary identify which triangles are defined over which surfaces. This procedure is necessary because if we assigne an unique condition value to all the surfaces pertaion to each volume and we have a surface shared between two volumes, the mesh triangles over the shared surface will have only the condition value assigned to the surfaces of the second volume!! so, in this way, we are unable to discretize which triangles are shared between the two volumes because the condition value assigne to the surfaces of the second volume will destroy the one assigned to the surfaces of the first volume!! To better understand:
- tedious but right procedure:
2 volumes, 6 surfaces for each volume, 11 total surfaces (one shared)
44 triangles (4 for each surface)
11 unique condition values for the 11 total surfaces
4 triangles associated to each condition value
(Triangles <- condition value -> Surface) ==> we are able to discretize the shared triangles
- easier but wrong procedure:
2 volumes, 6 surfaces for each volume, 11 total surfaces (one shared)
44 triangles (4 for each surface)
2 unique condition values: one for each of the 6 surfaces defining each volume
24 triangles associated to each condition value
(24 Triangles <- first condition value -> 6 Surfaces)
(24 Triangles <- second condition value -> 6 Surfaces)
Total: 20 triangles with the first condition value, 24 trianlges with the second condition value: we are unable to discretize the shared
triangles
Now, this is our question: it is possible to set a condition or a group of conditions to simplify the tedious procedure to the difficulty level of the easier one????
Thank to everybody!!