Automatic point evolution Graph

Moderator: GiD Team

manuelpk
Posts: 1
Joined: Fri Jul 22, 2016 1:24 pm

Automatic point evolution Graph

Postby manuelpk » Fri Jul 22, 2016 1:29 pm

Hi,
I would ask if is possible to set some coordinates for few points where, after the analisys, i can look the point evolution graph. So if i change my model or parameter, after the analisys I can have fastly the graph in all my fixed points.

Thanks
User avatar
escolano
Posts: 1566
Joined: Thu Sep 18, 2014 3:31 pm

Re: Automatic point evolution Graph

Postby escolano » Fri Jul 22, 2016 2:26 pm

No, it is not directly possible to do it with GiD,
In general the list of coordinates of the points of interest doesn't has sense between different models (with different sizes, scales, and different results)

Some possible approachs:
1) -Do it in the calculation program: define 'a priori' the coordinates of the points and variables of interest and the calculation process could write a graphs file with this information, to be automatically read when the calculation finish and changing to postprocess

2) As user create a Tcl procedure to be invoked by a button of the macros toolbar, and in this macro create the graphs of some result on a list of stored coordinates.

something like this (assuming a result named Pressure, and two 'hardcoded' locations)

proc CreateMyGraphs { } {
set xyz_coordinates {1.5,3.6,0.0 2.3,3.2,0.0}
set result_name Pressure
foreach xyz_coordinate $xyz_coordinates {
GiD process Mescape Results Graphs PointEvolution $result_name |$result_name| $xyz_coordinate escape escape
}
}

I think that the second approach is what do you need
Off course you could sophisticate the macro: a first step to select coordinates, and results to be plot and a second step to create the graphs with the selection stored in the first step (the first step could be avoided in next uses of the macro)

Return to “Graphs”

Who is online

Users browsing this forum: No registered users and 1 guest