SFD Source Sphere is a project focused on simulating and visualizing fluid dynamics using spherical source fields. This project uses computational techniques to model fluid behavior and visualizes the results in a 3D environment.
- Fluid Dynamics Simulation: Simulate fluid dynamics using spherical source fields.
- 3D Visualization: Visualize the simulation results in a 3D environment.
- Interactive Controls: Adjust simulation parameters and observe changes in real-time.
- High-Performance Computing: Leverage efficient algorithms for high-performance simulations.
- Backend: Python
- Visualization: Three.js
- Computational Libraries: NumPy, SciPy
- Python 3.x
- Node.js
- npm (Node Package Manager) or yarn
-
Clone the Repository
bash
Copy code
git clone https://github.com/NagiPragalathan/SFD_source_sphere.git cd SFD_source_sphere -
Backend Setup
-
Install Python dependencies:
bash
Copy code
pip install -r requirements.txt
-
-
Frontend Setup
-
Navigate to the frontend directory:
bash
Copy code
cd frontend -
Install Node.js dependencies:
bash
Copy code
npm install
-
-
Run the Development Server
-
Start the backend server:
bash
Copy code
python main.py -
Start the frontend server:
bash
Copy code
cd frontend npm start
-
-
Access the Application
Open your browser and navigate to
http://localhost:3000for the frontend andhttp://localhost:8000for the backend.
arduino
Copy code
SFD_source_sphere/
βββ backend/
β βββ simulations/
β β βββ __init__.py
β β βββ fluid_simulation.py
β βββ app.py
β βββ config.py
β βββ requirements.txt
β βββ README.md
βββ frontend/
β βββ public/
β βββ src/
β β βββ components/
β β βββ pages/
β β βββ services/
β β βββ App.js
β β βββ index.js
β β βββ styles/
β βββ package.json
β βββ README.md
βββ main.py
βββ README.md
- Dashboard: Access the main dashboard to control and visualize fluid simulations.
- Simulation Controls: Adjust parameters such as source strength, viscosity, and others to observe their effects on fluid behavior.
- 3D Visualization: Interact with the 3D visualization to better understand fluid dynamics.
Contributions to the SFD Source Sphere project are welcome! If you would like to contribute, please fork the repository and submit a pull request with your changes.
This project is licensed under the MIT License. See the LICENSE file for details.
