Search found 8 matches

by sattar
Tue Oct 23, 2012 11:17 am
Forum: OpenSees.exe Users
Topic: Recording stiffness in zerolength element
Replies: 5
Views: 4005

Recording stiffness in zerolength element

I tried the following command line to record the stiffness in the zerolength element. But it does not record anything. Could you tell me how I can record the stiffness of the zerolength element?

recorder Element -file Stiff_3000.out –time -ele 3000 stiff
by sattar
Thu Oct 18, 2012 1:38 pm
Forum: OpenSees.exe Users
Topic: Adding element to the model after applying gravity load
Replies: 1
Views: 1790

Adding element to the model after applying gravity load

Hi,

I have a model for masonry infilled RC frame (lumped plasticity-based elements for frame and strut elements for the infill). I wonder if I can add the struts to the model after I perform the gravity analysis. In the other word, I would like to apply the gravity loads on the bare frame and then add the struts to the model (or tell my model to consider the struts from now) and then perform pushover or dynamic analysis.

Thanks,
Siamak Sattar
by sattar
Thu Dec 22, 2011 8:39 pm
Forum: OpenSees.exe Users
Topic: Compile openSees
Replies: 0
Views: 1759

Compile openSees

Hi Frank,
I have two questions and I appreciate your answer.
1) I am trying to compile openSees source code in Visual studio 2010. When I build the solution file (Solution 'OpenSees2005'), it fails for one file and gives the following error messages.

23>element.lib(elementAPI.obj) : error LNK2019: unresolved external symbol __imp__Tcl_GetInt referenced in function _ops_getintinput_
23>element.lib(elementAPI.obj) : error LNK2019: unresolved external symbol __imp__Tcl_GetDouble referenced in function _ops_getdoubleinput_
23>element.lib(elementAPI.obj) : error LNK2019: unresolved external symbol "public: class UniaxialMaterial * __thiscall TclModelBuilder::getUniaxialMaterial(int)" (?getUniaxialMaterial@TclModelBuilder@@QAEPAVUniaxialMaterial@@H@Z) referenced in function _ops_getmaterial_
23>element.lib(elementAPI.obj) : error LNK2019: unresolved external symbol "public: class NDMaterial * __thiscall TclModelBuilder::getNDMaterial(int)" (?getNDMaterial@TclModelBuilder@@QAEPAVNDMaterial@@H@Z) referenced in function "class NDMaterial * __cdecl OPS_GetNDMaterial(int)" (?OPS_GetNDMaterial@@YAPAVNDMaterial@@H@Z)
23>element.lib(elementAPI.obj) : error LNK2019: unresolved external symbol "public: class SectionForceDeformation * __thiscall TclModelBuilder::getSection(int)" (?getSection@TclModelBuilder@@QAEPAVSectionForceDeformation@@H@Z) referenced in function "class SectionForceDeformation * __cdecl OPS_GetSectionForceDeformation(int)" (?OPS_GetSectionForceDeformation@@YAPAVSectionForceDeformation@@H@Z)
23>element.lib(elementAPI.obj) : error LNK2019: unresolved external symbol "public: class CrdTransf2d * __thiscall TclModelBuilder::getCrdTransf2d(int)" (?getCrdTransf2d@TclModelBuilder@@QAEPAVCrdTransf2d@@H@Z) referenced in function "class CrdTransf2d * __cdecl OPS_GetGetCrdTransf2d(int)" (?OPS_GetGetCrdTransf2d@@YAPAVCrdTransf2d@@H@Z)
23>element.lib(elementAPI.obj) : error LNK2019: unresolved external symbol "public: class CrdTransf3d * __thiscall TclModelBuilder::getCrdTransf3d(int)" (?getCrdTransf3d@TclModelBuilder@@QAEPAVCrdTransf3d@@H@Z) referenced in function "class CrdTransf3d * __cdecl OPS_GetGetCrdTransf3d(int)" (?OPS_GetGetCrdTransf3d@@YAPAVCrdTransf3d@@H@Z)
23>element.lib(elementAPI.obj) : error LNK2019: unresolved external symbol "public: int __thiscall TclModelBuilder::getNDF(void)const " (?getNDF@TclModelBuilder@@QBEHXZ) referenced in function _ops_getndf__
23>element.lib(elementAPI.obj) : error LNK2019: unresolved external symbol "public: int __thiscall TclModelBuilder::getNDM(void)const " (?getNDM@TclModelBuilder@@QBEHXZ) referenced in function _ops_getndm_
23>.\..\..\bin/quickMain.exe : fatal error LNK1120: 9 unresolved externals
25>------ Build started: Project: OpenSeesTk, Configuration: Release Win32 ------



