! This test case tests the ability to compare to analytical solution ! using the "Reference Solution" keyword. Here the analytical solution ! is a parabel from a 1D heat equation. ! ! P.R. 17.3.2015 Header CHECK KEYWORDS Warn Mesh DB "." "beam" Include Path "" Results Directory "" End Simulation Max Output Level = 5 Coordinate System = "Cartesian" Coordinate Mapping(3) = 1 2 3 Simulation Type = "Steady State" Steady State Max Iterations = 1 Output Intervals = 1 ! Post File = "case.vtu" End Constants Gravity(4) = 0 -1 0 9.82 Stefan Boltzmann = 5.67e-08 End Body 1 Name = "Body1" Body Force = 1 Equation = 1 Material = 1 End Equation 1 Name = "Equation1" Active Solvers(1) = 1 End Solver 1 Equation = "HeatEq" Variable = "Temperature" Procedure = "HeatSolve" "HeatSolver" Linear System Solver = "Direct" End Material 1 Name = "Material1" Density = 1.0 Heat Conductivity = 1.0 End Body Force 1 Name = "BodyForce1" Heat Source = 1.0 End Boundary Condition 1 Name = "Bottom" Target Boundaries(1) = 1 End Boundary Condition 2 Name = "Right" Target Boundaries(1) = 2 Temperature = Real 0 End Boundary Condition 3 Name = "Top" Target Boundaries(1) = 3 End Boundary Condition 4 Name = "Left" Target Boundaries(1) = 4 Temperature = Real 0 End Solver 1 ! Compare to the previously computed norm Reference Norm = Real 9.083405E-02 ! Compare to given analytical solution using L2 norm Reference Solution = Variable "Coordinate 1" Real MATC "0.5*tx*(1-tx)" End !End Of File