PHP Classes

PHP Frame 2D Class: Process structures of 2D rigid joint frames

Recommend this page to a friend!
     
  Info   Example   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not yet rated by the usersTotal: 34 All time: 11,027 This week: 560Up
Version License PHP version Categories
frame2dclass 1.0Custom (specified...5Algorithms, PHP 5, Physics
Description 

Author

This package can process structures of 2D rigid joint frames.

It can read a CSV file with values of details of rigid joint frame and processes it to extract the structure details.

The package can display in a Web page the details of the processed structure.

Picture of Win Aung Cho
  Performance   Level  
Name: Win Aung Cho is available for providing paid consulting. Contact Win Aung Cho .
Classes: 11 packages by
Country: Myanmar Myanmar
Age: 60
All time rank: 25004 in Myanmar Myanmar
Week rank: 206 Up2 in Myanmar Myanmar Up
Innovation award
Innovation award
Nominee: 3x

Example



<html>
    <head>
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title>Frame2D Analysis</title>
<style>
.fixedheadertable {
  width: 100%;
  max-height: 60%;
  overflow: scroll;
}

table {
  position: relative;
  border: 1px solid #ddd;
  border-collapse: collapse;
    text-decoration:none;
}

td, th {
  white-space: nowrap;
  border: 1px solid #ddd;
  padding: 5px;
 
}

th {
  background-color: #eee;
  position: -webkit-sticky;
  position: sticky;
  top: -1px;
  z-index: 2;
  text-align: center;
}
th:first-of-type {
  left: 0;
  z-index: 3;
}

tbody tr td:first-of-type {
  background-color: #eee;
  position: -webkit-sticky;
  position: sticky;
  left: -1px;
  text-align: left;
}
tr:nth-child(even) {
  background-color: #fafafa;
}
.hover {
  background: yellow;
}
</style>
    </head>
    <body>
<?php
include("frame2dclass.php");

$pframe = new Frame2D();
$pframe->Init();
//echo " init";
echo $pframe->Process();
$pframe->saveCSV("frame2d.csv");
$pframe->readGenCSV("frame2d.csv");
echo
$pframe->Process();
?>

    </body>
</html>


Details

Frame2DClass

2 dimensional rigid jointed frame analysis class

* Frame2DClass * * Class Inheritance * [FEMSolver] * -> [Frame2D] * [FEMSolver] is base class and includes several matrix operation for the standard FEM solutions. * [Frame2D] is a class for the FEM solution process and include data structure of 2 dimensional rigid jointed Frame. * [Frame2D] use [CSV] class for handling csv file to store and retrieve associated arrays; * Solution process run for the loaded truss to analyse deformations, reactions and element forces. * Multiple load cases will be solved simultaneously. * Html result tables are generated during the process. * Model of 2d Frame can be generated within class by assigning values to variables. * Or model can be created by loading CSV file. * Model csv file is very simple comma separated text file in-wich the properties of FEM element, boundary conditions and loads are written.


  Files folder image Files (5)  
File Role Description
Accessible without login Plain text file frame2d.csv Data Auxiliary data
Plain text file frame2dclass.php Class Class source
Accessible without login Plain text file index.php Example Example script
Accessible without login Plain text file LICENSE Lic. License text
Accessible without login Plain text file README.md Doc. Documentation

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 100%
Total:34
This week:0
All time:11,027
This week:560Up