On Cloud Computing

22 03 2010

Even though it is at an early stage, cloud computing attracts noticeable amount of interest from service providers. Big players on the web have already laid out and started promoting their cloud frameworks: Windows Azure (Microsoft), App Engine (Google) , and EC2 (Amazon). If you want to learn more about cloud computing, click here.

As part of our research and development effort, LARSA has close interest in cloud based systems. Ability to scale up and down as per user demand, and being available as a service in a distributed manner make cloud based systems an interesting candidate for number of features in LARSA 4D.

I am happy to announce that LARSA Enterprise Licensing system has become the first feature of LARSA ported to App Engine cloud framework. Starting from LARSA 4D v7.05.08 and up, LARSA Enterprise Licensing users should expect to experience more reliable service and higher performance. We are currently in the process of assessing other features that can potentially take advantage of cloud systems.

Here at LARSA, it is work as usual – looking for ways to advance and push the bar higher for structural analysis & design software.



Introducing Section Composer Compact Edition

5 02 2010

Section Composer Compact Edition (SC-CE) is a smaller variant of Section Composer — a powerful cross-section creator, property calculator and analyzer. While built on top of Section Composer platform, SC-CE has a brand new, simplified user interface and takes advantage of LARSA Live Framework – a brand new software on-demand system, also used by LARSA 4D Live.

Use this link to experience SC-CE concept:

http://www.larsa4d.com/live/sc/

Please make sure to use Internet Explorer to access SC-CE, as other browsers may not have the plug-in necessary to run LARSA Live. This distribution of SC-CE contains a 3-user enterprise license; if you get licensing error please try again later.

For more information on LARSA 4D Live, click here.

To experience LARSA 4D Live, click here.

Have fun!



Custom Finite Elements, Anyone?

4 02 2010

Thanks to its open architecture, LARSA 4D has been evolving into something more than just a structural analysis and design package – perhaps, a structural engineering *platform*. Last week, I wanted to give a shot to see how easy it is to add a new finite element into LARSA 4D platform. Granted, most users will not be interested in adding a finite element formulation to LARSA; yet I see it as a good demonstration of how extensible LARSA 4D is.

There is no reason to reinvent the wheel, LARSA 4D already includes a software development system in the form of a plug-in for user-defined finite elements. If you are a serious finite element developer, then you should take a look at LARSA Element Development Kit, otherwise read on. What I want to do is to extend the Element Development Kit to make adding elements simpler. Given *only* a set of stiffness matrix terms of an element, can I write a plug-in to make it a fully functional finite element in LARSA 4D? The answer as expected is Yes, what is surprising is how easy it is to do so!


Getting custom elements into LARSA 4D involves spreadsheets to graphical view of the elements to analysis to result spreadsheets. That means when you create a custom element and provide the information for its stiffness matrix terms, the plug-in will need to create a spreadsheet in LARSA 4D for input.  The elements will also be visible in LARSA 4D graphics window (select/unselect/hide/extrude etc.) You will be able to run analysis; the plug-in will handle global/local transformations, force recovery and all the other stuff that is required to make it look like a native LARSA 4D finite element formulation.

LARSA 4D Preview version 7.05.07 and up includes this plug-in (Tools > Custom Finite Element Definitions). The plug-in includes a neat way of defining input required by the element, and the ability to enter stiffness matrix terms. And, that is all you need to define a custom element. I already tried a simple one node spring element and a 3D beam column element.

There are some reasonable limitations, of course. The custom elements can only be linear (although can be used in nonlinear analysis or even as part of staged construction analysis). Only results that can be extracted out of a custom element are the local forces at joints. The elements can only access material and cross-sectional built-in properties of LARSA 4D, other data required by the element must be defined as custom fields.  Elements can be 1, 2…7 or 8-node. One node elements are considered as grounded springs and follow the global axis coordinate system. 2-node elements are considered as similar to member elements and follow the same local axis rules. 3 to 7 node elements are considered as surface elements and follow the same coordinate system rules as LARSA 4D plate/shell elements. 8 node elements are considered as brick element and follow the same local axis rules as LARSA 4D solid element.

Here are some screenshots (click to enlarge):



LARSA 4D Speaks 13 New Languages!

12 01 2010

Localization efforts on LARSA 4D has been a behind-the-scene ongoing process for the last several years. I figured it is time to showcase what we have so far. 97% of LARSA 4D user interface is now stored in external xml files and ready for translation. In order to demonstrate the localization capabilities of LARSA 4D, I ran these external files through a machine translation process and achieved support for over a dozen languages.

