# Perform 2D simulation with Calculix

**URL:** <https://precice.discourse.group/t/perform-2d-simulation-with-calculix/1032>\
**Category:** Official adapters and tutorials\
**Tags:** calculix\
**Created:** [April 26, 2022, 9:05am UTC](https://precice.discourse.group/t/perform-2d-simulation-with-calculix/1032 "2022-04-26T09:05:47Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Le\_mot](https://avatars.discourse-cdn.com/v4/letter/l/b5ac83/32.png) [@Le\_mot](https://precice.discourse.group/u/Le_mot)\
**Post date:** [April 26, 2022, 9:05am UTC](https://precice.discourse.group/t/perform-2d-simulation-with-calculix/1032/1 "2022-04-26T09:05:47Z")

</div>

Hello,

I want to perform 2D FSI simulation with Calculix, I saw the test case of the perpendicular flap where the mesh provided has a thickness of 1.

What happen if we put a thickness of 0.1 for the solid and we also put a thickness of 0.1 for the fluid domain ?

I wanted to know if there is an explanation for this choice of thickness and if this is also working if I want to perform the HRON&TUREK FSI3 for example?

I also noticed that you use solid element (C3D8I) for your test case, have you tried with shell elements (S4) with thickness=1 ? Because for me, contrary to shell element, having a solid element would introduce Inertia along the “fake third dimension” (If my flow is in the plan XY, the flap could have different position along the z axis).

Thank you for your help.

---

<div class="post-metadata">

**Author:** ![boris-martin](https://yyz2.discourse-cdn.com/free1/user_avatar/precice.discourse.group/boris-martin/32/705_2.png) [@boris-martin](https://precice.discourse.group/u/boris-martin)\
**Post date:** [April 30, 2022, 9:57pm UTC](https://precice.discourse.group/t/perform-2d-simulation-with-calculix/1032/2 "2022-04-30T21:57:42Z")

</div>

Hi,

Sorry for the delay in answering.

The thickness of “1” is such that in your unit system, the z-axis has no effect. A force of 1N would be interpreted as 1N per meter in SI units for instance. However if your fluid domain works on a different thickness it might make sense to follow the convention of a different thickness. It depends on whether the fluid solver outputs force per thickness of raw forces.

Shell elements should work too, with the same reasoning for thickness. However support for shell is recent, and you’d need to build the adapter from the “develop” branch on Github, as the last release doesn’t contain this update yet.

Hope it helps!  
Boris

---

<div class="post-metadata">

**Author:** ![Le\_mot](https://avatars.discourse-cdn.com/v4/letter/l/b5ac83/32.png) [@Le\_mot](https://precice.discourse.group/u/Le_mot)\
**Post date:** [May 2, 2022, 6:58am UTC](https://precice.discourse.group/t/perform-2d-simulation-with-calculix/1032/3 "2022-05-02T06:58:29Z")

</div>

Yes, I understand better, thank you !

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/free1/uploads/precice/original/1X/67d2a5fa6f80e597e2267ff17fa8c1673cd11caa.svg) [@system](https://precice.discourse.group/u/system)\
**Post date:** [May 5, 2022, 6:59am UTC](https://precice.discourse.group/t/perform-2d-simulation-with-calculix/1032/4 "2022-05-05T06:59:14Z")

</div>

Closed on May 5, 2022, 6:59am UTC

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.
