Learn how to perform a DOE study using HyperStudy and the HyperStudy Job Launcher within HyperMesh. HyperMorph is used to parameterize the shape of the design.
Browsers supply a great deal of view-related functionality by listing the parts of a model in a tabular and/or tree-based
format, and providing controls inside the table that allow you to alter the display of model parts.
Perform automatic checks on CAD models, and identify potential issues with geometry that may slow down the meshing
process using the Verification and Comparison tools.
ACU-T: 3201 Solar
Radiation and Thermal Shell Tutorial
Prerequisites
This tutorial introduces you to setting up a CFD simulation involving solar radiation
and thermal shells using AcuSolve and HyperMesh. Prior to starting this tutorial, you
should have already run through the introductory tutorial, ACU-T: 1000 HyperWorks UI Introduction, and have a basic understanding of
HyperMesh, AcuSolve, and
HyperView. To run this simulation, you will need access to a
licensed version of HyperMesh and AcuSolve.
Before you begin, copy the file(s)
used in this tutorial to your working directory.
Since the HyperMesh database
(.hm file) contains meshed geometry, this tutorial does not
include steps related to geometry import and mesh generation.
Problem Description
The problem to be addressed is shown schematically in Figure 1.
The model consists of an atrium with a couch and chairs in the center. Air flows
into the atrium through the inlet vent and exits through the outlet. The front
portion of the atrium consists of glass walls supported by an aluminum frame. This
aluminum frame will be modeled as a thermal shell; hence, this tutorial introduces
you to the process of setting up a transient solar radiation simulation and thermal
shells in HyperMesh.
Solar Radiation Parameters
AcuSolve uses an ideal gray surface solar radiation model
to calculate the solar heat flux. The fluxes are computed using a ray trace
algorithm and five optical properties of the surface, specular transmissivity (), diffuse transmissivity (), specular reflectivity (), diffuse reflectivity () and absorptivity ().
A specular transmission occurs when a photon passes straight through a surface with
no change of direction. In a diffuse transmission the photon penetrates the surface,
but its outgoing energy is uniformly distributed in solid angle over the hemisphere,
weighted by projected surface area. For a specular reflection, the angle of
reflection is equal to the angle of incidence. Diffuse reflections are similar to
diffuse transmissions, except the hemisphere over which the outgoing energy is
distributed is on the same side of the surface as the incident photon. Finally, the
photon may be absorbed by the surface. These five interactions are associated with
five surface properties that together must obey the following
constraint:(1)
Where,
Specular transmissivity
Diffuse transmissivity
Specular reflectivity
Diffuse reflectivity
Absorptivity
Angle of incidence
For the solar radiative heat fluxes to be computed, a solar radiation surface needs
to be defined on that given surface.
In this tutorial, the solar flux loading is given in the form of a data file which
was generated using the acuSflux script available in AcuSolve. The script can be used to generate a data file with
a four-column array of solar flux vector data values. The piecewise linear type is
used in this tutorial to emulate the pattern of sunrise to sunset over the atrium.
For example, to generate the solar load data file for a location with known
geological coordinates, enter the following command in the AcuSolve Command Prompt: acuSflux -time "dec-3-2019
11:00:00" -tinc 1800 -nts 25 -lat 42.6064 -lon -83.1498 -ndir "1,0,0" -udir
"0,0,1"
Here,
time
The start time in GMT (ex: “dec-3-2019 21:00:00”)
tinc
The time increment in seconds
nts
Number of discrete time steps
lat
Latitude coordinates of the location in degrees North (ex: 45.112 or
-37.56 (equal to 37.56 S))
lon
Longitude coordinates of the location in degrees East (ex: 86.26 or
-54.84 (equal to 54.84 W))
ndir
The north direction unit vector in model coordinates (should be enclosed
in double quotes) (ex: “0,1,0”)
udir
The upward direction unit vector in model coordinates (should be
enclosed in double quotes) (ex: “0,1,0”)
Thermal Shell Modeling
The thermal shell in AcuSolve is a feature that creates
zero physical thickness volumetric shell elements from surface elements. This is
useful when the thickness of the component is too small to be modeled as a solid
medium. The thermal shell can have multiple layers, each with different thicknesses
and material models. A schematic of the thermal shell is shown below.
When defining a thermal shell on a surface, two sets of boundary conditions are
needed. One for the Primary Wall surface i.e. Shell Inner and one for the Shell
Outer Wall surface. In this tutorial, a solar radiation surface will be defined on
the outer shell surface so that it receives solar heat flux, whereas the inner shell
surface will be modeled as a default wall.
Open the HyperMesh Model Database
Start HyperMesh Desktop and
load the AcuSolve user profile.
Click the Open Model icon
located on the standard toolbar.
The Open Model dialog opens.
Browse to the directory where you saved the model
file. Select the HyperMesh file ACU-T3201_SolarRadiation.hm and click
Open.
Click File > Save As.
The Save Model As dialog
opens.
Create a new directory named Atrium_Solar and navigate into this
directory.
This will be the working directory and all the files
related to the simulation will be stored in this location.
Enter Atrium_Solar as the file name for the database, or choose any name of your
preference.
Click Save to create the
database.
Set Up the Simulation Parameters
Set the General Simulation Parameters
Go to the Solver Browser, expand 01.Global, then click
PROBLEM_DESCRIPTION.
In the Entity Editor, change the Analysis type to
Transient.
Set the Temperature equation to Advective
Diffusive.
Set the Turbulence model to Laminar (if not set
already).
Specify the Solver Settings
In the Solver Browser, click 02.SOLVER_SETTINGS under
01.Global.
In the Entity Editor, set the Max time steps to
0.
Set the Final time to 30 sec.
Set the Initial time increment to 1 sec.
Set the Max stagger iterations to 3.
Change the Relaxation factor to 0.
Verify that the Flow and Temperature fields are turned
On.
Set the Solar Radiation Parameters
In the Solver Browser,
click 05.SOLAR_RADIATION_PARAMETERS under
01.Global.
In the Entity Editor, change the Curve fit options to
Dat file.
Click on the open file icon beside the Dat file field, browse to the location
where you saved SolarLoad.dat, and open it.
Leave the remaining options as default.
Save the model.
Assign Material Properties and Boundary Conditions
Create the Solar Radiation Model
In the Solver Browser, right click on
08.Solar_Radiation_Model and select
Create.
In the Entity Editor, name it
Glass.
Set the Specular Transmissivity to 0.8.
Set the Diffusive Transmissivity to 0.08.
Set the Specular reflectivity to 0.01.
Set the Diffusive reflectivity to 0.01.
Assign Material Properties and Boundary Conditions
By default, all components are assigned to the wall boundary
condition. In this step, you will change them to the appropriate boundary conditions
and assign material properties to the fluid volumes.
In the Solver Browser, expand 12.Surfaces > WALL.
Click Fluid. In the Entity Editor,
Change the Type to FLUID.
Set the Material to Air_HM.
Click Walls. In the Entity Editor,
Verify that the Type is set to WALL and the
Temperature BC type is set to Flux.
Set the Convective heat flux coefficient to 20.0
J/m2-sec-K.
Set the Convective heat flux reference temperature to
283.15 K.
Under the Solar Radiation Surface tab, turn on the
Display field. Turn On
the Activate solar radiation surface option. Set the Type to
Outward. Set the Solar radiation model to
Solar Radiation Black Body.
Under the Surface Output tab, turn On Surface
Output and set the Nodal time step frequency to
1.
Click Inlet. In the Entity Editor,
Change the Type to INFLOW.
Set the Inflow velocity type to Cartesian.
Set the X, Y and Z-velocity to 0,
22.78 and -39.45 m/sec
respectively.
Set the Temperature of the incoming fluid to
295.35 K.
Under the Solar Radiation Surface tab, turn on the
Display field. Turn On
the Activate solar radiation surface option. Set the Type to
Outward. Set the Solar radiation model to
Solar Radiation Black Body.
Click Outlet. In the Entity Editor, change the Type to OUTFLOW.
Click Glass. In the Entity Editor,
Verify that the Type is set to WALL and the
Temperature BC type is set to Flux.
Set the Convective heat flux coefficient to 20.0
J/m2-sec-K.
Set the Convective heat flux reference temperature to
283.15 K.
Under the Solar Radiation Surface tab, turn on the
Display field. Turn On
the Activate solar radiation surface option. Set the Type to
Both. Set the Solar radiation model to
Glass.
Under the Surface Output tab, turn On Surface
Output and set the Nodal time step frequency to
1.
Click Floor. In the Entity Editor,
Verify that the Type is set to WALL and the
Temperature BC type is set to Flux.
Under the Solar Radiation Surface tab, turn on the
Display field. Turn On
the Activate solar radiation surface option. Set the Type to
Inward. Set the Solar radiation model to
Solar Radiation Black Body.
Under the Surface Output tab, turn On Surface
Output and set the Nodal time step frequency to
1.
Click Glass_walls. In the Entity Editor,
Change the Type to THERMAL_SHELL.
Set the Number of shell layers to 1.
Set the Shell thickness to 0.025 m.
Set the Shell Material to Aluminum_HM.
For the Primary Wall boundary condition, leave the default values
unchanged.
Change the Select Wall Boundary Condition value from Primary Wall to
Shell Outer Wall.
Set the Convective heat flux coefficient to 20
J/m2-sec-K and the Convective heat flux reference
temperature to 283.15 K.
Under the Solar Radiation Surface tab, turn on the
Display field. Turn On
the Activate solar radiation surface option. Set the Type to
Outward. Set the Solar radiation model to
Solar Radiation Black Body.
Expand the Surface Output tab, turn On Surface
Output, and set the Nodal time step frequency to
1.
Click Chair. In the Entity Editor,
Verify that the Type is set to WALL.
Under the Solar Radiation Surface tab, turn on the
Display field. Turn On
the Activate solar radiation surface option. Set the Type to
Default. Set the Solar radiation model to
Solar Radiation Black Body.
Under the Surface Output tab, turn On Surface
Output and set the Nodal time step frequency to
1.
Save the model.
Set Nodal Initial Conditions
In the Solver Browser, click
03.NODAL_INITIAL_CONDITION under
01.Global.
In the Entity Editor, change the Default value of
Temperature to 288.15 K.
Define Nodal Output Frequency
In the Solver Browser, expand
17.Output then click
NODAL_OUTPUT.
In the Entity Editor, set the Time step frequency to
1.
Activate the Output initial condition checkbox.
Save the model.
Compute the Solution
Turn on the visibility of all mesh components.
For the analysis to run, the mesh for all active components must be
visible.
Click on the ACU toolbar.
The Solver job
Launcher dialog opens.
Optional: For a faster solution time, set the number of processors to a higher
number (4 or 8) based on availability.
Leave the remaining options as
default and click Launch to start the solution
process.
Post-Process the Results using HyperView
In this step, you will create an animation of solar heat flux and temperature over
run time. Once the solver run is complete, close the AcuProbe and AcuTail windows. In
the HyperMesh Desktop window, close the AcuSolve Control tab and save the model.
Switch to the HyperView Interface and Load the AcuSolve Model and Results
In the HyperMesh Desktop window, click the
ClientSelector drop-down in the bottom-left corner of
the graphics window.
Select HyperView from the
list.
In the pop-up dialog that appears, click Yes.
The interface is changed to HyperView.
Once HyperView is loaded, the Load model
and results panel should be open by default. If you do not see the panel,
click File > Open > Model.
In the Load model and results panel, click next
to Load model.
In the Load Model File dialog, navigate to your working
directory and select the AcuSolve.Log file for the solution run that you want to
post-process. In this example, the file to be selected is Atrium_Solar.1.Log.
Click Open.
In the panel area, click Reader
Options.
In the Reader Options dialog, set the Reader to
AcuSolve Result Reader and the Extended nodal output
option to Yes then click OK.
Click Apply in the panel area to
load the model and results.
The model is colored by geometry after loading.
Create an Animation of Temperature Contour
In this step, you will start by creating an expression for plotting the temperature
values in Fahrenheit units. Then, you will create an animation of the magnitude of
temperature on the floor, glass_walls and the man surface.
From the menu bar, go to Results > Create > Derived Results.
In the Expression Builder dialog, enter
Temperature_fahrenheit as the Label (name) of the
expression.
In the Expression text box, enter the following expression:
1.8*(
Set the Table option to Temperature and the Resource to
model. Then, click Insert to
add the temperature variable in the expression.
Complete the expression by entering the remaining portion of the formula as
shown in the figure below.
Here the term ‘R1.S16’ corresponds to the Temperature (scalar) variable in
Kelvin. Variables can be inserted in the expression by selecting the
required variable under Table option and then clicking Insert. The actual ID
for the scalar variable might be different for your simulation.
Click OK to apply the changes and close the
dialog.
In the Results Browser, expand the list of
Components. Turn off the display of all the
components except Floor, Glass_walls Shell
Outer, and Chair surfaces.
In the graphics window, rotate the model so that you have a better view of the
glass walls and the chair.
Click
on the Results toolbar to open the Contour panel.
In the panel area, set the Result type to
Temperature_fahrenheit (s).
Click the Components entity
selector. In the Extended Entity Selection dialog,
select Displayed.
Click Apply.
In the panel area, under the Display tab, turn off
the Discrete color option.
Go to the Legend tab then click Edit Legend.
In the Edit Legend dialog, change the Type to
Dynamic scale and the Numeric format to
Fixed then click OK.
Click on the Animation toolbar to play the temperature
animation.
Click the Animation Controls icon . In the panel area, set the Max
Frame Rate to 5 Frames/Sec by dragging the slider.
Create an Animation of Solar Heat Flux
Click
on the Results toolbar to open the Contour panel.
In the panel area, set the Result type to
Solar_heat_flux (s).
Click Apply.
On the ImageCapture toolbar, click on the Capture Graphics Area
Video icon .
In the Save Graphics Area Video As dialog, browse to the
directory where you want to save the animation and give a name to the video, ex:
solar heat flux animation, then click
Save.
Summary
In this tutorial, you learned how to set up and solve a CFD analysis involving solar
radiation and thermal shells. You started by importing a HyperMesh model database and set up the simulation parameters
and boundary conditions. Once you computed the solution, you post-processed the
results using HyperView. Also, you learned how to create
expressions in HyperView and build plots using derived
results.