Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
uvahotspot
GitHub Repository: uvahotspot/HotSpot
Path: blob/master/examples/example4/run.sh
612 views
1
#! /usr/bin/env bash
2
3
# Remove files from previous simulations
4
rm -f *.init
5
rm -f outputs/*
6
7
# Create outputs directory if it doesn't exist
8
mkdir outputs
9
10
# The modeling of a 2-D chip's C4 pad array or a 3-D chip's thermal vias
11
# requires support for heterogeneous materials within one layer.
12
# Thanks to Prof. Ayse Coskun's research team in Boston University,
13
# this feature has been supported in HotSpot since version 6.0.
14
# To enable this feature in simulation, the command line option
15
# `-detailed_3D on` must be set to `on`. Currently, heterogeneous layers
16
# can only be modeled with `-model_type grid` and an LCF file specified
17
../../hotspot -c example.config -p ev6_3D.ptrace -grid_layer_file ev6_3D.lcf -model_type grid -detailed_3D on -grid_steady_file outputs/example.grid.steady -steady_file outputs/example.steady
18
19
cp outputs/example.steady example.init
20
21
../../hotspot -c example.config -p ev6_3D.ptrace -grid_layer_file ev6_3D.lcf -init_file example.init -model_type grid -detailed_3D on -o outputs/example.transient -grid_transient_file outputs/example.grid.ttrace
22
23