Currently supported languages (besides English) are: Albanian , Chinese (Simplified), Chinese (Traditional) , French, German, Greek,  Italian, Japanese, Korean, Polish, Russian, Spanish, Turkish. Here are some screenshots (click to enlarge):

Do you want to get involved?

Drop me an email at akoc@larsa4d.com. During the localization process we developed a set of desktop and web tools. You can see a version of our online collaborative localization tool on this link:

http://www.larsa4d.com/translation/online/

Keep in mind that this is only for demonstration. You can browse around, make changes and submit your translations. When you have access to the actual localization system, you should always log-on with a password so that you can get the proper credit for your translations.

If you want to work offline, we have a standalone desktop version that is quite a bit more refined then the online version.  Using *internet explorer*, go to http://www.larsa4d.com/translation/ . On the web page hit “Install” button. (This will install and launch the localization tool).

In the localization tool, from the menu, “File > Open” to open the localization file of your choosing (“C:\Program Files\Larsa 2000\localization\ “). On the left hand side of the screen, you can see all the text to be localized. When you click on an item you will see its English at the top right window and the corresponding localized text needs to be entered into the bottom right window.

The tool has some internal features to help you with the localization. For example, it will automatically replace some English words with the localized ones using the existing localized data. Each time you view an item, it will be recorded as localized. Using top and bottom arrow keys you can navigate through the localization items. There is an option, when set, will only navigate through not-yet-localized items. This way you can step through un-localized ones quickly with the arrow keys. Once the localization is complete, make sure to send the modified xml file back to us, so that it can be distributed with the installation.



“Open and Interested Dialogue with Users”

29 12 2009

LARSA is one of the few software companies growing steadily at full speed despite the unfortunate downturn of the global economy. We always believed that the secret to our success is in our close ties with our users. It seems Rebuilding America’s Infrastructure picked up on this and featured LARSA and Meridian in their November 2009 issue.

