Skip to content

Latest commit

 

History

History
91 lines (64 loc) · 3.8 KB

README.md

File metadata and controls

91 lines (64 loc) · 3.8 KB

SwiftComp-flutter

Version License Platform App Store Google Play

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, 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

iOS Screenshot iOS Screenshot iOS Screenshot

📋 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 if you haven’t done so already. Please install Flutter 3.19.0

  1. Clone the Repository
git clone https://github.com/banghuazhaoswiftcomp-flutter.git
cd swiftcomp-flutter
  1. Install Dependencies Install the necessary Flutter dependencies by running:
flutter pub get
  1. 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
  1. Run the Application
flutter run

Then choose your device, it could be iOS, Android, or web.

⬇️ Download to Mobile

iOS

Download SwiftComp from the App Store.

Android

Download SwiftComp from the Google Play Store.

🌐 Web Access

Use SwiftComp online

🚀 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 before submitting a pull request.

📄 License

SwiftComp-flutter is released under the MIT License. See LICENSE for details.