Result surface plot issue

Moderator: GiD Team

Post Reply
aortizb
Posts: 10
Joined: Mon Dec 12, 2016 6:35 pm
Location: Santiago, Chile.
Contact:

Result surface plot issue

Post by aortizb »

Hi, when I plot a field that has positive and negative values using "Result surface" option, the 3D plot puts negative values in the +Z direction and positive values in the -Z direction (see the attached figure). Is there any way to switch the axis so that positive values are plotted along +Z direction and negative values along -Z direction?

Thank you.
Alejandro.
gid_plot.png
gid_plot.png (136.38 KiB) Viewed 4989 times
User avatar
escolano
Posts: 1915
Joined: Sun Sep 05, 1982 10:51 pm

Re: Result surface plot issue

Post by escolano »

The surface mesh could be in any 3D location, not compulsory in the XY plane (Z=0) like your example.

The "Result surface" plot is not drawing possitive values along +Z (Z global axis), but along +surface_normal_direction (+z local axis)

It seems that in your example the normal of your triangle/quadrilateral elements is pointing to -Z (its normal is defined by the order of its nodes: "right-hand rule")

And generating the mesh (surface elements) , its normal is the same as the normal of the geometrical surface (its normal depends on its parametrization, the vectorial product of its derivatives: Xu X Xv)

In preprocess you can swap the normal of the surface with the menu:
Utilites->Swap normals->Surfaces

Swap the normals of your surfaces to set them pointing to +Z, just as you want the plot, then re-mesh and re-calculate.


You can also swap normals of mesh elements, in mesh view, but this is discouraged, because if do your re-mesh you will lost your manual changes.

The orientation of the elements is crutial for some kind of simulations, maybe not in your case.
you can also check the normals with the menu:
View->Normals
User avatar
miguel
Posts: 361
Joined: Thu Sep 25, 2014 9:04 am

Re: Result surface plot issue

Post by miguel »

Hi Alejandro,
In addition to Escolano options:
- you can swap the orientation of a surface also in Postprocess with the option 'Geometry-->Swap orientation of visible surface meshes'

- or, when you use the 'result surface' visualization, you can enter the 'amplification factor' on the command line. Here you can enter negative 'amplification' factor, and so effectively swapping the elevation orientation.

best regards,

the gid team
Post Reply