Getting Started with PyFDS¶
Welcome to PyFDS! This guide will help you get up and running with creating, executing, and analyzing FDS fire simulations using Python.
What You'll Learn¶
-
Installation
Set up PyFDS and its dependencies on your system
-
Quick Start
Create your first fire simulation in minutes
-
Key Concepts
Understand the fundamentals of PyFDS and FDS
Prerequisites¶
Before you begin, you should have:
- Python 3.11 or higher installed on your system
- Basic Python knowledge (variables, functions, classes)
- Optional: FDS installed if you want to execute simulations
New to Python?
If you're new to Python, we recommend completing a basic Python tutorial first. Good resources include:
Typical Workflow¶
Here's what a typical PyFDS workflow looks like:
graph LR
A[Create Simulation] --> B[Add Components]
B --> C[Validate]
C --> D{Valid?}
D -->|Yes| E[Write FDS File]
D -->|No| F[Fix Errors]
F --> B
E --> G[Execute FDS]
G --> H[Analyze Results]
H --> I[Visualize Data]
- Create a simulation object with metadata
- Add components (mesh, geometry, fires, devices)
- Validate the configuration
- Write the FDS input file
- Execute the simulation (optional)
- Analyze the results (optional)
- Visualize the data (optional)
Learning Path¶
We recommend following this learning path:
Start Here¶
Begin with Installation to set up PyFDS on your system.
Build Your First Simulation¶
Follow the Quick Start Tutorial to create a simple room fire simulation.
Understand the Basics¶
Read Key Concepts to understand FDS fundamentals and PyFDS architecture.
Explore Features¶
Dive into the User Guide to learn about specific features and capabilities.
Learn from Examples¶
Study the Examples to see real-world applications.
Reference Documentation¶
Use the API Reference when you need detailed information about specific classes and methods.
Quick Links¶
| Resource | Description |
|---|---|
| Installation | Install PyFDS and dependencies |
| Quick Start | Your first simulation in 5 minutes |
| Key Concepts | Understanding PyFDS fundamentals |
| User Guide | Comprehensive feature documentation |
| Examples | Real-world code examples |
| FAQ | Frequently asked questions |
| Troubleshooting | Common issues and solutions |
Getting Help¶
If you get stuck, here's where to find help:
- Check the FAQ for common questions
- Review the Troubleshooting Guide
- Search GitHub Issues
- Ask in GitHub Discussions
Ready to begin? Let's install PyFDS!