kkolozvari / SFI-MVLEM-3D

3-D shear-flexure interaction element for RC walls
2 stars 1 forks source link

FSAM material error #2

Open u-anurag opened 1 month ago

u-anurag commented 1 month ago

Hi Dr. Kolozvari,

The model files here use Concrete02 material for wall concrete. When I run the model as it is, I get an error,

FSAM::FSAM - failed to get cracking strain for material with tag: 1001

However, when I change the concrete material to ConcreteCM, it works. I see that the documentation mentions that FSAM material works only with ConcreteCM, but would like to know if there is a way to make it work with Concrete02.

kkolozvari commented 1 month ago

Hello, I submitted a PR to implement Concrete02 (https://github.com/OpenSees/OpenSees/pull/1002), which was for whatever reason not approved. However, the code works fine. Therefore, please feel free to download the source code from the PR and use it. Let me know if you have any questions.

Thanks

mhscott commented 1 month ago

Not approved because there are too many internal assumptions. Sorry if that wasn't clear. But you can make the crack angle an input to FSAM then use any uniaxial material with the constitutive model

kkolozvari commented 1 month ago

@mhscott the cracking angle is calculated by the FSAM model and it cannot be an input variable. This will violate the model formulation. The idea is not to be able to use any material for concrete. The model worked with ConcreteCM only for 10+ years and now I am trying to add Concrete02 to increase its numerical stability and efficiency. There are other nDMaterials in OpenSees that are "tied" to a specific uniaxial material. Please re-consider.

mhscott commented 1 month ago

How can you get cracking angle from a uniaxial material?

kkolozvari commented 1 month ago

@mhscott there is some misunderstanding here. FSAM calculates cracking angles based on the strain filed at the integration point. In a nutshell, the cracking angle is calculated based on the direction of the principal tension strain at the instant when its value exceeds the cracking strain. This is the key of the approach and making the cracking angle an input parameter would defeat its purpose.