Thermal conduction simulator using a Finite Volumes solver for Gas Dynamics and Heat and Mass Trasnsfer
First of all, make sure g++-6
is installed and available in the $PATH
. Then:
make # compile all them files
./thermo # run the simulator!
- 2D transient conduction analysis
- With multiple materials
- Easily configurable boundary conditions
- Read input data from user-supplied
config.dat
- Divide in as many regions as CPUs (use
std::thread::hardware_concurrency()
) - Solve each region with a line-by-line solver with supposed
Tboundaries
- Each region communicates the new
Tboundaries
to the surrounding ones (and back) - Polymorphism for the
Condition
class: make derivedConvection
,Isotherm
,Flow
Adiabatic
classes - Create a
Matrix
class usingstd::vector
with smart indexing