diff --git a/framework/src/problems/FEProblemBase.C b/framework/src/problems/FEProblemBase.C index c17669d50aac..d8fc606ff296 100644 --- a/framework/src/problems/FEProblemBase.C +++ b/framework/src/problems/FEProblemBase.C @@ -999,6 +999,18 @@ FEProblemBase::initialSetup() _convergences.initialSetup(tid); } + { + TIME_SECTION("initializingFunctions", 5, "Initializing Functions"); + + // Call the initialSetup methods for functions + for (THREAD_ID tid = 0; tid < n_threads; tid++) + { + reinitScalars(tid); // initialize scalars so they are properly sized for use as input into + // ParsedFunctions + _functions.initialSetup(tid); + } + } + // UserObject initialSetup std::set depend_objects_ic = _ics.getDependObjects(); std::set depend_objects_aux = _aux->getDependObjects(); @@ -1027,18 +1039,6 @@ FEProblemBase::initialSetup() if (_requires_nonlocal_coupling) setVariableAllDoFMap(_uo_jacobian_moose_vars[0]); - { - TIME_SECTION("initializingFunctions", 5, "Initializing Functions"); - - // Call the initialSetup methods for functions - for (THREAD_ID tid = 0; tid < n_threads; tid++) - { - reinitScalars(tid); // initialize scalars so they are properly sized for use as input into - // ParsedFunctions - _functions.initialSetup(tid); - } - } - { TIME_SECTION("initializingRandomObjects", 5, "Initializing Random Objects"); diff --git a/framework/src/userobjects/SolutionUserObject.C b/framework/src/userobjects/SolutionUserObject.C index c89cbd13d7c4..d28822c72ee6 100644 --- a/framework/src/userobjects/SolutionUserObject.C +++ b/framework/src/userobjects/SolutionUserObject.C @@ -88,7 +88,9 @@ SolutionUserObject::validParams() "Anticlockwise rotation angle (in degrees) to use for rotation about rotation1_vector."); params.addParam( - "time_transformation", "t", "Transfrom between simulation time and solution time."); + "time_transformation", + "t", + "Transform from current simulation time to time at which to sample the solution."); // following lines build the default_transformation_order MultiMooseEnum default_transformation_order(