Hello,
I want to know how to transmit the stress calculated by openfoam to calculix instead of force in FSI?
Can stress be transmitted to calculix instead of force in FSI calculations?
Thanks
Hello,
I want to know how to transmit the stress calculated by openfoam to calculix instead of force in FSI?
Can stress be transmitted to calculix instead of force in FSI calculations?
Thanks
Hi, fan_wu
When I read the openfoam adapter code, I found out that there are four data can be used for coupling, force, stress, displacement, displacementDelta
. So I think it’s possible to use stress instead of force, although I don’t know how the stress can be used hhh .
This is the configuration documentation page of the CalculiX adapter: Configure the CalculiX adapter | preCICE - The Coupling Library
Unfortunately, the CalculiX adapter does not support reading stresses at the moment, but it should not be too complicated to add it:
I have not tried it, but it was already suggested in the issue that reading Pressure
could work if you only need the normal stress.
Hi @fan_wu @Makis @Gong_CHEN
Any update on this? It seems to be working only for tetrahedral and hexahedral “interface” elements; is that correct?
Best,
Marin
Recently we have been trying to solve multiscale mechanics problems with CalculiX. For this, we need to read the stress tensor from preCICE. We currently have a working version of the adapter which reads the stress tensor in Add functionality for volumetric coupling of material models by kalupaika · Pull Request #118 · precice/calculix-adapter · GitHub
The relevant lines of code are these ones. preCICE cannot handle tensor data directly, so we split the stress tensor into two vectors while writing to preCICE, and assemble it again before handing over to CalculiX.
I hope this helps.