prism+tets
Moderator: GiD Team
Re: prism+tets
Hello,
This is the gid_mesh file as well,
regards,
Elek
This is the gid_mesh file as well,
regards,
Elek
- Attachments
-
- mem_out.zip
- gid_mesh
- (18.02 KiB) Downloaded 383 times
Re: prism+tets
Your initial mesh has a portion of the sphere duplicaded, with overlapped triangles.
Using View->Higherentites->Edges
you will see the part with a repeated sector: You could manually delete the unwanted triangles before the conversion to surface, or delete the surfaces after the conversion.
Using View->Higherentites->Edges
you will see the part with a repeated sector: You could manually delete the unwanted triangles before the conversion to surface, or delete the surfaces after the conversion.
Re: prism+tets
I attach a GiD model converted to surfaces, deleting unwanted ones and with a volume created.
Re: prism+tets
Thank you, it was an error in patran
geometry "duplicated durface"
EP.
geometry "duplicated durface"
EP.
Re: prism+tets
hello, there is such a long command:
Mescape Geometry Create Reconstruct OneSurfForEachElement
283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370
escape
Is it possible to shorten it, not to enumerate all entities, for example,
Mescape Geometry Create Reconstruct OneSurfForEachElement
283 to 370
escape
best regards,
Elek
Mescape Geometry Create Reconstruct OneSurfForEachElement
283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370
escape
Is it possible to shorten it, not to enumerate all entities, for example,
Mescape Geometry Create Reconstruct OneSurfForEachElement
283 to 370
escape
best regards,
Elek
Re: prism+tets
yes, while selecting the list of entities could be shorten with the syntax a:b
200 283:370
meaning the items 200 283 284 ... 369 370
200 283:370
meaning the items 200 283 284 ... 369 370
Re: prism+tets
And at Tcl level you can convert a list of increasing integers from the 'compact' to the 'expanded' syntax with these procedures (defined in dev_kit.tcl of our scripts, this file has common tools for Tcl/Tk GiD developers)
or vice-versa
e.g.
if do you write in the lower command line this test:
you will obtain
Code: Select all
set expanded [GidUtils::UnCompactNumberList $items]
Code: Select all
set compacted [GidUtils::CompactNumberList $expanded]
if do you write in the lower command line this test:
Code: Select all
-np- WarnWinText [GidUtils::CompactNumberList {283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370}]
Code: Select all
283:370