Skip to content
/ incflo Public
forked from AMReX-Fluids/incflo

Incompressible Navier-Stokes solver in complex geometries

License

Notifications You must be signed in to change notification settings

cgilet/incflo

 
 

Repository files navigation

Directory overview

Directory Description
test_2d Directory for building 2D EB executable
test_3d Directory for building 3D EB executable
test_no_eb_2d Directory for building 2D non-EB executable
test_no_eb_3d Directory for building 3D non-EB executable
src Source files

Using incflo

To build and run incflo, you will need to first clone the AMReX and AMReX-Hydro repositories.

We suggest using the main branch of both repositories.

Check out AMReX

Clone AMReX from the official Git repository

> git clone [email protected]:AMReX-Codes/amrex.git

Clone AMReX-Hydro from the official Git repository

> git clone [email protected]:AMReX-Codes/AMReX-Hydro.git

Build and run an example incflo problem

Clone and build incflo

> git clone [email protected]:AMReX-Codes/incflo.git
> cd incflo/test_3d
> make -j4
> mpirun -np 4 incflo3d.gnu.MPI.ex benchmark.channel_cylinder-x

Note that, depending on where you have put the amrex and AMReX-Hydro repos in your local working space, you may need to set AMREX_HOME and AMREX_HYDRO_HOME either as environment variables or in incflo/test*/GNUMakefile.

Contributing

We welcome contributions in the form of pull-requests from anyone.

About

Incompressible Navier-Stokes solver in complex geometries

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 94.1%
  • C 3.5%
  • CMake 2.0%
  • Other 0.4%