12.3.11. Solar Load Model

ANSYS Fluent provides a solar load model that can be used to calculate radiation effects from the sun’s rays that enter a computational domain. Two options are available for the model: solar ray tracing and DO irradiation. The ray tracing approach is a highly efficient and practical means of applying solar loads as heat sources in the energy equations. In cases where you want to use the discrete ordinates (DO) model to calculate radiation effects within the domain, an option is available to supply outside beam direction and intensity parameters directly to the DO model. The solar load model includes a solar calculator utility that can be used to construct the sun’s location in the sky for a given time-of-day, date, and position. Solar load is available in the 3D solver only, and can be used to model steady and unsteady flows.

12.3.11.1. Introduction

Typical applications that are well-suited for solar load simulations include the following:

  • automotive climate control (ACC) applications

  • human comfort modeling applications in buildings

The effects of solar loading are needed in many ACC applications, where the temperature, humidity, and velocity fields around passengers (and drivers) are desired. ACC systems are tested for their capacity to cool down passenger compartments after they have been “soaked” in intense solar radiation. ANSYS Fluent’s solar load model will enable you to simulate solar loading effects and predict the time it will take to reasonably cool down the cabin of a car that has been exposed to solar radiation, as well as predict the time interval needed to lower the temperature in specified points and areas within the domain.

In the analysis of buildings, solar loading provides a significant burden on the cooling requirement in warm climates, particularly where architects want to use the aesthetics of glazed facades. Even in cooler climates, solar loading can provide a burden during warmer seasons where modern buildings are well insulated against thermal loss during winter months. As well as providing an engineer with a practical tool for determining the solar heating effect inside a building, ANSYS Fluent’s solar load model will allow the solar transmission through all glazed surfaces to be determined over the course of a day, allowing important decisions to be made before undertaking any flow studies. ANSYS Fluent’s solar load model also allows you to simulate porous blinds, which can transmit a portion of the solar radiation while also allowing fluid flow.

12.3.11.2. Solar Ray Tracing

The solar load model’s ray tracing algorithm can be used to predict the direct illumination energy source that results from incident solar radiation. It takes a beam that is modeled using the sun position vector and illumination parameters, applies it to any or all wall, porous jump, and inlet/outlet boundary zones that you specify, performs a face-by-face shading analysis to determine well-defined shadows on all boundary faces and interior walls, and computes the heat flux on the boundary faces that results from the incident radiation.


Important:  The solar ray tracing model includes only boundary zones that are adjacent to fluid zones in the ray tracing calculation. Therefore, boundary zones that are attached to solid zones are treated as transparent and are not included in the ray tracing algorithm.


The resulting heat flux that is computed by the solar ray tracing algorithm is coupled to the ANSYS Fluent calculation via a source term in the energy equation. The heat sources are added directly to computational cells bordering each face and are assigned to adjacent cells in the following order: shell conduction cells, solid cells, and fluid cells. Heat sources are assigned to one of these types of adjacent cells, only. You can choose to override this order and include adjacent fluid cells in the solar load calculation by issuing a command in the text user interface (see Text Interface-Only Commands for details). Note that the sun position vector and solar intensity can be entered either directly by you or computed from the solar calculator. Direct and diffuse irradiation parameters can also be specified using a user-defined function (UDF) and hooked to ANSYS Fluent in the Radiation Model dialog box.

The solar ray tracing option allows you to include the effects of direct solar illumination as well as diffuse solar radiation in your ANSYS Fluent model. A two-band spectral model is used for direct solar illumination and accounts for separate material properties in the visible and infrared bands. A single-band hemispherical-averaged spectral model is used for diffuse radiation. Opaque materials are characterized in terms of two-band absorptivities. A semi-transparent material requires specification of absorptivity and transmissivity. Values that you specify for transmissivity and absorptivity are defined for normal incident rays. ANSYS Fluent recomputes/interpolates these values for the given angle of incidence.

The solar ray tracing algorithm also accounts for internal scattered and diffusive loading. The reflected component of direct solar irradiation is tracked. A fraction of this radiative heat flux, called internally scattered energy is applied to all the surfaces participating in the solar load calculation, weighted by area. The internally scattered energy depends on the scattering fraction that is specified in the TUI, whose default value is . Depending on the reflectivity of the primary surface, the scattering fraction can be responsible for the inclusion (or exclusion) of a large amount of radiation within the rest of the domain.

Also included as internally scattered energy is the contribution of the transmitted component of diffuse solar irradiation (which enters a domain through semi-transparent walls depending upon the hemispherical transmissivity). The total value of internally scattered energy is reported to the ANSYS Fluent console. The ambient flux is obtained by dividing the internally scattered energy by the total surface area of the faces participating in the solar load calculation.

Note that Solar Ray Tracing is not a participating radiation model. It does not deal with emission from surfaces, and the reflecting component of the primary incident load is distributed uniformly across all surfaces rather than being local to the surfaces reflected to. If surface emission is an important factor in your case then you can consider implementing a radiation model (for example, P-1) in conjunction with Solar Ray Tracing.

Note the following limitation when using the solar ray tracing model:

  • Non-conformal interfaces are not supported with the solar ray tracing model.

12.3.11.2.1. Shading Algorithm

