1D2G - Numerical solution of the neutron diffusion equation

Similar documents
Computational Methods of Solid Mechanics. Project report

2 E. on each of these two surfaces. r r r r. Q E E ε. 2 2 Qencl encl right left 0

Chemical Engineering 412

EM Boundary Value Problems

Reading Assignment. Problem Description for Homework #9. Read Chapters 29 and 30.

Math 124B February 02, 2012

Absorption Rate into a Small Sphere for a Diffusing Particle Confined in a Large Sphere

$ i. !((( dv vol. Physics 8.02 Quiz One Equations Fall q 1 q 2 r 2 C = 2 C! V 2 = Q 2 2C F = 4!" or. r ˆ = points from source q to observer

Physics 2B Chapter 22 Notes - Magnetic Field Spring 2018

MONTE CARLO SIMULATION OF FLUID FLOW

I( x) t e. is the total mean free path in the medium, [cm] tis the total cross section in the medium, [cm ] A M

Scattering in Three Dimensions

Hopefully Helpful Hints for Gauss s Law

Question 1: The dipole

MAGNETIC FIELD AROUND TWO SEPARATED MAGNETIZING COILS

But for simplicity, we ll define significant as the time it takes a star to lose all memory of its original trajectory, i.e.,

15 Solving the Laplace equation by Fourier method

Homework 7 Solutions

Numerical Integration

Flux Shape in Various Reactor Geometries in One Energy Group

Physics 2A Chapter 10 - Moment of Inertia Fall 2018

Conservative Averaging Method and its Application for One Heat Conduction Problem

Chapter 3 Optical Systems with Annular Pupils

Surveillance Points in High Dimensional Spaces

3.6 Applied Optimization

Multiple Experts with Binary Features

Lecture 8 - Gauss s Law

12th WSEAS Int. Conf. on APPLIED MATHEMATICS, Cairo, Egypt, December 29-31,

B. Spherical Wave Propagation

Goodness-of-fit for composite hypotheses.

Internet Appendix for A Bayesian Approach to Real Options: The Case of Distinguishing Between Temporary and Permanent Shocks

Nuclear and Particle Physics - Lecture 20 The shell model

Black Body Radiation and Radiometric Parameters:

11) A thin, uniform rod of mass M is supported by two vertical strings, as shown below.

Pulse Neutron Neutron (PNN) tool logging for porosity Some theoretical aspects

ASTR415: Problem Set #6

c n ψ n (r)e ient/ h (2) where E n = 1 mc 2 α 2 Z 2 ψ(r) = c n ψ n (r) = c n = ψn(r)ψ(r)d 3 x e 2r/a0 1 πa e 3r/a0 r 2 dr c 1 2 = 2 9 /3 6 = 0.

DOING PHYSICS WITH MATLAB COMPUTATIONAL OPTICS

Qualifying Examination Electricity and Magnetism Solutions January 12, 2006

1 Spherical multipole moments

Section 8.2 Polar Coordinates

2. Electrostatics. Dr. Rakhesh Singh Kshetrimayum 8/11/ Electromagnetic Field Theory by R. S. Kshetrimayum

HW Solutions # MIT - Prof. Please study example 12.5 "from the earth to the moon". 2GmA v esc

Is there a magnification paradox in gravitational lensing?

Supplementary material for the paper Platonic Scattering Cancellation for Bending Waves on a Thin Plate. Abstract

As is natural, our Aerospace Structures will be described in a Euclidean three-dimensional space R 3.

OSCILLATIONS AND GRAVITATION

Physics 111 Lecture 5 (Walker: 3.3-6) Vectors & Vector Math Motion Vectors Sept. 11, 2009

Coarse Mesh Radiation Transport Code COMET Radiation Therapy Application*

Right-handed screw dislocation in an isotropic solid

Many Electron Atoms. Electrons can be put into approximate orbitals and the properties of the many electron systems can be catalogued

Fresnel Diffraction. monchromatic light source

Chapter 3: Theory of Modular Arithmetic 38

Math 2263 Solutions for Spring 2003 Final Exam

POISSON S EQUATION 2 V 0

Geometry of the homogeneous and isotropic spaces

PROBLEM SET #1 SOLUTIONS by Robert A. DiStasio Jr.

Lecture 7: Angular Momentum, Hydrogen Atom

The Schwartzchild Geometry

6.641 Electromagnetic Fields, Forces, and Motion Spring 2005

Chem 453/544 Fall /08/03. Exam #1 Solutions

Gauss s Law Simulation Activities

Physics 1502: Lecture 4 Today s Agenda

Physics 181. Assignment 4

Semi-Lagrangian simulations of the diocotron instability

In the previous section we considered problems where the

Stanford University CS259Q: Quantum Computing Handout 8 Luca Trevisan October 18, 2012

Part V: Closed-form solutions to Loop Closure Equations

Physics 2212 GH Quiz #2 Solutions Spring 2016

MASSACHUSETTS INSTITUTE OF TECHNOLOGY Physics Department Physics 8.07: Electromagnetism II September 15, 2012 Prof. Alan Guth PROBLEM SET 2

Module 05: Gauss s s Law a

PHYS 110B - HW #7 Spring 2004, Solutions by David Pace Any referenced equations are from Griffiths Problem statements are paraphrased

( ) [ ] [ ] [ ] δf φ = F φ+δφ F. xdx.

Phys-272 Lecture 17. Motional Electromotive Force (emf) Induced Electric Fields Displacement Currents Maxwell s Equations

Supplementary Figure 1. Circular parallel lamellae grain size as a function of annealing time at 250 C. Error bars represent the 2σ uncertainty in

Physics 121 Hour Exam #5 Solution

An Exact Solution of Navier Stokes Equation

ATMO 551a Fall 08. Diffusion

Do Managers Do Good With Other People s Money? Online Appendix

Light Time Delay and Apparent Position

13. The electric field can be calculated by Eq. 21-4a, and that can be solved for the magnitude of the charge N C m 8.

MASSACHUSETTS INSTITUTE OF TECHNOLOGY Physics Department. Problem Set 10 Solutions. r s

PES 3950/PHYS 6950: Homework Assignment 6

Review: Electrostatics and Magnetostatics

A generalization of the Bernstein polynomials

2 Governing Equations

Physics 235 Chapter 5. Chapter 5 Gravitation

CHAPTER 25 ELECTRIC POTENTIAL

1 Fundamental Solutions to the Wave Equation

Pressure Calculation of a Constant Density Star in the Dynamic Theory of Gravity

Flux. Area Vector. Flux of Electric Field. Gauss s Law

FE FORMULATIONS FOR PLASTICITY

School of Electrical and Computer Engineering, Cornell University. ECE 303: Electromagnetic Fields and Waves. Fall 2007

Electromagnetic Theory 1

On the Sun s Electric-Field

Electromagnetic scattering. Graduate Course Electrical Engineering (Communications) 1 st Semester, Sharif University of Technology

A New Approach to General Relativity

Web-based Supplementary Materials for. Controlling False Discoveries in Multidimensional Directional Decisions, with

Homework # 3 Solution Key

Dymore User s Manual Two- and three dimensional dynamic inflow models

Transcription:

DG - Numeical solution of the neuton diffusion equation Y. Danon Daft: /6/09 Oveview A simple numeical solution of the neuton diffusion equation in one dimension and two enegy goups was implemented. Both fast and themal fluxes, and the multiplication facto of the system ae solved fo. The implementation allows to divide the geomety to seveal egions and use diffeent meshing (numbe of gid points) in each egion. One example is a coe and eflecto, whee the themal flux peaking in the eflecto can be obseved. The teatment of the diffusion tem (Laplacian) allow geomety of slab, semi-cylinde and sphee.. Histoy The deivation and code wee developed as a final poject fo senio undegaduate couse in numeical computing that I took back in 988. The oiginal code was witten in Pascal (specifically Tubo Pascal) which was an upcoming pogamming language at that time. Late I used it in Physics of Nuclea Reacto couse at RPI as an example fo a numeical solution of the diffusion equation. The at pat of HW poblem the solution was compaed to simple analytic poblems. fo implementation in the couse tt was ewitten in MathCad and JavaScipt. The document is povided as a documentation of the methods used in the implementation. Solution method We stat by using the one dimension (-D) two goup (-G) diffusion equations deived in the class notes: Fast: D φ + Σ R φ = k (ν Σ f φ + ν Σ f φ ) () Themal: D φ + Σ a φ = Σ s φ () The oveall appoach was descibed in the class notes and will be epeated hee. Fo convenience we fist wite the equations using opeatos: We also define the souce tem as: L = D + Σ R (3) L = D + Σ a (4) S = ν Σ f φ + ν Σ f φ (5) S = Σ s φ (6)

The diffusion equations can be ewitten as:. Iteations L φ = k S (7) L φ = S (8) The method of solution is a vaiation of the simple souce iteation (also known as powe method). This is an iteative solution solves fo the multiplication facto k and the flux shapes φ () and φ (). Since this is a -D solution, we divide the spatial diection to N nodes (o N intevals) fom 0 to N. If needed the extapolation length can easily be added by making the coe size lage.. Guess an initial solution (iteation zeo) k 0, φ () 0 and φ () 0. Set iteation index i = 3. Calculate S i using S i = ν Σ f φ i + ν Σ f φ i 4. Solve fo φ () i using L φ i = S i k i 5. Calculate S i using S i = Σ s φ i 6. Solve fo φ () i using L φ i = S i 7. At this point we have new fluxes φ () i and φ () i 8. To solve fo k i use L φ i = S i k i and note that by integation we get: N k i 0 S i = () N k i 0 S i () (9) 9. Using the values fo iteation i the pocess can epeat fom step 3 until some convegence citeia is met. in this implementation we use: ki k i 00 < ɛ (0) k i Whee ɛ is a convegence citeia on k (fo example 0. %). Diffeence equation Now that the iteation pocess is defined a method to solve fo the spatial flux distibution is needed. This so called diffeence equation will solve the flux in equations 7 and 8. Fist wite a geneic -D diffusion equation: The leakage tem in -D can be witten as: D φ() + Σ a ()φ() = S() () D φ() = ρ [ d ( ρ D() dφ() ) ] ()

In this notation ρ = 0 is a slab, ρ = esembles infinite cylinde (z-axis is missing), and ρ = is fo a sphee. The poblem is defined between 0 a and the egion is divided to N nodes (N bins) such that the bin width is k = k+ k (k = 0..N ). Note that the bin widths ae not necessaily equal which povides some flexibility in the geomety desciption. Equation can thus be witten: d ( ρ D() dφ() ) = (Σ a φ() S()) ρ (3) To get a diffeence equation we integate fom k to k+ In this case k =,,..., N, we will deal with the bounday conditions of k = 0 and k = N in the next section. In this notation we use k+ = k + k and k ρ D() dφ() = k k k+ ρ D() dφ() k The ight tem is appoximated as constant in each bin: = k+ k (Σ a φ() S()) ρ (4) k+ k (Σ a φ() S()) ρ (Σ a ( k )φ( k ) S( k )) ρ k k k (5) fo the deivatives in 4 we used the following appoximations: dφ() dφ() k+ k The esults can now be placed back into 4: φ( k+) φ( k ) k+ k φ( k) φ( k ) k k = φ k+ φ k k (6) = φ k φ k k (7) ρ φ k+ φ k D k+ k+ ρ φ k φ k D k k k k = (Σ ak φ k S k ) ρ k k k (8) This equation can be eaanged to: whee: a k φ k + b k φ k + c k φ k+ = S k (9) a k = ρ k D k k ( k + k ) ρ k (0) ρ D k+ c k = k+ k ( k + k ) ρ k () b k = a k + c k Σ ak () 3

in this notation the diffusion coefficient as a function node numbe: and similaly fo D k+ D k = (D k + D k+ ) (3) = (D k + D k ) (4).3 Bounday conditions k+ k = ( k + k+ ) (5) = ( k + k ) (6) We use two bounday conditions (BC) at the cente of the coe (implies symmety) and at the dimension bounday. In this case the two bounday conditions ae: φ( N ) = 0 (7) dφ() = 0 =0 (8) The fist condition emove the last equation (N) and equation N becomes: a N φ N + b N φ N = S N (9) To deive the deivative BC we epeat the integation in equation 4, but this time with the inteval 0 to k+. Fo the case of ρ = 0 ( ρ = 0)we get: k+ 0 ρ D() dφ() (Σ a φ() S()) ρ (Σ a0 φ 0 S 0 ) 0 ρ D() dφ() = dφ() 0 k+ Thus the diffusion equation educes to: k+ (30) D 0 φ φ 0 0 (3) φ φ 0 D 0 = (Σ a0 φ 0 S 0 ) 0 0 (3) eaanging to the fom b 0 φ 0 + c 0 φ = S 0 esults in: b 0 = D 0 0 c 0 = D 0 0 + Σ a0 (33) fo the case of ρ > 0 we can appoximate = 0 fo this BC thus ρ = 0. which esults in: (34) D 0 φ φ 0 0 = S 0 (35) 4

and thus: b 0 = (36) c 0 = (37) When placed in matix notation we get: b 0 c 0 0.. φ 0 S 0 a b c 0.. φ S 0 a b c 0.. φ : : = S : : : :.. 0 a N b N c N φ N S N (38) In the implementation the a mateial matix is ceated fo the fast and themal egions..4 Matix invesion Thee ae seveal ways to solve equation 38 to get the flux vecto. In the implementation the Gaussian elimination method was selected because of its simplicity and efficiency. The deivation of the method can be found elsewhee. The fowad elimination: h 0 = c 0 b 0 (39) p 0 = S 0 (40) b 0 c k h k = k =,,..., N (4) b k a k h k p k = S k + a k p k b k a k h k k =,,..., N (4) Notice that if not constucted coectly, the paametes in the matix can cause division by zeo. Finally back substitution give the solution fo the neuton flux..5 Flux integation φ N = p N (43) φ k = p k + h k φ k+ k = N, N 3,..., 0 (44) In ode to solve fo the multiplication facto k, as descibed in equation 9, an integal of the flux is needed. Fo simplicity tapezoid integation can be used: RN 0 s () = N (S i + S i+ ) i (45) i=0 5