HeatTransferUnitTest.cpp File Reference

Classes

class  HeatTransferUnitTest
 Tests whether the heat convection model works. More...
 

Functions

int main ()
 Solve problem. More...
 

Function Documentation

◆ main()

int main ( )

Solve problem.

67  {
69  problem.solve();
70  // check final liquid film and temperature values
71  auto p = dynamic_cast<const ThermalParticle *>(problem.particleHandler.getObject(0));
72  helpers::check(p->getTemperature(),200.757,1e-3,"Temperature");
73  return 0;
74 }
Array< double, 1, 3 > e(1./3., 0.5, 2.)
float * p
Definition: Tutorial_Map_using.cpp:9
Tests whether the heat convection model works.
Definition: HeatTransferUnitTest.cpp:11
Definition: ThermalParticle.h:15
void check(double real, double ideal, double error, std::string errorMessage)
Definition: TestHelpers.cc:16
Constructor for SteadyAxisymAdvectionDiffusion problem
Definition: steady_axisym_advection_diffusion.cc:213

References helpers::check(), e(), p, and problem.