{"id":17632706,"url":"https://github.com/zephirfxec/hnanosolver","last_synced_at":"2025-05-05T22:36:21.773Z","repository":{"id":251188246,"uuid":"835458382","full_name":"ZephirFXEC/HNanoSolver","owner":"ZephirFXEC","description":"Houdini GPU Fluid Solver powered by NanoVDB","archived":false,"fork":false,"pushed_at":"2024-10-21T23:31:50.000Z","size":297,"stargazers_count":7,"open_issues_count":3,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-10-22T20:31:49.957Z","etag":null,"topics":["cpp","cuda","fluid-dynamics","houdini","nanovdb","openvdb"],"latest_commit_sha":null,"homepage":"","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ZephirFXEC.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-07-29T22:11:06.000Z","updated_at":"2024-10-21T23:31:53.000Z","dependencies_parsed_at":"2024-10-22T23:27:20.571Z","dependency_job_id":null,"html_url":"https://github.com/ZephirFXEC/HNanoSolver","commit_stats":null,"previous_names":["zephirfxec/hnanosolver"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ZephirFXEC%2FHNanoSolver","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ZephirFXEC%2FHNanoSolver/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ZephirFXEC%2FHNanoSolver/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ZephirFXEC%2FHNanoSolver/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ZephirFXEC","download_url":"https://codeload.github.com/ZephirFXEC/HNanoSolver/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252587693,"owners_count":21772523,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cpp","cuda","fluid-dynamics","houdini","nanovdb","openvdb"],"created_at":"2024-10-23T01:45:13.322Z","updated_at":"2025-05-05T22:36:21.756Z","avatar_url":"https://github.com/ZephirFXEC.png","language":"C++","readme":"\n# [HNanoSolver](https://youtu.be/W5Qsye3BMng)\n\u003e This is a project used to learn Fluid Dynamics and GPU acceleration through Cuda.\n- **HNanoSolver**, All in one node computing a quantity advection by a divergence free velocity field on the GPU.\n- **HNanoProjectNonDivergent**, Compute a Divergence free velocity field on the GPU.\n- **HNanoAdvect**, Advect any float fields on the GPU.\n- **HNanoAdvectVelocity**, Advect any vector field on the GPU.\n- **HNanoViewer**, Standalone app to visualize VDBs and kernels without having to relaunch Houdini.\n\n\n# Warning ! \n\u003e Very Early Development \nThis repo is undergoing rewrite very often and might not compile from time to time.\nFeel free to check the [Open Issues](https://github.com/ZephirFXEC/HNanoSolver/issues) for more details.\n\n\n# How to Build : \n## Windows : \n\u003e Make sure HFS is set in your PATH.\n- `git clone https://github.com/ZephirFXEC/HNanoSolver`\n- `cd HNanoSolver \u0026\u0026 mkdir build \u0026\u0026 cd build`\n- `cmake -G \"Visual Studio 17 2022\" -T v142`\nIt will generate Visual Studio solutions files that you can use to Compile \u0026 Run.\n\n## Linux : \n\u003e Tested on Ubuntu 24 using GCC 13.3 and CUDA 12.8\n- `git clone https://github.com/ZephirFXEC/HNanoSolver`\n- `cd HNanoSolver` \n- `mkdir build \u0026\u0026 cd build`\n- `cmake -DCMAKE_CUDA_COMPILER:FILEPATH=/usr/local/cuda-12.8/bin/nvcc -DCMAKE_CUDA_FLAGS:STRING=\"-O2 -g -DNDEBUG -fPIC\" ..`\n\u003e if any errors here, make sure to have $HFS set, and the right NVCC compiler\n- `make`\n\u003e if any errors related to AVX / Cuda compilation it's probably due to an incompatibility between GCC and NVCC\n\n\n\n# Reference\n## Papers \n- Bridson, R., Muller-Fischer, M. (2007). FLUID SIMULATION SIGGRAPH 2007 Course notes. SIGGRAPH. [this](https://www.cs.ubc.ca/~rbridson/fluidsimulation/fluids_notes.pdf)\n- Gabriel D. Weymouth, Data-driven Multi-Grid solver for accelerated pressure projection, [this](https://www.sciencedirect.com/science/article/pii/S0045793022002213)\n- Williams and Others, fVDB: A Deep-Learning Framework for Sparse, Large-Scale, and High-Performance Spatial Intelligence, [this](https://research.nvidia.com/labs/prl/williams2024fVDB/fVDB.pdf)\n\n\n# Pictures \n\n# HNanoViewer : \n![image](https://github.com/user-attachments/assets/82402e68-e462-4932-83d9-3b63219403a6)\n\n\n# Still Frame : \n![image](https://github.com/user-attachments/assets/12de0c85-87df-4b12-ab81-4973c024d9e0)\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzephirfxec%2Fhnanosolver","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzephirfxec%2Fhnanosolver","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzephirfxec%2Fhnanosolver/lists"}