Skip to main content
  • Home
  • Development
  • Documentation
  • Donate
  • Operational login
  • Browse the archive

swh logo
SoftwareHeritage
Software
Heritage
Archive
Features
  • Search

  • Downloads

  • Save code now

  • Add forge now

  • Help

Raw File Download
Permalink

To reference or cite the objects present in the Software Heritage archive, permalinks based on SoftWare Hash IDentifiers (SWHIDs) must be used.
Select below a type of object currently browsed in order to display its associated SWHID and permalink.

  • content
content badge Iframe embedding
swh:1:cnt:d95cb4551335586ea97f8e9648be522e44961314
Citations

This interface enables to generate software citations, provided that the root directory of browsed objects contains a citation.cff or codemeta.json file.
Select below a type of object currently browsed in order to generate citations for them.

  • content
Generate software citation in BibTex format (requires biblatex-software package)
Generating citation ...
# **VisFluid** 

<p align="center">
    <img src="./paper/representative.png" width="40%"><br>
</p>

## **About**
VisFluid is a program used to reconstruct fluid surface from particle-based fluid solver and runs fully on NVIDIA GPU. This program brings high-quality visual effects to scientific and engineering computing, helping people to illustrate their simulation results. This repository provides source code to implement the algorithm presented in the paper [Enhanced narrow band surface reconstruction with anisotropic kernel].  

### **Dependencies**
The code can be compiled on Ubuntu (GCC 6.3.0) with CUDA (>=9.0). To run the code, an NVIDIA GPU should be installed on the machine.    
The test file is put on Google Drive as follows:  
test.zip(https://drive.google.com/file/d/1HPbJa-htn2_YTEcl5P-dp-oTO-YOlhK2/view?usp=sharing)  

### **Run test**
To run the code, just do:  
> conda env create -f conda.yml  
> conda activate postmps  
> mkdir build  
> make && make post  


The input particle vtk file is located in test/watercrown/particle. Once the program has been executed over, the output triangle meshes ply file will be generated in test/watercrown/surface. This ply file can be opened through Paraview (https://www.paraview.org/) or Blender (https://www.blender.org/). To reproduce the representative figure, the blender file has given, which has already configured the rendering environment and is located in test/watercrown. The only thing need to do is giving the liquid material to the generated ply file.  
Other simulation results can be obtained from partcile-based fluid solver, such as DualSPH (https://dual.sphysics.org/) and GPUSPH (http://www.gpusph.org/).  
If you have any question, contact me 11824048@zju.edu.cn.

Software Heritage — Copyright (C) 2015–2025, The Software Heritage developers. License: GNU AGPLv3+.
The source code of Software Heritage itself is available on our development forge.
The source code files archived by Software Heritage are available under their own copyright and licenses.
Terms of use: Archive access, API— Contact— JavaScript license information— Web API

back to top