Hello everyone,
I have developed a force-based nonlinear beam-column element in MATLAB, but I want to use OpenSees as the FE framework to use that element in 2D structural analysis. I am just wondering if it is possible to make it happen; do I have to rewrite the MATLAB code in C++ or Fortran, or I may somehow call the MATLAB function by OpenSees?
I have already tried to figure out how I may add my element to OpenSees library using C++, but after looking at the source codes of a few already-added elements, I got confused! If I have no other choice for the programming apart from C, C++, and Fortran, please let me know what is the best source to learn how I may add my element using C++. Thanks so much.
Best regards,
Mohammad
Adding an Element Using MATLAB
Moderators: silvia, selimgunay, Moderators
Adding an Element Using MATLAB
Mohammad Salehi
Graduate Research Assistant
PhD Student - Structural Engineering and Structural Mechanics
University of Colorado at Boulder
Graduate Research Assistant
PhD Student - Structural Engineering and Structural Mechanics
University of Colorado at Boulder
Re: Adding an Element Using MATLAB
c or fortran might be easier .. look at the examples in OpenSees/DEVELOPER/element
Re: Adding an Element Using MATLAB
same I'm suggesting you to look at the examples in opensees/developer/element. Check at http://opensees.berkeley.edu/WebSVN/fil ... ementAPI.f Or in future, if you need assistance with Matlab elements, feel free to take help form https://myhomeworkhelp.com/online-matlab-homework-help/.