<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to Home</title><link>https://sourceforge.net/p/minydro/wiki/Home/</link><description>Recent changes to Home</description><atom:link href="https://sourceforge.net/p/minydro/wiki/Home/feed" rel="self"/><language>en</language><lastBuildDate>Sun, 09 Feb 2014 19:28:38 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/minydro/wiki/Home/feed" rel="self" type="application/rss+xml"/><item><title>Discussion for Home page</title><link>https://sourceforge.net/p/minydro/wiki/Home/</link><description>&lt;div class="markdown_content"&gt;&lt;h6&gt;&lt;/h6&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;               &lt;span class="nl"&gt;MINYDRO:&lt;/span&gt; &lt;span class="n"&gt;Minimal&lt;/span&gt; &lt;span class="n"&gt;Cell&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;Based&lt;/span&gt; &lt;span class="n"&gt;Hydrodynamics&lt;/span&gt;
                   &lt;span class="n"&gt;Written&lt;/span&gt; &lt;span class="n"&gt;by&lt;/span&gt; &lt;span class="n"&gt;Neil&lt;/span&gt; &lt;span class="n"&gt;Vaytet&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;ENS&lt;/span&gt; &lt;span class="n"&gt;Lyon&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
                        &lt;span class="n"&gt;Version&lt;/span&gt; &lt;span class="mf"&gt;1.0&lt;/span&gt; &lt;span class="o"&gt;-&lt;/span&gt; &lt;span class="n"&gt;July&lt;/span&gt; &lt;span class="mi"&gt;2013&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;
&lt;h6&gt;&lt;/h6&gt;
&lt;p&gt;MINYDRO is a very simple code for 3D hydrodynamical simulations written in&lt;br /&gt;
Fortran 90. It is less than 700 lines long, and has a pretty neat structure!&lt;br /&gt;
Each cell is treated as a object which has a density, pressure, etc... and&lt;br /&gt;
interacts with other cells (i.e. its neighbours).&lt;/p&gt;
&lt;p&gt;Being very short, it can't do as many things as other codes used in research&lt;br /&gt;
(such as MORPHEUS) can do. Indeed, it only has a cartesian grid, and currently&lt;br /&gt;
only has free-flow and periodic boundary conditions, but the simplicity of the&lt;br /&gt;
code makes it ideal for teaching purposes.&lt;/p&gt;
&lt;p&gt;The code can be compiled with:&lt;br /&gt;
gfortran -o minydro minydro.f90 -ffree-line-length-none&lt;br /&gt;
If you wish to use OpenMP parallelisation, you can add the "-fopenmp" flag at&lt;br /&gt;
the end of your compilation command line.&lt;/p&gt;
&lt;p&gt;The default setup is a Sedov explosion inside a 2D rectangular box. Some&lt;br /&gt;
parameters such as the simulation end time or the output frequency can be&lt;br /&gt;
changed at the beginning of the "minydro" program (lines 101 to 103).&lt;br /&gt;
To change the simulation setup, one needs to modify the "setup" subroutine. The&lt;br /&gt;
number of dimensions, the grid resolution, the simulation box size and the&lt;br /&gt;
boundary conditions can be modified at the start of the subroutine, while the&lt;br /&gt;
initial conditions of the gas conservative variables are modified starting from&lt;br /&gt;
line 220.&lt;/p&gt;
&lt;p&gt;A small plotting program is also supplied in this archive. It reads the outputs&lt;br /&gt;
from the 2D simulation and writes density maps to ppm images. It can be&lt;br /&gt;
compiled simply by entering:&lt;br /&gt;
gfortran -o read_minydro_data read_minydro_data.f90&lt;br /&gt;
It can then be run using:&lt;br /&gt;
./read_minydro_data noutput_start [noutput_end increment]&lt;br /&gt;
where noutput_start is the output number from which to start plotting, and the&lt;br /&gt;
other two optional arguments are the output number at which plotting should&lt;br /&gt;
stop and the increment to be used for stepping through the outputs. If not&lt;br /&gt;
supplied, the default values are noutput_end = noutput_start and increment = 1.&lt;/p&gt;
&lt;p&gt;This program is free to use by anyone and for any purpose, there is absolutely&lt;br /&gt;
no restrictions on use or distribution. It was designed mainly for teaching&lt;br /&gt;
purposes and it is made freely available in the hope that someone may find it&lt;br /&gt;
useful.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Neil Vaytet</dc:creator><pubDate>Sun, 09 Feb 2014 19:28:38 -0000</pubDate><guid>https://sourceforge.net360f52722b4bd052bb9d1a453ae05ec9081ee2e0</guid></item><item><title>Home modified by Neil Vaytet</title><link>https://sourceforge.net/p/minydro/wiki/Home/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Welcome to your wiki!&lt;/p&gt;
&lt;p&gt;This is the default page, edit it as you see fit. To add a new page simply reference it within brackets, e.g.: &lt;span&gt;[SamplePage]&lt;/span&gt;.&lt;/p&gt;
&lt;p&gt;The wiki uses &lt;a class="" href="/p/minydro/wiki/markdown_syntax/"&gt;Markdown&lt;/a&gt; syntax.&lt;/p&gt;
&lt;p&gt;&lt;h6&gt;Project Members:&lt;/h6&gt;
&lt;ul class="md-users-list"&gt;
&lt;li&gt;&lt;a href="/u/nvaytet/"&gt;Neil Vaytet&lt;/a&gt; (admin)&lt;/li&gt;
&lt;/ul&gt;&lt;br /&gt;
&lt;/p&gt;&lt;p&gt;&lt;span class="download-button-52f7b905485acd593c7b2aaf" style="margin-bottom: 1em; display: block;"&gt;&lt;/span&gt;&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Neil Vaytet</dc:creator><pubDate>Sun, 09 Feb 2014 17:21:10 -0000</pubDate><guid>https://sourceforge.net1bbacfe5546c27f183d1a064a29c2e126c048db3</guid></item></channel></rss>