TERRA early accessVersion 0.3Case-review availability is checked live
Terra MultiphysicsApply for early access

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
  1. Open the energy pile model
  2. Check the geometry
  3. Add the three soil layers
  4. Check the temperatures and flow
  5. Build the mesh
  6. Run for 20 days
  7. Compute and read the outlet temperature
  8. Look inside the ground

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
  1. 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.

    Terra's simple Thermal workflow view of the energy pile, with the Advanced tools button at the top right.
    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.

  2. 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.

    CardFieldValue
    Soil domainDomain3D box
    Soil domainDomain width / diameter (m)4.0
    Soil domainDomain depth (m)15.0
    Concrete pilePile radius (m)0.3
    Concrete pilePile / active depth (m)15.0
    Pipe circuitPipe patternsingle-U
    Pipe circuitPipe pitch radius (m)0.15
    The Soil domain card: a 3D box 4.0 m wide and 15.0 m deep.
    Open the whole Terra window (new tab)

    Check: The three cards show the values in the table.

  3. 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.

    NameBottom [m]kC_vol
    Clay31.52.9
    Sand92.42.2
    Gravelbottom (cannot be edited)2.82.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.

    The Soil card docked on the right with three layers, Clay to 3 m, Sand to 9 m and Gravel to the bottom, and the 3-D view showing them as clay, sand and gravel bands with a key.
    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.

  4. 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:

    FieldValue
    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 →.

    The Physics card with initial temperature 20, inlet temperature 8 and mass flow 0.05.
    Open the whole Terra window (new tab)

    Check: Inlet temperature reads 8 and Prescribed mass flow reads 0.05.

  5. Step 5: Build the mesh

    Click Build mesh. It takes a few seconds.

    The tetrahedral mesh of the block of ground around the pile.
    Open the whole Terra window (new tab)

    Check: The status bar reads Build mesh finished and Nodes 5,302.

  6. 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.

    FieldValue
    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.

    The Time dependent card with unit d, operating interval 20 and maximum time step 3600.
    Open the whole Terra window (new tab)

    Check: The card shows Operating interval [d] 20 and Maximum time step [s] 3600.

  7. 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.

    Results: the ground temperature in 3D and the outlet temperature plot, with outlet 10.82 degrees Celsius at 20 days.
    Open the whole Terra window (new tab)

    Check: Below the plot: Time 20.0 d, Outlet 10.82 °C, Inlet 8.00 °C.

  8. 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.

    The cutaway through the ground and pipe, showing the cooled ground along the pile and the outlet label 10.8179 degrees Celsius.
    Open the whole Terra window (new tab)

    Check: The label reads Outlet 10.8179 °C.

Check your answer

ResultYour Terra should show
Outlet temperature after 20 days10.82 °C (cutaway label 10.8179 °C)
Inlet temperature8.00 °C
Mesh5,302 nodes
Geometry4 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