Jump to content



Photo
- - - - -

Beam V0.2

Beam Structrural Analysis Frame 2D Static

  • Please log in to reply
8 replies to this topic

#1 hayzel

hayzel

    Newbie

  • Members
  • Pip
  • 10 posts

Posted 04 October 2012 - 07:05 AM

Posted ImagePosted ImagePosted ImagePosted ImagePosted ImagePosted Image

Beam is a C language addin written in casio 9860 SDK. It uses a user friendly interface, to input any two dimensional structural frame, and solves it using the matrix stiffness method. You input, the nodes, elements, loads (point and uniform),select materials, and the output gives moments (M), shear forces (Q), axial forces (N) for each element of the frame, and internal forces or displacements for each node. It provides also diagrams of M,Q,N for each element.

This version (0.2) has a new input interface, and also many corrections of bugs. I have no reason to not call it final. Additional features that I can think of, are maybe more loading types, but I don't have any motivation right now to continue with this software. Ofcourse any ideas/problems/suggestions are welcome eitherway.

The full source code of the program is available in the zip file.

A separate download exists with the helper library (mylib) I made, with many usefull functions written for 9860 SDK development. You can download and use this library to your own programs.

You can find the program as an external link to
http://www.casiopeia...detail&df_id=87
  • MicroPro likes this

#2 MicroPro

MicroPro

    Casio Overlord

  • Deputy
  • PipPipPipPipPipPipPip
  • 640 posts
  • Gender:Male
  • Location:Iran

  • Calculators:
    Casio ClassPad 300

Posted 24 October 2012 - 07:23 PM

Thanks for the good program and for sharing the source code GPL'ed. :D

These kind of programs are really needed by civil and mecca guys. ClassPads lacks a good program in this area. So this might be a good program for porting to CP if anyone is interested. If I had more free time I may have done it myself; sadly I don't.

#3 flyingfisch

flyingfisch

    Casio Maniac

  • Deputy
  • PipPipPipPipPipPipPipPip
  • 1891 posts
  • Gender:Male
  • Location:OH,USA
  • Interests:Aviation, Skiing, Programming, Mountain Biking.

  • Calculators:
    fx-9860GII
    fx-CG10 PRIZM

Posted 24 October 2012 - 08:47 PM

Hello hayzel and welcome to UCF! You should introduce yourself.

Very nice, I like how fast it is! Great job, hope to see more from you :)

#4 flyingfisch

flyingfisch

    Casio Maniac

  • Deputy
  • PipPipPipPipPipPipPipPip
  • 1891 posts
  • Gender:Male
  • Location:OH,USA
  • Interests:Aviation, Skiing, Programming, Mountain Biking.

  • Calculators:
    fx-9860GII
    fx-CG10 PRIZM

Posted 20 December 2012 - 07:01 PM

Does this work with power graphic 2 calcs?

#5 hayzel

hayzel

    Newbie

  • Members
  • Pip
  • 10 posts

Posted 21 December 2012 - 07:05 AM

I only own a 9860g-sd updated to latest os firmware (aka first generation 9860) . The program is developped in official 9860 sdk and tested only in this calculator.
It would be interesting if someone with a power graphic 2 calculator could test it.

#6 Casimo

Casimo

    Casio Overlord

  • Members
  • PipPipPipPipPipPipPip
  • 641 posts
  • Gender:Not Telling

Posted 21 December 2012 - 03:09 PM

I've tested it,you didn't use IsKeyDown / IsKeyUp / revolutionfx / MonochromeLib, so it runs without any system errors.

#7 flyingfisch

flyingfisch

    Casio Maniac

  • Deputy
  • PipPipPipPipPipPipPipPip
  • 1891 posts
  • Gender:Male
  • Location:OH,USA
  • Interests:Aviation, Skiing, Programming, Mountain Biking.

  • Calculators:
    fx-9860GII
    fx-CG10 PRIZM

Posted 21 December 2012 - 03:50 PM

I've tested it,you didn't use IsKeyDown / IsKeyUp / revolutionfx / MonochromeLib, so it runs without any system errors.



Awesome, so that means hayzel's library will also work with power graphic 2 calcs. :)

#8 Casimo

Casimo

    Casio Overlord

  • Members
  • PipPipPipPipPipPipPip
  • 641 posts
  • Gender:Not Telling

Posted 21 December 2012 - 03:52 PM

To get MonochromeLib working, replace
static int SysCallCode[] = {0xD201422B,0x60F20000,0x80010070};
static int (*SysCall)( int R4, int R5, int R6, int R7, int FNo ) = (void*)&SysCallCode;
char* ML_vram_adress()
{
return (char*)((*SysCall)(0, 0, 0, 0, 309));
}

by

typedef char*(*sc_cpv)(void);
const unsigned int sc0135[] = { 0xD201D002, 0x422B0009, 0x80010070, 0x0135 };
#define ML_vram_adress (*(sc_cpv)sc0135)


#9 hayzel

hayzel

    Newbie

  • Members
  • Pip
  • 10 posts

Posted 02 March 2013 - 08:41 PM

Just wanted to know, that mylib has now a new version (0.42)
It can be used to write your own programs for casio 9860.

mylib tries to simplify things in C, like string manipulation, dynamic structures, and gui elements. It is designed for simplicity in mind, and not speed, so many of the functions contained maybe suboptimal at best.

The description of the functions can be found in the command in mylib.h, and the example application named MYLIBT.c can be very helpful in understanding the mylib usage.

The library contains, debugging functions, screen dumping, information functions, dynamic Strings, StringLists,Dialogs with 2 simple callback mechanisms, DialogItems structs, display functions like Menus,questionBoxes,messageBoxes,multipleChoiceBoxes.
A new View struct that can be used to draw graphics or print text in double real coordinates.

obsolete to be upgraded functions:
matrixEditor,matrixDisplay

mylib version fixes info and download file with the example casio 9860 sdk project can be found here:

http://www.casiopeia...detail&df_id=86

Edited by hayzel, 02 March 2013 - 08:42 PM.

  • MicroPro and Viliami like this




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users