PHP Classes

PHP Truss 3D Class: Analyse pin truss using the finite element method

Recommend this page to a friend!
  Info   View files Example   View files View files (5)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog (1)    
Ratings Unique User Downloads Download Rankings
Not yet rated by the usersTotal: 64 All time: 10,286 This week: 154Up
Version License PHP version Categories
truss3dclass 1.0.2Custom (specified...5Algorithms, PHP 5, Physics
Description 

Author

This class can analyse pin truss using the finite element method.

It can read a CSV file with values of pin truss and performs analysis of the parameters of the three dimensional structure.

The class can display on a Web page the nodal displacements, element forces and the reaction.

Innovation Award
PHP Programming Innovation award nominee
September 2020
Number 6
A pin truss is a piece that can be used to join different parts of a physical object like for instance a piece of furniture.

Ideally, to make the piece of furniture hold itself with robustness, it is necessary to perform calculations to design the pin truss.

This class uses the finite element method to perform such calculations to give an idea of the robustness of a given pin truss.

Manuel Lemos
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: 59
All time rank: 25484 in Myanmar Myanmar
Week rank: 569 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>Truss3D 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;
}
.hover {
  background: yellow;
}
</style>
    </head>
    <body>
<?php
include("truss3dclass.php");

$t1 = new Truss3D();

echo
"<h2>Create model assigning variables</h3>";
//Create model assigning variables
$t1->Init();
echo
$t1->Process();

echo
"<h2>Create model from csv </h3>";
//Create model from csv
$t1->readCSV("truss3dclass.csv");
echo
$t1->Process();

?>

    </body>
</html>


  Files folder image Files  
File Role Description
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
Accessible without login Plain text file truss3dclass.csv Data Auxiliary data
Plain text file truss3dclass.php Class Class source

 Version Control Unique User Downloads Download Rankings  
 100%
Total:64
This week:0
All time:10,286
This week:154Up