×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

FEMAP - API Programming to linearly combine output sets

FEMAP - API Programming to linearly combine output sets

FEMAP - API Programming to linearly combine output sets

(OP)
Hello,

As a calculation structural engineer my job consists in approving the mechanical behaviour of structures according to several loads (wind, snow or seismic loads). I've got several independant loading conditions and need to linearly combime them according building standards.

With FEMAP the calculation is made by the Output/Process/Linear Combination method. However, building standards impose a multitude of combinations.

Is there a API program to calculate all of them?

Just looking forward to hearing from you soon.

Florent.


RE: FEMAP - API Programming to linearly combine output sets

Hi,

Here is something which might help. The most important thing to remember is that output processing quickly becomes complicated.

Here's what you need to know:
- this macro requires a text file describing the various combinations you want to do

- this text file gathers certain options which appear in the Model > Output > Process window. I've coded 2 methods: output combination by complete outputsets and output combination by single vectors. (FEMAP has 2 intermediate methods but I won't get into that yet)

- the first this you need to specify in the text file is the method. From what you describe I would use the complete outputset method
=> write "METHOD OS"

- then you write lines of operations, with keywords:
- operations keywords such as COMBINE, SUM, RSS, MAX, MAXABS, MIN and RENAME
- output keywords such as OSXXX
- scale factors
- name and ID keywords: toOSXXX will force numbering of new output, and nBLABLABLA will force naming of new output

- Note that the file needs to be in DOS format, I foolishly did not use FEMAP's reader...


Here are a few examples: (don't forget to write METHOD OS at the top)

SUM OS1 2 OS3 3 => 2 x outputset1 + 3 x outputset3
SUM OS1 2 OS3 3 toOS10 => same, the new outputset will be numbered 10
SUM OS1 2 OS3 3 toOS10 nMyNewOS => same, the new OS will be names "MyNewOS"

The reading is sequential, so of course you can call a new OS as you go:

SUM OS1 2 OS3 3 toOS10
SUM OS10 1.5 OS4 -3 toOS11
MAX OS11 OS5 nMyMax

I wrote this a while ago and it was quite experimental, if you have problems, suggestions, ...etc... I'm interested.

APav

RE: FEMAP - API Programming to linearly combine output sets

sorry file didn't go through

RE: FEMAP - API Programming to linearly combine output sets

(OP)
Hi Apav,

Thanks for your answer. pc3

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members!


Resources