ArtraCFD
ArtraCFD copied to clipboard
ArtraCFD: A Computational Fluid Dynamics Solver
ArtraCFD
A Computational Fluid Dynamics Solver
by
Huangrui Mo (Google Scholar) (ORCID)
Demo cases
Case 1: Re=100 flow over a cylinder (click to play animation)
Case 2: Ma=2.81 Shock diffracting over a cylinder (click to play animation)
Case 3: Galilean transformation between a supersonic moving wedge and a supersonic incoming flow (click to play animation)
Case 4: Ma=5 flow over a complex body (click to play animation)
Case 5: Direct simulation of explosively dispersed particles (click to play animation)
Solver configuration
Fluid-solid interaction:
- Operator splitting
Fluid dynamics:
- Governing equations: 3D Navier-Stokes equations (Cartesian, compressible, conservative)
- Temporal discretization: RK2 and RK3
- Spatial discretization: WENO3 and WENO5 (convective fluxes) + 2nd order central scheme (diffusive fluxes)
- Boudary treatment: immersed boundary method
Solid dynamics:
- Governing equations: Newton's second law (translation), Euler equations (rotation), multi-body contact and collision
- Temporal integration: RK2
- Interface description: triangulated facets with front tracking
How to compile
- Download the code
- Enter the code directory
- Compile to generate the C executable:
make
How to run the program
- Run the program:
./artracfd
- Check help guide:
help
- Check program manual:
manual
- Generate a sample test case:
init
- Solve the smaple case:
solve
For algorithms and more test cases, please check the Reference
below.
Reference:
- Huangrui Mo. Mesoscale modeling and direct simulation of explosively dispersed granular materials. PhD thesis, University of Waterloo, 2019
- Huangrui Mo, Fue‐Sang Lien, Fan Zhang, and Duane S. Cronin. An immersed boundary method for solving compressible flow with arbitrarily irregular and moving geometry. International Journal for Numerical Methods in Fluids 88, no. 5 (2018): 239-263.
- Huangrui Mo, Fue-Sang Lien, Fan Zhang, and Duane S. Cronin. A numerical framework for the direct simulation of dense particulate flow under explosive dispersal. Shock Waves 28, no. 3 (2018): 559-577.
- Huangrui Mo, Fue-Sang Lien, Fan Zhang, and Duane S. Cronin. A simple field function for solving complex and dynamic fluid-solid system on Cartesian grid. arXiv preprint arXiv:1702.02474 (2017).
- Huangrui Mo, Fue-Sang Lien, Fan Zhang, and Duane S. Cronin. A mesoscale study on explosively dispersed granular material using direct simulation. Journal of Applied Physics 125, no. 21 (2019): 214302.