/deep-green

Modeling Greenhouses, but make it overkill

Primary LanguageRustGNU General Public License v3.0GPL-3.0

deep-green

To build and run the project, we use meson.

Build, Run, and

Conduction Standalone

  1. cd conduction
  2. meson setup build
  3. meson compile -C build
  4. ./build/conduction ./run/conductive_input.nml

The output files will be dumped to /results/fname.dat.

The input file can be modified in run/conductive_input.nml

Convection Standalone

  1. cd convection
  2. meson setup build --buildtype==release
  3. meson compile -C build
  4. ./build/convection

Coupled

  1. cd coupled && mkdir results
  2. python3 -m numpy.f2py -c drivers.f90 -m driver --fcompiler=gfortran --f90flags='-O3 -ffree-line-length-none'
  3. python3 main.py run/*.yaml

Scalings

  1. cd scalings
  2. './chmod +x generate_configs.sh
  3. python3 -m numpy.f2py -c drivers.f90 -m driver --fcompiler=gfortran --f90flags='-O3 -ffree-line-length-none'
  4. mkdir results