Skip to content

Commit

Permalink
Merge pull request #35 from alexiusacademia/beam-analysis
Browse files Browse the repository at this point in the history
Updated readme
  • Loading branch information
alexiusacademia authored Oct 11, 2018
2 parents f40fc85 + 6bbbc07 commit 409662c
Showing 1 changed file with 22 additions and 13 deletions.
35 changes: 22 additions & 13 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,13 @@
A java library for the analysis of reinforced concrete beams of any section.

### Section Features
- Non-Hollow Sections
- Hollow Sections
- Any shape (provided with `x,y` coordinates) except rounded
- Default unit is metric

### Limitations
- Horizontal line intersection in a polygon must not exceed 2.

### Analysis Results

- Moment
Expand Down Expand Up @@ -40,25 +43,31 @@ sc.setdPrime(50, Unit.METRIC);

```java
// Creating object
BeamSection bs = new BeamSection();
BeamSection beam = new BeamSection();

// Create section shape
Section section = new Section();
List<Node> mainSection = new ArrayList();
mainSection.add(new BeamSectionNode(0, 0));
mainSection.add(new BeamSectionNode(0, 500));
mainSection.add(new BeamSectionNode(300, 500));
mainSection.add(new BeamSectionNode(300, 0));

section.setMainSection(mainSection);

// Defining shape
bs.addNode(new BeamSectionNode(0, 0));
bs.addNode(new BeamSectionNode(0, 500));
bs.addNode(new BeamSectionNode(300, 500));
bs.addNode(new BeamSectionNode(300, 0));
beam.setSection(section);

// Define unit
bs.setUnit(Unit.METRIC);
beam.setUnit(Unit.METRIC);

// Define properties
bs.setFcPrime(21);
bs.setEffectiveDepth(450);
bs.setFy(275);
beam.setFcPrime(21);
beam.setEffectiveDepth(450);
beam.setFy(275);

// Define reinforcements
bs.setSteelTension(st);
bs.setSteelCompression(sc);
beam.setSteelTension(st);
beam.setSteelCompression(sc);
```

### Creating an Analysis
Expand Down

0 comments on commit 409662c

Please sign in to comment.