Category Simulation & Modeling Projects
In-Situ Visualization: Integrating Visualization During Computation
Reading Time: 10 minutesTL;DR In-situ visualization processes and analyzes simulation data while the simulation runs, directly in memory, instead of writing raw results to disk for later post-processing. This approach is essential for exascale computing where I/O bandwidth cannot keep up with data generation. By integrating visualization during computation, you can: Avoid I/O bottlenecks that cripple traditional workflows […]
Biomechanics Simulations with PDEs: Soft Tissue and Cardiovascular Modeling Guide
Reading Time: 8 minutesLearn how to simulate soft tissue deformation and cardiovascular blood flow using PDEs. Compare FEM vs FVM, implement with FiPy, and apply validation best practices.
Reproducible Research Workflows: Docker and Conda for Simulation Projects
Reading Time: 9 minutesReproducible research workflows ensure that simulation results can be exactly recreated by others (or your future self) using the same data, code, and computational environment. Docker provides complete system-level containerization for maximum consistency across platforms, while Conda offers lightweight package and environment management ideal for Python-based scientific computing. For simulation projects, we recommend: (1) use […]
Electromagnetics Simulations with FiPy: Maxwell’s Equations Implementation Guide
Reading Time: 7 minutesTL;DR Maxwell’s equations describe how electric and magnetic fields evolve and interact. While FiPy was designed for diffusion-type problems, you can simulate electromagnetic waves by treating Maxwell’s equations as a coupled system of transient hyperbolic PDEs. The key is coupling Faraday’s and Ampère’s laws using FiPy’s TransientTerm and custom curl implementations. However, FiPy has limitations […]
Machine Learning Surrogates for Scientific Simulations: A Practical Guide
Reading Time: 8 minutesMachine learning (ML) surrogates are fast, data-driven approximations of expensive scientific simulations. They enable near real-time predictions, massive design space exploration, and uncertainty quantification that would be impossible with direct simulation alone. Use surrogates when you need iterative optimization or thousands of evaluations; stick with direct simulation for final validation or when high accuracy is […]
VisIt vs ParaView: Choosing the Right Tool for Your Simulation Data
Reading Time: 8 minutesBoth VisIt and ParaView are open-source, parallel visualization tools built on VTK, capable of handling terascale datasets. ParaView excels at pipeline-based analysis, has a larger community, and integrates tightly with engineering solvers like OpenFOAM. VisIt often provides a more intuitive GUI for quick plotting and stronger support for molecular dynamics data. Choose based on your […]
Geophysics Applications: PDE Modeling for Earth Systems
Reading Time: 7 minutesGeophysical phenomena—from groundwater flow to mantle convection—are governed by partial differential equations (PDEs). Finite volume methods (FVM) solve these PDEs by enforcing conservation laws over control volumes, making them ideal for complex, nonlinear earth systems. Python tools like FiPy provide flexible PDE solving capabilities, while domain-specific packages like MODFLOW/FloPy offer standardized workflows for groundwater modeling. […]
Validation and Verification for PDE Simulations: A Practical Framework
Reading Time: 9 minutesValidation and verification (V&V) are essential quality assurance processes for PDE simulations. Verification ensures your code solves the equations correctly (solving the equations right). Validation confirms your model accurately represents real-world physics (solving the right equations). A robust V&V framework combines code verification via methods like the Method of Manufactured Solutions, solution verification with mesh […]
ParaView for Materials Science: From Simulation Data to Publication-Quality Visuals
Reading Time: 7 minutesTL;DR ParaView is the go-to open-source tool for visualizing materials science simulation data. Whether you’re working with phase-field models, molecular dynamics (LAMMPS), or electronic structure calculations (VASP), ParaView transforms raw numerical output into publication-ready 3D visuals. This guide covers data import, essential filters, rendering techniques, and export workflows specifically for materials science applications. Why ParaView […]
HDF5 for Simulation Data: Parallel I/O and Long-Term Storage
Reading Time: 10 minutesHDF5 is the de facto standard for storing large-scale scientific simulation data. Its hierarchical structure, parallel I/O capabilities via MPI, and built-in compression make it ideal for high-performance computing environments. However, improper use—especially poor chunking choices and incorrect parallel access patterns—can lead to severe performance degradation or data corruption. This guide covers HDF5 architecture, parallel […]