The shading calculation that is used for solar ray tracing is a straightforward application of vector geometry. A ray is traced from the centroid of a test face in the direction of the sun. Every other face is checked to determine if the ray intersects the candidate face and if the candidate face is in front of the test face. If both conditions are met, then an opaque face completely shades the test face. A semi-transparent face attenuates the incident energy.

A Barycentric coordinate formulation is used to construct triangle-ray intersections. A quadrilateral ray intersection method is used to handle the case when model surfaces contain quadrilaterals. A quad-tree preprocessing step is applied to reduce the ray tracing algorithm complexity that can lead to long run times for faces and greater. The quad-tree refinement factor can be modified in the text interface. The default value of this parameter is , which is sufficient to cover the entire spectrum of mesh sizes between one cell and five million cells. If the mesh is greater than five million cells, an increase in this parameter would reduce the CPU time needed to compute the solar loads.

12.3.11.2.2. Glazing Materials

Incident solar radiation can be applied to glass and plastic glazing materials of various types at wall boundaries, and the effects of coated glazings modeled using the solar ray tracing algorithm. To model solar optical properties, you will need to specify the transmissivity and reflectivity of the material in the Wall boundary conditions dialog box. You can obtain these values from the glass (or plastic) manufacturer or use data from another source (for example, ASHRAE Handbook).

Glazing optical properties are dependent on incident angle, and the variation is significant for an incident angle greater than degrees. As the incident angle increases from zero, transmissivity decreases, reflectivity increases, and absorptivity increases initially due to lengthened optical path, and then decreases as more incident radiation is reflected. The shape of the property curve varies with glass type and thickness. This difference is more pronounced for coated glass or for a multiple-pane glazing system. It cannot be assumed that all glazing systems have a universal angular dependence.

For coated glazings, the spectral transmissivity and reflectivity at any incident angle are approximated in the solar load model from the normal angle of incidence  [31].

Transmissivity is given by

(12–11)

where

(12–12)

Reflectivity is given by

(12–13)

where

(12–14)

The constants used in Equation 12–11 and Equation 12–13 are for coated glazings and are taken from Finlayson and Arasteh.  [31]. The normal transmissivity and reflectivity, and are specified in the Wall boundary conditions dialog box.

12.3.11.2.3. Inputs

The following inputs are required for the solar ray tracing algorithm:

  • sun direction vector

  • direct solar irradiation

  • diffuse solar irradiation

  • spectral fraction

  • direct and IR absorptivity (opaque wall)

  • direct and IR absorptivity and transmissivity (semi-transparent wall and porous jump)

  • diffuse hemispherical absorptivity and transmissivity (semi-transparent wall)

  • solar transmissivity factor

  • quad tree refinement factor

  • scattering fraction

  • ground reflectivity

The sun direction vector is the direction vector looking to the sun, from which the direct irradiation will be incident. You can enter the vector components (X, Y, Z) and the direct and diffuse solar irradiation fluxes in the Radiation Model dialog box, or you can have these parameters derived from the solar calculator. These irradiation fluxes can also be specified using a user-defined function (User-Defined Functions (UDFs) for Solar Load). The spectral fraction is the final input in the Radiation Model dialog box. This defines the split of visible and infra-red (shortwave and longwave respectively) radiation, specifically the fraction of the direct irradiation flux that is in the visible band. These quantities can also be defined through the text interface.

The scattering fraction defines the amount of non-absorbed radiation that will be distributed (uniformly) across all participating surfaces. This is required as the solar load model does not track the rays beyond the first opaque surface. Therefore, a highly glazed space where incident radiation is likely to be reflected back out will have a low value. Conversely, a predominantly opaque (wall-bounded) space where reflected radiation is likely to be incident upon (and ultimately absorbed by) other opaque surfaces will have a high value. This parameter is defined through the text interface only, taking a default value of 1.0:

define → models → radiation → solar-parameters → scattering-fraction

The ground reflectivity is used by the solar calculator to compute the background diffuse radiation intensity component contributed to by radiation reflected off the ground. This should be based on typical figures for the surface reflectivity of the outside ground surfaces. By default this is set to 0.2, but can be adjusted through the text-interface:

define → models → radiation → solar-parameters → ground-reflectivity

The quad-tree-refinement parameter determines the level of detail used by the shading algorithm. By default this is set to 7 which will generally work well, but can lie between 0 and 10. This is defined only through the text interface:

define → models → radiation → solar-parameters → quad-tree-refinement

Further details on the text interface-only entries is provided later in this section (see Text Interface-Only Commands).

The absorptivity and transmissivity parameters related to a wall or porous jump are entered in the Wall (under the Radiation tab) or Porous Jump boundary condition dialog box, respectively, for the particular boundary zones you want to participate in solar ray tracing. On flow boundaries you have a solar transmissivity factor to allow you to attenuate the incoming solar flux, for example, set to 1 for a fully open inlet or set to 0 for a light obscuring louvered inlet.

12.3.11.3. DO Irradiation

The solar load model’s discrete ordinates (DO) irradiation option provides you with an easy means of applying a solar load directly to the DO model. Unlike the ray tracing solar load option, the DO irradiation method does not compute heat fluxes and apply them as heat sources to the energy equation. Instead, the irradiation flux is applied directly to semi-transparent walls (which you specify) as a boundary condition, and the radiative heat transfer is derived from the solution of the DO radiative transfer equation.

