# Cauchy stress derived subfield poroelasticity example

**URL:** <https://community.geodynamics.org/t/cauchy-stress-derived-subfield-poroelasticity-example/2989>\
**Category:** PyLith\
**Created:** [June 6, 2023, 8:41pm UTC](https://community.geodynamics.org/t/cauchy-stress-derived-subfield-poroelasticity-example/2989 "2023-06-06T20:41:03Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![earzabala](https://avatars.discourse-cdn.com/v4/letter/e/e274bd/32.png) [@earzabala](https://community.geodynamics.org/u/earzabala)\
**Post date:** [June 6, 2023, 8:41pm UTC](https://community.geodynamics.org/t/cauchy-stress-derived-subfield-poroelasticity-example/2989/1 "2023-06-06T20:41:03Z")

</div>

Good afternoon everyone,

I want to have access to the Cauchy stress values (xx, yy, zz, xy) when I run step01\_inflation example.

I’m reading through the PyLith documentation for poroelasticity and the user guide states the following:

 ![image](https://canada1.discourse-cdn.com/flex036/uploads/geodynamics/original/2X/b/b09fb6715491ae5e33733cea9e3ef463f2bd76c4.png)

This is what I have in the pylithapp.cfg file for both materials:

 ![image](https://canada1.discourse-cdn.com/flex036/uploads/geodynamics/original/2X/f/ffcd42ced1e4a275aa72b0e91610fdb3eb984223.png)

**What else do I need to do in order to output the Cauchy stress values?**

Best,  
Eddie

---

<div class="post-metadata">

**Author:** ![baagaard](https://yyz2.discourse-cdn.com/flex036/user_avatar/community.geodynamics.org/baagaard/32/615_2.png) [@baagaard](https://community.geodynamics.org/u/baagaard)\
**Post date:** [June 11, 2023, 1:56am UTC](https://community.geodynamics.org/t/cauchy-stress-derived-subfield-poroelasticity-example/2989/2 "2023-06-11T01:56:22Z")

</div>

I don’t believe you need to do anything else. What do you get in the HDF5 files? You can use `h5dump -n FILENAME` to see the structure.

Sorry for the delayed reply, we have been extra busy getting ready for the PyLith hackathon.

---

<div class="post-metadata">

**Author:** ![earzabala](https://avatars.discourse-cdn.com/v4/letter/e/e274bd/32.png) [@earzabala](https://community.geodynamics.org/u/earzabala)\
**Post date:** [June 27, 2023, 4:46pm UTC](https://community.geodynamics.org/t/cauchy-stress-derived-subfield-poroelasticity-example/2989/3 "2023-06-27T16:46:35Z")

</div>

Hello Brad! I appreciate the response. My question is what do I need to do in order so that sigma\_xx, sigma\_yy, sigma\_xy etc. appears in Paraview parameters section here:

![Screenshot 2023-06-27 at 11.40.49 AM](https://canada1.discourse-cdn.com/flex036/uploads/geodynamics/original/2X/8/8dc0edf733ed69dcb42e1f9a641403b0ae3795df.png)

---

<div class="post-metadata">

**Author:** ![baagaard](https://yyz2.discourse-cdn.com/flex036/user_avatar/community.geodynamics.org/baagaard/32/615_2.png) [@baagaard](https://community.geodynamics.org/u/baagaard)\
**Post date:** [June 27, 2023, 5:59pm UTC](https://community.geodynamics.org/t/cauchy-stress-derived-subfield-poroelasticity-example/2989/4 "2023-06-27T17:59:53Z")

</div>

The Cauchy stress is associated with a material rheology so it is only available in the material output files. You are looking at the output over the domain, which only includes the solution fields.
