Albany icon indicating copy to clipboard operation
Albany copied to clipboard

Add transient optimization problems

Open kliegeois opened this issue 7 months ago • 0 comments

This PR adds 4 transient optimization problems that use the heat 2D problem.

  1. Transient_Analysis_Integrated_Response_Scalar_Params tests the integrated in time response with scalar parameters,
  2. Transient_Analysis_Integrated_Response_Distributed_Param tests the integrated in time response with a distributed parameter,
  3. Transient_Analysis_ROL_Scalar_Params tests the response evaluated at the last time step with scalar parameters and driven by ROL,
  4. Transient_Analysis_Integrated_Response_Scalar_Params tests the response evaluated at the last time step with scalar parameters and driven by Tempus.

The tests take some time (especially when build in debug):

ctest -R Transient_Analysis
Test project /data/dev/trilinos_all/trilinos_tmp/AlbanyB
    Start 114: corePDEs_TransientHeat2D_Transient_Analysis_Integrated_Response_Scalar_Params
1/4 Test #114: corePDEs_TransientHeat2D_Transient_Analysis_Integrated_Response_Scalar_Params .......   Passed   89.78 sec
    Start 115: corePDEs_TransientHeat2D_Transient_Analysis_Integrated_Response_Distributed_Param
2/4 Test #115: corePDEs_TransientHeat2D_Transient_Analysis_Integrated_Response_Distributed_Param ...   Passed  298.81 sec
    Start 116: corePDEs_TransientHeat2D_Transient_Analysis_ROL_Scalar_Params
3/4 Test #116: corePDEs_TransientHeat2D_Transient_Analysis_ROL_Scalar_Params .......................   Passed   51.86 sec
    Start 117: corePDEs_TransientHeat2D_Transient_Analysis_Tempus_Scalar_Params
4/4 Test #117: corePDEs_TransientHeat2D_Transient_Analysis_Tempus_Scalar_Params ....................   Passed  549.86 sec

100% tests passed, 0 tests failed out of 4

Label Time Summary:
Analysis      = 990.31 sec*proc (4 tests)
Integrated    = 388.59 sec*proc (2 tests)
ROL           =  51.86 sec*proc (1 test)
Scalar        = 990.31 sec*proc (4 tests)
Tempus        = 549.86 sec*proc (1 test)
Transient     = 990.31 sec*proc (4 tests)

Total Test time (real) = 990.61 sec

kliegeois avatar Jun 25 '24 21:06 kliegeois