The following inputs are required for DO irradiation at semi-transparent walls:

  • direct irradiation

  • diffuse irradiation

  • beam direction

  • beam width

  • diffuse fraction

In the Wall boundary condition dialog box for each semi-transparent wall you want to participate in DO irradiation, you can specify that the beam direction, direct irradiation, and diffuse irradiation be derived from the solar parameters (for example, solar calculator) that you set (or compute) in the Radiation Model dialog box. This is done by checking the Use Beam Direction from Solar Load Model Settings and Use Direct and Diffuse Irradiation from Solar Load Model Settings boxes. When selected, ANSYS Fluent sets the beam width (the angle subtended by the sun) to the default value of degrees for DO irradiation.


Important:  Note that the sign of the beam direction that is needed for the DO model is opposite the sun direction vector that is entered or derived from the solar parameters. The beam direction in the DO model is the direction of external radiation (for example, radiation coming from the sun), while the sun direction vector in the solar load model points to the sun. Incident radiation and the sun angle always have an opposite sign since they are quantities that are defined from opposite perspectives.


12.3.11.4. Solar Calculator

ANSYS Fluent provides a solar calculator that can be used to compute solar beam direction and irradiation for a given time, date, and position. These values can be used as inputs to the solar ray tracing algorithm or as semi-transparent wall boundary conditions for discrete ordinates (DO) irradiation.

12.3.11.4.1. Inputs/Outputs

Inputs needed for the solar calculator are:

  • global position (latitude, longitude, time zone)

  • starting date and time

  • mesh orientation

  • solar irradiation method

  • sunshine factor

Global position consists of latitude, longitude, and time zone (relative to GMT). The time of day for a transient simulation is the starting time plus the flow-time. For mesh orientation, you will need to specify the North and East direction vector in the CFD mesh. The default solar irradiation method is Fair Weather Conditions. Alternatively, you can choose the Theoretical Maximum method. The sunshine factor is simply a linear reduction factor for the computed incident load that allows for cloud cover to be accounted for, if appropriate.

You can specify these inputs in the Solar Calculator dialog box that is accessible from the Radiation Model dialog box (Figure 12.35: The Solar Calculator Dialog Box). Alternatively, you can enter the parameters using text interface commands (Additional Text Interface Commands).

The following values are computed by the solar calculator and are displayed in the console whenever the solar calculator is used:

  • sun direction vector

  • sunshine fraction

  • direct normal solar irradiation at earth’s surface

  • diffuse solar irradiation - vertical and horizontal surface

  • ground reflected (diffuse) solar irradiation - vertical surface

Direct normal solar irradiation is computed using the ASHRAE Fair Weather Conditions method, when this option is selected in the solar calculator. Note: Equation 20 and Table 7 from Chapter 30 of the 2001 ASHRAE Handbook of Fundamentals. The theoretical maximum values for direct normal solar irradiation and diffuse solar irradiation are computed using NREL’s Theoretical Maximum method, when this option is selected. In practice, these values are unlikely to be experienced due to atmospheric conditions.

ANSYS Fluent computes the diffuse solar irradiation components (vertical and horizontal) internally for each face in the domain. When the Theoretical Maximum method is chosen, these diffuse irradiation values provide estimates for the maximum vertical and horizontal surface effects.

12.3.11.4.2. Theory

ANSYS Fluent provides two options for computing the solar load: Fair Weather Conditions method and Theoretical Maximum method. Although these methods are similar, there is a key difference. The Fair Weather Conditions method imposes greater attenuation on the solar load, which is representative of atmospheric conditions that are fair–but not completely clear.

The equation for normal direct irradiation applying the Fair Weather Conditions Method is taken from the ASHRAE Handbook:

(12–15)

where and are apparent solar irradiation at air mass and atmospheric extinction coefficient, respectively. These values are based on the earth’s surface on a clear day. is the solar altitude (in degrees) above the horizontal.

The equation for direct normal irradiation that is used for the Theoretical Maximum Method is taken from NREL’s Solar Position and Intensity Code (Solpos):

(12–16)

where is the top of the atmosphere direct normal solar irradiance and is the correction factor used to account for reduction in solar load through the atmosphere.

The calculation for the diffuse load in the solar model is based on the approach suggested in the 2001 ASHRAE Fundamental Handbook (Chapter 20, Fenestration). The equation for diffuse solar irradiation on a vertical surface is given by:

(12–17)

where is a constant whose values are given in Table 7 from Chapter 30 of the 2001 ASHRAE Handbook of Fundamentals, is the ratio of sky diffuse radiation on a vertical surface to that on a horizontal surface (calculated as a function of incident angle), and is the direct normal irradiation at the earth’s surface on a clear day.

The equation for diffuse solar irradiation for surfaces other than vertical surfaces is given by:

(12–18)

where is the tilt angle of the surface (in degrees) from the horizontal plane.

The equation for ground reflected solar irradiation on a surface is given by:

(12–19)

where is the ground reflectivity. The total diffuse irradiation on a given surface will be the sum of and when the input for diffuse solar radiation is taken from the solar calculator. Otherwise, if the constant option is selected in the Radiation dialog box, then the total diffuse irradiation will be the same as specified in the dialog box.