“Companies that survive periods of economic turmoil often share a defining characteristic: unwavering attentiveness to the needs of their clients. When, like today, times are tough in the AEC industry, owners or operators will need to refine their approaches, and if their software can’t pivot with them, a change will be made. But if the software provider has maintained an open and interested dialogue with their clients, they can anticipate the need, offer a solution, and cement a long-term relationship.” [Rebuilding America's Infrastructure -- NOVEMBER 2009 issue]

Click here to read the full article.

.

.



A Plug-in Case Study: Foundation Analysis

9 10 2009

Zeki Harputoglu (Yuksel Project, Turkey) has sent screenshots of a LARSA 4D plug-in to automate generation, analysis and design of foundations. The plug-in is written in C# making use of the latest C# wrappers provided in my earlier post. It is a good example of how far LARSA 4D can be customized to fit your specific engineering needs.



LARSA 4D COM Object Model and C#

25 09 2009
In a previous post I gave a step by step tutorial on how to create a LARSA 4D plug-in using C#. Today I will talk about the challenges related to LARSA 4D Object Model.
First issue is about C# not supporting parameterized properties. Unfortunately, LARSA object model makes use of parameterized properties widely. For example, the following is legal in VB, VBA macros: Set member.joint(1) = myjoint1;
The equivalent of this in C# is:
member.set_joint(1, myjoint).
Te problem is that .NET converts all the properties of LARSA objects into method calls (producing rather ugly method list). But the problem does not end there. If you try to compile the C# equivalent code mentioned above, the compiler will complain about the arguments. Most of the time LARSA objects’ method arguments are expected to be passed as reference. For the second argument you can simply use the ref keyword, however the first argument is literal, hence cannot be send as reference. The workaround is to setup a dummy variable with a value of 1, and then pass this argument to the method as ref:
int dummy = 1;
member.set_joint(ref dummy, ref myjoint);
Not pretty at all… Microsoft resolves most of these issues in C# 4.0 by introducing dynamic types (which is currently beta). I got the chance to test it on the beta version and confirmed that ref arguments are not required; however properties are still converted to method calls.
Exploring the late binded LARSA objects using reflection in C# reveales that one can make calls to the properties of COM objects through reflection. It took me a couple of hours to get it right, but I was able to write some wrapper classes that are tightly attached to LARSA’s object model. These thin wrapper classes communicate through reflection. They utilize late binding to achieve binary-compatibility-friendly interaction with LARSA 4D. The benefits are:
- No need to add LARSA references to your C# project. Simply use the wrapper classes and they will handle the communication and referencing to LARSA 4D.
- Easier coding experience. Using this wrapper code,the example shown above would be simply:
member.IJoint = myjoint;
- Tweaked for more intuitive object model organization. Ex. joint.X instead of joint.location.x
- Simple to use… Add the provided single file to your C# project and you are ready to go.

In a previous post I gave a step by step tutorial on how to create a LARSA 4D plug-in using C#. Today I will talk about the challenges related to using LARSA 4D Object Model in C#.

First issue is about C# not supporting parameterized properties. Unfortunately, LARSA object model makes use of parameterized properties widely. For example, the following is legal in VB, VBA macros:

Set member.joint(1) = myjoint1; 

The equivalent of this in C# would be:

member.set_joint(1, myjoint) 

Unfortunately, .NET converts all the properties of LARSA objects into method calls producing rather ugly list of methods. But the problem does not end there. If you try to compile the C# equivalent code mentioned above, the compiler complains about the way arguments are sent. Most of the time LARSA objects’ method arguments are expected to be passed as reference. For the second argument you can simply use the ref keyword, however the first argument is literal, hence cannot be send as reference. The workaround is to setup a dummy variable with a value of 1, and then pass this argument to the method as ref:

int dummy = 1;
member.set_joint(ref dummy, ref myjoint);

Not pretty at all… Microsoft resolves most of these issues in C# 4.0 by introducing dynamic types (which is currently beta). I got the chance to test it on the beta version and confirmed that ref arguments are no longer required; however properties are still converted to method calls.

Exploring the late binded LARSA objects using reflection in C# reveales that one can make calls to the properties of COM objects through reflection. It took me a couple of hours to get it right, but I was able to write some wrapper classes that are tightly attached to LARSA’s object model. These thin wrapper classes communicate through reflection. They utilize late binding to achieve binary-compatibility-friendly interaction with LARSA 4D. The benefits are:

1- No need to add LARSA references to your C# projects. Simply use the wrapper classes and they will handle the communication and referencing to LARSA 4D.

2- Easier coding experience. Using this wrapper code,the example shown above would be simply:

     member.IJoint = myjoint;

3- Tweaked for more intuitive object model organization. Ex. joint.X instead of joint.location.x

4- Simple to use… Add the provided single file to your C# project and you are ready to code.

You can download the sample C# project using this link:

http://www.larsa4d.com/download/CSharpSample.zip

“Larsa4D.cs” file contains all the wrapper classes. Program.cs contains a test module.





Introducing Features On-Demand!

23 09 2009

We have numerous features implemented as Excel macros or LARSA plug-ins archived on our LARSA 4D development computers. Most of these features have been developed for a particular user or a project; however, some (if not all) has the potential to be generalized and made useful for general LARSA 4D users. I have been working (well… mostly thinking, really) on a system that would allow us to push these features to user computers in an on-demand, safe and convenient manner. I finally decided to give it a shot, and today I am pleased to unveil it on this blog.

LARSA 4D Features On-Demand

LARSA 4D Features On-Demand

All the features are collected and archived on an online central database (in case you are familiar with the newest smart phones, it is much like iPhone’s App Store or Android’s Marketplace). For security purposes, this database and all the features in it are controlled by LARSA. You, as a user, have the ability to explore the features in this online repository and install the ones that catches your interest. For the installed features, the system will inform you if there is an update available. These installed features can also be removed with a single click. If you feel the need of a previously removed feature, install it again (hence, the “on-demand” part of this distribution system’s name). None of these actions require admin privileges; and because these features run external to the LARSA 4D application, they have minimal (if any) impact on the stability of LARSA 4D.

I initially added 3 features to the repository (as shown in the screenshot above). I am pretty sure there will be more by the time it is released. Every feature has one or more tags associated with it. As the number of features in the repository grows, you will be able to filter the features using these tags.

Once installed, each feature creates a menu item in LARSA 4D menu system. Some of the features are implemented as Excel macro. For example, one of the first features in the repository allows you to add/edit/remove staged construction data through an Excel sheet. Naturally, you will need to have Microsoft Excel installed on your computer to be able to use this feature.

I will provide more information once it is ready for release.



55th Annual PCI Bridge Conference

11 09 2009

I will be at PCI Bridge Conference in San Antonio, TX from September 12 to 15. LARSA has a booth in the exhibition hall (Booth #453).

Hope to see you there!

LARSA 4D Booth, PCI Convention 2009



System Hardware and LARSA 4D Performance

9 09 2009

I am often asked to recommend computer hardware configurations to make LARSA 4D run faster. As you probably already experienced, certain parts of LARSA 4D is computation  intensive that it sometimes performs less than adequate (and, yes I am aware that I am putting it mildly).  When dealing with a memory hungry and I/O intensive application like LARSA 4D, your hardware performance makes a difference. Here are some of my recommendations:

Read the rest of this entry »






Powered By Wordpress - Theme Provided By Minimal Wordpress Theme - Marriage Public Records