Jongsu Liam Kim  Blog
(Note) Tox workflow
14 Jul 2018What do I need to install
tox
: virtualenv for testingtoxpyenv
:pyenv
plugin fortox
pytest
: testing frameworkpipreqs
: generatesrequirements.txt
What do I need to do

Checkout
cookiecutter

create virtualenv using pyenv
$ pyenv install "some versions" $ pip install tox toxpyenv $ pyenv local "my_env" "some versions"

create
src
...
Navier Stokes Equation Solver for Homogeneous Isotropic Turbulence
17 Jul 2017(This content is originally written by Kyongmin Yeo’s manual)
Introduction
The spectral method is solving certain differential equation by some “basis function”, typically sinusoids with Fourier method. With the NavierStokes equation, it can remove presssure term in NS equation and solve viscous term analytically.
Pros:
 Removing pressure term is huge performance advantage
 Accurate result because differential operator doesn’t depends on grid size
Cons:
 Only can be applied to periodic domain
Governing Equation
NavierStokes equation to rotational form
Original NavierStokes equation in convection form is
\begin{align} \dfrac{\partial u_i}{\partial t} &= \dfrac{\nabla p}{\rho}  (u...
Older
Newer