12.3.11.4.3. Computation of Load Distribution

In calculating the solar load that will be incident on each surface, it is necessary to distinguish between the calculation of diffuse and direct solar loads. A direct load will be tracked from participating transmissive boundary surfaces and non-participating boundary surfaces, the former provides some opportunity to attenuate the incoming flux by absorption and reflection, while the non-participating surfaces allow the flux to enter without any drop in intensity. The direct load is then tracked through the model space until it is incident on an opaque surface, or it exists through a transmissive or non-participating boundary zone. During its passage, its intensity will be attenuated as it passes through participating semi-transparent internal walls, where some radiation may be absorbed and some may be reflected. The total amount of direct radiation that is reflected at internally facing surfaces will be added to the scattered radiation budget for further use later.

The diffuse load originates at participating transmissive boundary surfaces. It is these surfaces that permit diffuse radiation to enter, irrespective of their orientation relative to the direction vector. For each transmissive surface, some of the incoming diffuse load may be immediately absorbed and/or reflected to the outside. The rest is assumed to be transmitted inside and summed from all of these surfaces to give an initial diffuse budget. Onto this budget is added a fraction of the previously computed scattered radiation from the direct load, the fraction used is defined as an input to the model. This provides the total diffuse load. This is then uniformly distributed across all surfaces that are participating in the solar calculation, irrespective of whether they are opaque or semi-transparent. There is no scope to define local absorptivity for this distribution and no biasing with regards proximity to transmissive surfaces. Note that a non-participating boundary zone will allow direct load to enter the model space but will not provide an incoming quantity of diffuse load.

Note that the solar flux that is externally incident on an opaque surface will be completely disregarded, for example solar load on an opaque roof of a model whose internals only are modeled will not be included as a heat gain. Instead, this heat gain should be manually calculated and applied as a thermal condition, typically using a fixed heat flux or a radiation/mixed condition.

12.3.11.5. Using the Solar Load Model

When you want to run a steady-state solution with solar load enabled, you simply set up the solar load model (Setting Up the Solar Load Model) and boundary conditions (Setting Boundary Conditions for Solar Loading) for your case, and then run the simulation. The solution data file will contain the solar fluxes that you can use for postprocessing. For a steady-state solution, the solar loads are computed on initialization. If you want to initially solve a case without solar loading (say, for stability) and then add the effects of solar loading afterward, you will need to enable the solar load model through the text user interface (TUI).


Important:  Note that you can compute the solar load at any time once you have set up the model by using the sol-on-demand text interface command (see Additional Text Interface Commands for details).


When you want to run a transient solar load simulation, the process is the same as for the steady-state case but you will need to specify the additional Time Steps per Solar Load Update parameter in the Radiation Model dialog box. ANSYS Fluent will re-compute the sun position and irradiation and update solar loads with this specified frequency.


Important:  Note that parallel simulations involving the solar load model are set up and computed using the same steps as in serial.


12.3.11.5.1. User-Defined Functions (UDFs) for Solar Load

You can write a user-defined function (UDF) to specify direct and diffuse solar intensity using the DEFINE_SOLAR_INTENSITY macro. See DEFINE_SOLAR_INTENSITY in the  for more information. After it is interpreted or compiled, you can hook your intensity UDF for direct or diffuse solar irradiation by selecting user-defined in the drop-down lists for these parameters in the Radiation Model dialog box. See Step 2 in Setting Up the Solar Load Model for details.

12.3.11.5.2. Setting Up the Solar Load Model

The solar load model is enabled in the Radiation Model dialog box (Figure 12.32: The Radiation Model Dialog Box).

 Setup → Models → Radiation  Edit...

Figure 12.32:  The Radiation Model Dialog Box

The Radiation Model Dialog Box


Important:  Solar load is available in the 3D solver only, and can be used to model steady and unsteady flows.


The solar load model has two options: Solar Ray Tracing and DO Irradiation. Solar Ray Tracing can be applied as a stand-alone solar loading model, or it can be used in conjunction with one of the ANSYS Fluent radiation models (P1, Rosseland, Discrete Transfer, Surface-to-Surface, Discrete Ordinates). DO Irradiation is available only when the Discrete Ordinates (DO) radiation model is enabled.

