Search found 7 matches

by Random
Sun Feb 23, 2020 12:49 am
Forum: OpenSees.exe Users
Topic: Downloading a previous version
Replies: 1
Views: 2107

Re: Downloading a previous version

I have previous versions. You can contact me by email 1303636245@qq.com
by Random
Thu Nov 22, 2018 6:30 pm
Forum: Reliability Analysis
Topic: I found a bug about sensitivity in the latest version 2.5
Replies: 0
Views: 9732

I found a bug about sensitivity in the latest version 2.5

Dear mhscott,
In the sensitivity example , 2D RC frame subjected to earthquake base excitation (http://opensees.berkeley.edu/wiki/index ... excitation), If I used the opensees version 2.5, the sensitivity result of parameter fc,fu will be far different with the result by the version 2.4.6 (or earlier version). And from the result, I can tell that the result of 2.5 is not right . I use the FFD method to verify.
Another interesting thing is that if I calculate one parameter sensitivity like only fc in version 2.5, I would get the same answer with other version.
If anyone who ever had this problem, please tell me, thanks.
by Random
Tue Apr 25, 2017 6:03 pm
Forum: Framework
Topic: How do I construct a fiber section dispBeamColumn?
Replies: 2
Views: 3688

Re: How do I construct a fiber section dispBeamColumn?

Thanks,fmk.What makes me confused is the RCSectionIntegration and FiberSection2d.I am not quite clear about the int Nfcore int Nfs and int num.In tcl we need to tell the position of the fibers,but here I don't know where the fibers(concrete and steel) are.
by Random
Sun Apr 23, 2017 7:49 pm
Forum: Framework
Topic: How do I construct a fiber section dispBeamColumn?
Replies: 2
Views: 3688

How do I construct a fiber section dispBeamColumn?

UniaxialMaterial **theMaterial =new UniaxialMaterial*[3];
theMaterial[0]=new Concrete01(1,-41.4,-0.004,-34.5,-0.014);
theMaterial[1]=new Concrete01(2,-34.5,-0.002,0,-0.006);
theMaterial[2]=new Steel01(3,414,206000,0.01);
CrdTransf *coordTransf=new LinearCrdTransf2d(1);
BeamIntegration *bi=new LegendreBeamIntegration();
//RCSectionIntegration(double d, double b, double Atop, double Abottom,double Aside, double cover,
// int Nfcore, int Nfcover, int Nfs);
SectionIntegration *si=new RCSectionIntegration(400,400,315,315,315,35,10,10,8);
SectionForceDeformation **s=new SectionForceDeformation *[1];
//FiberSection2d(int tag, int num, UniaxialMaterial **mats,SectionIntegration &si):
s[0]=new FiberSection2d(1,3,theMaterial,*si);
//DispBeamColumn2d(int tag, int nd1, int nd2,int numSections, SectionForceDeformation **s,
// BeamIntegration &bi, CrdTransf &coordTransf,double rho = 0.0, int cMass = 0);
DispBeamColumn2d *beamcolumn1=new DispBeamColumn2d(1,1,2,1,s,*bi,*coordTransf);

I konw that is wrong to construct DispBeamColumn2d,but I don't konw how to make it right.Does anyone can help me or tell me the meaning of every parameter?
Thanks
by Random
Fri Mar 24, 2017 11:25 pm
Forum: Framework
Topic: How do I compile the main.cpp in the Example1?
Replies: 3
Views: 6123

Re: How do I compile the main.cpp in the Example1?

Finally I solved the problem...But I made some changes about the sp_constrain in the main.cpp file.
Before I changed
SP_Constraint *sp1 = new SP_Constraint(1, 1, 0, 0.0);
SP_Constraint *sp2 = new SP_Constraint(2, 1, 1, 0.0);
SP_Constraint *sp3 = new SP_Constraint(3, 2, 0, 0.0);
SP_Constraint *sp4 = new SP_Constraint(4, 2, 1, 0.0);
SP_Constraint *sp5 = new SP_Constraint(5, 3, 0, 0.0);
SP_Constraint *sp6 = new SP_Constraint(6, 3, 1, 0.0);
after that
SP_Constraint *sp1 = new SP_Constraint(1, 0, 1);
SP_Constraint *sp2 = new SP_Constraint(1, 1, 1);
SP_Constraint *sp3 = new SP_Constraint(2, 0, 1);
SP_Constraint *sp4 = new SP_Constraint(2, 1, 1);
SP_Constraint *sp5 = new SP_Constraint(3, 0, 1);
SP_Constraint *sp6 = new SP_Constraint(3, 1, 1);
It worked fine in my computer.
by Random
Fri Mar 24, 2017 6:57 am
Forum: Framework
Topic: How do I compile the main.cpp in the Example1?
Replies: 3
Views: 6123

Re: How do I build the main.cpp in the Example1?

Dear fmk and other developers:
http://opensees.berkeley.edu/community/ ... =4&t=60643
I figured out how to build it,
here is how:
1:use 32bit windows
2:use visual studio (because it uses visual C++ compiler)
3:create a new solution
4:add source files which are in quickmain project to it as source file(main.cpp,elemen_API.cpp,vc2005.cpp)
5:find all header files *.h files in a good revision (5563 is good) then copy them into a new directory(e.g headers)
6:find all *.lib files and copy them into new directory(e.g library)
7:adress "headers" directory as additional dependency in project properties(properties\config...properties\C\C++\general\additional include directory)
8:adress "library" directory as additional library directory
9:name all libs (about 37libs) as input for additional dependencies
if you got c4996 error then navigate to project properties and set sdl check to none and warning level to OFF and then surely the things going to work correctly contact me if any other thing shown up! good luck



I follow the steps Compiling Opensees Without Tcl,but I still get errors.I have some questions about the steps.We just add all .h files,what about .cpp files?

the errors:
tcl.lib(elementAPI_TCL.obj) : error LNK2005: "struct modState theModelState" (?theModelState@@3UmodState@@A) has been defined in elementAPI_Dummy.obj
1>tcl.lib(elementAPI_TCL.obj) : error LNK2005: _ops_error_has been defined in elementAPI_Dummy.obj
1>tcl.lib(elementAPI_TCL.obj) : error LNK2005: _OPS_GetNumRemainingInputArgs has been defined in elementAPI_Dummy.obj
1>tcl.lib(elementAPI_TCL.obj) : error LNK2005: _ops_getintinput_ has been defined in elementAPI_Dummy.obj
1>tcl.lib(elementAPI_TCL.obj) : error LNK2005: _ops_getdoubleinput_ has been defined in elementAPI_Dummy.obj
1>tcl.lib(elementAPI_TCL.obj) : error LNK2005: _ops_getstring has been defined in elementAPI_Dummy.obj
1>tcl.lib(elementAPI_TCL.obj) : error LNK2005: _OPS_GetStringCopy has been defined in elementAPI_Dummy.obj
1>tcl.lib(elementAPI_TCL.obj) : error LNK2005: _ops_getmaterial_ has been defined in elementAPI_Dummy.obj
.....
by Random
Fri Mar 17, 2017 6:21 am
Forum: Framework
Topic: How do I compile the main.cpp in the Example1?
Replies: 3
Views: 6123

How do I compile the main.cpp in the Example1?

Can anyone tell me how I should do to build the main.cpp in vs2010(X64).I have no idea which file to include .
Thanks.