[GiDlist] how to create lines in post mode and export them t

Moderator: GiD Team

Post Reply
Andres Peratta

[GiDlist] how to create lines in post mode and export them t

Post by Andres Peratta »

Hi there !,
I'd like to know if it is possible to introduce lines or points in
postprocess mode
and to export their exact coordinates to an ascii file through my own
tcl scripts,
so I can launch my own interpolation algorithm and rebuild the solution
there.
This is something simmilar to cut_wires. However, I need to override
this feature
Do_cuts cut_wire for te following two main reasons :
1) The nodes that define my cutwire are quite far away from the nodes of
the mesh,
where the results are collocated. In other words, the sizes of my
elements are huge
in comparison to the length of the cutwire that I define,
thus bringing serious problems with the accuracy of the location of
the cutwire nodes.
2) I need to run my own postprocessing algorithm in order to generate
the results over the
coordinates that I have introduced,
instead of using the GID interpolation scheme available with the
command
View_Results Graphs Border_graphs.
-----------------------
Note:
I managed to export lines (regarded as cutwires) to an ascii file by
writing down
and filtering the information offered by :
.central.s info list_entities lines
.central.s info list_entities points
then I launched my own postprocessing code with
exec my_postprocess
that reads the file of coordinates and creates the results,
but this only worked in preprocessing mode and I'd like to do it in post
mode.

Any help will be highly appreciated.
thanks in advance,
Andres
Post Reply