To set up the solar load model, perform the following steps:

  1. Enable the solar load model in the Radiation Model Dialog Box.

    1. To enable the solar ray tracing algorithm, select Solar Ray Tracing under Solar Load (Figure 12.33: The Radiation Model Dialog Box (With Solar Load Model Solar Ray Tracing Option)).

      Figure 12.33:  The Radiation Model Dialog Box (With Solar Load Model Solar Ray Tracing Option)

      The Radiation Model Dialog Box (With Solar Load Model Solar Ray Tracing Option)

    2. To enable the DO irradiation option, first select Discrete Ordinates under Model, and then select DO Irradiation under Solar Load (Figure 12.34: The Radiation Model Dialog Box (with Solar Load Model DO Irradiation Option)).

      Figure 12.34:  The Radiation Model Dialog Box (with Solar Load Model DO Irradiation Option)

      The Radiation Model Dialog Box (with Solar Load Model DO Irradiation Option)

  2. Define the solar parameters.

    1. Enter values for the X, Y, and Z components of the Sun Direction Vector. Alternatively, you can choose to have this vector computed from the solar calculator by enabling the Use Direction Computed from Solar Calculator option.

    2. Specify the illumination parameters.

      1. Enter a value for Direct Solar Irradiation under Illumination Parameters. This parameter is the amount of energy per unit area in due to direct solar irradiation. This value may depend on the time of year and the clearness of the sky. Make your selection in the drop-down list next to Direct Solar Irradiation and either enter a constant value, have the value computed from the solar calculator, or specify it using a user-defined function. (For more information on writing solar intensity UDFs, see DEFINE_SOLAR_INTENSITY in the Fluent Customization Manual.) For transient simulations, you have the additional option of specifying a time-dependent piecewise-linear and polynomial profile for direct solar irradiation.

      2. Enter a value for Diffuse Solar Irradiation, which is the amount of energy per unit area in due to diffuse solar irradiation. This value may depend on the time of year, the clearness of the sky, and also on ground reflectivity. Make your selection in the drop-down list next to Diffuse Solar Irradiation and either enter a constant value, have the value computed from the solar calculator, or specify it using a user-defined function. (For more information on writing solar intensity UDFs, see DEFINE_SOLAR_INTENSITY in the .) For transient simulations, you have the additional option of specifying a time-dependent piecewise-linear and polynomial profile for diffuse solar irradiation.

      3. If you are using the Solar Ray Tracing solar load model (Figure 12.33: The Radiation Model Dialog Box (With Solar Load Model Solar Ray Tracing Option)), then you will need to enter a value for Spectral Fraction. The spectral fraction is the fraction of incident solar radiation in the visible part of the solar radiation spectrum. The spectral fraction is not used for DO irradiation since the DO implementation is intended only for a single band.

        (12–20)

        where is the visible incident solar radiation, and is the total incident solar radiation (visible plus infrared).

  3. Use the solar calculator to compute solar beam direction and irradiation.

    1. Click Solar Calculator... in the Radiation Model dialog box to open the Solar Calculator dialog box (Figure 12.35: The Solar Calculator Dialog Box).

      Figure 12.35:  The Solar Calculator Dialog Box

      The Solar Calculator Dialog Box

    2. In the Solar Calculator dialog box, define the Global Position by the following parameters:

      1. Enter a real number in degrees for Longitude. Values may range from to where negative values indicate the Western hemisphere and positive values indicate the Eastern hemisphere.

      2. Enter a real number for Latitude in degrees. Values can range from (the South Pole) to (the North Pole), with defined as the equator.

      3. Enter an integer for Timezone that is the local time zone in hours relative to Greenwich Mean Time (+-GMT). This value can range from to .


      Important:  Note that you must specify all three Global Position parameters for the solar calculator.


    3. Define the local Date and Time by the following parameters:

      1. Enter an integer for Day and Month under Day of Year.

      2. Enter an integer for Hour that ranges from to under Time of Day. Enter an integer or floating point number for Minute.

        The time of day is based on a 24-hour clock: hours and minutes corresponds to 12:00 a.m. and hours min corresponds to 11:59.99 p.m. For example, if the local time was 12:01:30 a.m., you would enter 0 for Hour and 1.5 for Minute. If the local time was 4:17 p.m., you would enter 16 for Hour and 17 for Minute.

    4. Define the Mesh Orientation as the vectors for North and East in the CFD mesh system of coordinates.

    5. Select the appropriate Solar Irradiation Method. The Fair Weather Conditions is the default method.

    6. Enter an integer for Sunshine Fraction (default = ).

    7. Click Apply.

      The solar calculator output parameters are computed and the results are reported in the console. The default values are shown below:

       Fair Weather Conditions:
        Sun Direction Vector: X: -0.0785396, Y: 0.170758, X: 0.982178
        Sunshine Fraction: 1
        Direct Normal Solar Irradiation (at Earth’s surface) [W/m^2]:
        881.635
        Diffuse Solar Irradiation - vertical surface: [W/m^2]:
        152.107
        Diffuse Solar Irradiation - horizontal surface: [W/m^2]:
        118.727
        Ground Reflected Solar Irradiation - vertical surface: [W/m^2]:
        96.4649 
      
  4. For transient simulations, enter the Time Steps Per Solar Load Update under Update Parameters. The number of time steps that you specify will direct the ANSYS Fluent solver to update the solar load data for the specified flow-time intervals in the unsteady solution process.

12.3.11.5.3. Setting Boundary Conditions for Solar Loading

Once you have defined the solar parameters for the solar load model (Setting Up the Solar Load Model), you will need to set up boundary conditions for boundary zones that will participate in solar loading. The boundary condition dialog boxes can be opened by right-clicking the boundary name in the tree (under Setup/Boundary Conditions) and clicking Edit... in the menu that opens; alternatively, you can open them from the Boundary Conditions task page:

 Setup →   Boundary Conditions

12.3.11.5.4. Solar Ray Tracing

