Research / Environmental physics

Courtyard geometry
& direct sunlight.

How do courtyard proportions, wall height, and sun direction change the share of a floor exposed to direct sunlight?

The question

Geometry changes exposure.

Courtyards bring open sky into buildings. The width and length of an opening, the height of its walls, and the sun’s position determine where direct light can reach the floor.

This study holds floor area at 100 m² and evaluates 315 combinations of courtyard proportions, wall height and solar position. It applies a closed-form shadow-overlap calculation and checks the results with a separate ray-sampling method.

The quantity calculated is the fraction of floor in direct sunlight at a chosen solar angle. The model isolates geometric exposure; thermal response, comfort and energy use are outside its scope.

The analytical derivation, complete parameter sweep and numerical comparisons are available with the study.

Read the complete method

Interactive model

Change the geometry.
Follow the light.

Adjust the courtyard and sun position to see the calculation. Floor area remains 100 m²; all four walls share the same height.

Direct sunlight on a courtyard floor Top view of a 10 by 10 metre courtyard with 5 metre walls. At 45 degrees solar elevation and 45 degrees azimuth, 41.8 percent of the floor receives direct sunlight. PLAN VIEW · CONSTANT FLOOR AREA
10.00 m × 10.00 m · 100 m² floorDirect sunlightWall shadow

Floor in direct sunlight

41.8%

58.2% shaded

Calculated locally in your browser. A shared link includes the chosen inputs. Solar angles are user-defined, not calculated from a location or time. Model assumptions and limits.

Published results

Orientation matters.

The benchmark below compares three courtyard shapes at a fixed height and solar elevation.

Sunlit floor fraction by sun directionAt 45 degrees solar elevation, the 4 to 1 rectangle falls from 75 percent sunlit along its length to zero along its width. The square is 50 percent sunlit at both ends and about 42 percent at 45 degrees.0%25%50%75%100%0°30°60°90°Sun direction from length axis1:1 plan2:1 plan4:1 plan
Directly sunlit floor fraction at 45° solar elevation, 5 m wall height and 100 m² floor area. The horizontal axis turns the sun from the length axis (0°) toward the width axis (90°). This plot is fixed; it does not change with the interactive model above.

A long courtyard responds more strongly to sun direction.

With 5 m walls and 45° solar elevation, a 5 × 20 m courtyard has 75% of its floor in direct sun when the sun is along its length. At 90°, the same floor is fully shaded.

These comparisons describe sunlight at the specified moment. The seasonal and weather studies extend the analysis across time and sky conditions.

Sunlit floor · 100 m² · 5 m walls · 45° elevation
Shape0° sun45° sun90° sun
1:150.0%41.8%50.0%
2:164.6%37.5%29.3%
4:175.0%24.1%0.0%

Open research

Inspect. Reproduce.
Build on the work.

The release includes the analytical model, the full parameter sweep, and verification results. A supplementary script reproduces the numerical checks and Python–JavaScript comparison. The Python implementation uses only the standard library.

Published study code and data, including the supplementary reproduction script and verification report, are released under CC0. Attribution is appreciated; the ABLAQ identity is excluded from these reuse terms.

Suggested citation: ABLAQ Studios (2025). Courtyard geometry and direct sunlight. Version 1.0.2. ablaqstudios.com/research.

Reproduction instructions

Publication record and documentation updates

Research responsibility

Leadership, contributions,
and evidence.

Institutional author and publisher

ABLAQ Studios, a registered nonprofit organization in Jordan, publishes this computational study. Its methods, source code, data, and publication history are available in the release record.

Scientific research lead

Osama Khaled directs the study’s scientific questions, methods, interpretation and publication. His research profile describes this contribution across the series.

Research team

The team page identifies each researcher’s current programme responsibilities. This study’s authorship, scientific leadership, and computational methods are recorded here and in the methods record.

Review status and interpretation

This institutional computational report includes internal numerical verification. Our publication standards describe the series’ review status. The verification section documents the tested cases, methods and numerical agreement.

Questions and corrections

Send the study version, relevant inputs, and observed issue to osama.khaled@ablaqstudios.com.

Related investigations

Extend the question.