calculix-adapter icon indicating copy to clipboard operation
calculix-adapter copied to clipboard

No support for Stress data

Open MakisH opened this issue 2 years ago • 8 comments

Our Turek Hron FSI3 tutorial (OpenFOAM-deal.II) exchanges stress and displacement data. However, CalculiX does not currently know how to handle stress data. Supporting stresses would make adding a CalculiX case to this tutorial much easier.

MakisH avatar Nov 24 '22 19:11 MakisH

Do you want to make the adapter able to write stress ? Because reading Pressure is already possible since https://github.com/precice/calculix-adapter/pull/91 But AFAIK solids write displacements and read stresses/pressure, so this should be fine

boris-martin avatar Nov 25 '22 11:11 boris-martin

Oh, then we should probably add the word "stress" somewhere in this page: https://precice.org/adapter-calculix-config.html

We only need to read stress. I assume that pressure is only a scalar with the normal component. Is that correct?

MakisH avatar Nov 25 '22 14:11 MakisH

Yes. So no tangential traction is possible here. I don't know if it's a CalculiX limitation or something else. Maybe it's useful to have a wrapper that reads a vector input and takes the normal part ? (But it's actually "reading the full stress tensor" I think... but preCICE doesn't support tensor data)

boris-martin avatar Nov 25 '22 15:11 boris-martin

Yes. So no tangential traction is possible here. I don't know if it's a CalculiX limitation or something else.

I don't know if CalculiX has any such limitation. Maybe @MatthiasFreimuth has some clue here.

Maybe it's useful to have a wrapper that reads a vector input and takes the normal part ?

What do you mean by "wrapper"? This already sounds doable with preCICE actions.

(But it's actually "reading the full stress tensor" I think... but preCICE doesn't support tensor data)

But then how do we do it in deal.II? @davidscn

MakisH avatar Nov 25 '22 17:11 MakisH

Maybe it's useful to have a wrapper that reads a vector input and takes the normal part ?

What do you mean by "wrapper"? This already sounds doable with preCICE actions.

Didn't think of actions, I guess it could work! By wrapper I meant updating the adapter to add a conversion layer, but actions are probably cleaner

boris-martin avatar Nov 27 '22 15:11 boris-martin

As far as I know, there should be no limitations from CalculiX side regarding tangential traction.

MatthiasFreimuth avatar Dec 02 '22 08:12 MatthiasFreimuth

But then how do we do it in deal.II? @davidscn

We just read a Stress vector. On the OpenFOAM side we also compute it via normal vector x stress tensor.

davidscn avatar Dec 05 '22 08:12 davidscn

This issue has been mentioned on preCICE Forum on Discourse. There might be relevant details there:

https://precice.discourse.group/t/can-stress-be-transmitted-to-calculix-instead-of-force-in-fsi/1836/3

precice-bot avatar May 06 '24 12:05 precice-bot