Search found 5 matches
- Wed Jul 19, 2017 12:59 pm
- Forum: Framework
- Topic: Add a New Element in Fortran (FORM_TANG_AND_RISID Block)
- Replies: 3
- Views: 2856
Re: Add a New Element in Fortran (FORM_TANG_AND_RISID Block)
Hi Frank, This is the code I used to build trussF.dll, I revised it to a 2D 3DOF element. I was using algorithm Newton, and I changed it to Linear now. But both gave me the results as I described. ================= SUBROUTINE trussf(eleObj,modl,tang,resid,isw,error) !DEC$ IF DEFINED (_DLL) !DEC$ ATT...
- Mon Jul 10, 2017 1:45 pm
- Forum: Framework
- Topic: Add a New Element in Fortran (FORM_TANG_AND_RISID Block)
- Replies: 3
- Views: 2856
Add a New Element in Fortran (FORM_TANG_AND_RISID Block)
Hi all, I follow the instruction on http://opensees.berkeley.edu/wiki/index.php/Add_a_New_Element_Fortran to build a trussf element. The dll runs successfully. However, I noticed when I added a write command in the block of ISW = =ISW_ FORM_TANG_AND_RISID as below, it will record the resid and tang ...
- Wed Apr 12, 2017 5:46 pm
- Forum: Framework
- Topic: Geometric Transformation of New Element in Fortran
- Replies: 1
- Views: 1613
Geometric Transformation of New Element in Fortran
Hi all, I`ve successfully compiled a two-node element in Fortran for OpenSees. The element aims to get the node displacements from OpenSees, calculate the stiffness matrix and residual forces, and then transfer the values back to OpenSees. The code is listed as below. When I run a simple analysis an...
- Mon Mar 30, 2015 8:21 pm
- Forum: Framework
- Topic: Compling DLL for Adding a New Element in Fortran
- Replies: 1
- Views: 1706
Re: Compling DLL for Adding a New Element in Fortran
I was thinking I missed the minPackageC.lib. But it still doesn`t work after I compiled the file and added it into the project. Finally I found out this example works. ...\tags\Release_2_2_2_a\PACKAGES\NewElement\fortran\TrussF.vfproj Maybe I was using some out-of-date codes. Always check the newest...
- Fri Mar 27, 2015 1:05 pm
- Forum: Framework
- Topic: Compling DLL for Adding a New Element in Fortran
- Replies: 1
- Views: 1706
Compling DLL for Adding a New Element in Fortran
Hi all, I`m going to embed a new element into OpenSees in Fortran. I tried the trussF.f example provided in the SVN. When I was compiling, I got the errors "error link 2019: unresolved external symbol _ops_getintinput_, the symbol was quoted in function _trussf_" (I translated it) "er...