# Shear in-situ stress

**URL:** <https://forum.itascainternational.com/t/shear-in-situ-stress/261>\
**Category:** PFC\
**Tags:** fish, suggestions\
**Created:** [February 16, 2022, 8:22pm UTC](https://forum.itascainternational.com/t/shear-in-situ-stress/261 "2022-02-16T20:22:19Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![xiongyu](https://avatars.discourse-cdn.com/v4/letter/x/da6949/32.png) [@xiongyu](https://forum.itascainternational.com/u/xiongyu)\
**Post date:** [February 16, 2022, 8:22pm UTC](https://forum.itascainternational.com/t/shear-in-situ-stress/261/1 "2022-02-16T20:22:19Z")

</div>

How to apply an in-situ stress state that include a shear stress component in PFC 6.0 version:  
 ![21](https://canada1.discourse-cdn.com/flex031/uploads/itasca/original/1X/877820e74133caf7aad0e591aece21ddbd4a59f8.jpeg)  
 ![1](https://canada1.discourse-cdn.com/flex031/uploads/itasca/original/1X/469043545db7992676d9d75fb67f31fd750340ee.jpeg)

---

<div class="post-metadata">

**Author:** ![dblanksma](https://avatars.discourse-cdn.com/v4/letter/d/858c86/32.png) [@dblanksma](https://forum.itascainternational.com/u/dblanksma)\
**Post date:** [February 17, 2022, 2:39pm UTC](https://forum.itascainternational.com/t/shear-in-situ-stress/261/2 "2022-02-17T14:39:46Z")

</div>

Hello Xiongyu,

Applying in-situ stresses in DEM codes is a bit more involved then in continuum codes. However, _PFC_ does have a command called **ball tractions** , that allows the user to specify a stress tensor or gravitational stress and _PFC_ will modify ball-ball and ball-facet tractions to generate the provided state of stress. More information on this command can be found here - [ball tractions command — PFC 6.0 documentation](http://docs.itascacg.com/pfc600/pfc/pfcmodule/doc/manual/ball_manual/ball_commands/cmd_ball.tractions.html?node1304)  
Note this command applies to balls and rblocks, but _not_ clumps. An example that uses this logic for rblocks is provided here - [Data Files for “TunnelBBM” Example — PFC 6.0 documentation](http://docs.itascacg.com/pfc600/pfc/docproject/source/manual/examples/examples/tunnel/tunneldatafiles.html#tunneldatafiles)  
Also, to check that the specified stress does indeed develop you can create measurement circles in your model to check the state of stress. More information on use and implementation of measurement circles are given here - [Measure — PFC 6.0 documentation](http://docs.itascacg.com/pfc600/pfc/docproject/source/manual/general_components/measure/measure.html?node940)

---

<div class="post-metadata">

**Author:** ![Hansenn](https://avatars.discourse-cdn.com/v4/letter/h/7ab992/32.png) [@Hansenn](https://forum.itascainternational.com/u/Hansenn)\
**Post date:** [December 14, 2022, 1:23pm UTC](https://forum.itascainternational.com/t/shear-in-situ-stress/261/4 "2022-12-14T13:23:25Z")

</div>

Hi Dblamksma  
I want to use the command of ball tractions to define the stress boundaries.  
"ball tractions ratio 1.271 0.815 direction-x 0.94 0.342 0 "  
However, an error was thrown out as ‘Unused extra parameter 7 (0.94) found on command line.’  
Do you know the reason?  
Thanks

---

<div class="post-metadata">

**Author:** ![dblanksma](https://avatars.discourse-cdn.com/v4/letter/d/858c86/32.png) [@dblanksma](https://forum.itascainternational.com/u/dblanksma)\
**Post date:** [December 14, 2022, 3:31pm UTC](https://forum.itascainternational.com/t/shear-in-situ-stress/261/5 "2022-12-14T15:31:31Z")

</div>

Hello @Hansenn, At first glance I am not sure why an error would be thrown for that command. Are you using PFC3D or 2D?

---

<div class="post-metadata">

**Author:** ![Hansenn](https://avatars.discourse-cdn.com/v4/letter/h/7ab992/32.png) [@Hansenn](https://forum.itascainternational.com/u/Hansenn)\
**Post date:** [December 15, 2022, 12:46am UTC](https://forum.itascainternational.com/t/shear-in-situ-stress/261/6 "2022-12-15T00:46:09Z")

</div>

I am using PFC3D 7.0. And I use the command of ‘ball tractions’ based on the manual. This error also makes me confused. I am wondering whether this is a bug of PFC3D. Or there is something I overlooked. If possible, please test this command. Thanks.

---

<div class="post-metadata">

**Author:** ![dblanksma](https://avatars.discourse-cdn.com/v4/letter/d/858c86/32.png) [@dblanksma](https://forum.itascainternational.com/u/dblanksma)\
**Post date:** [December 15, 2022, 9:02pm UTC](https://forum.itascainternational.com/t/shear-in-situ-stress/261/7 "2022-12-15T21:02:38Z")

</div>

Hello @Hansenn,

We discovered this is indeed a bug and are currently fixing it. The fix will be available in the next update, however, I don’t anticipate the update being available until next month.

We may be able to find a work-around with FISH if this is something that is urgent.

---

<div class="post-metadata">

**Author:** ![Hansenn](https://avatars.discourse-cdn.com/v4/letter/h/7ab992/32.png) [@Hansenn](https://forum.itascainternational.com/u/Hansenn)\
**Post date:** [December 24, 2022, 11:09am UTC](https://forum.itascainternational.com/t/shear-in-situ-stress/261/8 "2022-12-24T11:09:04Z")

</div>

Thanks. Dblanksma. I can wait for the updated version.
