Tutorial 1 · about 25 minutes
Energy pile in layered soil
Build a 15 m energy pile with a single U-pipe in three soil layers, run it for 20 days and read the temperature of the fluid leaving the pipe.
- Terra Invite Beta 10
- Windows 10 or 11, 8 GB memory
- Compute takes about 1 minute
Steps
Before you start
- Terra Invite Beta 10 or later on a Windows 10 or 11 computer with at least 8 GB of memory, and your beta licence imported (in Terra: Help › Licence…). Building the mesh and Compute need the licence.
- About 25 minutes. You need no modelling experience: every value is in the tables below.
You will learn to
- open the energy pile model and check its geometry
- describe the ground as three soil layers
- set the fluid inlet, build the mesh and run 20 days
- read the outlet temperature and look at the ground around the pile
Step 1: Open the energy pile model
Start Terra Invite Beta 10. In the menu bar, click Examples › Energy pile - single-U. If Terra asks about unsaved changes, click Discard, or Save to keep your earlier work.
The first time, Terra opens the model in its simple Thermal workflow view, shown below. Click Advanced tools at the top right. The model tree appears on the left, and the stage strip Geometry › Materials › Physics › Conditions › Mesh › Run › Results along the top. Terra remembers this choice.
In the tree, click the small arrow beside an item to expand it. Right-click an item to open its card, and press Esc to close the card again.

Open the whole Terra window (new tab) Check: The title bar reads Energy pile · single-U. After Advanced tools, the tree on the left lists Geometry, Materials, Physics, Mesh, Study and Results.
Step 2: Check the geometry
Right-click Geometry › Soil domain, then Concrete pile, then Pipe circuit. Compare each card with the table. You do not need to change anything.
Card Field Value Soil domain Domain 3D box Soil domain Domain width / diameter (m) 4.0 Soil domain Domain depth (m) 15.0 Concrete pile Pile radius (m) 0.3 Concrete pile Pile / active depth (m) 15.0 Pipe circuit Pipe pattern single-U Pipe circuit Pipe pitch radius (m) 0.15 
Open the whole Terra window (new tab) Check: The three cards show the values in the table.
Step 3: Add the three soil layers
Expand Materials and right-click Soil. Click the pin at the top right of the card, so it docks on the right. Then click the arrow beside Output to fold that panel away and give the card room.
Under Soil layers (top to bottom), click + Add layer three times. Then double-click each cell, type the value from the table and press Enter.
Name Bottom [m] k C_vol Clay 3 1.5 2.9 Sand 9 2.4 2.2 Gravel bottom (cannot be edited) 2.8 2.0 k is the thermal conductivity in W/(m·K). C_vol is the volumetric heat capacity in MJ/(m³·K). The last layer always reaches the bottom of the block (15 m). Terra shows 2.0 as 2.

Open the whole Terra window (new tab) Check: The Soil row reads Soil domain · 3 layers. The 3-D view shows the layers as three bands: clay brown, sand and gravel grey, named with their depths in the key at its bottom right. Click Output to open it again: its last line reads Geometry built: 4 solid(s), which is three soil layers and the pile.
Step 4: Check the temperatures and flow
Click Continue to physics →. The card shows the starting temperature of the ground and the fluid that enters the pipe. Keep these values:
Field Value Shared initial temperature [°C] 20 Inlet temperature [°C] 8 Prescribed mass flow [kg/s] 0.05 Click Continue to conditions →: the pipe card repeats the inlet temperature and the flow. Then click Review mesh →.

Open the whole Terra window (new tab) Check: Inlet temperature reads 8 and Prescribed mass flow reads 0.05.
Step 5: Build the mesh
Click Build mesh. It takes a few seconds.

Open the whole Terra window (new tab) Check: The status bar reads Build mesh finished and Nodes 5,302.
Step 6: Run for 20 days
In the tree, expand Study and click Study 1. In its card, click Edit operating interval. Set the three values below and press Enter after each one.
Field Value Unit (the list at the top of the card) d Operating interval [d] 20 Maximum time step [s] 3600 The maximum time step limits each solver step to one hour. With the template's 100 s, 20 days would take many times longer.

Open the whole Terra window (new tab) Check: The card shows Operating interval [d] 20 and Maximum time step [s] 3600.
Step 7: Compute and read the outlet temperature
Click Compute at the top right. The status bar shows the elapsed time; on a typical laptop the run takes about a minute.
Terra then opens 3D ground temperature with the plot Outlet temperature vs time. The fluid enters at 8 °C and leaves warmer, because the 20 °C ground heats it. The outlet temperature falls over the first days as the ground around the pile cools.

Open the whole Terra window (new tab) Check: Below the plot: Time 20.0 d, Outlet 10.82 °C, Inlet 8.00 °C.
Step 8: Look inside the ground
In the tree, click Results › Ground + pipe cutaway. The cut shows the cooled ground along the whole pipe. The label at the top left gives the outlet temperature to four decimals.

Open the whole Terra window (new tab) Check: The label reads Outlet 10.8179 °C.
Check your answer
| Result | Your Terra should show |
|---|---|
| Outlet temperature after 20 days | 10.82 °C (cutaway label 10.8179 °C) |
| Inlet temperature | 8.00 °C |
| Mesh | 5,302 nodes |
| Geometry | 4 solids: three soil layers and the pile |
If your numbers differ
- Check the layer table: the bottoms at 3 m and 9 m, and k and C_vol for each layer. Each value changes the result.
- Check step 6: the unit d, the interval 20 and the maximum time step 3600.
- If Build mesh or Compute asks for a valid invitation, import your beta licence (in Terra: Help › Licence…) and try again.
Limits of this model
- Heat moves through the ground by conduction only. There is no groundwater flow in this model.
- The ground starts at a uniform 20 °C, and the fluid enters at a constant 8 °C and 0.05 kg/s.
- The outlet temperature is the model's result for these inputs, not a design value for a real site.
Next tutorial: Slope stability of a road cutting →All tutorials