Search found 14 matches

by Sanjeema
Sat Dec 03, 2016 3:27 am
Forum: OpenSees.exe Users
Topic: Eccentric bridge model
Replies: 1
Views: 2102

Eccentric bridge model

Dear fmk,

I am trying to model an eccentric 3D bridge (and compare the results with an experiment). I have a diagonal mass matrix with masses along local x-and y-directions and a rotational mass about the local z-axis. How can I model this rotational mass? Is it enough to assigned masses at deck level along x- and y- directions and rotational mass about z at the center of mass, which is offset from center of stiffness?
by Sanjeema
Fri Nov 25, 2016 3:42 am
Forum: OpenSees.exe Users
Topic: Rotational mass
Replies: 2
Views: 2903

Re: Rotational mass

I have a diagonal matrix with masses along local x-and y-directions and a rotational mass about the local z-axis. I am trying to model an eccentric bridge (and compare my results with the previous). I checked my model using eigenvalue analysis. The three natural frequencies of my numerical model tally. However, the rotational response of the model under bidirectional excitations is totally different. I'm not sure what is wrong with my model.
by Sanjeema
Tue Nov 22, 2016 8:08 pm
Forum: OpenSees.exe Users
Topic: Rotational mass
Replies: 2
Views: 2903

Rotational mass

A super mediocre question - how does the rotational mass work in OpenSees?
by Sanjeema
Wed Nov 09, 2016 6:57 pm
Forum: OpenSees.exe Users
Topic: OpenSees Days 2008
Replies: 1
Views: 1984

OpenSees Days 2008

Hi,
Is it possible to get videos on workshop of OpenSees Days 2008? I particularly need the one on numerical modeling of bridge in OpenSees.
by Sanjeema
Sat Jan 30, 2016 3:46 am
Forum: Framework
Topic: How to build a new material model into OpenSees
Replies: 2
Views: 3781

How to build a new material model into OpenSees

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
by Sanjeema
Wed Jan 27, 2016 10:05 pm
Forum: Framework
Topic: Where to find OpenSees TCL Builder
Replies: 6
Views: 6869

Re: Where to find OpenSees TCL Builder

Hi,

While creating a new project, which option should I choose? I don't need to build a DLL right? So, is it okay to use the default application settings?
by Sanjeema
Tue Jan 26, 2016 1:44 am
Forum: Framework
Topic: Where to find OpenSees TCL Builder
Replies: 6
Views: 6869

Re: Where to find OpenSees TCL Builder

Hi,

I read the " How to introduce a new material into OpenSees, by Michael H. Scott". But I did not understand how to add the new material model to OpenSees Tcl Builder. What did you do after changing/modifying the TclModelBuilderUniaxialCommand.cpp file? Sure, I modified a few lines as instructed. But, how to link the newly modified files to the OpenSees.exe?

Thank you

Sanjeema
by Sanjeema
Wed Dec 16, 2015 2:47 am
Forum: Framework
Topic: ElasticPPcpp dll compiled but failed to run in OpenSees
Replies: 22
Views: 19970

Re: ElasticPPcpp dll compiled but failed to run in OpenSees

Hi,

You can use the win32functions.cpp available in the OpenSees/trunk website, not the downloaded one from svn. Go through browse source code.
by Sanjeema
Tue Dec 15, 2015 8:57 pm
Forum: Framework
Topic: ElasticPPcpp dll compiled but failed to run in OpenSees
Replies: 22
Views: 19970

Re: ElasticPPcpp dll compiled but failed to run in OpenSees

Hi,

Thank you so much for helping me around. I have a few more questions. When you compiled the dll, did it give you any problem with the win32functions.cpp file? I got the following error.

Error 2 error C2733: second C linkage of overloaded function 'ops_getstring' not allowed i:\2015\c plus plus practice\3_elasticppcpp with new developer\developer\core\win32functions.cpp 217

So, I used older win32functions.cpp file. And, it didn't give any error.So, basically, I'm using all the new core files except the win32functions.cpp; don't know how appropriate/inappropriate that is.

By the way, I used the OpenSees.exe 32-bit, version 2.4.6 . It read the ElasticPPcpp.dll but gave some errors. I had an older version 2.4.0 of the 32-bit OpenSees.exe, which gave the output just as demonstrated in the example. Did you also have similar problems? Which version of OpenSees are you using?

Sanjeema
by Sanjeema
Mon Dec 14, 2015 5:58 pm
Forum: Framework
Topic: ElasticPPcpp dll compiled but failed to run in OpenSees
Replies: 22
Views: 19970

Re: ElasticPPcpp dll compiled but failed to run in OpenSees

Hi,

Where did you get those missing files? I copied and pasted the code(which I found in the Opensees/trunk/src) and created a header or a cpp file by myself as required. But I guess there's another way around it. I am using VisualStudio 2010.

I used an older Developer/core to build the dll, which didnot give me any error for the win32functions.cpp nor the IncrementalIntegrator.cpp(EigenSOE.h was included within this cpp in the latest Developer; I checked in the older one, it was not there.). That's how I built the dll.

As for the 64-bit or 32-bit, just wanted to know if I could get around the problem with 64-bit. Sure, I will go for 32-bit.

Sanjeema
by Sanjeema
Mon Dec 14, 2015 2:52 am
Forum: Framework
Topic: ElasticPPcpp dll compiled but failed to run in OpenSees
Replies: 22
Views: 19970

Re: ElasticPPcpp dll compiled but failed to run in OpenSees

Hi,

Yes, I successfully created dll but failed to run it in OpenSees 64-bit. I'd prefer it if I can run it in the 64-bit, without resorting to 34-bit.