Note:  Solar ray tracing is designed to be applied to your geometrical information, therefore, you must include every side of the external, or outer, enclosure/boundary for ray-tracing purposes, unless you expect that solar irradiation cannot enter through such boundaries. If you exclude any internal zone from the solar load computation, then this would mean that the resulting obstruction or blockage has been removed which would also be equivalent to a transparent surface. Excluded walls will also not participate in the computation of scattered energy by the solar load model and, therefore, do not gain any heat from scattered energy.


  1. Set the boundary condition for each inlet and exit boundary zone that you want to include in solar loading.

    1. Open the inlet or exit boundary condition dialog box (for example, Velocity Inlet) and click the Radiation tab (Figure 12.36: The Velocity Inlet Dialog Box).

      Figure 12.36:  The Velocity Inlet Dialog Box

      The Velocity Inlet Dialog Box

    2. Enable the Participates in Solar Ray Tracing option (this option is enabled for all boundary conditions by default). If you deactivate solar ray tracing by disabling this option the surface will be ignored and the solar ray will pass through it with no interaction, regardless of the boundary condition type.

    3. Enter a value between 0 and 1 for the Solar Transmissivity Factor. This will allow you to control the amount of solar irradiation entering the domain. By reducing the solar transmissivity factor from 1 to 0.5, you can effectively cut the total internal energy source entering the domain by half.


      Important:  Note that the solar transmissivity factor is applied to both direct and diffuse solar irradiation components.


    4. Click OK.

  2. Set the boundary condition for each wall boundary zone that you want to include in solar loading.

    1. Open a Wall boundary condition dialog box and click the Radiation tab.

    2. Define the wall as opaque or semi-transparent. (An opaque wall will not allow any solar radiation to pass through it, while a semi-transparent surface will allow a portion of the solar radiation to pass through it.)

      1. For an opaque wall, select opaque from the drop-down list for BC Type (Figure 12.37: The Wall Dialog Box). Then enable the Participates in Solar Ray Tracing option (this option is enabled for all boundary conditions by default) in the Solar Boundary Conditions group box and enter constant values for Direct Visible and Direct IR absorptivity. Note that if you deactivate solar ray tracing by disabling the Participates in Solar Ray Tracing option, the surface will be ignored and the solar ray will pass through it with no interaction, regardless of the boundary condition type.


        Important:  Absorption in the visible and infrared portions of the spectrum define the surface material for the opaque wall.


        Figure 12.37:  The Wall Dialog Box

        The Wall Dialog Box

      2. For a semi-transparent wall, select semi-transparent from the drop-down list for BC Type (Figure 12.38: The Wall Dialog Box). Then, enable the Participates in Solar Ray Tracing option (this option is enabled for all boundary conditions by default) in the Solar Boundary Conditions group box and enter constant values for Direct Visible, Direct IR, and Diffuse Hemispherical absorptivity and transmissivity. Note that if you deactivate solar ray tracing by disabling the Participates in Solar Ray Tracing option, the surface will be ignored and the solar ray will pass through it with no interaction, regardless of the boundary condition type.

        Figure 12.38:  The Wall Dialog Box

        The Wall Dialog Box


        Important:  For semitransparent coupled walls, the solar ray tracing settings are defined on the original wall and not on the shadow wall.


        Absorption and transmittance in the visible and infrared portions of the spectrum, as well as the “shading” formulation (Diffuse Hemispherical), define the surface material for a semi-transparent wall. These parameters are properties of the glazed unit and should be provided by the glazing manufacturer. The direct components are based on normal incident radiation (ANSYS Fluent adjusts this for the actual angle of incidence). Most manufacturers present this information in a slightly different way so it may be necessary to seek guidance from the supplier. Another useful source of data can be found in the ASHRAE Fundamentals Handbook, chapter on Fenestration.

      3. Click OK.


    Important:  ANSYS Fluent will calculate the reflectivity as the difference between one and the sum of absorptivity and transmissivity:

    (12–21)


  3. Set the boundary condition for each porous jump boundary zone that you want to include in solar loading. You can define the boundary such that it acts as a semi-transparent surface that will allow a portion of the solar radiation to pass through it, along with fluid flow. In this way you can represent a partial opening (for example, a grate, a grill, or a louver) that is a combination of gaps and (typically) opaque surfaces.

    1. Open the Porous Jump boundary condition dialog box (Figure 12.39: The Porous Jump Dialog Box).

      Figure 12.39:  The Porous Jump Dialog Box

      The Porous Jump Dialog Box

    2. Define the Face Permeability, Porous Medium Thickness, Pressure-Jump Coefficient, and Thermal Contact Resistance as described in User Inputs for the Porous Jump Model.

    3. Define the settings in the Solar Boundary Conditions group box.

      1. Enable the Participates in Solar Ray Tracing option (this option is enabled for all boundary conditions by default). Note that if you deactivate solar ray tracing by disabling the Participates in Solar Ray Tracing option, the surface will be ignored and the solar ray will pass through it with no interaction, regardless of the boundary condition type.

      2. Enter constant values (between 0 and 1) for Direct Visible and Direct IR in the Absorptivity group box. These values act as multipliers for the visible and infrared portions of the direct solar radiation spectrum, respectively, to account for the absorption of the porous jump.


        Important:  One reasonable way to estimate the Direct Visible and Direct IR absorptivity values for a grill, and so on, is to use the product of the obstructed area fraction and the surface absorptivity. For example, if 40% of the grill facial area is obstructed with grill slats, and the slats have a surface absorptivity of 0.7, you could estimate the absorptivity as being 0.28.


      3. Enter constant values (between 0 and 1) for Direct Visible and Direct IR in the Transmissivity group box. These values act as multipliers for the visible and infrared portions of the direct solar radiation spectrum, respectively, to account for the transmissivity of the porous jump.


        Important:  One reasonable way to estimate the Direct Visible and Direct IR transmissivity values for a grill, and so on, is to use the open area fraction. For example, if a grill has openings between the slats that amount to 60% of the area, you could estimate the transmissivity as being 0.6.


    4. Click OK.

