# 2.3: Lithospheric Thickness Jupyter Notebook

- Page ID
- 11361

Instructions

- To use this page, read the text between each of the python code windows, then press RUN to execute the code in the box.
- It is necessary to run each of the boxes in order.
- Don't click restart in the cells unless you come back to the top of the page and start over.
- If you modify the code, this modification will not remain after you leave or refresh this page.
- You must run simulations/cells that require user input to completion. Make sure you see the Message informing you a cell is complete before continuing to the next cell. Here's why you must do this:
- These cells may not be re-run until the simulation is completed, otherwise no output will be generated.
- All following cells will not run until the user input cell is completed.

- For Dropdown Menus: You do not need to rerun the cells with the menu to change your selection. However, you must rerun all of the following cells to implement the change.

Be patient, some times it can take 1-2 minutes for the juypter kernel to start.

An interactive example of how to calculate and plot the thickness of the lithosphere over time and distance from a spreading center.

**Key Questions: ** Consider these as you work your way through this page.

- Describe how does the thickness of the lithosphere change as it moves away from the ridge in time and distance. Follow one isotherm and observe how it changes. Is the rate of thickening constant? Where/when is it faster or slower?
- Why does the thickness change with distance from the ridge?
- Why is the lithosphere thicker at a distance 1000 km for u = 2 cm/yr compared to u = 5 cm/yr?

First, import the necessary packages:

Next, we define parameters and set up the necessary function. kappa is the thermal diffusion coefficient, age is the age of the lithosphere (it is created at the ridge), and Ts is the surface temperature. Tm is the temperature of the mantle, which is taken to be 1400C (ignoring the adiabatic depth dependence of temperature in the mantle). yr2my and sec2yr are conversion factors, and T is the range of isotherms that will be plotted. u_range is the range of spreading rates that we will consider. Then a diffusion profile function is created. This function does some unit conversions and solves for depth given the diffusion coefficient, age, spreading rate and the surface, mantle, and isotherm temperatures. The equation used in the function is the half-space cooling equation derived in 2.2: Geological Applications of the Diffusion Equation, but solved for depth.

The following cell plots the thickness of the lithosphere vs time and distance away from the ridge. The for loop changes the spreading rate and updates the graph accordingly in each iteration. u_current is the current spreading rate in the for loop from the array of spreading rates defined above. The first set of code in the for loop calculates the distance traveled given u_current. The ax1.plot commands are dummy lines needed to provide a second x-axis for age to the plot. For each spreading rate in the for loop, the diffusion function is called to calculate the depth for each isotherm (this is done in the lines starting with line.set_ydata- line3.set_ydata). The horizontal distance traveled is also calculated here for each velocity, x_new.

**Key Questions: ** Consider these as you work your way through this page.

- Describe how does the thickness of the lithosphere change as it moves away from the ridge in time and distance. Follow one isotherm and observe how it changes. Is the rate of thickening constant? Where/when is it faster or slower?
- Why does the thickness change with distance from the ridge?
- Why is the lithosphere thicker at a distance 1000 km for u = 2 cm/yr compared to u = 5 cm/yr?