fluidsim | studying fluid dynamics with numerical simulations
kandi X-RAY | fluidsim Summary
kandi X-RAY | fluidsim Summary
:ocean: Framework for studying fluid dynamics with numerical simulations using Python (publish-only mirror). The main repo is hosted on https://foss.heptapod.net (Gitlab fork supporting Mercurial).
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
- Compute the Fourier Transform
- Calculate the fft and fft of the fft
- Return the variance of a field
- Compute the fft from ux and f_fft
- Plot the schedule
- Return a matplotlib figure
- Perform a time step of rk4
- Perform an Euler transformation on the Euler
- Plot the cross section of the model
- Add the inset plot to the figure
- Compute statistics for a single time step
- Plot the frequency spectrum for a single mode
- Save the simulation to disk
- Summarize one time step
- Plot 1D spectrum
- Calculate the expo from the given order
- Plot the Kolmo problem
- Create argument parser
- Compute the fft transform
- Plot a 1D histogram plot
- Compute the q - transform
- Compute the frequency spectrum
- Calculate energy and energy of a single simulation
- Estimate tendencies for non - linearly
- Calculate the energy of one time step
- Plot a 1D histogram
fluidsim Key Features
fluidsim Examples and Code Snippets
Community Discussions
Trending Discussions on fluidsim
QUESTION
I have a question about the fluidsim python package. I would like to use the fluidsim program for my research. After reading the documentation, it is not clear what equation exactly the fluidsim.solvers.ns2d.solver algorithm solves (I would be interested in the specific form of the differential equation), and it is also a question of how to add new equations to the existing ones. If any of you know exactly what equation solves fluidsim.solvers.ns2d.solver or how to add a new equation to your existing equations please write to me. Thanks in advance for any help!
...ANSWER
Answered 2020-May-18 at 13:02As the name suggests, it solves the 2D Navier-Stokes equations:
This module provides two classes defining the pseudo-spectral solver 2D incompressible Navier-Stokes equations (ns2d).
To define your own equations, have a look at how they are defined in the library: https://fluidsim.readthedocs.io/en/latest/ipynb/tuto_dev.html?highlight=define%20equations#description-of-the-solved-equations
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install fluidsim
You can use fluidsim like any standard Python library. You will need to make sure that you have a development environment consisting of a Python distribution including header files, a compiler, pip, and git installed. Make sure that your pip, setuptools, and wheel are up to date. When using pip it is generally recommended to install packages in a virtual environment to avoid changes to the system.
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page