2) To build the executable file, I Rcl on the oepnSees in Solution Explorer window and select build or rebuild and it works. But If I press F5 it gives me the following error message. I appreciate it if you tell me what I need to do in this regard.

"unable to start program 'C:/ ......../lib/release/actor.lib' the specified file is an unrecognized or unsupported binary format. "
by sattar
Mon Feb 28, 2011 8:26 am
Forum: Framework
Topic: Modify and Compile the Source Code
Replies: 4
Views: 7131

Re: Modify and Compile the Source Code

I solved my problem.
by sattar
Wed Feb 09, 2011 10:18 pm
Forum: Framework
Topic: Modify and Compile the Source Code
Replies: 4
Views: 7131

Modify and Compile the Source Code

Hi Frank,
I want to modify the equation of the shear limit curve in the limit state material source code. To do so, I need to introduce some new arguments to the “limitCurve shear” command. I went through the following steps. But when I run my input file in the generated executable file, it gives me this error message: WARNING insufficient arguments Want: limitCurve Shear tag? Eletag? Rho? Fc? B? h? d? Fsw? Kdeg? Fres? defType? forType? <ndI? ndJ? Dof? perpDirn? Delta?>
It seems that the executable file doesn’t recognize my new input arguments. Could you please direct me what I should do?

Steps:
1)In shearcurve.h file: Define the type of the new arguments and add them to the shearcurve (….) arguments.
2)In shearcurve cpp file: Add the new arguments in the shearcurve function as follow:
ShearCurve::ShearCurve(int tag, int eTag, Domain *theDom,
double r, double f, double B, double H, double D, double Fsw, double Kd, double Fr, int dType, int fType, int ni, int nj, int df, int dirn, double dd, double E_in, double Lin_in, double Hin_in, double Em_in, double tin_in, double s_in, double Fyw_in, double ftp_in):/

3) Do the same thing for limitcurve function:
LimitCurve(tag, TAG_ShearCurve), eleTag(eTag), theDomain(theDom), theElement(0),
Kdeg(Kd), Fres(Fr), defType(dType), forType(fType), rho(r), fc(f), b(B), h(H), d(D), Fsw(Fsw), ndI(ni), ndJ(nj), dof(df), perpDirn(dirn), delta(dd),E(E_in), Lin(Lin_in), Hin(Hin_in), Em(Em_in), tin(tin_in), s(s_in), Fyw(Fyw_in), ftp(ftp_in)

5) Modify the equation in the findLimit function. (ShearCurve::findLimit(double DR)
)

6) Rcl on the material in solution explorer in VS2010-> build
7) Build the opensees
8) get the exe file from bin folder

I also tried it in both versions 2.2.2 and 2.2.1.

Thanks,
by sattar
Mon Dec 06, 2010 2:54 pm
Forum: Framework
Topic: problem for compiling opensees with visual c++ 2010
Replies: 3
Views: 4275

Thanks Frank. OpenSees2005.sln works.
by sattar
Fri Dec 03, 2010 6:36 pm
Forum: Framework
Topic: problem for compiling opensees with visual c++ 2010
Replies: 3
Views: 4275

I am trying to compile OpenSees 2.2.1 with Microsoft Visual C++ 2010. I received the following errors when I build OpenSees. Can you direct me what I should do?
Is the error related to accelerator? If so, where can I download it from?

