User Tools

Site Tools


docs:tutorial

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
docs:tutorial [2009/02/13 07:58]
gibson
docs:tutorial [2010/02/02 07:55] (current)
Line 1: Line 1:
 ====== Channelflow Tutorial ====== ====== Channelflow Tutorial ======
- 
-===== Intro ===== 
  
 So you've installed channelflow. Now what? Well, computational fluid So you've installed channelflow. Now what? Well, computational fluid
Line 22: Line 20:
  
 Please refer to [[:​docs#​utilities|Utilities]] and [[docs:​utils:​options|Utility Options]] Please refer to [[:​docs#​utilities|Utilities]] and [[docs:​utils:​options|Utility Options]]
-for a detailed guide of individual ​utilites ​and their options. You can also run any +for a detailed guide of individual ​utilities ​and their options. You can also run any 
 utility with a ''​-h''​ or ''​--help''​ option to get a brief description of the utility with a ''​-h''​ or ''​--help''​ option to get a brief description of the
 utility'​s purpose and options, e.g  utility'​s purpose and options, e.g 
Line 36: Line 34:
 ===1. Generate an initial condition and examine its properties === ===1. Generate an initial condition and examine its properties ===
  
-  gibson@akbar$ randomfield -Nx 48 -Ny 35 -Nz 48 -lx 0.875 -lz 0.6 -m 0.20 u0.ff+  gibson@akbar$ randomfield -Nx 48 -Ny 33 -Nz 48 -lx -lz -m 0.20 u0.ff
  
 This command generates a no-slip, divergence-free velocity field with This command generates a no-slip, divergence-free velocity field with
-random spectral coefficients on a 48 x 35 x 48 grid, on [0, 2pi] x+random spectral coefficients on a 48 x 33 x 48 grid, on [0, 2pi] x
 [-1, 1] x [0, pi], with magnitude 1/V \integral_V |u|^2 dx = 0.2. The [-1, 1] x [0, pi], with magnitude 1/V \integral_V |u|^2 dx = 0.2. The
 field is a perturbation from the laminar flow --by default, velocity field is a perturbation from the laminar flow --by default, velocity
Line 222: Line 220:
  
   couette -T0 0 -T1 400 -o data-LBp01 LBp01ef1   couette -T0 0 -T1 400 -o data-LBp01 LBp01ef1
-  couette -T1 0 -T1 400 -o data-LBm01 LBm01ef1+  couette -T0 0 -T1 400 -o data-LBm01 LBm01ef1
  
  
Line 242: Line 240:
  
 From here you can adapt the [[#​make_a_movie_from_extracted_data|movie-making instructions]] from above. From here you can adapt the [[#​make_a_movie_from_extracted_data|movie-making instructions]] from above.
 +
 ===== Project movie data onto state-space coordinates ===== ===== Project movie data onto state-space coordinates =====
  
docs/tutorial.1234540698.txt.gz ยท Last modified: 2009/02/13 07:58 by gibson