Giter Site home page Giter Site logo

computational-gas-dynamics-s11-2022's Introduction

Notices

Mirrors

Repository:

Prerequisites

Make sure you have installed:

Optionally, you might also want to install Tracy Profiler.

Build

First, fetch the dependencies with zigmod fetch.

To build and install the library, run zig build install.

To run unit tests, run zig build test.

See zig build --help for more build options.

Example

To run the example which simulates the convection process, run one of the following:

# Run with the default allocator
zig build run -- -o res.bin -j $(nproc)
zig build run -Drelease-fast -- -o res.bin -j $(nproc)

# Run with the Tracy integration
zig build run -Dtracy -Drelease-fast -- -o res.bin
zig build run -Dtracy -Dtracy-depth=10 -Drelease-fast -- -o res.bin

# Run with the testing allocator
zig build test-run

# Run the benchmark
zig build bench
zig build bench -Drelease-fast

See zig build --help for more build options.

See zig build run -- --help for CLI arguments.

To animate the results, first, instantiate the project with

julia --project=. -e "using Pkg; Pkg.instantiate()"

Then, run one of the following

# Run without a daemon
julia --project=. scripts/animate.jl res.bin
julia --project=. scripts/animate.jl --postfix "'Custom postfix'" res.bin

# Run with a daemon
./julia.bash scripts/animate.jl res.bin
./julia.bash scripts/animate.jl --postfix "'Custom postfix'" res.bin

Use the --help flag to get help information.

To kill the daemon, run ./julia.bash kill.

computational-gas-dynamics-s11-2022's People

Contributors

paveloom avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.