12.3.11.5.5. DO Irradiation
  1. For DO irradiation, all boundary conditions are set up as normal for the DO model, except that now you can select semi-transparent boundary surfaces that will provide a source of solar irradiation.

    1. Open a Wall boundary condition dialog box and click the Radiation tab (Figure 12.40: The Wall Dialog Box).

      Figure 12.40:  The Wall Dialog Box

      The Wall Dialog Box

    2. Select semi-transparent from the drop-down list for BC Type.

    3. Enable the Use Beam Direction from Solar Load Model Settings option, under Solar BC Options, to have the values for beam direction applied from the Solar Load Model settings in the Radiation dialog box.


      Important:  Note that the sign of the beam direction that is needed for the DO model is opposite the sun direction vector that is entered or derived from the solar parameters. The beam direction in the DO model is the direction of external radiation (for example, radiation coming from the sun), while the sun direction vector in the solar load model points to the sun. Incident radiation and sun angle always have an opposite sign since they are quantities that are defined from opposite perspectives.


    4. Enable the Use Direct and Diffuse Irradiation from Solar Load Model Settings option to have the solar calculator output be applied for direct and diffuse irradiation.

      When Use Direct and Diffuse Irradiation from Solar Load Model Settings is enabled, the beam width will automatically be set to degrees - the angle subtended by the sun.

    5. Click OK.

12.3.11.5.6. Text Interface-Only Commands

ANSYS Fluent has provided some additional commands for solar load setup that are only available in the text interface. These commands are present in the following sections.

12.3.11.5.6.1. Automatically Saving Solar Ray Tracing Data

It is possible to direct ANSYS Fluent to automatically save solar load data to a generic file that you can examine or use in an external program. This is done by executing the text command autosave-solar-data from the text interface.

define → models → radiation → solar-parameters → autosave-solar-data

  1. Enter a value for the autosave solar data file frequency when prompted, in order to specify the frequency (in time steps) at which you want the solar load data written to a file. The default value is zero, which means that no automatic saving is performed.

  2. Enter the filename, in quotations.

  3. Choose to write file in binary format.

The text interface command for autosave-solar-data for a file named solar and a frequency of is shown below:

 /define/models/radiation/solar-parameters> autosave-solar-data
  Autosave Solar Data File Frequency [0] 1
  Enter Filename [""] "solar" 
12.3.11.5.6.2. Automatically Reading Solar Data

When you are executing a transient simulation in serial or parallel ANSYS Fluent  version 18.2 or later and you want to read the solar load data file from a serial run performed in an earlier version, you can use the following text command:

define → models → radiation → solar-parameters → autoread-solar-data

  1. Enter a value for the autoread solar data file frequency when prompted, in order to specify the frequency (in time steps) at which you want the solar load data read from the file generated during the serial run. The default value is zero, which means that no automatic reading is performed.

  2. Enter the filename, in quotations.

The text interface command for autoread-solar-data for a file named solar and a frequency of is shown below:

 /define/models/radiation/solar-parameters> autoread-solar-data
  Autoread Solar Data File Frequency [0] 1
  Enter Filename [""] "solar"
  Use Binary Format for Reading Data Files [yes]  
12.3.11.5.6.3. Aligning the Camera Direction With the Position of the Sun

When the solar load model is enabled, you can direct ANSYS Fluent to align the camera direction with the sun position using the text interface command:

define → models → radiation → solar-parameters → sol-camera-pos

This command is useful when you are executing a transient simulation and you want to capture an image of your model with solar load parameters displayed (such as solar heat flux) as the sun position changes with time in order to create an animation. See Postprocessing Solar Load Quantities for details.

12.3.11.5.6.4. Specifying the Scattering Fraction

You can modify the default scattering fraction () using the text interface command:

define → models → radiation → solar-parameters → scattering-fraction

The scattering fraction is the amount of direct radiation that has been reflected from opaque surfaces (after entering through the transparent surfaces) that will be considered to remain within the space and be evenly distributed among all surfaces. The value is between and .

The text interface command for specifying a scattering-fraction of is shown below:

 /define/models/radiation/solar-parameters> scattering-fraction
  Scattering Fraction [1] .5 
12.3.11.5.6.5. Applying the Solar Load on Adjacent Fluid Cells

You can direct ANSYS Fluent to apply the solar load that is computed from the solar ray tracing algorithm to adjacent fluid cells by issuing the following command at the text interface:

define → models → radiation → solar-parameters → sol-adjacent-fluidcells

The text interface command is shown below:

 /define/models/radiation/solar-parameters> sol-adjacent-fluidcells
  Apply Solar Load on adjacent Fluid Cells? [no] y 

