How to build a new material model into OpenSees

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

Moderators: silvia, selimgunay, Moderators

Post Reply
Sanjeema
Posts: 14
Joined: Tue Nov 17, 2015 4:37 am
Location: Tokyo Institute of Technology

How to build a new material model into OpenSees

Post by Sanjeema » Sat Jan 30, 2016 3:46 am

Dear all,

I want to build a new material model into OpenSees 2.2.0 (downloaded a few older versions, managed to build versions 2.1.0 and 2.2.0 only). I created a new project with the .h and .cpp files (Windows application) but I don't understand how to link it to the header and library files as mentioned in the instructions in "Building on Windows Systems".

I added the project to Solution 'OpenSees2005' and hit build.
But it showed error:

"The project file ' ' has been removed or is no longer in the solution".

Do I need to change something in the Additional Include Directories for the project?

Sanjeema

fmk
Site Admin
Posts: 5866
Joined: Fri Jun 11, 2004 2:33 pm
Location: UC Berkeley
Contact:

Re: How to build a new material model into OpenSees

Post by fmk » Wed Mar 09, 2016 10:00 am

you need to edit the project settings. a more fool proof (though a litttle outdated set of instructions with pictures can be found here:
http://opensees.berkeley.edu/AddingYourCode.pdf

davidjohnson
Posts: 3
Joined: Thu Mar 17, 2016 9:19 pm

Re: How to build a new material model into OpenSees

Post by davidjohnson » Thu Mar 17, 2016 9:41 pm

The OpenSees applications allows developers to use their own material modules to the application. Unlike most other programs, the materials are added at run-time and not at compile time. The advantage of this is the the developers:
-Do not need the OpenSees source files or libraries to compile and link the application.
-Can share their modules with others without having to provide the source code.

Post Reply