Difference: PH3110BScProjectsPTD (1 vs. 3)

Revision 302 Apr 2021 - PedroTeixeiraDias

Line: 1 to 1
 
META TOPICPARENT name="Public.PedroTeixeiraDias"

PH3110 BSc projects / PTD

Line: 28 to 28
  One of the initial goals of the project could be to establish that the random walk used in the project does conform to the expected statistical properties of a truly random walk: eg that the expectation value of the distance travelled by particles after n steps is zero, and that the expectation value of the distance squared is n (or, equivalently, that the rms distance is √n). Students could compare the standard 2D random walk (where particles can only move up/down/left/right) vs a random walk where, in addition, 4 diagonal movements are also allowed (NW, NE, SW, SE). The latter is preferred for the nuclear fission project because it means that in the finest chessboard configuration (where the four nearest-neighbours of an M (F) cell are all F (M) cells) a neutron can move to either a F or M cell. The former means that in this same pile configuration the neutron will always move from to a cell of different type from the type of the cell in its initial position with 100% probability: i.e., always from M to F, or from F to M.
Changed:
<
<
-- Pedro Teixeira Dias - 18 March 2021
>
>
A random walk is an example of a Markov chain process.

-- Pedro Teixeira Dias - 2 April 2021

 

Comments

Revision 218 Mar 2021 - PedroTeixeiraDias

Line: 1 to 1
 
META TOPICPARENT name="Public.PedroTeixeiraDias"

PH3110 BSc projects / PTD

Line: 20 to 20
 
Changed:
<
<
-- Pedro Teixeira Dias - 14 Jan 2021
>
>

Random walks

One of the projects offered involves particles doing a random walk in two dimensions. More information about random walks (and an animation of a 2D random walk) can be found in the following:

One of the initial goals of the project could be to establish that the random walk used in the project does conform to the expected statistical properties of a truly random walk: eg that the expectation value of the distance travelled by particles after n steps is zero, and that the expectation value of the distance squared is n (or, equivalently, that the rms distance is √n). Students could compare the standard 2D random walk (where particles can only move up/down/left/right) vs a random walk where, in addition, 4 diagonal movements are also allowed (NW, NE, SW, SE). The latter is preferred for the nuclear fission project because it means that in the finest chessboard configuration (where the four nearest-neighbours of an M (F) cell are all F (M) cells) a neutron can move to either a F or M cell. The former means that in this same pile configuration the neutron will always move from to a cell of different type from the type of the cell in its initial position with 100% probability: i.e., always from M to F, or from F to M.

-- Pedro Teixeira Dias - 18 March 2021

 

Comments

Revision 114 Jan 2021 - PedroTeixeiraDias

Line: 1 to 1
Added:
>
>
META TOPICPARENT name="Public.PedroTeixeiraDias"

PH3110 BSc projects / PTD

Introduction

This TWiki topic collects some information that is relevant to the numerical simulation projects for PH3110 that are supervised by PTD.

Program structure / Flowchart

When developing a new computer program, it is essential to plan the main structure of the program before starting to actually write any code. Good code is modular and well documented. One key tool to help plan the structure of a computer program is to prepare a flowchart for the whole program, highlighting the main tasks/algorithms that the code will perform and the order they will be performed in. Separate additional flowcharts can also be used to provide further detail on certain parts of the code (eg if they are quite complex, and need a flowchart in their own right).

The following web pages introduce the basic ideas and conventions behind computer program flowcharts, with examples:

-- Pedro Teixeira Dias - 14 Jan 2021

Comments


<--/commentPlugin-->
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2021 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding RHUL Physics Department TWiki? Send feedback