As for the missing files, they aren't in the core directory. You mean to say, I could just use a different filepath and download from svn? I actually copied those files from the OpenSees/trunk/src/system_of_eqn/eigenSOE/EigenSOE.h and added whatever file popped up as missing, but it just kept asking for another file until I couldn't find the last one.

Sanjeema
by Sanjeema
Sun Dec 13, 2015 11:02 pm
Forum: Framework
Topic: ElasticPPcpp dll compiled but failed to run in OpenSees
Replies: 22
Views: 19970

Re: ElasticPPcpp dll compiled but failed to run in OpenSees

Dear All,

I tried building a DLL for ElasticPPcpp as demonstrated in the example with the latest Developer in MS Visual Studio 2010. But I got two error messages:

Error 2 error C2733: second C linkage of overloaded function 'ops_getstring' not allowed i:\2015\c plus plus practice\3_elasticppcpp with new developer\developer\core\win32functions.cpp 217
Error 31 error C1083: Cannot open include file: 'EigenSOE.h': No such file or directory i:\2015\c plus plus practice\3_elasticppcpp with new developer\developer\core\incrementalintegrator.cpp 41

The code for win32functions.cpp in the trunk
http://opensees.berkeley.edu/WebSVN/fil ... ctions.cpp is a little different from the one I got downloaded from svn in the following lines:

typedef const char *(*OPS_GetStringType)();

extern "C" const char *OPS_GetString()
{
return (*OPS_GetStringPtr)();
}

I could not find this declaration and definitions in any of the previous versions of revision or the current version in the trunk.

As for the IncrementalIntegrator.cpp, do I need to download EigenSOE.h? It isn't in the core directory.

So, what I did was to use an older Developer. win32functions.cpp did not give the C2733 error; OPS_GetString had a different declaration and definition. And, IncrementalIntegrator.cpp did not icnlude a EigneSOE.h.

On doing so, I successfully compiled the dll. But when I run it in the command prompt, it gives the error:

WARNING could not create uniaxialMaterial ElasticPPcpp

while executing
"uniaxialMaterial ElasticPPcpp 1 3000 0.001"
(file "example1.tcl" line 22)

The tcl script, ElasticPPcpp.dll and OpenSees.exe are in the same folder.

I did see the recommendation to use 32-bit OpenSees.exe. But can't I get around this problem with a 64-bit OpenSees.exe?

Please suggest.

Sanjeema
by Sanjeema
Sat Dec 12, 2015 6:11 am
Forum: OpenSees.exe Users
Topic: DLL building with the latest revision
Replies: 1
Views: 2618

Re: DLL building with the latest revision

Dear sir,

I tried building a DLL for ElasticPPcpp as demonstrated in the example with the latest Developer in MS Visual Studio 2010. But I got two error messages:

Error 2 error C2733: second C linkage of overloaded function 'ops_getstring' not allowed i:\2015\c plus plus practice\3_elasticppcpp with new developer\developer\core\win32functions.cpp 217
Error 31 error C1083: Cannot open include file: 'EigenSOE.h': No such file or directory i:\2015\c plus plus practice\3_elasticppcpp with new developer\developer\core\incrementalintegrator.cpp 41

The code for win32functions.cpp in the trunk
http://opensees.berkeley.edu/WebSVN/fil ... ctions.cpp is a little different from the one I got downloaded from svn in the following lines:

typedef const char *(*OPS_GetStringType)();

extern "C" const char *OPS_GetString()
{
return (*OPS_GetStringPtr)();
}

I could not find this declaration and definitions in any of the previous versions of revision or the current version in the trunk.

As for the IncrementalIntegrator.cpp, do I need to download EigenSOE.h? It isn't in the core directory.

So, what I did was to use an older Developer. win32functions.cpp did not give the C2733 error; OPS_GetString had a different declaration and definition. And, IncrementalIntegrator.cpp did not icnlude a EigneSOE.h.

On doing so, I successfully compiled the dll. But when I run it in the command prompt, it gives the error:

WARNING could not create uniaxialMaterial ElasticPPcpp

while executing
"uniaxialMaterial ElasticPPcpp 1 3000 0.001"
(file "example1.tcl" line 22)

The tcl script, ElasticPPcpp.dll and OpenSees.exe are in the same folder.

I looked up in the forum and I saw recommendation to use 32-bit OpenSees.exe. Can't I get around this problem with a 64-bit OpenSees.exe?

Kindly suggest me what I can do.

Sincerely,

Sanjeema
by Sanjeema
Wed Nov 18, 2015 10:46 pm
Forum: Framework
Topic: svn Download problem ?
Replies: 41
Views: 32796

Re: svn Download problem ?

Dear Admin,

I tried downloading the source code via svn as:

Command: Checkout from svn://opensees.berkeley.edu/usr/local/svn/OpenSees/trunk/DEVELOPER, revision HEAD, Fully recursive, Externals included
Error: Unable to connect to a repository at URL
Error: 'svn://opensees.berkeley.edu/usr/local/svn/OpenSees/trunk/DEVELOPER'
Error: Can't connect to host 'opensees.berkeley.edu': A connection attempt failed
Error: because the connected party did not properly respond after a period of time,
Error: or established connection failed because connected host has failed to respond.

I changed opensees.berkeley.edu to peera.berkeley.edu. But, it still results in error.

Command: Checkout from svn://peera.berkeley.edu/usr/local/svn/OpenSees/trunk/DEVELOPER, revision HEAD, Fully recursive, Externals included
Error: Unable to connect to a repository at URL
Error: 'svn://peera.berkeley.edu/usr/local/svn/OpenSees/trunk/DEVELOPER'
Error: Can't connect to host 'peera.berkeley.edu': A connection attempt failed because
Error: the connected party did not properly respond after a period of time, or
Error: established connection failed because connected host has failed to respond.

Please suggest me what I should do.

Thank you.

Sanjeema