This command allows you to apply solar loads to adjacent fluid cells only, even if solid or shell conduction zones are present. By applying the solar load on adjacent fluid cells, you are overruling the default order of the adjacent cell assignment in ANSYS Fluent which is shell, solid, fluid.

12.3.11.5.6.6. Specifying Quad Tree Refinement Factor

You can modify the default value () for the maximum quad tree refinement factor in the solar ray tracing algorithm using the text command:

define → models → radiation → solar-parameters → quad-tree-parameters

The text interface command is shown below, when a new maximum refinement value of is specified:

 /define/models/radiation/solar-parameters> quad-tree-parameters
  Maximum Quad-Tree Refinement [7] 10 
12.3.11.5.6.7. Specifying Ground Reflectivity

You can modify the default value () for the ground reflectivity using the text command:

define → models → radiation → solar-parameters → ground-reflectivity

Ground reflectivity (Equation 12–19) includes the contribution of reflected solar radiation from ground surfaces. It is treated as part of the total diffuse solar irradiation when the solar calculator is used in conjunction with the Diffuse Solar Irradiation illumination parameter. The default value is .

 /define/models/radiation/solar-parameters> ground-reflectivity
  Ground Reflectivity [0.2] 0.5 
12.3.11.5.6.8. Additional Text Interface Commands

Some solar load commands that are available in the graphical user interface are also made available in the text interface. For example, you can turn the solar load model on using the text command:

define → models → radiation → solar?

You can also enter the solar calculator parameters in the text interface by executing the command:

define → models → radiation → solar-calculator

Once invoked, you will be prompted to enter the solar calculator input parameters.

To set the illumination parameters, select this option from the solar-parameters menu:

define → models → radiation → solar-parameters → illumination-parameters

And finally, you can direct ANSYS Fluent to compute the solar load on demand, by issuing the text command:

define → models → radiation → solar-parameters → sol-on-demand

When the command is initiated, the solar data are written to the console.

12.3.11.6. Postprocessing Solar Load Quantities

The following solar load quantities can be used to visualize the illuminated areas and shadows created by solar radiation.

  • solar heat flux (that is, sum of visible and IR absorbed solar flux on opaque walls)

  • absorbed visible and IR solar flux (semi-transparent walls and porous jump boundaries only)

  • reflected visible and IR solar flux (semi-transparent walls and porous jump boundaries only)

  • transmitted visible and IR solar flux (semi-transparent walls and porous jump boundaries only)

These quantities are available for postprocessing of solar loading at wall boundaries and can be displayed as contours of Wall Fluxes in the Contours dialog box. For steady-state simulations, the solar flux data is computed at solution initialization and is available for postprocessing. You can also compute the solar load at any time during your ANSYS Fluent session, after you have set up the model and applied boundary conditions. To compute the solar load on demand, you can issue the sol-on-demand command in the text interface (see Additional Text Interface Commands for details).

Solar heat flux, for example, can be displayed for surfaces using the Contours dialog box. A sample dialog box is shown below (Figure 12.41: The Contours Dialog Box).

 Results → Graphics → Contours  New...

Figure 12.41:  The Contours Dialog Box

The Contours Dialog Box

12.3.11.6.1. Solar Load Animation at Different Sun Positions

The solar camera alignment command is useful when you want to take timed pictures of solar loading effects of your model during transient simulations, and later create animations of the image files using an external program. Follow the procedure below.

  1. Read (or set up) your transient case file in ANSYS Fluent.

  2. Set up the automatic execution of solution commands in the Execute Commands dialog box that will: 1) display solar load parameter graphics, 2) re-position the solar camera such that the view is aligned with the instantaneous sun direction, and 3) generate a picture image file (.tiff) during the solution process in the Execute Commands dialog box.

     Solution → Calculation Activities → Execute Commands  Edit...

  3. Initialize and run the solution.

  4. Animate the .tiff files using an external animation tool.

The following commands entered in the Execute Commands dialog box will direct ANSYS Fluent to display contours of solar heat flux, align the camera with the current direction of the sun, and then generate a picture image file (.tiff) of the solar heat flux contour every 300 time steps during the unsteady simulation. See Figure 12.42: The Execute Commands Dialog Box.

 /di/cont solar-heat-flux ,,
 /def/mod/rad/solar-para/sol-camera-pos
 /di/hc "flux-%t.tiff" 

Figure 12.42:  The Execute Commands Dialog Box

The Execute Commands Dialog Box

12.3.11.6.2. Reporting and Displaying Solar Load Quantities

ANSYS Fluent provides some additional solar load variables that you can use for postprocessing when your model includes solar ray tracing. You can generate graphical plots or alphanumeric reports of the following variables:

In the Wall Fluxes... category:

  • Solar Heat Flux

  • Transmitted Visible Solar Flux (semi-transparent walls and porous jump boundaries)

  • Transmitted IR Solar Flux (semi-transparent walls and porous jump boundaries)

  • Reflected Visible Solar Flux (semi-transparent walls and porous jump boundaries)

  • Reflected IR Solar Flux (semi-transparent walls and porous jump boundaries)

  • Absorbed Visible Solar Flux (semi-transparent walls and porous jump boundaries)

  • Absorbed IR Solar Flux (semi-transparent walls and porous jump boundaries)

See Field Function Definitions for their definitions.


Release 18.2 - © ANSYS, Inc. All rights reserved.