# Shear reinforcement on a slab

**URL:** <https://femdesign.discourse.group/t/shear-reinforcement-on-a-slab/416>\
**Category:** C#\
**Created:** [3 December 2024 08:04 UTC](https://femdesign.discourse.group/t/shear-reinforcement-on-a-slab/416 "2024-12-03T08:04:51Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![KPN](https://dub1.discourse-cdn.com/flex017/user_avatar/femdesign.discourse.group/kpn/32/379_2.png) [@KPN](https://femdesign.discourse.group/u/KPN)\
**Post date:** [3 December 2024 08:04 UTC](https://femdesign.discourse.group/t/shear-reinforcement-on-a-slab/416/1 "2024-12-03T08:04:51Z")

</div>

Is it possible to add shear reinforcement?  
When I look in .struxml and shear reinforcement is under “surface\_shear\_reinforcement”.

The closes I find is according to this link:  
[StirrupsReinforcement](https://github.com/strusoft/femdesign-api/blob/567d5dfe6cf23892038e278c032c24ec7f13ea77/FemDesign.Core/Reinforcement/StirrupsReinforcement.cs)  
But as all this requires input with bar I assume this is only for shear reinforcement for concrete bars?

---

<div class="post-metadata">

**Author:** ![KPN](https://dub1.discourse-cdn.com/flex017/user_avatar/femdesign.discourse.group/kpn/32/379_2.png) [@KPN](https://femdesign.discourse.group/u/KPN)\
**Post date:** [30 January 2025 17:55 UTC](https://femdesign.discourse.group/t/shear-reinforcement-on-a-slab/416/2 "2025-01-30T17:55:15Z")

</div>

While on the topic of shear, is it possible to ignore shear check?  
Se picture from Fem-Design Console window.

 ![Shear_control_region.struxml](https://europe1.discourse-cdn.com/flex017/uploads/femdesign_api/original/1X/e237e397424ea70366bfadbebce5cd4f8d022e67.png)

Seems like this link contain what I am looking for but cant find how to give input for this:  
[Noshear](https://github.com/strusoft/femdesign-api/blob/9dbe793bcc9963f5ee988ad7bdb421e3543ce3a0/FemDesign.Core/Reinforcement/NoShear.cs#L8)

More info:  
In my retaining wall model I have a small shell (call it BPL-MUR) connecting bottom slab with wall. Se picture below.

 ![Error_reduced shear force](https://europe1.discourse-cdn.com/flex017/uploads/femdesign_api/original/1X/9a9739222ff037bdbf323b19efa72ca3e98e7d34.png)

Default setting calculates with reduced shear force. The problem is that with this shell (BPL-MUR) is small and therefore causing the error shown in picture above.

Thankful for any help

---

<div class="post-metadata">

**Author:** ![MarcoPelle](https://dub1.discourse-cdn.com/flex017/user_avatar/femdesign.discourse.group/marcopelle/32/6_2.png) [@MarcoPelle](https://femdesign.discourse.group/u/MarcoPelle)\
**Post date:** [31 January 2025 09:09 UTC](https://femdesign.discourse.group/t/shear-reinforcement-on-a-slab/416/3 "2025-01-31T09:09:07Z")

</div>

Hi @KPN 👋

It seems to me that you are looking for `Reinforcement.ShearControlRegionType`

> <https://github.com/strusoft/femdesign-api/blob/9dbe793bcc9963f5ee988ad7bdb421e3543ce3a0/FemDesign.Core/Model/Entities.cs#L81>

No-Shear region has become obsolete with FD22 🙂

Let me know how it goes!

---

<div class="post-metadata">

**Author:** ![KPN](https://dub1.discourse-cdn.com/flex017/user_avatar/femdesign.discourse.group/kpn/32/379_2.png) [@KPN](https://femdesign.discourse.group/u/KPN)\
**Post date:** [31 January 2025 22:01 UTC](https://femdesign.discourse.group/t/shear-reinforcement-on-a-slab/416/4 "2025-01-31T22:01:24Z")

</div>

Hi Marco 🙂  
The best I come up with is the following:

> var shearControlRegion = new ShearControlRegionType  
> {  
> BasePlate = reinfBPLMUR.SlabPart.Guid,  
> IgnoreShearCheck = true,  
> X = 0.5  
> };  
> var entities = new FemDesign.Entities();  
> entities.NoShearControlRegions.Add(shearControlRegion);

But this doesn’t seem to be added to model with Fem-Design is opened.  
Maybe you understand why?

As I got no answer of my question about surface shear reinforcement I assume this is not implemented in Fem-Design API?

---

<div class="post-metadata">

**Author:** ![MarcoPelle](https://dub1.discourse-cdn.com/flex017/user_avatar/femdesign.discourse.group/marcopelle/32/6_2.png) [@MarcoPelle](https://femdesign.discourse.group/u/MarcoPelle)\
**Post date:** [3 February 2025 13:17 UTC](https://femdesign.discourse.group/t/shear-reinforcement-on-a-slab/416/5 "2025-02-03T13:17:39Z")

</div>

I think the issue is that you are clearing the entities with

```auto
var entities = new FemDesign.Entities();

```

If you have opened a model with `femdesignconnection`, I think you should something like:

```auto
var connection = new FemDesignConnection();
connection.Open("MY_FILE");
var model = connection .GetModel();
model.Entities.NoShearControlRegions.Add(shearControlRegion);
connection.Open(model);

```

---

<div class="post-metadata">

**Author:** ![KPN](https://dub1.discourse-cdn.com/flex017/user_avatar/femdesign.discourse.group/kpn/32/379_2.png) [@KPN](https://femdesign.discourse.group/u/KPN)\
**Post date:** [3 February 2025 21:00 UTC](https://femdesign.discourse.group/t/shear-reinforcement-on-a-slab/416/6 "2025-02-03T21:00:51Z")

</div>

Thank you for your answer 🙂  
When I use the following code, it causes all model info being erased.  
Any idea why?  
(connection.Open(model); then opens a empty model)

> model.Entities.NoShearControlRegions.Add(shearControlRegions[0]);

Doesn’t seem to change if shearControlRegions is added before or after other model info (elements/Loads/LoadCases/LoadCombinations)

Have removed

> var entities = new FemDesign.Entities();
