# Is it possible to plot 2 results in the same point?

**URL:** <https://forum.gidsimulation.com/t/is-it-possible-to-plot-2-results-in-the-same-point/2067>\
**Category:** Postprocess\
**Created:** [February 21, 2016, 3:09am UTC](https://forum.gidsimulation.com/t/is-it-possible-to-plot-2-results-in-the-same-point/2067 "2016-02-21T03:09:00Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Helos](https://forum.gidsimulation.com/letter_avatar_proxy/v4/letter/h/e274bd/32.png) [@Helos](https://forum.gidsimulation.com/u/Helos)\
**Post date:** [February 21, 2016, 3:09am UTC](https://forum.gidsimulation.com/t/is-it-possible-to-plot-2-results-in-the-same-point/2067/1 "2016-02-21T03:09:00Z")

</div>

I have a problem of material discontinuity in solid mechanics of composites.

I’ve solved the problem separating the domain of each material, and I have 2 sub-problems joined because of the discontinuity interface between materials. In every point belonging to the interface, I have 2 results, one for each material.  
The problem is, when I have to plot, every node has an ID and a result associated, so until now, I only give one of two results, and in consequence the program smooths the result in discontinuity lines, when discontinuity is like a step function.

I’ve attached 2 images, one is the result I got plotting as usual in GID. The second is a result from ansys that shows the abrupt change that I want. The problem is circular fiber inside a square representative volume.  
So if I could put two results in the same point… it would be nice, but it is possible?

Thank you very much in advance.

 ![408e80bd-0c87-4757-a215-bdf01e8e144e.png](https://forum.gidsimulation.com/uploads/default/original/1X/29f25350e3d07c3b689b7da8d1a3a0a7b15f5767.png)  
 ![Snapshot.png](https://forum.gidsimulation.com/uploads/default/original/1X/6d3047287be86efd9dfaa8392576682d81b5c5d9.png)

---

<div class="post-metadata">

**Author:** ![Helos](https://forum.gidsimulation.com/letter_avatar_proxy/v4/letter/h/e274bd/32.png) [@Helos](https://forum.gidsimulation.com/u/Helos)\
**Post date:** [February 23, 2016, 9:05pm UTC](https://forum.gidsimulation.com/t/is-it-possible-to-plot-2-results-in-the-same-point/2067/2 "2016-02-23T21:05:38Z")

</div>

I have my problem solver. The solution is to descolapse both surface, so the line of discontinuity is double. Then, there is a node for each domain. When the problem is solved, the program can plot the two material correctly.

---

<div class="post-metadata">

**Author:** ![geoww](https://forum.gidsimulation.com/letter_avatar_proxy/v4/letter/g/ccd318/32.png) [@geoww](https://forum.gidsimulation.com/u/geoww)\
**Post date:** [August 27, 2017, 6:58pm UTC](https://forum.gidsimulation.com/t/is-it-possible-to-plot-2-results-in-the-same-point/2067/3 "2017-08-27T18:58:17Z")

</div>

I just came across the same problem. Can you please share a sample or explain more. for each material I can define its own submesh  
defined in post.msh file. I also get for each submesh a solution value for each node. How does the post.res file look like? Gid should not  
so smoothing across material interfaces.  
Thanks

---

<div class="post-metadata">

**Author:** ![escolano](https://forum.gidsimulation.com/user_avatar/forum.gidsimulation.com/escolano/32/6_2.png) [@escolano](https://forum.gidsimulation.com/u/escolano)\
**Post date:** [August 31, 2017, 5:27pm UTC](https://forum.gidsimulation.com/t/is-it-possible-to-plot-2-results-in-the-same-point/2067/4 "2017-08-31T17:27:13Z")

</div>

you must not define two values of a result for the same node,  
you mus simply have two different nodes, each one with its unique number (they could be in the same x,y,z location)

---

<div class="post-metadata">

**Author:** ![GiuseppeGol](https://forum.gidsimulation.com/letter_avatar_proxy/v4/letter/g/46a35a/32.png) [@GiuseppeGol](https://forum.gidsimulation.com/u/GiuseppeGol)\
**Post date:** [October 24, 2017, 8:07am UTC](https://forum.gidsimulation.com/t/is-it-possible-to-plot-2-results-in-the-same-point/2067/5 "2017-10-24T08:07:34Z")

</div>

> [@escolano](#):
>
> you must not define two values of a result for the same node,  
> you mus simply have two different nodes, each one with its unique number (they could be in the same x,y,z location)

That’s so simple. Why didn’t I think of thatÃ¢â‚¬Â¦ Thank you.
