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
Tracking stress and strain evolution - uniaxialMaterial
Moderators: silvia, selimgunay, Moderators
-
- Posts: 5
- Joined: Fri Jun 26, 2009 11:38 am
- Location: TAMU
-
- Posts: 5
- Joined: Fri Jun 26, 2009 11:38 am
- Location: TAMU
Re: Tracking stress and strain evolution - uniaxialMaterial
Dr. Mazzoni,
Would Dr. McKenna have this email?
Thanks,
Thanh
Would Dr. McKenna have this email?
Thanks,
Thanh
-
- Posts: 5
- Joined: Fri Jun 26, 2009 11:38 am
- Location: TAMU
Re: Tracking stress and strain evolution - uniaxialMaterial
I got it: the dll file now works charmingly