PHP Classes

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

Recommend this page to a friend!
  Info   View files Example   View files View files (5)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not yet rated by the usersTotal: 34 This week: 1All time: 10,949 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: 25134 in Myanmar Myanmar
Week rank: 416 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  
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

 Version Control Unique User Downloads Download Rankings  
 100%
Total:34
This week:1
All time:10,949
This week:560Up