https://github.com/banghuazhao/swiftcomp-flutter
SwiftComp-flutter: A cross-platform composite calculator developed with Flutter, based on SwiftComp, designed for engineers and researchers. Available on both iOS and Android
https://github.com/banghuazhao/swiftcomp-flutter
aerospace-engineering android compositematerials dart engineering finiteelementanalysis flutter flutter-apps ios mechanics-of-materials mobile-app multiscale-simulation structuralanalysis
Last synced: 11 months ago
JSON representation
SwiftComp-flutter: A cross-platform composite calculator developed with Flutter, based on SwiftComp, designed for engineers and researchers. Available on both iOS and Android
- Host: GitHub
- URL: https://github.com/banghuazhao/swiftcomp-flutter
- Owner: banghuazhao
- License: mit
- Created: 2024-02-15T10:11:57.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2025-03-04T02:51:18.000Z (over 1 year ago)
- Last Synced: 2025-04-21T11:58:17.283Z (about 1 year ago)
- Topics: aerospace-engineering, android, compositematerials, dart, engineering, finiteelementanalysis, flutter, flutter-apps, ios, mechanics-of-materials, mobile-app, multiscale-simulation, structuralanalysis
- Language: Dart
- Homepage: https://play.google.com/store/apps/details?id=com.banghuazhao.swiftcomp&hl=en_US
- Size: 8.56 MB
- Stars: 10
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
# SwiftComp-flutter
[](https://github.com/banghuazhao/swiftcomp-flutter/releases)
[](LICENSE)
[](#)
[](https://apps.apple.com/us/app/swiftcomp-composite-calculator/id1297825946)
[](https://play.google.com/store/apps/details?id=com.banghuazhao.swiftcomp&hl=en_US)
SwiftComp-flutter is a mobile app designed to provide a comprehensive composite calculator based on the SwiftComp software, a general-purpose multiscale constitutive modeling code for composites. The app is available on both the App Store, Google Play Store, and [web](https://compositesai.com/), making it accessible to a wide range of users.
## β¨ Features
- **Lamina Stress/Strain:** Compute stress and strain for a single layer with arbitrary fiber orientation.
- **Lamina Engineering Constants:** Compute engineering constants for a lamina with arbitrary fiber orientation.
- **Laminar Stress/Strain:** Compute stress and strain distribution within a lamiante.
- **Laminate Plate Properties:** Compute the ABD matrices for a laminate.
- **Laminate 3D Properties:** Compute 3D properties for a laminate.
- **UDFRC Properties:** Compute 3D properties for unidirectional fiber-reinforced composites (UDFRC).
- **Chat:** A built-in AI Campanion for asking questions and performing calculations.
## πΌοΈ Screenshots
## π Requirements
- Dart: >=3.3.0 <4.0.0
- Flutter: >=3.19.0
## π² Installation Guide
### Prerequisites
Make sure you have Flutter installed on your system. You can follow the official Flutter [installation guide](https://flutter.dev/docs/get-started/install) if you havenβt done so already.
Please install Flutter `3.19.0`
1. **Clone the Repository**
```bash
git clone https://github.com/banghuazhaoswiftcomp-flutter.git
cd swiftcomp-flutter
```
2. **Install Dependencies** Install the necessary Flutter dependencies by running:
```bash
flutter pub get
```
3. **Set Up Environment Variables** Create a `.env` file in the root directory and add the necessary environment variables. For example:
```
OPENAI_API_KEY=your_openai_api_key
AMPLIFY_CONFIG=your_amplify_config_json
```
4. **Run the Application**
```bash
flutter run
```
Then choose your device, it could be iOS, Android, or web.
## β¬οΈ Download to Mobile
### iOS
[Download SwiftComp from the App Store](https://apps.apple.com/us/app/swiftcomp-composite-calculator/id1297825946).
### Android
[Download SwiftComp from the Google Play Store](https://play.google.com/store/apps/details?id=com.banghuazhao.swiftcomp&hl=en_US).
## π Web Access
[Use SwiftComp online](https://compositesai.com/)
## π Usage
1. **Select a Tool:** From the Tools tab, choose the desired composite calculator.
2. **Input Parameters:** Enter the required parameters for your composite material. Note that inputs vary by tool.
3. **Calculate:** Press the calculate button to obtain results.
4. **View Results:** Once calculation is complete, the results page will be displayed.
5. **Chat:** Ask any questions related to composites, composites simulation, invoke simulations using natural language.
## π€ Contributing
Contributions are welcome! Please read our [Contributing Guidelines](CONTRIBUTING.md) before submitting a pull request.
## π License
SwiftComp-flutter is released under the MIT License. See [LICENSE](LICENSE) for details.