Skip to content

christomaszewski/lspiv_toolkit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

lspiv_toolkit

Toolkit for LSPIV implementations

Code Example

A minimal usage example to create a field and plot it.

from field_toolkit.core.fields import VectorField
from field_toolkit.core.extents import FieldExtents
from field_toolkit.viz.plotting import SimpleFieldView

channelWidth = 100
maxVelocity = 3

domainExtents = FieldExtents.from_bounds_list([0, channelWidth, 0, 50])

field = VectorField.from_developed_pipe_flow_model(channelWidth, maxVelocity, domainExtents)

plot = SimpleFieldView(field, pause=10, autoRefresh=True)
plot.quiver()

Installation

To install run:

python setup.py install

or

python setup.py develop

About

Toolkit for LSPIV implementations

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages