Tracking stress and strain evolution - uniaxialMaterial

For developers writing C++, Fortran, Java, code who have questions or comments to make.

Moderators: silvia, selimgunay, Moderators

Post Reply
tngo@tamu.edu
Posts: 5
Joined: Fri Jun 26, 2009 11:38 am
Location: TAMU

Tracking stress and strain evolution - uniaxialMaterial

Post by tngo@tamu.edu »

Dear Dr. McKenna,

I need your help with adding a new unaxial material using DLL on Windows. Following your articles, I have created a new uniaxial material (*.h and *.cpp files) and a DLL file as well. However, the stress and strain obtained from using the DLL file are different from the result obtained from tesing the *.h and *.cpp files.

A main cpp file is created to perform the test. In the main file, the strain value is incrementally changed and introduced to the method setTrialStrain( ). The stress and strain are obtained from the methods getStress( ) and getStrain( ). The variation of stress as a function of strain looks correct.

However, the stress and strain obtained from running OpenSees.exe using the DLL file do not look right. There must have been incorrect with the test. Could you help provide me with advice on this?

Thank you very much!

Thanh
tngo@tamu.edu
Posts: 5
Joined: Fri Jun 26, 2009 11:38 am
Location: TAMU

Re: Tracking stress and strain evolution - uniaxialMaterial

Post by tngo@tamu.edu »

Dr. Mazzoni,

Would Dr. McKenna have this email?

Thanks,
Thanh
tngo@tamu.edu
Posts: 5
Joined: Fri Jun 26, 2009 11:38 am
Location: TAMU

Re: Tracking stress and strain evolution - uniaxialMaterial

Post by tngo@tamu.edu »

I got it: the dll file now works charmingly
Post Reply