├── .gitignore ├── CMakeLists.txt ├── README.md ├── doc └── README.md ├── jupyter ├── 01_Heat_Equation_FTCS │ └── ftcs.ipynb ├── 02_Heat_Equation_RK3 │ └── rk3.ipynb ├── 03_Heat_Equation_CN │ └── cn.ipynb ├── 04_Heat_Equation_ICP │ └── icp.ipynb ├── 05_Inviscid_Burgers_WENO │ ├── rk3.py │ ├── weno5.ipynb │ └── weno5_scheme.py ├── 06_Inviscid_Burgers_CRWENO │ ├── crweno5.ipynb │ ├── crweno5_scheme.py │ └── rk3.py ├── 07_Inviscid_Burgers_Flux_Splitting │ ├── flux_splitting_periodic.ipynb │ ├── rk3.py │ └── weno5_scheme.py ├── 08_Inviscid_Burgers_Rieman │ ├── rk3.py │ ├── rusanov_riemann_periodic.ipynb │ └── weno5_scheme.py ├── 09_Euler_1D_Roe │ ├── rk3.py │ ├── roe.ipynb │ └── weno5_scheme.py ├── 10_Euler_1D_HLLC │ ├── hllc.ipynb │ ├── rk3.py │ └── weno5_scheme.py ├── 11_Euler_1D_Rusanov │ ├── rk3.py │ ├── rusanov.ipynb │ └── weno5_scheme.py ├── 12_Poisson_Solver_FFT │ └── fft.ipynb └── 13_Poisson_Solver_FFT_Spectral │ └── fft_spectral.ipynb ├── plotting └── plot_cpp_results.ipynb └── src ├── block.cpp ├── block.h ├── boundary_condition ├── boundary_condition.h ├── fixed_value.cpp ├── fixed_value.h ├── periodic.cpp ├── periodic.h ├── symmetric.cpp └── symmetric.h ├── computation_module.cpp ├── computation_module.h ├── eos ├── equation_of_state.h └── stiffened_gas.h ├── initial_condition └── case_parameters.h ├── main.cpp ├── output.cpp ├── output.h ├── solvers ├── hllc_riemann_solver.cpp ├── hllc_riemann_solver.h ├── rusanov_riemann_solver.cpp └── rusanov_riemann_solver.h ├── stencils ├── first_order.h └── weno5.h ├── time_integration ├── runge_kutta_3.cpp └── runge_kutta_3.h ├── user_specification.h └── utils.h /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fengyiqi/cfd_practice/HEAD/.gitignore -------------------------------------------------------------------------------- /CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fengyiqi/cfd_practice/HEAD/CMakeLists.txt -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fengyiqi/cfd_practice/HEAD/README.md -------------------------------------------------------------------------------- /doc/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fengyiqi/cfd_practice/HEAD/doc/README.md -------------------------------------------------------------------------------- /jupyter/01_Heat_Equation_FTCS/ftcs.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fengyiqi/cfd_practice/HEAD/jupyter/01_Heat_Equation_FTCS/ftcs.ipynb -------------------------------------------------------------------------------- /jupyter/02_Heat_Equation_RK3/rk3.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fengyiqi/cfd_practice/HEAD/jupyter/02_Heat_Equation_RK3/rk3.ipynb -------------------------------------------------------------------------------- /jupyter/03_Heat_Equation_CN/cn.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fengyiqi/cfd_practice/HEAD/jupyter/03_Heat_Equation_CN/cn.ipynb -------------------------------------------------------------------------------- /jupyter/04_Heat_Equation_ICP/icp.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fengyiqi/cfd_practice/HEAD/jupyter/04_Heat_Equation_ICP/icp.ipynb -------------------------------------------------------------------------------- /jupyter/05_Inviscid_Burgers_WENO/rk3.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fengyiqi/cfd_practice/HEAD/jupyter/05_Inviscid_Burgers_WENO/rk3.py -------------------------------------------------------------------------------- /jupyter/05_Inviscid_Burgers_WENO/weno5.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fengyiqi/cfd_practice/HEAD/jupyter/05_Inviscid_Burgers_WENO/weno5.ipynb -------------------------------------------------------------------------------- /jupyter/05_Inviscid_Burgers_WENO/weno5_scheme.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fengyiqi/cfd_practice/HEAD/jupyter/05_Inviscid_Burgers_WENO/weno5_scheme.py -------------------------------------------------------------------------------- /jupyter/06_Inviscid_Burgers_CRWENO/crweno5.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fengyiqi/cfd_practice/HEAD/jupyter/06_Inviscid_Burgers_CRWENO/crweno5.ipynb -------------------------------------------------------------------------------- /jupyter/06_Inviscid_Burgers_CRWENO/crweno5_scheme.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fengyiqi/cfd_practice/HEAD/jupyter/06_Inviscid_Burgers_CRWENO/crweno5_scheme.py -------------------------------------------------------------------------------- /jupyter/06_Inviscid_Burgers_CRWENO/rk3.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fengyiqi/cfd_practice/HEAD/jupyter/06_Inviscid_Burgers_CRWENO/rk3.py -------------------------------------------------------------------------------- /jupyter/07_Inviscid_Burgers_Flux_Splitting/flux_splitting_periodic.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fengyiqi/cfd_practice/HEAD/jupyter/07_Inviscid_Burgers_Flux_Splitting/flux_splitting_periodic.ipynb -------------------------------------------------------------------------------- /jupyter/07_Inviscid_Burgers_Flux_Splitting/rk3.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fengyiqi/cfd_practice/HEAD/jupyter/07_Inviscid_Burgers_Flux_Splitting/rk3.py -------------------------------------------------------------------------------- /jupyter/07_Inviscid_Burgers_Flux_Splitting/weno5_scheme.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fengyiqi/cfd_practice/HEAD/jupyter/07_Inviscid_Burgers_Flux_Splitting/weno5_scheme.py -------------------------------------------------------------------------------- /jupyter/08_Inviscid_Burgers_Rieman/rk3.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fengyiqi/cfd_practice/HEAD/jupyter/08_Inviscid_Burgers_Rieman/rk3.py -------------------------------------------------------------------------------- /jupyter/08_Inviscid_Burgers_Rieman/rusanov_riemann_periodic.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fengyiqi/cfd_practice/HEAD/jupyter/08_Inviscid_Burgers_Rieman/rusanov_riemann_periodic.ipynb -------------------------------------------------------------------------------- /jupyter/08_Inviscid_Burgers_Rieman/weno5_scheme.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fengyiqi/cfd_practice/HEAD/jupyter/08_Inviscid_Burgers_Rieman/weno5_scheme.py -------------------------------------------------------------------------------- /jupyter/09_Euler_1D_Roe/rk3.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fengyiqi/cfd_practice/HEAD/jupyter/09_Euler_1D_Roe/rk3.py -------------------------------------------------------------------------------- /jupyter/09_Euler_1D_Roe/roe.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fengyiqi/cfd_practice/HEAD/jupyter/09_Euler_1D_Roe/roe.ipynb -------------------------------------------------------------------------------- /jupyter/09_Euler_1D_Roe/weno5_scheme.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fengyiqi/cfd_practice/HEAD/jupyter/09_Euler_1D_Roe/weno5_scheme.py -------------------------------------------------------------------------------- /jupyter/10_Euler_1D_HLLC/hllc.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fengyiqi/cfd_practice/HEAD/jupyter/10_Euler_1D_HLLC/hllc.ipynb -------------------------------------------------------------------------------- /jupyter/10_Euler_1D_HLLC/rk3.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fengyiqi/cfd_practice/HEAD/jupyter/10_Euler_1D_HLLC/rk3.py -------------------------------------------------------------------------------- /jupyter/10_Euler_1D_HLLC/weno5_scheme.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fengyiqi/cfd_practice/HEAD/jupyter/10_Euler_1D_HLLC/weno5_scheme.py -------------------------------------------------------------------------------- /jupyter/11_Euler_1D_Rusanov/rk3.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fengyiqi/cfd_practice/HEAD/jupyter/11_Euler_1D_Rusanov/rk3.py -------------------------------------------------------------------------------- /jupyter/11_Euler_1D_Rusanov/rusanov.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fengyiqi/cfd_practice/HEAD/jupyter/11_Euler_1D_Rusanov/rusanov.ipynb -------------------------------------------------------------------------------- /jupyter/11_Euler_1D_Rusanov/weno5_scheme.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fengyiqi/cfd_practice/HEAD/jupyter/11_Euler_1D_Rusanov/weno5_scheme.py -------------------------------------------------------------------------------- /jupyter/12_Poisson_Solver_FFT/fft.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fengyiqi/cfd_practice/HEAD/jupyter/12_Poisson_Solver_FFT/fft.ipynb -------------------------------------------------------------------------------- /jupyter/13_Poisson_Solver_FFT_Spectral/fft_spectral.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fengyiqi/cfd_practice/HEAD/jupyter/13_Poisson_Solver_FFT_Spectral/fft_spectral.ipynb -------------------------------------------------------------------------------- /plotting/plot_cpp_results.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fengyiqi/cfd_practice/HEAD/plotting/plot_cpp_results.ipynb -------------------------------------------------------------------------------- /src/block.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fengyiqi/cfd_practice/HEAD/src/block.cpp -------------------------------------------------------------------------------- /src/block.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fengyiqi/cfd_practice/HEAD/src/block.h -------------------------------------------------------------------------------- /src/boundary_condition/boundary_condition.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fengyiqi/cfd_practice/HEAD/src/boundary_condition/boundary_condition.h -------------------------------------------------------------------------------- /src/boundary_condition/fixed_value.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fengyiqi/cfd_practice/HEAD/src/boundary_condition/fixed_value.cpp -------------------------------------------------------------------------------- /src/boundary_condition/fixed_value.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fengyiqi/cfd_practice/HEAD/src/boundary_condition/fixed_value.h -------------------------------------------------------------------------------- /src/boundary_condition/periodic.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fengyiqi/cfd_practice/HEAD/src/boundary_condition/periodic.cpp -------------------------------------------------------------------------------- /src/boundary_condition/periodic.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fengyiqi/cfd_practice/HEAD/src/boundary_condition/periodic.h -------------------------------------------------------------------------------- /src/boundary_condition/symmetric.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fengyiqi/cfd_practice/HEAD/src/boundary_condition/symmetric.cpp -------------------------------------------------------------------------------- /src/boundary_condition/symmetric.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fengyiqi/cfd_practice/HEAD/src/boundary_condition/symmetric.h -------------------------------------------------------------------------------- /src/computation_module.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fengyiqi/cfd_practice/HEAD/src/computation_module.cpp -------------------------------------------------------------------------------- /src/computation_module.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fengyiqi/cfd_practice/HEAD/src/computation_module.h -------------------------------------------------------------------------------- /src/eos/equation_of_state.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fengyiqi/cfd_practice/HEAD/src/eos/equation_of_state.h -------------------------------------------------------------------------------- /src/eos/stiffened_gas.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fengyiqi/cfd_practice/HEAD/src/eos/stiffened_gas.h -------------------------------------------------------------------------------- /src/initial_condition/case_parameters.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fengyiqi/cfd_practice/HEAD/src/initial_condition/case_parameters.h -------------------------------------------------------------------------------- /src/main.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fengyiqi/cfd_practice/HEAD/src/main.cpp -------------------------------------------------------------------------------- /src/output.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fengyiqi/cfd_practice/HEAD/src/output.cpp -------------------------------------------------------------------------------- /src/output.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fengyiqi/cfd_practice/HEAD/src/output.h -------------------------------------------------------------------------------- /src/solvers/hllc_riemann_solver.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fengyiqi/cfd_practice/HEAD/src/solvers/hllc_riemann_solver.cpp -------------------------------------------------------------------------------- /src/solvers/hllc_riemann_solver.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fengyiqi/cfd_practice/HEAD/src/solvers/hllc_riemann_solver.h -------------------------------------------------------------------------------- /src/solvers/rusanov_riemann_solver.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fengyiqi/cfd_practice/HEAD/src/solvers/rusanov_riemann_solver.cpp -------------------------------------------------------------------------------- /src/solvers/rusanov_riemann_solver.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fengyiqi/cfd_practice/HEAD/src/solvers/rusanov_riemann_solver.h -------------------------------------------------------------------------------- /src/stencils/first_order.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fengyiqi/cfd_practice/HEAD/src/stencils/first_order.h -------------------------------------------------------------------------------- /src/stencils/weno5.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fengyiqi/cfd_practice/HEAD/src/stencils/weno5.h -------------------------------------------------------------------------------- /src/time_integration/runge_kutta_3.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fengyiqi/cfd_practice/HEAD/src/time_integration/runge_kutta_3.cpp -------------------------------------------------------------------------------- /src/time_integration/runge_kutta_3.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fengyiqi/cfd_practice/HEAD/src/time_integration/runge_kutta_3.h -------------------------------------------------------------------------------- /src/user_specification.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fengyiqi/cfd_practice/HEAD/src/user_specification.h -------------------------------------------------------------------------------- /src/utils.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fengyiqi/cfd_practice/HEAD/src/utils.h --------------------------------------------------------------------------------