1>------ Rebuild All started: Project: openSees, Configuration: Debug Win32 ------
1> tclAppInit.cpp
1> tclMain.cpp
1>c:\siamak\opensees-exefiles\opensees2.2.1\opensees2.2.1modified\opensees2.2.1\opensees2.2.1\src\tcl\tclmain.cpp(275): warning C4996: 'sprintf': This function or variable may be unsafe. Consider using sprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
1> c:\program files (x86)\microsoft visual studio 10.0\vc\include\stdio.h(371) : see declaration of 'sprintf'
1> Generating Code...
1>LINK : warning LNK4075: ignoring '/INCREMENTAL' due to '/FORCE' specification
1>tcl.lib(commands.obj) : error LNK2019: unresolved external symbol "public: int __thiscall FileStream::close(void)" (?close@FileStream@@QAEHXZ) referenced in function "int __cdecl printModel(void *,struct Tcl_Interp *,int,char const * *)" (?printModel@@YAHPAXPAUTcl_Interp@@HPAPBD@Z)
1>tcl.lib(commands.obj) : error LNK2019: unresolved external symbol "public: virtual int __thiscall FileStream::setFile(char const *,enum openMode)" (?setFile@FileStream@@UAEHPBDW4openMode@@@Z) referenced in function "int __cdecl printModel(void *,struct Tcl_Interp *,int,char const * *)" (?printModel@@YAHPAXPAUTcl_Interp@@HPAPBD@Z)
1>tcl.lib(commands.obj) : error LNK2019: unresolved external symbol "public: virtual __thiscall FileStream::~FileStream(void)" (??1FileStream@@UAE@XZ) referenced in function "int __cdecl printModel(void *,struct Tcl_Interp *,int,char const * *)" (?printModel@@YAHPAXPAUTcl_Interp@@HPAPBD@Z)
1>tcl.lib(commands.obj) : error LNK2019: unresolved external symbol "public: __thiscall FileStream::FileStream(int)" (??0FileStream@@QAE@H@Z) referenced in function "int __cdecl printModel(void *,struct Tcl_Interp *,int,char const * *)" (?printModel@@YAHPAXPAUTcl_Interp@@HPAPBD@Z)
1>actor.lib(FEM_ObjectBrokerAllClasses.obj) : error LNK2001: unresolved external symbol "public: __thiscall FileStream::FileStream(int)" (??0FileStream@@QAE@H@Z)
1>material.lib(AxialCurve.obj) : error LNK2001: unresolved external symbol "public: virtual __thiscall DummyStream::~DummyStream(void)" (??1DummyStream@@UAE@XZ)
1>tcl.lib(commands.obj) : error LNK2019: unresolved external symbol "public: virtual __thiscall DummyStream::~DummyStream(void)" (??1DummyStream@@UAE@XZ) referenced in function "int __cdecl eleResponse(void *,struct Tcl_Interp *,int,char const * *)" (?eleResponse@@YAHPAXPAUTcl_Interp@@HPAPBD@Z)
1>reliability.lib(GFunEvaluator.obj) : error LNK2001: unresolved external symbol "public: virtual __thiscall DummyStream::~DummyStream(void)" (??1DummyStream@@UAE@XZ)
1>material.lib(ShearCurve.obj) : error LNK2001: unresolved external symbol "public: virtual __thiscall DummyStream::~DummyStream(void)" (??1DummyStream@@UAE@XZ)
1>material.lib(ThreePointCurve.obj) : error LNK2001: unresolved external symbol "public: virtual __thiscall DummyStream::~DummyStream(void)" (??1DummyStream@@UAE@XZ)
1>material.lib(FAReinforcedConcretePlaneStress.obj) : error LNK2001: unresolved external symbol "public: __thiscall DummyStream::DummyStream(void)" (??0DummyStream@@QAE@XZ)
1>material.lib(ReinforcedConcretePlaneStress.obj) : error LNK2001: unresolved external symbol "public: __thiscall DummyStream::DummyStream(void)" (??0DummyStream@@QAE@XZ)
1>recorder.lib(TclRecorderCommands.obj) : error LNK2001: unresolved external symbol "public: __thiscall DummyStream::DummyStream(void)" (??0DummyStream@@QAE@XZ)
1>material.lib(FAPrestressedConcretePlaneStress.obj) : error LNK2001: unresolved external symbol "public: __thiscall DummyStream::DummyStream(void)" (??0DummyStream@@QAE@XZ)
1>material.lib(PrestressedConcretePlaneStress.obj) : error LNK2001: unresolved external symbol "public: __thiscall DummyStream::DummyStream(void)" (??0DummyStream@@QAE@XZ)
1>material.lib(FAFourSteelRCPlaneStress.obj) : error LNK2001: unresolved external symbol "public: __thiscall DummyStream::DummyStream(void)" (??0DummyStream@@QAE@XZ)
1>material.lib(RAFourSteelRCPlaneStress.obj) : error LNK2001: unresolved external symbol "public: __thiscall DummyStream::DummyStream(void)" (??0DummyStream@@QAE@XZ)
1>material.lib(ThreePointCurve.obj) : error LNK2001: unresolved external symbol "public: __thiscall DummyStream::DummyStream(void)" (??0DummyStream@@QAE@XZ)
1>material.lib(AxialCurve.obj) : error LNK2001: unresolved external symbol "public: __thiscall DummyStream::DummyStream(void)" (??0DummyStream@@QAE@XZ)
1>material.lib(FAFourSteelPCPlaneStress.obj) : error LNK2001: unresolved external symbol "public: __thiscall DummyStream::DummyStream(void)" (??0DummyStream@@QAE@XZ)
1>material.lib(RAFourSteelPCPlaneStress.obj) : error LNK2001: unresolved external symbol "public: __thiscall DummyStream::DummyStream(void)" (??0DummyStream@@QAE@XZ)
1>tcl.lib(commands.obj) : error LNK2019: unresolved external symbol "public: __thiscall DummyStream::DummyStream(void)" (??0DummyStream@@QAE@XZ) referenced in function "int __cdecl eleResponse(void *,struct Tcl_Interp *,int,char const * *)" (?eleResponse@@YAHPAXPAUTcl_Interp@@HPAPBD@Z)
1>reliability.lib(GFunEvaluator.obj) : error LNK2001: unresolved external symbol "public: __thiscall DummyStream::DummyStream(void)" (??0DummyStream@@QAE@XZ)
1>actor.lib(FEM_ObjectBrokerAllClasses.obj) : error LNK2001: unresolved external symbol "public: __thiscall DummyStream::DummyStream(void)" (??0DummyStream@@QAE@XZ)
1>material.lib(ShearCurve.obj) : error LNK2001: unresolved external symbol "public: __thiscall DummyStream::DummyStream(void)" (??0DummyStream@@QAE@XZ)
1>tcl.lib(commands.obj) : error LNK2019: unresolved external symbol "public: virtual __thiscall XmlFileStream::~XmlFileStream(void)" (??1XmlFileStream@@UAE@XZ) referenced in function "int __cdecl OpenSees-Exit(void *,struct Tcl_Interp *,int,char const * *)" (?OpenSees-Exit@@YAHPAXPAUTcl_Interp@@HPAPBD@Z)
1>tcl.lib(commands.obj) : error LNK2019: unresolved external symbol "public: int __thiscall XmlFileStream::close(void)" (?close@XmlFileStream@@QAEHXZ) referenced in function "int __cdecl OpenSees-Exit(void *,struct Tcl_Interp *,int,char const * *)" (?OpenSees-Exit@@YAHPAXPAUTcl_Interp@@HPAPBD@Z)
1>tcl.lib(commands.obj) : error LNK2019: unresolved external symbol "public: int __thiscall XmlFileStream::open(void)" (?open@XmlFileStream@@QAEHXZ) referenced in function "int __cdecl OpenSees-Exit(void *,struct Tcl_Interp *,int,char const * *)" (?OpenSees-Exit@@YAHPAXPAUTcl_Interp@@HPAPBD@Z)
1>tcl.lib(commands.obj) : error LNK2019: unresolved external symbol "public: virtual int __thiscall XmlFileStream::setFile(char const *,enum openMode)" (?setFile@XmlFileStream@@UAEHPBDW4openMode@@@Z) referenced in function "int __cdecl OpenSees-Exit(void *,struct Tcl_Interp *,int,char const * *)" (?OpenSees-Exit@@YAHPAXPAUTcl_Interp@@HPAPBD@Z)
1>tcl.lib(commands.obj) : error LNK2019: unresolved external symbol "public: __thiscall XmlFileStream::XmlFileStream(int)" (??0XmlFileStream@@QAE@H@Z) referenced in function "int __cdecl OpenSees-Exit(void *,struct Tcl_Interp *,int,char const * *)" (?OpenSees-Exit@@YAHPAXPAUTcl_Interp@@HPAPBD@Z)
1>actor.lib(FEM_ObjectBrokerAllClasses.obj) : error LNK2001: unresolved external symbol "public: __thiscall XmlFileStream::XmlFileStream(int)" (??0XmlFileStream@@QAE@H@Z)
1>tcl.lib(commands.obj) : error LNK2019: unresolved external symbol "int __cdecl binaryToText(char const *,char const *)" (?binaryToText@@YAHPBD0@Z) referenced in function "int __cdecl convertBinaryToText(void *,struct Tcl_Interp *,int,char const * *)" (?convertBinaryToText@@YAHPAXPAUTcl_Interp@@HPAPBD@Z)
1>tcl.lib(commands.obj) : error LNK2019: unresolved external symbol "int __cdecl textToBinary(char const *,char const *)" (?textToBinary@@YAHPBD0@Z) referenced in function "int __cdecl convertTextToBinary(void *,struct Tcl_Interp *,int,char const * *)" (?convertTextToBinary@@YAHPAXPAUTcl_Interp@@HPAPBD@Z)
1>tcl.lib(commands.obj) : error LNK2019: unresolved external symbol "public: __thiscall StandardStream::StandardStream(int)" (??0StandardStream@@QAE@H@Z) referenced in function "void __cdecl `dynamic initializer for 'sserr''(void)" (??__Esserr@@YAXXZ)
1>actor.lib(FEM_ObjectBrokerAllClasses.obj) : error LNK2001: unresolved external symbol "public: __thiscall StandardStream::StandardStream(int)" (??0StandardStream@@QAE@H@Z)
1>recorder.lib(TclRecorderCommands.obj) : error LNK2001: unresolved external symbol "public: __thiscall StandardStream::StandardStream(int)" (??0StandardStream@@QAE@H@Z)
1>tcl.lib(commands.obj) : error LNK2019: unresolved external symbol "public: virtual __thiscall StandardStream::~StandardStream(void)" (??1StandardStream@@UAE@XZ) referenced in function "void __cdecl `dynamic atexit destructor for 'sserr''(void)" (??__Fsserr@@YAXXZ)
1>actor.lib(FEM_ObjectBrokerAllClasses.obj) : error LNK2019: unresolved external symbol "public: __thiscall DatabaseStream::DatabaseStream(class FE_Datastore *,char const *)" (??0DatabaseStream@@QAE@PAVFE_Datastore@@PBD@Z) referenced in function "public: virtual class OPS_Stream * __thiscall FEM_ObjectBrokerAllClasses::getPtrNewStream(int)" (?getPtrNewStream@FEM_ObjectBrokerAllClasses@@UAEPAVOPS_Stream@@H@Z)
1>recorder.lib(TclRecorderCommands.obj) : error LNK2001: unresolved external symbol "public: __thiscall DatabaseStream::DatabaseStream(class FE_Datastore *,char const *)" (??0DatabaseStream@@QAE@PAVFE_Datastore@@PBD@Z)
1>actor.lib(FEM_ObjectBrokerAllClasses.obj) : error LNK2019: unresolved external symbol "public: __thiscall BinaryFileStream::BinaryFileStream(void)" (??0BinaryFileStream@@QAE@XZ) referenced in function "public: virtual class OPS_Stream * __thiscall FEM_ObjectBrokerAllClasses::getPtrNewStream(int)" (?getPtrNewStream@FEM_ObjectBrokerAllClasses@@UAEPAVOPS_Stream@@H@Z)
1>actor.lib(FEM_ObjectBrokerAllClasses.obj) : error LNK2019: unresolved external symbol "public: __thiscall DataFileStream::DataFileStream(int)" (??0DataFileStream@@QAE@H@Z) referenced in function "public: virtual class OPS_Stream * __thiscall FEM_ObjectBrokerAllClasses::getPtrNewStream(int)" (?getPtrNewStream@FEM_ObjectBrokerAllClasses@@UAEPAVOPS_Stream@@H@Z)
1>recorder.lib(TclRecorderCommands.obj) : error LNK2019: unresolved external symbol "public: __thiscall TCP_Stream::TCP_Stream(unsigned int,char const *,bool)" (??0TCP_Stream@@QAE@IPBD_N@Z) referenced in function "int __cdecl TclCreateRecorder(void *,struct Tcl_Interp *,int,char const * *,class Domain &,class Recorder * *)" (?TclCreateRecorder@@YAHPAXPAUTcl_Interp@@HPAPBDAAVDomain@@PAPAVRecorder@@@Z)
1>recorder.lib(TclRecorderCommands.obj) : error LNK2019: unresolved external symbol "public: __thiscall BinaryFileStream::BinaryFileStream(char const *,enum openMode)" (??0BinaryFileStream@@QAE@PBDW4openMode@@@Z) referenced in function "int __cdecl TclCreateRecorder(void *,struct Tcl_Interp *,int,char const * *,class Domain &,class Recorder * *)" (?TclCreateRecorder@@YAHPAXPAUTcl_Interp@@HPAPBDAAVDomain@@PAPAVRecorder@@@Z)
1>recorder.lib(TclRecorderCommands.obj) : error LNK2019: unresolved external symbol "public: __thiscall XmlFileStream::XmlFileStream(char const *,enum openMode,int)" (??0XmlFileStream@@QAE@PBDW4openMode@@H@Z) referenced in function "int __cdecl TclCreateRecorder(void *,struct Tcl_Interp *,int,char const * *,class Domain &,class Recorder * *)" (?TclCreateRecorder@@YAHPAXPAUTcl_Interp@@HPAPBDAAVDomain@@PAPAVRecorder@@@Z)
1>recorder.lib(TclRecorderCommands.obj) : error LNK2019: unresolved external symbol "public: __thiscall DataFileStream::DataFileStream(char const *,enum openMode,int,int)" (??0DataFileStream@@QAE@PBDW4openMode@@HH@Z) referenced in function "int __cdecl TclCreateRecorder(void *,struct Tcl_Interp *,int,char const * *,class Domain &,class Recorder * *)" (?TclCreateRecorder@@YAHPAXPAUTcl_Interp@@HPAPBDAAVDomain@@PAPAVRecorder@@@Z)
1>libm.lib(libm_error.obj) : error LNK2019: unresolved external symbol _errno referenced in function ___libm_error_support
1>libifcore.lib(for_nt_open_proc.obj) : error LNK2001: unresolved external symbol _errno
1>libifcore.lib(for_portlib.obj) : error LNK2001: unresolved external symbol _errno
1>libifcore.lib(for_init.obj) : error LNK2019: unresolved external symbol __pxcptinfoptrs referenced in function _GETEXCEPTIONPTRSQQ
1>.\..\..\bin/OpenSees.exe : fatal error LNK1120: 24 unresolved externals
========== Rebuild All: 0 succeeded, 1 failed, 0 skipped ==========
Thanks
by sattar
Mon Apr 19, 2010 9:57 am
Forum: Useful Scripts.
Topic: joint 2D element
Replies: 2
Views: 8658

joint 2D element

Hi,
I have an RC frame model which works properly in opensees 1.6.2.e. When I run my model in opensees 2.2, 2.1,1.7.3, it gives me the following error message "Domain::addMP_Constraint - cannot add as constraint with tag10already exists in modelJoint2D::addMP_Joint - WARNING could not add equalDOF MP_Constraint to domain WARNING Joint2D::Joint2D(): can not generate ForJoint MP at node 1 ".
Do I need to change anything in my model regarding joint 2D element?