Skip to content

subhk/VortexMethod.jl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

266 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

VortexMethod.jl

CI Docs Coverage

VortexMethod.jl is a Julia implementation of 3D Lagrangian vortex-sheet methods for inviscid, incompressible flows with density interfaces. It combines vortex-in-cell spreading, FFT-based Poisson solves, adaptive remeshing, MPI parallelism, and checkpointing tools.

Features

  • Lagrangian vortex sheets on triangulated surfaces
  • Periodic-domain vortex-in-cell spreading and interpolation
  • FFT, MPI, and pencil-FFT velocity solve paths
  • Flow-adaptive remeshing and particle management
  • Dissipation and baroclinic-interface utilities
  • JLD2 checkpoints and time-series snapshots

Install

julia --project -e 'using Pkg; Pkg.instantiate()'

Quick Start

using VortexMethod

grid = RectilinearGrid(size=(25, 50, 99),
                       x=(0, 1),
                       y=(0, 1),
                       z=(-1, 1),
                       topology=(Periodic, Periodic, Periodic))

model = VortexSheetModel(; grid,
                         sheet_size=(64, 64),
                         Γ=(0.0, 1.0, 0.0))

simulation = Simulation(model; Δt=1e-3, stop_iteration=10)
run!(simulation)

Reference

This package follows the regularized vortex sheet method developed in:

Stock, M. J. (2006). A regularized inviscid vortex sheet method for three dimensional flows with density interfaces. Ph.D. Thesis, California Institute of Technology.

About

Vortex sheet method for three dimensional flows with density interfaces

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages