how to add new material model to opensees

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

Moderators: silvia, selimgunay, Moderators

Post Reply
civilman
Posts: 33
Joined: Wed Sep 26, 2007 12:56 am
Location: Dalian

how to add new material model to opensees

Post by civilman »

dear, friends:
I want to add a new material model to opensees, *.h and *.cpp are already finished. I only know put these two files into ...\OpenSees\SRC\material\uniaxial. But, I don't know what to do in the next procedure. Who can tell me the procedures?
thanks a lot. Any reply is appreciated.
DanieleBaraldi84
Posts: 5
Joined: Thu Dec 18, 2008 4:02 am
Location: Università degli Studi di Ferrara

Post by DanieleBaraldi84 »

Hi,
Obviously I'm not the right person that has to answer to your question because I'm still a beginner in using OpenSees, but I created a new Concrete material for my graduation thesis. The way I used for working with it like another material has been to download the last version of the source code, go into packages/win32 directory and open the solution WindowsDlls.sln with microsoft visual c++. I created a new material project into the solution, putting into the project the header file (.h), the main source file (.cpp) and copying other source files needed (looking the material project example). If everything is ok, is possible to generate the solution of the project and a .dll file is created with the name of the material into the c++ project directory. The new material can be used in an OpenSees project if the dll is in the same directory of the executable file.
Daniele Baraldi
Post Reply