User Tools

Site Tools


hydroex

EXERCISES

Hydrodynamic Exercises

(During-Course Assignment)

Run a hydrodynamic code for:

  1. Read the Problems & Solutions guide.
    1. Set up and run the Sedov Blast problem.
    2. Set up and run the Bondi Accretion problem.

You can also try:

  1. Gravitational collapse of:
    • Uniformly distributed “star” (P(initial) = 0)
    • Simple density profile (P(initial) = 0)
    • Are there self-similar solutions?
  2. Energy injection into gas clump of:
    • uniformly distributed mass
    • simple density profile $\rho(r) = \rho(0)[1-(r/R)^2]^n $
    • How does the evolution change with different injection energies
  3. Drive a piston through some medium
    • Piston in a cylinder
    • Spherical piston driving outwards
    • Spherical piston driving inwards
    • How does the outward driven spherical piston compare to the energy injection?

(Pre-Course Assignment)

Download, compile and run the Hydrodynamics Code

  1. Download the VH1.0 Hydrodynamics Code.
  2. Compile the code with your fortran90 compiler.
  3. Report in the Hydrodynamics Code discussion thread your success with machine information.
  4. Read the Quick Start guide.
    1. Run the shock tube problem set up for beginners.
    2. Plot and compare your results to the expected solution.
  5. Read the Inside the code guide.
  6. The VH1 User’s Guide for the serial version is hidden at VH1 User's Guide.

Hydrodynamic Exercises Discussion

Justin Brown, 2014/05/19 00:59

Compiled and ran with Mac OS X 10.9.2 and gfortran 4.9.0.

Rashi Talwar, 2014/05/19 16:05

Compiled and ran successfully with Ubuntu using gfortran

Raditya Utama, 2014/05/19 16:19

Compiled and ran with Mac OS X 10.8.5 and gfortran 4.8

Julia Bliss, 2014/05/20 02:39

Compiled and ran on my Ubuntu 12.10 and gfortran 4.7

Charlie Akers, 2014/05/20 13:36

Compiled and ran on my Ubuntu 12.04.4 LTS with GNU Fortran 4.6.3

Matthew Gilmer, 2014/05/20 16:05

Compiled and ran with Mac OS X 10.9.2 and gfortran 4.9.0.

Panagiotis Gastis, 2014/05/20 16:34

Compiled and ran on Ubuntu 13.10 with GNU fortran 95

MacKenzie Warren, 2014/05/20 16:38

Compiled and ran on Red Hat 6.5 with gfortran 4.6.

Nicole Vassh, 2014/05/21 03:13

Compiled and ran with MinGW using gfortran 4.8.1. Had to execute “gfortran vhone.o” rather than ./vhone to produce data files. In order to view the data files written had to run vh1-beg application. Files written produce plot which matches QuickStart.

Justin Lietz, 2014/05/21 10:27

Compiled with gcc version 4.7.2 (Debian 4.7.2-5) on my machine and ran with 3.2.0-4-amd64 #1 SMP Debian 3.2.57-3 x86_64 GNU/Linux

Alexander Long, 2014/05/21 11:05

Complied and ran on Mac OS X 10.9.2 with gfortran 4.8.0

Bastian Schütrumpf, 2014/05/22 17:26

Compiled with gcc 4.6.3 on Xubuntu 12.04 and ran it. Also tried to compile the serial code and after some problems with the netcdf library I was able to compile it.

Donald Willcox, 2014/05/22 20:15

Compiled and ran with no problems on Fedora 20 kernel 3.14.4 with gfortran 4.8.2.

Adam B Jones, 2014/05/23 11:48

Compiled and ran OK.

Alex Dombos, 2014/05/23 14:06

Compiled on my Mac OS X 10.7.5 using gfortran 4.8.2. Following the online tutorial (“Quick Start”) with VH-0.5, the executable is vh1-beg and the output files are named NCState####.dat. Successfully reproduced the plot.

Robert Almus, 2014/05/23 14:31

Compiled and ran on Ubuntu 12.04 with gcc 4.6.3

Ermal Rrapaj, 2014/05/25 19:43

Compiled and ran on Ubuntu 12.04. Only VH05 ran smoothly. After installing the netcdf library and its dependencies I still had problems compiling VH1.

Tsung-Han Yeh, 2014/05/26 10:52

Linux version 3.7.10-1.28-default, gcc version 4.7.2, ifort Version 11.0. VH0.5 and VH1-starter were done. However, I failed to compile the Serial. Trying to install netcdf but unsuccessful. Need some help when we meet.

Enter your comment. Wiki syntax is allowed:
 
hydroex.txt · Last modified: 2014/05/29 08:24 by cyburt