Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/banghuazhao/composite-calculator
A Flutter package for calculating composite material properties, including lamina and laminate properties.
https://github.com/banghuazhao/composite-calculator
calculator composite-materials dart engineering flutter flutter-library flutter-package lamina lamina-analysis laminate laminate-analysis laminate-calculator material-properties material-science mechanical-engineering open-source package structural-engineering
Last synced: about 1 month ago
JSON representation
A Flutter package for calculating composite material properties, including lamina and laminate properties.
- Host: GitHub
- URL: https://github.com/banghuazhao/composite-calculator
- Owner: banghuazhao
- License: mit
- Created: 2024-10-14T10:38:14.000Z (2 months ago)
- Default Branch: main
- Last Pushed: 2024-10-18T22:44:05.000Z (2 months ago)
- Last Synced: 2024-10-22T20:06:43.466Z (2 months ago)
- Topics: calculator, composite-materials, dart, engineering, flutter, flutter-library, flutter-package, lamina, lamina-analysis, laminate, laminate-analysis, laminate-calculator, material-properties, material-science, mechanical-engineering, open-source, package, structural-engineering
- Language: Dart
- Homepage:
- Size: 28.3 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# Composite Calculator
A Flutter package for calculating various properties of composite materials. This package includes modules for different composite calculations, such as lamina and laminate properties.
## Installation
Add this package to your `pubspec.yaml` file:
```yaml
dependencies:
composite_calculator: ^1.0.1
```Then, run:
```yaml
flutter pub get
```## Usage
Here's a quick example of how to use the `LaminatePlatePropertiesCalculator` to calculate laminate plate properties.
```dart
import 'package:composite_calculator/models/laminate_plate_properties_input.dart';
import 'package:composite_calculator/calculators/laminate_plate_properties_calculator.dart';void main() {
// Create an instance of LaminatePlatePropertiesInput with necessary properties
LaminatePlatePropertiesInput input = LaminatePlatePropertiesInput(
E1: 150000,
E2: 10000,
G12: 5000,
nu12: 0.3,
layupSequence: "[0/90/45/-45]s",
layerThickness: 0.125,
);// Perform the calculation
LaminatePlatePropertiesOutput output = LaminatePlatePropertiesCalculator.calculate(input);// Print or utilize the output as needed
print(output);
}
```## Project structures
The project consists of several calculators and models:* **Calculators**: Contains calculators for different composite property calculations.
* **Models**: Defines the input and output data structures for the calculators.
* **Utils**: Utility classes and extensions.## Example Project
To see this package in action, check out [SwiftComp Flutter](https://github.com/banghuazhao/swiftcomp-flutter), an example project that utilizes this package to perform composite material calculations.## License
This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.