#
# Copyright 2015 ANSYS Inc. All Rights Reserved
#


##########################################################################
# SolverControl Rules                                     (ORDERED BY NAME)
# --> Ordered alphabetically with the following hierarchy:
#     Model, SINGLETON, OBJECT, PARAMETER
###########################################################################
DATAMODEL: Solver
#
# Solver Settings
#

  SINGLETON: SolutionControls
    Doc String = Configure generic settings for solution controls.
    Entity Level = External
    Data Model Category = Solver Controls
    Parameter List = \
      (CalculateSolutionDerivatives, Generic@isFluxSolver), \
      (WithRespectTo, isSolutionDerivativesCalculated),     \
      (SolvePrimaryLinearSystem, isSolutionDerivativesCalculated)
    Child List =                           \
      (ParticleControl, Generic@anyParticleDefns), \
      (CalculationControl, Generic@isTrue)
    Feature Parameter List = CalculateSolutionDerivatives, AFD.Sensitivity
  END

  PARAMETER: CalculateSolutionDerivatives
    Parameter Type = Logical
    Default Value = False
    Doc String = Turn On to calculate solution derivatives.
  END

  PARAMETER: WithRespectTo
    Parameter Type = String
    Doc String = Set independent variable.
  END

  PARAMETER: SolvePrimaryLinearSystem
    Parameter Type = Logical
    Default Value = True
    Doc String = Turn On to solve primary linear system.
  END

  SINGLETON: CalculationControl
    Doc String = Configure calculation specific settings.
    Child List = \
      (TransientControl, Generic@isAnalysisTypeTransient),      \
      SolutionMonitorControl,                           \
      ResidualControl,                                  \
      (IterationControl, isIterationControlAvailable),  \
      PolyhedralConversion
    Feature Child List = TransientControl, AFD.Transient, \
                         ResidualControl, Filter.Expert, \
                         PolyhedralConversion, AFD.Developer
  END

  SINGLETON: PolyhedralConversion
    Doc String = Convert mesh to polyhedra.
    Context Rule = Option
    Context Doc String = Convert mesh to polyhedra.
    Parameter List = \
      Option
    Allowed Option List =  (Convert, Generic@is3D), None
  END

  SINGLETON: TransientControl
    Doc String = Configure calculation settings for transient analysis.
    Child List = \
      TimeSteppingMethod,                              \
      SimulationTermination
  END

  SINGLETON: TimeSteppingMethod
    Doc String = Allows to choose between different time stepping methods.
    Parameter List = \
      Option
    Allowed Option List = \
      UserSpecified,                                   \
      (Adaptive, isAdaptiveAvailable),                 \
      (CellCourantNumber, anyTransientSchemeExplicit), \
      (NumberOfTimeStepsPerPeriod, Generic@isFalse)
    CONTEXT: UserSpecified
      Parameter List = \
        TimeStepSize
    END
    CONTEXT: Adaptive
      Parameter List = \
        InitialTimeStepSize,     \
        MinimumTimeStepSize,     \
        MaximumTimeStepSize,     \
        NumberOfFixedTimeSteps,  \
        MinimumChangeFactor,     \
        MaximumChangeFactor,     \
        TruncationErrorTolerance
    END
    CONTEXT: CellCourantNumber
      Parameter List = \
        MaximumCellCourantNumber
    END
    Feature Parameter List = Option, AFD.Transient

    PARAMETER: TimeStepSize
      Doc String =  Set magnitude of (physical) time step.
      Parameter Type = Real
      Quantity Type = Time
      Lower Bound = 0.0
    END
    PARAMETER: MaximumCellCourantNumber
      Doc String = Set Courant number for explicit formulation.
      Parameter Type = Real
    END
    PARAMETER: InitialTimeStepSize
      Doc String = Set magnitude of initial time step.
      Parameter Type = Real
      Quantity Type = Time
    END
    PARAMETER: MinimumTimeStepSize
      Doc String = Set lower limit of time step.
      Parameter Type = Real
      Quantity Type = Time
      Upper Bound Parameter = MaximumTimeStepSize
    END
    PARAMETER: MaximumTimeStepSize
      Doc String = Set upper limit of time step.
      Parameter Type = Real
      Quantity Type = Time
    END
    PARAMETER: NumberOfFixedTimeSteps
      Doc String = Set the number of fixed-size time steps that should be performed before the size of the time step starts to change.
      Parameter Type = Integer
      Lower Bound = 0
    END
    PARAMETER: MinimumChangeFactor
      Doc String = Set minimum limit to which the time step size can change at each time step.
      Parameter Type = Real
    END
    PARAMETER: MaximumChangeFactor
      Doc String =  Set maximum limit to which the time step size can change at each time step.
      Parameter Type = Real
    END
    PARAMETER: TruncationErrorTolerance
      Doc String = Set the threshold value to which the computed truncation error is compared.
      Parameter Type = Real
    END
  END

  SINGLETON: SimulationTermination
    Doc String = Configure settings for simulation termination.
    Parameter List = \
      Option
    Allowed Option List = \
      NumberOfTimeSteps,                                        \
      (EndTime, isTimeSteppingMethodAdaptive & Generic@isFluentSolver), \
      (AccumulatedNumberOfTimeSteps, Generic@isFalse),                  \
      (NumberOfPeriods, Generic@isFalse)
    CONTEXT: NumberOfTimeSteps
      Parameter List = \
        Value
    END
    CONTEXT: EndTime
      Parameter List = \
        EndTime
    END
    CONTEXT: AccumulatedNumberOfTimeSteps
      Parameter List = \
        Value
    END
    CONTEXT: NumberOfPeriods
      Parameter List = \
        Value
    END
    Feature Parameter List = Option, AFD.Transient
    PARAMETER: Value
      Doc String = Set the number of time steps to be performed.
      Parameter Type = Integer
      Lower Bound = 1
    END
    PARAMETER: EndTime
      Doc String = Set the ending time for the calculation.
      Parameter Type = Real
      Quantity Type = Time
      Lower Bound = 0.0 [s]
    END
  END

  SINGLETON: ResidualControl
    Doc String = Configure settings to control residual information.
    Child List = \
      ResidualScaling,                                  \
      Normalization,                                    \
      MonitorFrequency,                                 \
      (TransientNormalization, Generic@isAnalysisTypeTransient)
    Feature Child List = TransientNormalization, AFD.Transient, \
                         MonitorFrequency, Filter.Expert
  END

  SINGLETON: ResidualScaling
    Doc String = Allows one to choose how control volume equation residuals are scaled so that they are dimensionless.
    Context Doc String = Allows one to choose different options for residuals scaling.
    Parameter List = \
      Option
    Allowed Option List = \
      LocalScaling,  \
      GlobalScaling, \
      None
    CONTEXT: LocalScaling
      Parameter List = \
        (LocalScalingOption, Generic@isFluxSolver)
    END
    PARAMETER: LocalScalingOption
      Doc String = Allows to choose different options for local scaling of residuals.
      Parameter Type = String
      Allowed String List = \
        RMS,    \
        Maximum
    END
  END

  SINGLETON: Normalization
    Doc String = Allows one to choose to normalize residuals with respect to a residual at a particular iteration number.
    Context Doc String = Allows whether or not to normalize residual for each variable.
    Parameter List = \
      Option
    Allowed Option List = \
      None,      \
      Automatic
    CONTEXT: Automatic
      Parameter List = \
        Iteration
    END
    PARAMETER: Iteration
      Doc String = Set the number of iterations for which largest residual will be searched to normalize by.
      Parameter Type = Integer
      Lower Bound = 1
    END
  END

  SINGLETON: TransientNormalization
    Doc String = Allows to choose different options for transient normalization.
    Context Rule = Option
    Context Doc String = Allows to choose different options for transient normalization.
    Parameter List = \
      Option
    Allowed Option List = \
      Absolute,          \
      Relative,          \
      RelativeOrAbsolute
  END

  OBJECT: SolutionMonitorControl
    Doc String = Configure settings for solution monitor control.
    Child List =\
      MonitorFrequency
    Parameter List = \
      ExpressionString

    PARAMETER: ExpressionString
      Doc String = Define the expression.
      Parameter Type = String
    END
  END


  SINGLETON: IterationControl
    Doc String = Configure settings for iteration control.
    Child List = \
      ConvergenceCriteria
    Parameter List = \
      (MinimumIterationsPerTimeStep, Generic@isAnalysisTypeTransient),  \
      (NumberOfIterationsPerTimeStep, Generic@isAnalysisTypeTransient), \
      (MinimumNumberOfIterations, Generic@isAnalysisTypeSteady),                \
      (MaximumNumberOfIterations, Generic@isAnalysisTypeSteady),               \
      (EnergyIterationsPerRadiationIteration, Radiation@anyPhysicsRegionRadiationModelOn), \
      (MaximumRadiationIterations, Radiation@anyPhysicsRegionRadiationModelS2S), \
      (ResidualConvergenceCriteria, Radiation@anyPhysicsRegionRadiationModelS2S)
    Feature Parameter List = MinimumNumberOfIterations, Filter.Expert, \
                             MinimumIterationsPerTimeStep, AFD.Transient, \
                             NumberOfIterationsPerTimeStep, AFD.Transient

    PARAMETER: MinimumIterationsPerTimeStep
      Doc String = Set the minimum number of iterations per time step.
      Parameter Type = Integer
      Lower Bound = 0
      Default Value = 0
    END
    PARAMETER: NumberOfIterationsPerTimeStep
      Doc String = Set the number of iteration per time step.
      Parameter Type = Integer
      Lower Bound = 1
    END
    PARAMETER: MinimumNumberOfIterations
      Doc String = Set the minimum number of iterations.
      Parameter Type = Integer
      Lower Bound = 0
      Default Value = 0
      Upper Bound Parameter = MaximumNumberOfIterations
    END
    PARAMETER: EnergyIterationsPerRadiationIteration
      Doc String = Set the frequency with which the radiation terms are updated as the continuous phase solution proceeds.
      Quantity Type = Dimensionless
      Parameter Type = Integer
      Default Value = 10
      Lower Bound = 0
   END
   PARAMETER: MaximumRadiationIterations
     Doc String = Set the maximum number of iterations of the radiation calculation during each global iteration.
     Quantity Type = Dimensionless
     Parameter Type = Integer
     Default Value = 5
     Lower Bound = 1
   END
   PARAMETER: ResidualConvergenceCriteria
     Doc String = Set the value to determine when the radiation intensity update is converged.
     Quantity Type = Dimensionless
     Parameter Type = Real
     Default Value = 0.001
   END
    PARAMETER: MaximumNumberOfIterations
      Doc String = Set the maximum number of iteration.
      Parameter Type = Integer
      Lower Bound = 1
      Default Value = 200
    END
  END

  PARAMETER: NumberOfIterations
    Doc String = Set number of iteration.
    Parameter Type = Integer
    Lower Bound = 1
  END

  SINGLETON: ConvergenceCriteria
    Doc String = Configure convergence criteria for residual, monitor, etc.
    Child List = \
      ResidualConvergence,                  \
      (ImbalanceConvergence, Generic@isFalse), \
      (MonitorConvergence, Generic@isFalse), \
      (UserDefinedConvergence, Generic@isFalse)
  END

  SINGLETON: ResidualConvergence
    Doc String = Configure convergence criteria for residuals.
    Child List = \
      ResidualDefaultSetting, \
      (ResidualTolerance, isResidualDefaultSettingTolerance)
    Child Name List = ResidualTolerance, allEquationNamesForResiduals
    Feature Child List = ResidualTolerance, Filter.Expert
  END

  SINGLETON: ResidualDefaultSetting
    Doc String = Set default value of convergence criteria for residual.
    Context Doc String = Set default value of convergence criteria for residual.
    Parameter List = \
      Option
    Allowed Option List = \
      Tolerance, \
      None
    CONTEXT: Tolerance
      Parameter List = \
        Value
    END

    PARAMETER: Value
      Doc String = Set the default tolerance value.
      Parameter Type = Real
      Default Value = (1E-04, isLocalScalingOptionMax), \
                      (1E-05, isResidualScalingLocal), \
                      (1E-03, Generic@isTrue)
    END
  END

  OBJECT: ResidualTolerance
    Doc String = Set convergence criteria for current equation.
    Context Rule = ResidualToleranceOption
    Context Doc String = Allows to choose default or specified value for residuals of current equation.
    Parameter List = \
      ResidualToleranceOption
    Allowed Option List = \
      UseDefaultSetting, \
      SpecifyTolerance,   \
      None
    Default Option = \
      (None, isResidualToleranceObject_turb), \
      (SpecifyTolerance, isNoLocalScalingAndIsResidualToleranceObject_energy), \
      (UseDefaultSetting, Generic@isTrue)
    CONTEXT: SpecifyTolerance
      Parameter List = \
        Tolerance
    END
  END

  PARAMETER: ResidualToleranceOption
    Doc String = Allows to choose default or specified value for residuals of current equation.
    Parameter Type = String
  END

  SINGLETON: ImbalanceConvergence
    Doc String = Configure imbalance convergence.
    Context Doc String = Allows to choose default or equation based settings.
    Parameter List = \
      Option
    Allowed Option List = \
      DefaultSettings,    \
      EquationBasedSettings
    CONTEXT: DefaultSettings
      Child List = \
        ImbalanceDefaultSetting
    END
  END

  SINGLETON: ImbalanceDefaultSetting
    Doc String = Configure imbalance default settings.
    Context Doc String = Allows to set default value for convergence criteria of imbalance.
    Parameter List = \
      Option
    Allowed Option List = \
      None, \
      SpecifyImbalanceTolerance
    CONTEXT: SpecifyImbalanceTolerance
      Parameter List = \
        ImbalanceTolerance
    END
  END

  PARAMETER: Tolerance
    Doc String = Set the tolerance value for residual convergence.
    Parameter Type = Real
    Default Value = \
        (1.0e-4, isLocalScalingOptionMax), \
        (1.0e-5, isResidualScalingLocal), \
        (1.0e-6, isResidualToleranceObject_energy), \
        (1.0e-3, Generic@isTrue)
  END

  PARAMETER: ImbalanceTolerance
    Doc String = Set the value of imbalance tolerance.
    Parameter Type = Real
    Default Value = 1.0e-3
  END

  SINGLETON: MonitorConvergence
    Doc String = Set convergence criteria for monitors.
    Context Rule = Option
    Context Doc String = Set convergence criteria for monitors.
    Parameter List = \
      Option
    Allowed Option List = \
      (MonitorTolerance, Generic@isFluxSolver), \
      None
  END

  SINGLETON: UserDefinedConvergence
    Doc String = Create user defined convergence.
    Context Rule = Option
    Context Doc String = Allows to specify user defined convergence.
    Parameter List = \
      Option
    Allowed Option List = \
      None,               \
      LogicalExpression
  END
#
# Physics Region Solver Control
#
  SINGLETON: NumericalControls
    Doc String = Configure region wise numerics related controls.
    Entity Level = External
    Data Model Category = Solver Controls
    Child List =     \
      (FlowSolver, Generic@isPhysicsRegionTypeFluid), \
      DiscretizationControl, \
      SolutionControl
    Feature Child List = FlowSolver, Filter.Expert
  END

  SINGLETON: FlowSolver
    Doc String = Configure flow solver.
    Context Rule = Option
    Context Doc String = Allows to choose pressure or density based solver.
    Parameter List = \
      Option
    Allowed Option List = \
      PressureBased,      \
      DensityBased
    Feature Option List = DensityBased, AFD.Developer
  END

  SINGLETON: SolutionControl
    Doc String = Configure common solution parameters.
    Child List = \
      (CouplingControl,         Generic@isTrue),        \
      (AdvancementControl,      Generic@isTrue),        \
      (ExplicitRelaxation,      Generic@isTrue),        \
      (HighOrderTermRelaxation, Generic@isTrue),        \
      (LimiterRelaxation,       Generic@isFluxSolver),  \
      (WallRelaxation,          Generic@isFluxSolver & Turbulence@isPhysicsRegionTurbModelOn), \
      (LinearSolver,            Generic@isTrue),        \
      (SolutionLimits,          Generic@isTrue),        \
      (ActivePhysics,           Generic@isTrue),        \
      (SolutionSteering,        isPseudoTransientOff)

    Child Name List = ExplicitRelaxation, allEquationNamesForExplicitRelax

    # Change ActivePhysics to Expert when run continuation/restarts are possible
    Feature Child List = LimiterRelaxation, AFD.Developer, \
                         WallRelaxation, AFD.Developer, \
                         LinearSolver, Filter.Expert, \
                         SolutionLimits, Filter.Expert, \
                         ActivePhysics, AFD.Developer
  END

  SINGLETON: CouplingControl
    Doc String = Configure settings for solution advancement.
    Child List = \
      (FlowCoupling,    isFlowSolverDensityBasedForBoundary),              \
      (PressureVelocityCoupling,  Generic@isPhysicsRegionTypeFluid & isPVCouplingAvailable)

    Parameter List = \
      (VolumeFractionCoupling,      isVOFCouplingAvailable),    \
      (TurbulenceCoupling,          isTurbulenceCouplingAvailable),     \
      (EnergyRadiationCoupling,     isEnergyRadiationCouplingAvailable),\
      (UseImplicitBodyForce,        Generic@isPhysicsRegionTypeFluid & Generic@isFluentSolver )

    Feature Parameter List = TurbulenceCoupling, AFD.Developer, \
                             EnergyRadiationCoupling, AFD.Developer, \
                             UseImplicitBodyForce, Filter.Expert

    PARAMETER: VolumeFractionCoupling
      Doc String = Enable coupling of volume fraction, velocity corrections and shared pressure corrections simultaneously.
      Parameter Type = Logical
      Default Value = False
    END
    PARAMETER: TurbulenceCoupling
      Doc String = Enable coupling between turbulence and flow.
      Parameter Type = Logical
      Default Value = False
    END
    PARAMETER: EnergyRadiationCoupling
      Doc String = Enable coupling between energy and radiation.
      Parameter Type = Logical
      Default Value = False
    END
    PARAMETER: UseImplicitBodyForce
      Doc String = Enable implicit body force treatment to take pressure gradient and body forces into account.
      Parameter Type = Logical
      Default Value = False
    END
  END

  SINGLETON: FlowCoupling
    Doc String = Allows to choose solver formulations for density based solver.
    Context Doc String = Allows to choose solver formulations for density based solver.
    Parameter List = Option
    Allowed Option List =   \
      (Implicit,    notIsTransientSchemeExplicit), \
      Explicit
    Feature Option List = Implicit, AFD.Transient

    CONTEXT: Implicit
      Parameter List = (UseCASM, isCASMAvailable)
    END

    CONTEXT: Explicit
      Child List =              \
        (FASMultigridControls,  isAnalysisSteadyOrTransientSchemeImplicit), \
        (ResidualSmoothening,   isAnalysisSteadyOrTransientSchemeImplicit), \
        MultiStageControls
    END

    Feature Child List = MultiStageControls, Filter.Expert, \
                         FASMultigridControls, (AFD.Transient, Generic@isAnalysisTypeTransient), \
                         ResidualSmoothening, (AFD.Transient, Generic@isAnalysisTypeTransient)

    PARAMETER: UseCASM
      Doc String = Enable convergence acceleration for stretched meshes to improve the convergence of the implicit density based solver on meshes with high cell stretching.
      Parameter Type = Logical
      Default Value = False
    END
  END

  PARAMETER: PostSweeps
    Doc String = Set the number of sweeps to perform after coarser level corrections have been applied.
    Parameter Type = Integer
    Quantity Type = Dimensionless
    Lower Bound = 0
    Default Value =           \
      (0,     isFASMultigridControlsOtherwiseFalse), \
      (3,     isScalarOrCoupledFixedSmootherOptionILU),  \
      (1,     isScalarOrCoupledFixedSmootherOptionGS)
  END

  SINGLETON: FASMultigridControls
    Doc String = Configure parameters related to the FAS multigrid solver (used only for Flow equations)
    Parameter List =            \
      MultigridLevels,          \
      PreSweeps,                \
      PostSweeps,               \
      CourantNumberReduction,   \
      CorrectionReduction,      \
      CorrectionSmoothing

    Feature Parameter List = PreSweeps, Filter.Expert, \
                             PostSweeps, Filter.Expert, \
                             CourantNumberReduction, Filter.Expert, \
                             CorrectionReduction, Filter.Expert, \
                             CorrectionSmoothing, Filter.Expert

    PARAMETER: MultigridLevels
      Doc String = Set maximum number of grid levels to be used in the multigrid process.
      Parameter Type = Integer
      Default Value = 0
      Lower Bound = 0
    END
    PARAMETER: CourantNumberReduction
      Doc String = Set the factor by which to reduce the Courant number for coarse grid levels.
      Parameter Type = Real
      Default Value = 0.9
      Lower Bound = 0.0
    END
    PARAMETER: CorrectionReduction
      Doc String = Set the factor by which to reduce the magnitude of the multigrid corrections transferred from one level to the next finer level.
      Parameter Type = Real
      Default Value = 0.6
      Lower Bound = 0.0
    END
    PARAMETER: CorrectionSmoothing
      Doc String = Set the correction smoothing factor used to interpolate corrections from a coarser grid to a finer grid.
      Parameter Type = Real
      Default Value = 0.5
      Lower Bound = 0.0
    END
    PARAMETER: PreSweeps
      Doc String = Set the number of iterations of the multi-stage solver to be performed on a given grid level before proceeding to a coarser grid level.
      Parameter Type = Integer
      Default Value = 1
      Lower Bound = 0
    END
  END


  SINGLETON: ResidualSmoothening
    Doc String = Configure parameters that govern the use of implicit residual smoothing.
    Parameter List =    \
      Iterations,       \
      (SmoothingFactor, isSmoothingFactorAvailable)

    PARAMETER: Iterations
      Doc String = Set the number of iterations of the Jacobi smoother to use. If Iterations is 0, then no implicit residual smoothing is performed.
      Parameter Type = Integer
      Default Value = 0
      Lower Bound = 0
    END

    PARAMETER: SmoothingFactor
      Doc String = Set the implicit residual smoothing factor. This item will not appear unless Iterations is set to a non-zero value.
      Parameter Type = Real
      Default Value = 0.5
    END
  END

  SINGLETON: MultiStageControls
    Doc String = Configure parameters that govern the operation of the multi-stage solver.
    Parameter List = NumberOfStages
    Child List = Stage
    Child Name List = Stage, generatedStageNames

    PARAMETER: NumberOfStages
      Doc String = Set the number of stages used in the multi-stage scheme.
      Parameter Type = Integer
      Default Value =   \
        (4,     isTransientSchemeExplicit), \
        (3,     isAnalysisSteadyOrTransientSchemeImplicit)
      Lower Bound = 0
    END
  END

  OBJECT: Stage
    Doc String = Labels the stage to which the parameters apply.
    Parameter List =        \
      Coefficient,          \
      FreezeDissipation,    \
      FreezeViscousStresses

    PARAMETER: Coefficient
      Doc String = Set the multi-stage coefficient for each stage.
      Parameter Type = Real
      Default Value =   \
        (0.2075, isStageCoefficientDefault2075), \
        (0.5915, isStageCoefficientDefault5915), \
        (0.25, isStageCoefficientDefault2500), \
        (0.3333, isStageCoefficientDefault3333), \
        (0.5, isStageCoefficientDefault5000), \
        (1.0,  Generic@isTrue)
    END

    PARAMETER: FreezeDissipation
      Doc String = Set the stages for which artificial dissipation is evaluated.
      Parameter Type = Logical
      Default Value = True
    END
    PARAMETER: FreezeViscousStresses
      Doc String = Set the stages for which viscous stresses are evaluated.
      Parameter Type = Logical
      Default Value = True
    END
  END

  SINGLETON: PressureVelocityCoupling
    Doc String = Allows to choose different schemes for pressure-velocity coupling.
    Context Doc String = Allows to choose different schemes for pressure-velocity coupling.
    Parameter List = Option
    Allowed Option List =     \
      Coupled,                 \
      SIMPLE,                 \
      SIMPLEC,                \
      PISO,

    CONTEXT: SIMPLEC
      Parameter List = SkewnessCorrection
    END
    CONTEXT: PISO
      Parameter List = \
        SkewnessCorrection,     \
        NeighborCorrection,     \
        (SkewnessNeighborCoupling, Generic@isFluentSolver)
    END
    PARAMETER: SkewnessCorrection
      Doc String = Enables the SIMPLEC and PISO skewness correction for highly skewed meshes, if the value (number of iterations) is greater than 0.
      Parameter Type = Integer
      Lower Bound = 0
      Default Value =     \
                      (0, isPVCouplingSIMPLEC),  \
                      (1, isPVCouplingPISO)
    END
    PARAMETER: SkewnessNeighborCoupling
      Doc String = Enables the PISO neighbor correction, which is recommended for transient calculations.
      Parameter Type = Logical
      Default Value = True
    END
  END

  SINGLETON: AdvancementControl
    Doc String = Configure advance control setting for solver.
    Child List = \
      (FlowControl:FlowAdvancementControl,          Generic@isPhysicsRegionTypeFluid),              \
      (EnergyControl:EnergyAdvancementControl,        Energy@isPhysicsRegionEnergyModelOnForBoundary), \
      (TurbulenceControl:TurbulenceAdvancementControl,    Generic@isTrue),                      \
      (SpeciesControl:SpeciesAdvancementControl,       Generic@isTrue),                      \
      (RadiationControl:RadiationAdvancementControl,     Generic@isTrue),                      \
      (UserVariableControl:UserVariableAdvancementControl,  Generic@isTrue)

    Feature Child List = EnergyControl, (Filter.Expert, Generic@isPhysicsRegionTypeFluid), \
                         TurbulenceControl, (Filter.Expert, Generic@isPhysicsRegionTypeFluid), \
                         SpeciesControl, (AFD.Species, Generic@isPhysicsRegionTypeFluid), \
                         UserVariableControl, (Filter.Expert, Generic@isPhysicsRegionTypeFluid)

    Parameter List = (UseCommonSpeciesSetting, Generic@anyMaterialTypeMixture)

    Child Name List = TurbulenceControl, Turbulence@turbulenceEquationListForDiscretization, \
                      RadiationControl,  Radiation@radiationEquationListForPhysicsRegion,   \
                      SpeciesControl,    Species@speciesEquationListForAdvancementControl,       \
                      UserVariableControl,  UserVariable@scalarAndVectorEquationListForDiscretization

    PARAMETER: UseCommonSpeciesSetting
      Doc String = Enables to use same settings for all the species.
      Parameter Type = Logical
      Default Value = True
    END
  END

  PARAMETER: ImplicitRelaxFactor
      Doc String = Set the value of under-relaxation factor for current equation.
      Parameter Type = Real
      Quantity Type = Dimensionless
      Lower Bound = 0.0
      Upper Bound = 1.0
      Default Value = \
        (0.5, isRelaxFactor_0.5), \
        (0.7, isRelaxFactor_0.7), \
        (0.8, isRelaxFactor_0.8), \
        (1.0, isRelaxFactor_1.0)
  END

  PARAMETER: CourantNumber
    Doc String = Set the Courant number for current equation.
    Parameter Type = Real
    Quantity Type = Dimensionless
    Default Value =           \
         (200, isCourantNumber200_ContextCheck),    \
         (1.e10, isCourantNumber1e10_ContextCheck), \
         (5, isCourantNumber5_ContextCheck),        \
         (1000, isCourantNumber1000_ContextCheck),  \
         (50, isCourantNumber50_ContextCheck),      \
         (1, isCourantNumber1_ContextCheck),        \
         (4, Generic@isTrue)
  END

  SINGLETON: FlowAdvancementControl
    Doc String = Configure solution advancement process for momentum.
    Context Doc String = Allows to choose between relaxation factor, Courant number and pseudo-transient.
    Parameter List = Option
    Allowed Option List = \
      (PseudoTransient, isFlowPseudoTransientAvailable), \
      (RelaxationFactor, isPVCouplingSegregated), \
      (CourantNumber, isFlowCourantNumberAvailable)
    CONTEXT: RelaxationFactor
      Parameter List = \
        ImplicitRelaxFactor, \
        (AdvectionScaleOnly, Generic@isFluxSolver)
    END
    CONTEXT: CourantNumber
      Parameter List = \
        CourantNumber, \
        (AdvectionScaleOnly, Generic@isFluxSolver)
    END
    CONTEXT: PseudoTransient
      Child List = FlowPseudoTransient
    END
    Feature Parameter List = AdvectionScaleOnly, AFD.Developer
  END

  SINGLETON: EnergyAdvancementControl
    Doc String = Configure solution advancement process for energy.
    Context Doc String = Allows to choose between relaxation factor, Courant number and pseudo-transient.
    Parameter List = Option
    Allowed Option List = \
      (PseudoTransient, isFlowPseudoTransientOn | Generic@isPhysicsRegionTypeSolid), \
      (RelaxationFactor, isFlowSolverPressureBased | Generic@isPhysicsRegionTypeSolid), \
      (CourantNumber, isFlowSolverPressureBased | Generic@isPhysicsRegionTypeSolid)
    CONTEXT: RelaxationFactor
      Parameter List = \
        ImplicitRelaxFactor, \
        (AdvectionScaleOnly, Generic@isFluxSolver)
    END
    CONTEXT: CourantNumber
      Parameter List = CourantNumber, \
                       (AdvectionScaleOnly, Generic@isFluxSolver)
    END
    CONTEXT: PseudoTransient
      Child List = EnergyPseudoTransient
    END
    Feature Parameter List = CourantNumber, Filter.Expert, \
                             AdvectionScaleOnly, AFD.Developer
  END

  OBJECT: TurbulenceAdvancementControl
    Doc String = Configure solution advancement process for turbulence.
    Parameter List = Option
    Allowed Option List = \
      (PseudoTransient, isFlowPseudoTransientOn), \
      RelaxationFactor, \
      CourantNumber
    CONTEXT: RelaxationFactor
      Parameter List = \
        ImplicitRelaxFactor, \
        (AdvectionScaleOnly, Generic@isFluxSolver)
    END
    CONTEXT: CourantNumber
      Parameter List = CourantNumber, \
                       (AdvectionScaleOnly, Generic@isFluxSolver)
    END
    CONTEXT: PseudoTransient
      Parameter List = RelativeScaleFactor
    END
    Feature Parameter List = Option, Filter.Expert, \
                             AdvectionScaleOnly, AFD.Developer
  END

  OBJECT: RadiationAdvancementControl
    Doc String = Configure solution advancement process for radiation.
    Parameter List = Option
    Allowed Option List = \
      RelaxationFactor, \
      CourantNumber
    CONTEXT: RelaxationFactor
      Parameter List = \
        ImplicitRelaxFactor
    END
    CONTEXT: CourantNumber
      Parameter List = CourantNumber
    END
    Feature Parameter List = Option, AFD.Developer
  END

  OBJECT: SpeciesAdvancementControl
    Doc String = Configure solution advancement process for species.
    Parameter List = Option
    Allowed Option List = \
      (PseudoTransient, isFlowPseudoTransientOn), \
      RelaxationFactor, \
      CourantNumber
    CONTEXT: RelaxationFactor
      Parameter List = \
        ImplicitRelaxFactor, \
        (AdvectionScaleOnly, Generic@isFluxSolver)
    END
    CONTEXT: PseudoTransient
      Parameter List = RelativeScaleFactor
    END
    CONTEXT: CourantNumber
      Parameter List = CourantNumber, \
                       (AdvectionScaleOnly, Generic@isFluxSolver)
    END
    Feature Parameter List = Option, AFD.Species, \
                             AdvectionScaleOnly, AFD.Developer
  END

  OBJECT: UserVariableAdvancementControl
    Doc String = Configure solution advancement process for user variable.
    Parameter List = Option
    Allowed Option List = \
      (PseudoTransient, isFlowPseudoTransientOn), \
      RelaxationFactor, \
      (CourantNumber, Generic@isFluxSolver)
    Feature Option List = CourantNumber, Filter.Expert
    CONTEXT: PseudoTransient
      Parameter List = RelativeScaleFactor
    END
    CONTEXT: CourantNumber
      Parameter List = CourantNumber, \
                       (AdvectionScaleOnly, Generic@isFluxSolver)
    END
    CONTEXT: RelaxationFactor
      Parameter List = \
        ImplicitRelaxFactor, \
        (AdvectionScaleOnly, Generic@isFluxSolver)
    END
    Feature Parameter List = AdvectionScaleOnly, AFD.Developer
  END

  SINGLETON: FlowPseudoTransient
    Doc String = Applies pseudo transient under-relaxation method. The under-relaxation is controlled through pseudo time step size.
    Context Doc String = Allows to choose 'Automatic' or manually specify the settings.
    Parameter List = Option
    Allowed Option List = Automatic, UserSpecified

    CONTEXT: Automatic
      Child List = LengthScaleCalculationMethod
      Parameter List = TimestepScalingFactor, \
                       Verbosity
    END
    CONTEXT: UserSpecified
      Parameter List = PseudoTimestep
    END
    PARAMETER: Verbosity
      Doc String = Set the verbosity. Enter a value of 1 to print pseudo time step size.
      Parameter Type = Integer
      Quantity Type = Dimensionless
      Default Value = 0
      Lower Bound = 0
      Upper Bound = 2
    END
    Feature Parameter List = Verbosity, Filter.Expert
    Feature Child List = LengthScaleCalculationMethod, Filter.Expert
  END

  SINGLETON: EnergyPseudoTransient
    Doc String = Applies pseudo transient under-relaxation method. The under-relaxation is controlled through pseudo time step size.
    Context Doc String = Allows one to select how the pseudo transient time scale is calculated for the energy equation.
    Parameter List =        \
      (Option,              Generic@anyPhysicsRegionTypeSolid), \
      (RelativeScaleFactor,         isFlowPseudoTransientOn)

    Context Rule = Option
    Allowed Option List = Automatic, UserSpecified, Off

    CONTEXT: Automatic
      Child List = (LengthScaleCalculationMethod, Generic@isTrue)
      Parameter List = TimestepScalingFactor
    END
    CONTEXT: UserSpecified
      Parameter List = PseudoTimestep
    END
    Feature Child List = LengthScaleCalculationMethod, Filter.Expert
  END

  PARAMETER: TimestepScalingFactor
    Doc String = Set a scaling factor used to scale the calculated time step.
    Parameter Type = Real
    Quantity Type = Dimensionless
    Default Value = 1.0
  END

  PARAMETER: PseudoTimestep
    Doc String = Set pseudo time step size.
    Parameter Type = Real
    Quantity Type = Time
  END

  PARAMETER: RelativeScaleFactor
    Doc String = Set time scaling factor relative to the one specified for flow advancement
    Parameter Type = Real
    Default Value = 1.0
  END

  SINGLETON: LengthScaleCalculationMethod
    Doc String = Allows one to choose how the length scale is determined when using pseudo transient solution advancement.
    Context Doc String = Allows to choose different length scale methods.
    Context Rule = Option
    Parameter List = Option
    Allowed Option List = \
        Conservative,     \
        Aggressive,       \
        UserSpecified
    CONTEXT: UserSpecified
      Parameter List = \
          LengthScale
    END
    PARAMETER: LengthScale
      Doc String = Set the value of length scale. Useful in problems that have a specific length scale that is difficult to determine from overall geometry such as airfoil.
      Parameter Type = Real
      Quantity Type = Length
    END
  END

  PARAMETER: AdvectionScaleOnly
    Doc String = Turn On only-advection scaling for solution advancement.
    Parameter Type = Logical
    Default Value = False
  END

  SINGLETON: HighOrderTermRelaxation
    Doc String = Configure relaxation of high order terms.
    Parameter List = \
      DefaultSetting, \
      (Factor, isDefaultSettingOnInHighOrderTermRelaxation)
    Child List =            \
      (Equation:HighOrderTermRelaxationEquation,  Generic@isTrue)
    Feature Child List = Equation, Filter.Expert
    Child Name List = Equation,  allEquationNamesForHighOrderTerms
  END

  PARAMETER: Factor
    Doc String = Set the value of factor.
    Parameter Type = Real
    Quantity Type = Dimensionless
    Default Value = (0.25, isFactor0.25), \
                    (0.5, isFactor0.5), \
                    (0.75, isFactor0.75), \
                    (0.9,  isFactor0.9), \
                    (1.0,  isFactor1.0)
  END

  PARAMETER: DefaultSetting
    Doc String = Enables to set the default value of relaxation factor.
    Parameter Type = String
    Allowed String List = \
      Off,               \
      On
    Default Value = (On, isDefaultSettingTrue_ContextCheck), \
                    Off
  END

  OBJECT: HighOrderTermRelaxationEquation
    Doc String = Configure relaxation for high order terms for current equation.
    Parameter List = Option
    Allowed Option List =       \
      UseDefaultSetting,        \
      Off,                       \
      On

    CONTEXT: On
      Parameter List = Factor
    END
    Feature Parameter List = Option, Filter.Expert
  END

  SINGLETON: LimiterRelaxation
    Doc String = Configure limiter relaxation.
    Parameter List = \
      DefaultSetting, \
      (Factor, isDefaultSettingOnInLimiterRelaxation)
    Child List =            \
      (Equation:LimiterRelaxationEquation,  Generic@isTrue)
    Child Name List = Equation,  allEquationNamesForHighOrderTerms
  END

  OBJECT: LimiterRelaxationEquation
    Doc String = Configure limiter relaxation for current equation.
    Parameter List = Option
    Allowed Option List =       \
      UseDefaultSetting,        \
      On,                       \
      Off

    CONTEXT: On
      Parameter List = Factor
    END
    Feature Parameter List = Option, AFD.Developer
  END

  SINGLETON: WallRelaxation
    Doc String = Applies relaxation at turbulent walls.
    Parameter List = Option
    Allowed Option List =       \
      On,                       \
      Off

    CONTEXT: On
      Parameter List = Factor
    END
    Feature Parameter List = Option, AFD.Developer
  END

  OBJECT: ExplicitRelaxation
    Doc String = Allows to set the value of under-relaxation factors.
    Parameter List = ExplicitRelaxFactor
  END

  PARAMETER: ExplicitRelaxFactor
    Doc String = Set the value of under-relaxation factor for current equation.
    Parameter Type = Real
    Quantity Type = Dimensionless
    Default Value =                                 \
      (0.3,         isExplicitRelaxDefault0.3),     \
      (0.5,         isExplicitRelaxDefault0.5),     \
      (0.75,        isExplicitRelaxDefault0.75),    \
      (1.0,         Generic@isTrue)
      Lower Bound = 0.0
      Upper Bound = 1.0
  END

  PARAMETER: DummyParameter
    Parameter Type = Real
    Default Value = 0.0
  END

  SINGLETON: LinearSolver
    Doc String = Configure generic setting related to advanced solution controls.
    Child List =                \
      (LinearSolverSettings,  Generic@isTrue),   \
      (CoupledControls,       Generic@isTrue),   \
      (ScalarControls,        Generic@isTrue),   \
      (FlexibleCycleControls, isFlexibleCycleControlsAvailable)
    Parameter List =            \
      Verbosity
    Child Name List = LinearSolverSettings, allEquationNamesForLinearSolver
    PARAMETER: Verbosity
      Doc String = Controls the amount of information that is printed out by the linear solver for monitoring purposes.
      Parameter Type = Integer
      Default Value = 0
      Lower Bound = 0
      Upper Bound = 2
    END
  END

  OBJECT: LinearSolverSettings
    Doc String = Configure linear solver settings for current equation.
    Parameter List =        \
      CycleType,            \
      TerminationValue,     \
      (RestrictionValue,    isCycleTypeFlexible), \
      (Stabilization,       isCycleTypeFixed)

    PARAMETER: Stabilization
      Doc String = Allows to choose between different stabilization method for current equation.
      Parameter Type = String
      Allowed String List = \
        None,               \
        BCGSTAB,            \
        (RPM,               Generic@isFluentSolver), \
        (GMRES,             Generic@isFluxSolver)
      Default Value = None
    END
    PARAMETER: CycleType
      Doc String = Allows to choose between different cycle types for current equation.
      Parameter Type = String
      Allowed String List = \
        Flexible,           \
        V-Cycle,            \
        W-Cycle,            \
        F-Cycle
      Default Value =       \
        (Flexible,          isDefaultCycleTypeFlexibleCycle),    \
        (F-Cycle,           Generic@isTrue)
    END

    PARAMETER: TerminationValue
      Doc String = Set the termination criterion for current equation that is being solved using algebraic multigrid.
      Parameter Type = Real
      Quantity Type = Dimensionless
      Default Value = 0.1
    END
    PARAMETER: RestrictionValue
      Doc String = Set the residual reduction criterion for current equation that is being solved using the Flexible algebraic multigrid cycle.
      Parameter Type = Real
      Quantity Type = Dimensionless
      Default Value = 0.7
    END
  END

  SINGLETON: CoupledControls
    Doc String = Configure coupled controls.
    Child List =            \
      (FixedCycleControls:CoupledFixedCycleControls,       isCoupledFixedCycleControlsAvailable)
  END

  SINGLETON: CoupledFixedCycleControls
    Doc String = Configure parameters that control the V, W and F cycles.
    Parameter List =            \
      CoupledFixedCycleSmoother, \
      (Factor, isCoupledFixedSmootherOptionILU), \
      PreSweeps,                \
      PostSweeps,               \
      MaximumCoarseLevels,      \
      MaximumCycles,            \
      CoarseningRate,           \
      (SymmetryWhenCoarsening, Generic@isFluentSolver)

    PARAMETER: SymmetryWhenCoarsening
      Doc String = Enables symmetric coarsening.
      Default Value = True
    END
    PARAMETER: PreSweeps
      Doc String = Set the number of sweeps to perform before moving to a coarser level.
      Parameter Type = Integer
      Default Value = 0
      Lower Bound = 0
    END

    PARAMETER: CoupledFixedCycleSmoother
      Doc String = Choose smoother for coupled equations with fixed cycles.
      Parameter Type = String
      Allowed String List =       \
        ILU,                      \
        GaussSeidel
      Default Value = ILU
    END
  END

  PARAMETER: CoarseningRate
    Doc String = Controls the number of equations on each successively coarser grid level. Number of equations on each level will be 1/CoarseningRate of the number on the previous level.
    Parameter Type = Integer
    Quantity Type = Dimensionless
    Default Value =           \
      (2,     isScalarOrCoupledFixedSmootherOptionGS),    \
      (8,     isCoarseningRateDefault8_ContextCheck),   \
      (4,     isCoarseningRateDefault4_ContextCheck)
  END

  PARAMETER: MaximumCoarseLevels
    Doc String = Set the maximum number of coarse levels that will be built by multigrid solver.
    Parameter Type = Integer
    Quantity Type = Dimensionless
    Default Value = 40
  END
  PARAMETER: MaximumCycles
    Doc String = Set the maximum number of V, W or F cycles to be performed.
    Parameter Type = Integer
    Quantity Type = Dimensionless
    Default Value = \
        (10, isMaximumCyclesDefault10_ContextCheck), \
        (30, isMaximumCyclesDefault30_ContextCheck)
    Lower Bound = 0
  END
  PARAMETER: SymmetryWhenCoarsening
    Doc String = Enables symmetric coarsening.
    Parameter Type = Logical
    Default Value = False
  END

  SINGLETON: ScalarControls
    Doc String = Configure scalar controls.
    Child List =            \
      (FixedCycleControls:ScalarFixedCycleControls,       isScalarFixedCycleControlsAvailable)
  END

  SINGLETON: ScalarFixedCycleControls
    Doc String = Configure parameters that control the V, W and F cycles.
    Parameter List =                \
      ScalarFixedCycleSmoother,     \
      (Factor, isScalarFixedSmootherOptionILU), \
      PreSweeps,                    \
      PostSweeps,                   \
      MaximumCoarseLevels,          \
      MaximumCycles,                \
      CoarseningRate,               \
      (SymmetryWhenCoarsening, Generic@isFluentSolver), \
      ScaleCorrectionsWhenSymmetric

    Feature Parameter List = ScaleCorrectionsWhenSymmetric, AFD.Developer

    PARAMETER: SymmetryWhenCoarsening
      Doc String = Enables symmetric coarsening.
      Default Value = False
    END
    PARAMETER: ScaleCorrectionsWhenSymmetric
      Doc String = Enable scale corrections.
      Parameter Type = Logical
      Default Value = True
    END

    PARAMETER: PreSweeps
      Doc String = Set the number of sweeps to perform before moving to a coarser level.
      Parameter Type = Integer
      Default Value = 0
      Lower Bound = 0
    END

    PARAMETER: ScalarFixedCycleSmoother
      Doc String = Choose smoother for scalars with fixed cycles.
      Parameter Type = String
      Allowed String List =       \
        ILU,                      \
        GaussSeidel
      Default Value =   \
        GaussSeidel
    END
  END

  SINGLETON: FlexibleCycleControls
    Doc String = Configure parameters that control the flexible multigrid cycle.
    Parameter List =             \
      Sweeps,                    \
      (MaximumFineRelaxations,   Generic@isFluentSolver), \
      (MaximumCoarseRelaxations, Generic@isFluentSolver), \
      (MaximumCycles,            Generic@isFluxSolver)

    PARAMETER: Sweeps
      Doc String = Set the number of times to apply the smoothing method each time a relaxation is performed.
      Parameter Type = Integer
      Quantity Type = Dimensionless
      Default Value = 2
      Lower Bound = 1
    END
    PARAMETER: MaximumFineRelaxations
      Doc String = Set the maximum number of relaxations to be performed on the level 1 grid (fine grid level).
      Parameter Type = Integer
      Quantity Type = Dimensionless
      Default Value = 30
      Lower Bound = 0
    END
    PARAMETER: MaximumCoarseRelaxations
      Doc String = Set the maximum number of relaxations to be performed on each grid level above level 1 (coarse grid levels).
      Parameter Type = Integer
      Quantity Type = Dimensionless
      Default Value = 50
      Lower Bound = 0
    END
  END

  SINGLETON: SolutionSteering
    Doc String = Fine-tune or override solver settings elsewhere using solution steerings.
    Parameter List =        \
      (UseSolutionSteering,     Generic@isAnalysisTypeSteady & isFlowSolverDBImplicit), \
      (FlowType,                isSolutionSteeringOn),  \
      (UseFMGInitialization,    isSolutionSteeringOn), \
      (FirstToHigherOrderBlending,  isSolutionSteeringOn), \
      (BlendFactor, isFirstToHigherOrderBlendingOnInSolutionSteering)

    Child List =                    \
      (SteeringSettings,            isSolutionSteeringOn), \
      (FMGSettings,                 isSolutionSteeringOn)

    PARAMETER: UseSolutionSteering
      Doc String = Turn On solution steering.
      Parameter Type = Logical
      Default Value = False
    END

    PARAMETER: FlowType
      Doc String = Choose a flow type from given options.
      Parameter Type = String
      Allowed String List =         \
        Subsonic,                   \
        Incompressible,             \
        Transonic,                  \
        Supersonic,                 \
        Hypersonic
    END

    PARAMETER: UseFMGInitialization
      Doc String = Use Fully-Multi Grid initialization method.
      Parameter Type = Logical
      Default Value = True
    END
  END

  PARAMETER: FirstToHigherOrderBlending
    Doc String = Turn on first to higher order order blending.
    Parameter Type = Logical
    Default Value = False
  END

  SINGLETON: SteeringSettings
    Doc String = Configure solution steering.
    Child List = StageOne, StageTwo
    Parameter List =           \
      InitialCourantNumber,    \
      MaximumCourantNumber,    \
      ExplicitUnderRelaxationFactor

    PARAMETER: InitialCourantNumber
      Doc String = Specify an initial value for Courant number.
      Parameter Type = Real
      Quantity Type = Dimensionless
      Lower Bound = 0.0
      Default Value =                          \
        (5,        notIsFlowTypeHypersonic),   \
        (0.5,      isFlowTypeHypersonic)
      Upper Bound Parameter = MaximumCourantNumber
    END

    PARAMETER: MaximumCourantNumber
      Doc String = Specify maximum limit for Courant number.
      Parameter Type = Real
      Quantity Type = Dimensionless
      Lower Bound = 0.0
      Default Value =                          \
        (200,      notIsFlowTypeHypersonic),   \
        (4,        isFlowTypeHypersonic)
    END

    PARAMETER: ExplicitUnderRelaxationFactor
      Doc String = Specify explicit under-relaxation factor.
      Parameter Type = Real
      Quantity Type = Dimensionless
      Lower Bound = 0.0
      Upper Bound = 1.0
      Default Value =                          \
        (0.75,     notIsFlowTypeHypersonic),   \
        (0.5,      isFlowTypeHypersonic)
    END
  END

  SINGLETON: StageOne
    Doc String = Configure the settings of first stage.
    Parameter List = NumberOfIterations

    PARAMETER: NumberOfIterations
      Doc String = Set the value of number of iterations.
      Parameter Type = Integer
      Quantity Type = Dimensionless
      Default Value = 100
      Lower Bound = 1
    END
  END

  SINGLETON: StageTwo
    Doc String = Configure the settings of second stage.
    Parameter List =               \
      UpdateCourantNumber,         \
      CourantNumberUpdateInterval

    Context Rule = UpdateCourantNumber
    Context Doc String  =  Allows to choose when to update Courant number.
    Allowed Option List =      \
      Immediately,             \
      Delayed

    CONTEXT: Delayed
      Parameter List = NumberOfIterations
    END

    PARAMETER: NumberOfIterations
      Doc String = Set the value of number of iterations.
      Parameter Type = Integer
      Quantity Type = Dimensionless
      Lower Bound = 1
      Default Value =      \
        (100,      isFlowTypeSupersonic),  \
        (200,      isFlowTypeHypersonic),  \
        (0,        Generic@isTrue)
    END

    PARAMETER: UpdateCourantNumber
      Doc String = Allows to choose when to update Courant number.
      Parameter Type = String
    END

    PARAMETER: CourantNumberUpdateInterval
      Doc String = Set the value of interval between consecutive update of Courant number.
      Parameter Type = Integer
      Quantity Type = Dimensionless
      Lower Bound = 0
      Default Value =          \
        (20,       isFlowTypeIncompressible | isFlowTypeSubsonic | isFlowTypeTransonic),   \
        (30,       isFlowTypeSupersonic | isFlowTypeHypersonic)
    END
  END

  # TODO: a physics check on upper bound value for GridLevels
  # is currently not working, would it be supported?
  SINGLETON: FMGSettings
    Doc String = Configure FMG initialization settings
    Child List = FMGGridLevel

    Parameter List =           \
      NumberOfGridLevels,      \
      FMGCourantNumber

    PARAMETER: NumberOfGridLevels
      Doc String = Set the number of multigrid levels for the FMG iteration.
      Parameter Type = Integer
      Quantity Type = Dimensionless
      Lower Bound = 1
      Default Value = 4
      Upper Bound = 5
    END

    PARAMETER: FMGCourantNumber
      Doc String = Specify Courant number for FMG initialization
      Parameter Type = Real
      Quantity Type = Dimensionless
      Default Value = 0.75
      Lower Bound = 0
      Upper Bound = 1
    END

    Child Name List = FMGGridLevel, FMGGridLevelNames
  END

  # TODO: have to rename NumberOfCycles as below to avoid clash
  # with independently defined parameter in PhysicsRegion InitialConditions
  OBJECT: FMGGridLevel
    Doc String = Configure each grid level for FMG initialization
    Parameter List = NumberOfCycles1

    PARAMETER: NumberOfCycles1
      Doc String = Specify number of cycles for each grid level
      Parameter Type = Integer
      Quantity Type = Dimensionless
      Lower Bound = 0
      Default Value =                  \
        (100,      isFMGGridLevel1),   \
        (200,      isFMGGridLevel2),   \
        (400,      isFMGGridLevel3),   \
        (500,      isFMGGridLevel4),   \
        (1000,     isFMGGridLevel5)
    END
  END

  SINGLETON: SolutionLimits
    Doc String = Configure bounds for solution fields
    Parameter List =       \
      (MinimumAbsolutePressure,                    Generic@isPhysicsRegionCompressibleForBoundary & Generic@anyPhysicsRegionTypeFluid),  \
      (MaximumAbsolutePressure,                    Generic@isPhysicsRegionCompressibleForBoundary & Generic@anyPhysicsRegionTypeFluid),  \
      (AbsolutePressurePositivityRate,             Generic@isFluxSolver & Generic@isPhysicsRegionCompressibleForBoundary & Generic@anyPhysicsRegionTypeFluid),  \
      (MinimumTemperature,                         Energy@isPhysicsRegionEnergyModelOnForBoundary),   \
      (MaximumTemperature,                         Energy@isPhysicsRegionEnergyModelOnForBoundary),   \
      (TemperaturePositivityRate,                  (isFlowSolverDensityBasedForBoundary | Generic@isFluxSolver) & Generic@isPhysicsRegionCompressibleForBoundary),   \
      (MaximumTurbulenceViscosityRatio,            Turbulence@isPhysicsRegionTurbModelOn),   \
      (MinimumTurbulenceKineticEnergy,             Turbulence@allowTurBCforTwoOrMoreEquationsForBoundary),   \
      (MinimumTurbulenceEddyFrequency,             Turbulence@isPhysicsRegionTurbModelkOmegaForBoundary | Turbulence@isPhysicsRegionTurbModelRSMOmegaForBoundary),   \
      (MinimumTurbulenceDissipationRate,           Turbulence@isPhysicsRegionTurbModelkEpsilonForBoundary | Turbulence@isPhysicsRegionTurbModelRSMEpsilonForBoundary),   \
      (VolumeFractionCutoff,                       Generic@isFalse)

    PARAMETER: MinimumAbsolutePressure
      Doc String = Specify lower bound for absolute pressure
      Parameter Type = Real
      Quantity Type = Pressure
      Lower Bound = 0 [Pa]
      Default Value = 1 [Pa]
      Upper Bound Parameter = MaximumAbsolutePressure
    END
    PARAMETER: MaximumAbsolutePressure
      Doc String = Specify upper bound for absolute pressure
      Parameter Type = Real
      Quantity Type = Pressure
      Lower Bound = 0 [Pa]
      Default Value = 5e10 [Pa]
    END
    PARAMETER: AbsolutePressurePositivityRate
      Doc String = Specify positivity rate for rate of reduction of temperature
      Parameter Type = Real
      Quantity Type = Dimensionless
      Default Value = 0.1
      Lower Bound = 0.0
    END

    PARAMETER: MinimumTemperature
      Doc String = Specify lower bound for temperature
      Parameter Type = Real
      Quantity Type = Temperature
      Lower Bound = 0 [K]
      Default Value = 1 [K]
      Upper Bound Parameter = MaximumTemperature
    END
    PARAMETER: MaximumTemperature
      Doc String = Specify upper bound for temperature
      Parameter Type = Real
      Quantity Type = Temperature
      Lower Bound = 0 [K]
      Default Value = 5000 [K]
    END
    PARAMETER: TemperaturePositivityRate
      Doc String = Specify positivity rate for temperature
      Parameter Type = Real
      Quantity Type = Dimensionless
      Default Value = \
        (0.2,   isFlowSolverDensityBasedForBoundary),  \
        (0.1,   isFlowSolverPressureBased)
      Lower Bound = 0.0
    END

    PARAMETER: MaximumTurbulenceViscosityRatio
      Doc String = Specify upper bound for turbulent viscosity ratio
      Parameter Type = Real
      Quantity Type = Dimensionless
      Default Value = 1e5
    END
    PARAMETER: MinimumTurbulenceKineticEnergy
      Doc String = Specify lower bound for turbulent viscosity ratio
      Parameter Type = Real
      Quantity Type = k
      Lower Bound = 0 [m^2 s^-2]
      Default Value = 1e-14 [m^2 s^-2]
    END
    PARAMETER: MinimumTurbulenceEddyFrequency
      Doc String = Specify upper bound for turbulent eddy frequency
      Parameter Type = Real
      Quantity Type = Frequency
      Lower Bound = 0 [s^-1]
      Default Value = 1e-20 [s^-1]
    END
    PARAMETER: MinimumTurbulenceDissipationRate
      Doc String = Specify lower bound for turbulent eddy frequency
      Parameter Type = Real
      Quantity Type = Epsilon
      Lower Bound = 0 [m^2 s^-3]
      Default Value = 1e-20 [m^2 s^-3]
    END

    PARAMETER: VolumeFractionCutoff
      Doc String = Specify cutoff for volume fraction
      Parameter Type = Real
    END
  END

  SINGLETON: ActivePhysics
    Doc String = Enable/Disable solution process for active models
    Parameter List =       \
      (SolveForFlow,                 Generic@anyPhysicsRegionTypeFluid),    \
      (SolveForEnergy,               isSolveForEnergyAvailable),                \
      (SolveForRadiation,            Radiation@isPhysicsRegionRadiationModelOnForBoundary),\
      (SolveForSpecies,              Generic@isPhysicsRegionMaterialTypeMixture), \
      (SolveForTurbulence,           areAnyTurbulenceEqnsSolved | Turbulence@isTurbModelLES)

    PARAMETER: SolveForFlow
      Doc String = Enable/Disable solution for flow field
      Parameter Type = Logical
      Default Value = True
    END
    PARAMETER: SolveForEnergy
      Doc String =  Enable/Disable solution for energy field
      Parameter Type = Logical
      Default Value = True
    END
    PARAMETER: SolveForRadiation
      Doc String =  Enable/Disable solution for radiation field
      Parameter Type = Logical
      Default Value = True
    END
    PARAMETER: SolveForSpecies
      Doc String =  Enable/Disable solution for species field
      Parameter Type = Logical
      Default Value = True
    END
    PARAMETER: SolveForTurbulence
      Doc String =  Enable/Disable solution for turbulence field
      Parameter Type = Logical
      Default Value = True
    END
  END

  SINGLETON: DiscretizationControl
    Doc String = Configure conversion of scalar transport equations to discrete algebraic equations
    Parameter List = (VelocityFormulation, Generic@isPhysicsRegionReferenceFrameMovingForBoundary)
    Child List = \
      SpatialDiscretization, \
      (TemporalDiscretization, Generic@isAnalysisTypeTransient)
    Feature Parameter List = VelocityFormulation, AFD.Developer
    Feature Child List = TemporalDiscretization, AFD.Transient
  END

  PARAMETER: VelocityFormulation
    Doc String = Select between stationary and relative velocity formulation
    Parameter Type = String
    Allowed String List = \
      Stationary,           \
      Relative
  END

  SINGLETON: SpatialDiscretization
    Doc String = Configure interpolation of convection terms of quantities to control volumes
    Parameter List = \
      (FluxScheme, isFlowSolverDensityBasedForBoundary), \
      (PressureBasedFluxScheme, isFlowSolverPressureBased), \
      GradientMethod
    Child List = \
      (Advection, Generic@anyPhysicsRegionTypeFluid), \
      (PressureScheme, isPBFluxSchemeRhieChow), \
      (RhieChowDetails, isPBFluxSchemeRhieChow), \
      (Diffusion, Generic@isTrue), \
      LimiterDetails
    Feature Parameter List = FluxScheme, AFD.Developer, \
                             PressureBasedFluxScheme, AFD.Developer
    Feature Child List = RhieChowDetails, AFD.Developer, \
                         Diffusion, AFD.Developer, \
                         LimiterDetails, AFD.Developer
  END

  PARAMETER: FluxScheme
    Doc String = Select convection flux type among Roe FDS, AUSM and Low Diffusion Roe FDS
    Parameter Type = String
    Allowed String List = \
      RoeFDS, \
      AUSM, \
      (LowDiffusionRoeFDS, Turbulence@isTurbModelLESForBoundary)
    Feature Allowed String List = LowDiffusionRoeFDS, AFD.Developer
  END

  PARAMETER: PressureBasedFluxScheme
    Doc String = Select pressure based flux scheme between Rhie Chow and Roe FDS
    Parameter Type = String
    Allowed String List = \
      RhieChow, \
      (RoeFDS, Generic@isFluxSolver)
  END

  SINGLETON: Advection
    Doc String = Configure advection schemes for governing equations
    Parameter List = \
      AdvectionDefaultSetting, \
      (FirstToHigherOrderBlending, notAdvectionDefaultSettingFirstOrderUpwind), \
      (BlendFactor, isFirstToHigherOrderBlendingOnInAdvection)
    Feature Parameter List = FirstToHigherOrderBlending, Filter.Expert, \
                             BlendFactor, Filter.Expert
    Child List = \
      (AdvectionEquation, Generic@isTrue)
    Child Name List = AdvectionEquation, allEquationNamesForDiscretization
    Feature Child List = AdvectionEquation, Filter.Expert
  END

  PARAMETER: AdvectionDefaultSetting
    Doc String = Select default advection scheme so that all equations except those of turbulence default to it
    Parameter Type = String
    Allowed String List = \
      SecondOrderUpwind, \
      FirstOrderUpwind, \
      (ThirdOrderMUSCL, Generic@isFluentSolver), \
      (QUICK, Generic@isFluentSolver), \
      (UnboundedSecondOrderUpwind, Generic@isFluxSolver)
    Feature Allowed String List = ThirdOrderMUSCL, AFD.Developer, \
                                  QUICK, AFD.Developer, \
                                  UnboundedSecondOrderUpwind, AFD.Developer
  END

  PARAMETER: BlendFactor
    Doc String = Specify blend factor
    Parameter Type = Real
    Quantity Type = Dimensionless
    Default Value = 1.0
    Lower Bound = 0.0
    Upper Bound = 1.0
  END

  OBJECT: AdvectionEquation
    Doc String = Configure advection scheme
    Parameter List = AdvectionScheme
  END

  PARAMETER: AdvectionScheme
    Doc String = Choose an advection scheme
    Parameter Type = String
    Allowed String List = \
      UseDefaultSetting, \
      SecondOrderUpwind, \
      FirstOrderUpwind, \
      (BoundedCentralDifference, isDiscSchemeBoundedCentralDifferenceRequired), \
      (ThirdOrderMUSCL, Generic@isFluentSolver), \
      (QUICK, isDiscSchemeQUICKRequired), \
      (CentralDifference, isDiscSchemeCentralDifferenceRequired), \
      (UnboundedSecondOrderUpwind, Generic@isFluxSolver)
    Feature Allowed String List = BoundedCentralDifference, AFD.Developer, \
                                  ThirdOrderMUSCL, AFD.Developer, \
                                  QUICK, AFD.Developer, \
                                  CentralDifference, AFD.Developer, \
                                  UnboundedSecondOrderUpwind, AFD.Developer
    Default Value = \
      (FirstOrderUpwind, isAdvectionEquation_firstOrder)
  END

  SINGLETON: PressureScheme
    Doc String = Select how pressure is interpolated from cells to faces
    Context Doc String = Allows to choose between different pressure interpolation schemes.
    Parameter List = \
      Option, \
      (CurrentPressureScheme, isPressureSchemeAutomatic), \
      (PressureInterpolationMethod, Generic@isFluxSolver), \
      (BoundaryPressureInterpolationMethod, Generic@isFluxSolver), \
      (PressureWeightMethod, Generic@isFluxSolver), \
      (DissipationMethod, Generic@isFluxSolver), \
      (BoundaryDissipationMethod, Generic@isFluxSolver)
    Child List = (ExpertSettings, Generic@isFluentSolver)
    Allowed Option List = \
      Automatic, \
      FirstOrder, \
      SecondOrder, \
      PRESTO, \
      (Hybrid, Generic@isFluxSolver), \
      BodyForceWeighted, \
      Linear, \
      (Expert, Generic@isFluxSolver)
    CONTEXT: Automatic
      Parameter List = \
        (PRESTOScheme, Generic@isFluentSolver & isAutomaticPressureSchemePRESTO)
    END
    Feature Parameter List = PressureInterpolationMethod, AFD.Developer, \
                             BoundaryPressureInterpolationMethod, AFD.Developer, \
                             PressureWeightMethod, AFD.Developer, \
                             DissipationMethod, AFD.Developer, \
                             BoundaryDissipationMethod, AFD.Developer, \
                             PRESTOScheme, Filter.Expert

    Feature Child List = ExpertSettings, AFD.Developer

    Feature Option List = Hybrid, AFD.Developer, \
                          Linear, AFD.Developer, \
                          Expert, AFD.Developer

    CONTEXT: PRESTO
      Parameter List = \
        (PRESTOScheme, Generic@isFluentSolver)
    END

    PARAMETER: CurrentPressureScheme
      Doc String = See active pressure scheme
      Parameter Type = String
      Allowed String List = \
        (SecondOrder, Flow@isBuoyancyOff), \
        (FirstOrder, Generic@isFalse), \
        (PRESTO, Flow@isBuoyancyOn), \
        (BodyForceWeighted, Generic@isFalse), \
        (Linear, Generic@isFalse)
      Feature Allowed String List = FirstOrder, Filter.Expert,   \
                          SecondOrder, Filter.Expert, \
                          PRESTO, Filter.Expert,       \
                          BodyForceWeighted, AFD.Developer, \
                          Linear, AFD.Developer
    END

    PARAMETER: PRESTOScheme
      Doc String = Refine PRESTO scheme by selecting among Standard, Unstructured and Low Order
      Parameter Type = String
      Allowed String List = \
        Standard, \
        Unstructured, \
        LowOrder
    END

    PARAMETER: PressureInterpolationMethod
      Doc String = Select method for interpolation of pressure
      Parameter Type = String
      Allowed String List = \
        (FirstOrder, isPressureInterpolationFirstOrderRequired), \
        (SecondOrder, isPressureSchemeExpert), \
        (SecondOrderBounded, isPressureInterpolationSecondOrderBoundedRequired), \
        (SecondOrderGradient, isPressureInterpolationSecondOrderGradientRequired), \
        (SecondOrderProjection, isPressureSchemeExpert), \
        (SecondOrderBoundedProjection, isPressureSchemeExpert), \
        (SecondOrderGradientProjection, isPressureInterpolationSecondOrderGradientProjectionRequired)
    END

    PARAMETER: BoundaryPressureInterpolationMethod
      Doc String = Select method for interpolation of boundary pressure
      Parameter Type = String
      Allowed String List = \
        (FirstOrder, isPressureInterpolationFirstOrderRequired), \
        (SecondOrder, isPressureSchemeExpert), \
        (SecondOrderBounded, isPressureInterpolationSecondOrderBoundedRequired), \
        (SecondOrderGradient, isPressureInterpolationSecondOrderGradientRequired), \
        (SecondOrderProjection, isPressureSchemeExpert), \
        (SecondOrderBoundedProjection, isPressureSchemeExpert), \
        (SecondOrderGradientProjection, isPressureInterpolationSecondOrderGradientProjectionRequired)
    END

    PARAMETER: PressureWeightMethod
      Doc String = Select method for pressure weightage
      Parameter Type = String
      Allowed String List = \
        (MomentumWeighted, isPressureWeightMethodMomentumWeightedRequired), \
        (Arithmetic, isPressureWeightMethodArithmeticRequired), \
        (DensityWeighted, isPressureWeightMethodDensityWeightedRequired)
    END

    PARAMETER: DissipationMethod
      Doc String = Select method for dissipation of pressure
      Parameter Type = String
      Allowed String List = \
        (None, isDissipationMethodNoneRequired), \
        (PRESTO, isDissipationMethodPRESTORequired)
    END

    PARAMETER: BoundaryDissipationMethod
      Doc String = Select method for dissipation of boundary pressure
      Parameter Type = String
      Allowed String List = \
        (None, isDissipationMethodNoneRequired), \
        (PRESTO, isDissipationMethodPRESTORequired)
    END
  END

  SINGLETON: ExpertSettings
    Doc String = Configure expert settings for pressure interpolation
    Parameter List = \
      IncludeUnsteadyTerms
  END

  PARAMETER: IncludeUnsteadyTerms
    Doc String = Enable/Disable inclusion of unsteady terms for pressure interpolation
    Parameter Type = Logical
    Default Value = True
  END

  SINGLETON: RhieChowDetails
    Doc String = Configure details of Rhie Chow method
    Parameter List = \
      (VelocityWeightMethod, Generic@isFluxSolver), \
      (PressureReconstructionMethod, Generic@isFluxSolver), \
      (FaceDiffusionScale, Generic@isFluxSolver), \
      (UnsteadyTermsOptions, Generic@isFluentSolver)
    Child List = \
      (VelocityInterpolationMethod, Generic@isFluxSolver), \
      (HighOrderRhieChowScheme, Generic@isFluentSolver)
    Feature Parameter List = VelocityWeightMethod, AFD.Developer, \
                             PressureReconstructionMethod, AFD.Developer, \
                             FaceDiffusionScale, AFD.Developer, \
                             UnsteadyTermsOptions, AFD.Developer
    Feature Child List = VelocityInterpolationMethod, AFD.Developer
  END

  PARAMETER: VelocityWeightMethod
    Doc String = Select method for velocity weightage
    Parameter Type = String
    Allowed String List = \
      MomentumWeighted, \
      Arithmetic, \
      Geometric
  END

  PARAMETER: PressureReconstructionMethod
    Doc String = Select method for pressure reconstruction
    Parameter Type = String
    Allowed String List = \
      Gradients, \
      BoundedReconstructionGradients
  END

  PARAMETER: FaceDiffusionScale
    Doc String = Enable/Disable face diffusion scaling
    Parameter Type = Logical
    Default Value = False
  END

  PARAMETER: UnsteadyTermsOptions
    Doc String = Select handling of unsteady terms among Automatic, Off and On
    Parameter Type = String
    Allowed String List = \
      Automatic, \
      Off, \
      On
  END

  SINGLETON: VelocityInterpolationMethod
    Doc String = Select method for interpolation of velocity
    Parameter List = Option
    Allowed Option List = \
      Automatic, \
      FirstOrder, \
      SecondOrder, \
      SecondOrderBounded, \
      SecondOrderProjection, \
      SecondOrderBoundedProjection
    CONTEXT: Automatic
      Parameter List = CurrentVelocityInterpolationMethod
    END
    Feature Parameter List = Option, AFD.Developer
    PARAMETER: CurrentVelocityInterpolationMethod
      Doc String = See active velocity interpolation method
      Parameter Type = String
      Allowed String List = \
        (FirstOrder, isMomentumAdvectionFirstOrder), \
        (SecondOrderBounded, notMomentumAdvectionFirstOrder)
    END
  END

  SINGLETON: HighOrderRhieChowScheme
    Doc String = Configure High Order Rhie Chow scheme
    Parameter List = Option
    Allowed Option List = \
      Automatic, \
      FirstOrderMomentumWeighted, \
      SecondOrderArithmetic, \
      SecondOrderMomentumWeighted, \
      SecondOrderOrthogonalProjection
    Feature Option List = FirstOrderMomentumWeighted, AFD.Developer, \
                          SecondOrderArithmetic, AFD.Developer, \
                          SecondOrderMomentumWeighted, AFD.Developer, \
                          SecondOrderOrthogonalProjection, AFD.Developer
    CONTEXT: Automatic
      Parameter List = CurrentHighOrderRhieChowScheme
    END
    Feature Parameter List = Option, AFD.Developer
    PARAMETER: CurrentHighOrderRhieChowScheme
      Doc String = Shows active High Order Rhie Chow scheme
      Parameter Type = String
      Allowed String List = \
        (FirstOrderMomentumWeighted, isMomentumAdvectionFirstOrder), \
        (SecondOrderMomentumWeighted, notMomentumAdvectionFirstOrder)
    END
  END

  SINGLETON: Diffusion
    Doc String = Configure computation of diffusion terms for solution equations
    Child List = NonOrthogonalDiffusion
    Child Name List = NonOrthogonalDiffusion, allEquationNamesForNonOrthogonalDiffusion
    Feature Child List = NonOrthogonalDiffusion, AFD.Developer
  END

  OBJECT: NonOrthogonalDiffusion
    Doc String = Configure computation of non-orthogonal diffusion terms for solution equations
    Context Rule = Option
    Context Doc String = Configure computation of non-orthogonal diffusion terms for solution equations
    Parameter List = Option
    Allowed Option List = \
      (Automatic, isTurbulenceNonOrthogonalDiffusion), \
      On, \
      (Off,  Generic@isFluxSolver | !isTurbulenceNonOrthogonalDiffusion), \
      (Long, Generic@isFluxSolver)
  END

  PARAMETER: GradientMethod
    Doc String = Method for computing cell gradients.
    Parameter Type = String
    Allowed String List = \
      LeastSquaresCellBased, \
      GreenGaussCellBased, \
      GreenGaussNodeBased, \
      (Automatic, Generic@isFluxSolver)
  END

  SINGLETON: LimiterDetails
    Doc String = Configure gradient limiter details
    Parameter List = \
      (LimiterType, Generic@isFluentSolver), \
      (LimiterLocation, Generic@isFluentSolver), \
      LimiterFilter

    Feature Parameter List = LimiterType, AFD.Developer, \
                             LimiterLocation, AFD.Developer, \
                             LimiterFilter, AFD.Developer

    PARAMETER: LimiterType
      Doc String = Select slope limiter type
      Parameter Type = String
      Allowed String List = \
        Standard, \
        Differentiable, \
        Multidimensional
    END
    PARAMETER: LimiterLocation
      Doc String = Select limiter direction
      Parameter Type = String
      Allowed String List = \
        CellToFace, \
        CellToCell
    END
    PARAMETER: LimiterFilter
      Doc String = Enable/Disable limiter filter for suppressing limiter intervention
      Parameter Type = Logical
      Default Value = False
    END
  END

  SINGLETON: TemporalDiscretization
    Doc String = Configure discretization of governing equations in time for transient solutions
    Child List = \
      TransientScheme, \
      (TimeAdvancementMethod, isFlowSolverPressureBased | Generic@anyPhysicsRegionTypeSolid), \
      (TimeStepInitialization, Generic@isFluxSolver)
    Parameter List = (TransientMethod, Generic@isFluxSolver)
    Feature Parameter List = TransientMethod, AFD.Developer

    PARAMETER: TransientMethod
      Doc String = Select transient method between Finite Difference and Finite Volume
      Parameter Type = String
      Allowed String List = \
        FiniteDifference, \
        FiniteVolume
      Default Value = FiniteDifference
    END
  END

  SINGLETON: TransientScheme
    Doc String = Configure integration of transient terms in governing equations
    Parameter List = TransientDefaultSetting
    Child List = (TransientEquation, Generic@isFalse)

    PARAMETER: TransientDefaultSetting
      Doc String = Specify default transient scheme
      Parameter Type = String
      Allowed String List = \
        (TimeExplicit, isTransientSchemeTimeExplicitAllowed), \
        FirstOrderBackwardEuler, \
        BoundedSecondOrderBackwardEuler, \
        UnboundedSecondOrderBackwardEuler, \
        FirstOrderExplicit , \
        SecondOrderExplicit
    END
    Child Name List = TransientEquation, allEquationNamesForDiscretization
  END

  OBJECT: TransientEquation
    Doc String = Configure transient scheme for an equation.
    Parameter List = Option
    Context Rule = Option
    Context Doc String = Choose between different transient equation.
    Allowed Option List = \
      (UseDefaultSetting, Generic@isFluxSolver), \
      (TimeExplicit, isTimeExplicitRequired), \
      (FirstOrderBackwardEuler, Generic@isFluxSolver), \
      (BoundedSecondOrderBackwardEuler, isSecondOrderBackwardEulerRequired), \
      (UnboundedSecondOrderBackwardEuler, isSecondOrderBackwardEulerRequired) ,\
      (FirstOrderExplicit, Generic@isFluxSolver), \
      (SecondOrderExplicit, Generic@isFluxSolver)
  END

  SINGLETON: TimeAdvancementMethod
    Doc String = Configure time advancement method for transient solutions
    Parameter List = Option
    Allowed Option List = \
      Iterative, \
      NonIterative
    CONTEXT: NonIterative
      Child List = \
        Method, \
        NITAControl
    END
    Feature Parameter List = Option, AFD.Transient
    Feature Child List = NITAControl, AFD.Developer
    Child Name List = NITAControl, allEquationNamesForNITA
  END

  SINGLETON: TimeStepInitialization
    Doc String = Configure time step initialization.
    Context Rule = Option
    Context Doc String = Select method to initialize variables at start of new time step.
    Parameter List = Option
    Allowed Option List = \
      PreviousTimeStep, \
      (Extrapolation, isTransientSchemeSecondOrder)
  END

  SINGLETON: Method
    Doc String = Select method for non-iterative time advancement
    Parameter List = \
      Option
    Allowed Option List = \
      (PISO, notIsTransientSchemeExplicit), \
      (FractionalStep, notIsTransientSchemeExplicit) , \
      (ExplicitFractionalStep, isTransientSchemeExplicit)
    CONTEXT: PISO
      Parameter List = NeighborCorrection
    END
    Feature Parameter List = Option, AFD.Transient
  END

  PARAMETER: NeighborCorrection
    Doc String = Specify sub-iteration correction factor for non-iterative time advancement
    Parameter Type = Integer
    Lower Bound = 0
    Default Value = 1
  END

  PARAMETER: FractionalStep
    Doc String = Specify fractional step
    Parameter Type = Integer
    Lower Bound = 0
    Default Value = 0
  END

  OBJECT: NITAControl
    Doc String = Configure controlling factors for non-iterative time advancement
    Parameter List = \
      MaximumSubiterations, \
      SubiterationToleranceValue, \
      ResidualToleranceValue
  END

  PARAMETER: MaximumSubiterations
    Doc String = Specify minimum sub-iterations
    Parameter Type = Integer
    Quantity Type = Dimensionless
    Lower Bound = 0
    Default Value = \
      (10, isNITAControl_pressure), \
      (5, Generic@isTrue)
  END

  PARAMETER: SubiterationToleranceValue
    Doc String = Specify sub-iteration tolerance value
    Parameter Type = Real
    Quantity Type = Dimensionless
    Default Value = \
      (0.25, isNITAControl_pressure), \
      (0.05, Generic@isTrue)
  END

  PARAMETER: ResidualToleranceValue
    Doc String = Specify residual tolerance value
    Parameter Type = Real
    Quantity Type = Dimensionless
    Default Value = 0.0001
  END
#
# Physics
#
  PHYSICS:

    Global Check Root = Flux

    CHECK: isSolutionDerivativesCalculated
      Type = Dependency
      Parameter Path = /FLUX/Analysis:_this_/SolutionControls/CalculateSolutionDerivatives
      Value List = True
    END

    CHECK: isFlowSolverPressureBased
      Type = Dependency
      Parameter Path = /FLUX/Analysis:_this_/PhysicsRegion:_this_/NumericalControls/FlowSolver/Option
      Value List = PressureBased
    END

    CHECK: isNonOverlapFlowSolverPressureBased
      Type = Count Objects
      Object Path = /FLUX/Analysis:_this_/PhysicsRegion:_all_<Generic@physicsRegionForNonOverlapConditions>
      Filter Expression = isFlowSolverPressureBased
      Comparison Operator = GT
      RHS Value = 0
    END

    CHECK: anyFlowSolverPressureBased
      Type = Count Objects
      Object Path = /FLUX/Analysis:_this_/PhysicsRegion:_all_
      Filter Expression = isFlowSolverPressureBased
      Comparison Operator = GT
      RHS Value = 0
    END

    CHECK: isFlowSolverDensityBasedForBoundary
      Type = Dependency
      Parameter Path = /FLUX/Analysis:_this_/PhysicsRegion:_this_/NumericalControls/FlowSolver/Option
      Value List = DensityBased
    END

    CHECK: isFlowSolverDensityBasedForNonOverlapConditions
      Type = Count Objects
      Object Path = /FLUX/Analysis:_this_/PhysicsRegion:_all_<Generic@physicsRegionForNonOverlapConditions>
      Filter Expression = isFlowSolverDensityBasedForBoundary
      Comparison Operator = GT
      RHS Value = 0
    END

    CHECK: anyFlowSolverDensityBased
      Type = Count Objects
      Object Path = /FLUX/Analysis:_this_/PhysicsRegion:_all_
      Filter Expression = isFlowSolverDensityBasedForBoundary
      Comparison Operator = GT
      RHS Value = 0
    END

    CHECK: isFlowCouplingImplicit
      Type = Dependency
      Parameter Path = /FLUX/Analysis:_this_/PhysicsRegion:_this_/NumericalControls/SolutionControl/CouplingControl/FlowCoupling/Option
      Value List = Implicit
    END

    CHECK: isFlowSolverDBImplicit
      Type = Composite
      Result = isFlowSolverDensityBasedForBoundary & isFlowCouplingImplicit
    END

    CHECK: isFlowSolverDBExplicit
      Type = Composite
      Result = isFlowSolverDensityBasedForBoundary & isFlowCouplingExplicit
    END

    CHECK: isFlowCouplingExplicit
      Type = Dependency
      Parameter Path = /FLUX/Analysis:_this_/PhysicsRegion:_this_/NumericalControls/SolutionControl/CouplingControl/FlowCoupling/Option
      Value List = Explicit
    END

    CHECK: anyFlowCouplingExplicit
      Type = Count Objects
      Object Path = /FLUX/Analysis:_this_/PhysicsRegion:_all_
      Filter Expression = isFlowCouplingExplicit
      Comparison Operator = GT
      RHS Value = 0
    END

    CHECK: isFlowTypeIncompressible
      Type = Dependency
      Parameter Path = /FLUX/Analysis:_this_/PhysicsRegion:_this_/NumericalControls/SolutionControl/SolutionSteering/FlowType
      Value List = Incompressible
    END

    CHECK: isFlowTypeSubsonic
      Type = Dependency
      Parameter Path = /FLUX/Analysis:_this_/PhysicsRegion:_this_/NumericalControls/SolutionControl/SolutionSteering/FlowType
      Value List = Subsonic
    END

    CHECK: isFlowTypeTransonic
      Type = Dependency
      Parameter Path = /FLUX/Analysis:_this_/PhysicsRegion:_this_/NumericalControls/SolutionControl/SolutionSteering/FlowType
      Value List = Transonic
    END

    CHECK: isFlowTypeSupersonic
      Type = Dependency
      Parameter Path = /FLUX/Analysis:_this_/PhysicsRegion:_this_/NumericalControls/SolutionControl/SolutionSteering/FlowType
      Value List = Supersonic
    END

    CHECK: isFlowTypeHypersonic
      Type = Dependency
      Parameter Path = /FLUX/Analysis:_this_/PhysicsRegion:_this_/NumericalControls/SolutionControl/SolutionSteering/FlowType
      Value List = Hypersonic
    END

    CHECK: notIsFlowTypeHypersonic
      Type = Dependency
      Parameter Path = /FLUX/Analysis:_this_/PhysicsRegion:_this_/NumericalControls/SolutionControl/SolutionSteering/FlowType
      Value List = Incompressible, Subsonic, Transonic
    END

    CHECK: isTransientSchemeSecondOrder
      Type = Dependency
      Parameter Path = /FLUX/Analysis:_this_/PhysicsRegion:_this_/NumericalControls/DiscretizationControl/TemporalDiscretization/TransientScheme/TransientDefaultSetting
      Value List = UnboundedSecondOrderBackwardEuler, BoundedSecondOrderBackwardEuler, SecondOrderExplicit
    END

    CHECK: anyTransientSchemeSecondOrder
      Type = Count Objects
      Object Path = /FLUX/Analysis:_this_/PhysicsRegion:_all_
      Filter Expression = isTransientSchemeSecondOrder
      Comparison Operator = GT
      RHS Value = 0
    END

    CHECK: isTransientSchemeImplicit
      Type = Dependency
      Parameter Path = /FLUX/Analysis:_this_/PhysicsRegion:_this_/NumericalControls/DiscretizationControl/TemporalDiscretization/TransientScheme/TransientDefaultSetting
      Value List = FirstOrderBackwardEuler, UnboundedSecondOrderBackwardEuler, BoundedSecondOrderBackwardEuler
    END

    CHECK: anyTransientSchemeImplicit
      Type = Count Objects
      Object Path = /FLUX/Analysis:_this_/PhysicsRegion:_all_
      Filter Expression = isTransientSchemeImplicit
      Comparison Operator = GT
      RHS Value = 0
    END

    CHECK: isAnalysisSteadyOrTransientSchemeImplicit
      Type = Composite
      Result = Generic@isAnalysisTypeSteady | isTransientSchemeImplicit
    END

    CHECK: isTransientSchemeTimeExplicitAllowed
      Type = Composite
      Result = isFlowSolverDensityBasedForBoundary | Generic@anyPhysicsRegionTypeSolid
    END

    CHECK: isTransientSchemeExplicit
      Type = Dependency
      Parameter Path = /FLUX/Analysis:_this_/PhysicsRegion:_this_/NumericalControls/DiscretizationControl/TemporalDiscretization/TransientScheme/TransientDefaultSetting
      Value List = TimeExplicit, FirstOrderExplicit, SecondOrderExplicit
    END

    CHECK: anyTransientSchemeExplicit
      Type = Count Objects
      Object Path = /FLUX/Analysis:_this_/PhysicsRegion:_all_
      Filter Expression = isTransientSchemeExplicit
      Comparison Operator = GT
      RHS Value = 0
    END

    CHECK: notIsTransientSchemeExplicit
      Type = Composite
      Result = !isTransientSchemeExplicit
    END

    CHECK: isCASMAvailable
      Type = Composite
      Result = Generic@isAnalysisTypeSteady & isFlowSolverDensityBasedForBoundary
    END

    CHECK: isCASMOn
      Type = Dependency
      Parameter Path = /FLUX/Analysis:_this_/PhysicsRegion:_this_/NumericalControls/SolutionControl/CouplingControl/FlowCoupling/UseCASM
      Value List = True
    END

    LIST: SmootheningIterations
      Type = ParamRHS
      Parameter Path = /FLUX/Analysis:_this_/PhysicsRegion:_this_/NumericalControls/SolutionControl/CouplingControl/FlowCoupling/ResidualSmoothening/Iterations
    END

    LIST: ZeroValueList
      Type = Fixed Value
      Values = 0
    END

    CHECK: isSmoothingFactorAvailable
      Type = Compare List Values
      List Name 1 = SmootheningIterations
      List Name 2 = ZeroValueList
      Comparison Operator = GT
      List Interpretation = Integer
    END

    # TODO: is this a PhysicsRegion specific check?
    CHECK: isVOFCouplingAvailable
      Type = Composite
      Result = Generic@isFalse
    END

    # TODO: is this a PhysicsRegion specific check?
    CHECK: isImplicitBFAvailable
      Type = Composite
      Result = isPVCouplingSegregated
    END

    CHECK: isExplicitBFAvailable
      Type = Composite
      Result = isFlowSolverPressureBased & (Generic@anyPhysicsRegionBuoyancyOn | Generic@anyPhysicsRegionReferenceFrameMoving)
    END

    CHECK: isFlowPseudoTransientAvailable
      Type = Composite
      Result = Generic@isAnalysisTypeSteady & (isFlowSolverDBImplicit | isPVCouplingCoupled)
    END

    CHECK: isFlowCourantNumberAvailable
      Type = Composite
      Result = isPVCouplingCoupled | isFlowSolverDensityBasedForBoundary
    END

    CHECK: isFlowPseudoTransientOn
      Type = Dependency
      Parameter Path = /FLUX/Analysis:_this_/PhysicsRegion:_this_/NumericalControls/SolutionControl/AdvancementControl/FlowControl/FlowPseudoTransient/Option
      Value List = Automatic, UserSpecified
    END

    CHECK: isEnergyPseudoTransientOn
      Type = Dependency
      Parameter Path = /FLUX/Analysis:_this_/PhysicsRegion:_this_/NumericalControls/SolutionControl/AdvancementControl/EnergyControl/EnergyPseudoTransient/Option
      Value List = Automatic, UserSpecified
    END

    CHECK: isDefaultSettingOnInHighOrderTermRelaxation
      Type = Dependency
      Parameter Path = /FLUX/Analysis:_this_/PhysicsRegion:_this_/NumericalControls/SolutionControl/HighOrderTermRelaxation/DefaultSetting
      Value List = On
    END

    CHECK: isDefaultSettingOnInLimiterRelaxation
      Type = Dependency
      Parameter Path = /FLUX/Analysis:_this_/PhysicsRegion:_this_/NumericalControls/SolutionControl/LimiterRelaxation/DefaultSetting
      Value List = On
    END

    CHECK: isPseudoTransientOn
      Type = Composite
      Result = isFlowPseudoTransientOn | isEnergyPseudoTransientOn
    END

    CHECK: isPseudoTransientOff
      Type = Composite
      Result = !isPseudoTransientOn
    END

    CHECK: isSolveForEnergyAvailable
      Type = Composite
      Result = (isFlowSolverPressureBased & Energy@isPhysicsRegionEnergyModelOnForBoundary) | Generic@anyPhysicsRegionTypeSolid
    END

    CHECK: isEnergyRadiationCouplingAvailable
      Type = Composite
      Result = Generic@isFluxSolver & Energy@isPhysicsRegionEnergyModelOnForBoundary & Radiation@isPhysicsRegionRadiationModelOnForBoundary
    END

    CHECK: isTurbulenceCouplingAvailable
      Type = Composite
      Result = Generic@isFluxSolver & Turbulence@allowTurBCforTwoOrMoreEquationsForBoundary
    END

    CHECK: isEnergyRadiationCoupled
      Type = Dependency
      Parameter Path = /FLUX/Analysis:_this_/PhysicsRegion:_this_/NumericalControls/SolutionControl/CouplingControl/EnergyRadiationCoupling
      Value List = True
    END

    CHECK: notIsEnergyRadiationCoupled
      Type = Composite
      Result = !isEnergyRadiationCoupled
    END

    CHECK: isEnergyControlOptionPseudoTransient
      Type = Dependency
      Parameter Path = /FLUX/Analysis:_this_/PhysicsRegion:_this_/NumericalControls/SolutionControl/AdvancementControl/EnergyControl/Option
      Value List = PseudoTransient
    END

    LIST: currentExplicitRelaxEquationName
      Type = Filter
      Object Path = /FLUX/Analysis:_this_/PhysicsRegion:_this_/NumericalControls/SolutionControl/ExplicitRelaxation:_this_
      Filter Expression = Generic@isTrue
      List Item = _this_<ExplicitRelaxation>
    END

    CHECK: isTurbulenceControlOptionPseudoTransient
      Type = Dependency
      Parameter Path = /FLUX/Analysis:_this_/PhysicsRegion:_this_/NumericalControls/SolutionControl/AdvancementControl/TurbulenceControl:_all_<currentExplicitRelaxEquationName>/Option
      Value List = PseudoTransient
    END

    CHECK: isUserVariableControlOptionPseudoTransient
      Type = Dependency
      Parameter Path = /FLUX/Analysis:_this_/PhysicsRegion:_this_/NumericalControls/SolutionControl/AdvancementControl/UserVariableControl:_all_<currentExplicitRelaxEquationName>/Option
      Value List = PseudoTransient
    END

    CHECK: isFlowPseudoTransientOff
      Type = Composite
      Result = !isFlowPseudoTransientOn
    END

    CHECK: isTimestepScalingFactorAvailable
      Type = Composite
      Result = Generic@isFalse
    END

    CHECK: isPVCouplingCoupled
      Type = Dependency
      Parameter Path = /FLUX/Analysis:_this_/PhysicsRegion:_this_/NumericalControls/SolutionControl/CouplingControl/PressureVelocityCoupling/Option
      Value List = Coupled
    END

    CHECK: isPVCouplingSIMPLE
      Type = Dependency
      Parameter Path = /FLUX/Analysis:_this_/PhysicsRegion:_this_/NumericalControls/SolutionControl/CouplingControl/PressureVelocityCoupling/Option
      Value List = SIMPLE
    END

    CHECK: isPVCouplingSIMPLEC
      Type = Dependency
      Parameter Path = /FLUX/Analysis:_this_/PhysicsRegion:_this_/NumericalControls/SolutionControl/CouplingControl/PressureVelocityCoupling/Option
      Value List = SIMPLEC
    END

    CHECK: isPVCouplingPISO
      Type = Dependency
      Parameter Path = /FLUX/Analysis:_this_/PhysicsRegion:_this_/NumericalControls/SolutionControl/CouplingControl/PressureVelocityCoupling/Option
      Value List = PISO
    END

    CHECK: isPVCouplingSegregated
      Type = Composite
      Result = isFlowSolverPressureBased & !isPVCouplingCoupled
    END

    CHECK: isDefaultCycleTypeFlexibleCycle
      Type = Composite
      Result = Flow@isLinearSolverSettings_velocity
    END

    CHECK: isCycleTypeFlexible
      Type = Dependency
      Parameter Path = /FLUX/Analysis:_this_/PhysicsRegion:_this_/NumericalControls/SolutionControl/LinearSolver/LinearSolverSettings:_this_/CycleType
      Value List = Flexible
    END

    CHECK: isCycleTypeFixed
      Type = Dependency
      Parameter Path = /FLUX/Analysis:_this_/PhysicsRegion:_this_/NumericalControls/SolutionControl/LinearSolver/LinearSolverSettings:_this_/CycleType
      Value List = V-Cycle, W-Cycle, F-Cycle
    END

    CHECK: isFlexibleCycleControlsAvailable
      Type = Count Objects
      Object Path = /FLUX/Analysis:_this_/PhysicsRegion:_this_/NumericalControls/SolutionControl/LinearSolver/LinearSolverSettings:_all_<allEquationNamesForLinearSolver>
      Filter Expression = isCycleTypeFlexible
      Comparison Operator = GT
      RHS Value = 0
    END

    CHECK: isScalarFixedCycleControlsAvailable
      Type = Count Objects
      Object Path = /FLUX/Analysis:_this_/PhysicsRegion:_this_/NumericalControls/SolutionControl/LinearSolver/LinearSolverSettings:_all_<allEquationNamesForLinearSolver>
      Filter Expression = isCycleTypeFixed
      Comparison Operator = GT
      RHS Value = 0
    END

    CHECK: isCoupledFixedCycleControlsAvailable
      Type = Count Objects
      Object Path = /FLUX/Analysis:_this_/PhysicsRegion:_this_/NumericalControls/SolutionControl/LinearSolver/LinearSolverSettings:_all_<coupledLinearSolverSettingsList>
      Filter Expression = isCycleTypeFixed
      Comparison Operator = GT
      RHS Value = 0
    END

    CHECK: isCoupledFixedSmootherOptionILU
      Type = Dependency
      Parameter Path = /FLUX/Analysis:_this_/PhysicsRegion:_this_/NumericalControls/SolutionControl/LinearSolver/CoupledControls/FixedCycleControls/CoupledFixedCycleSmoother
      Value List = ILU
    END

    CHECK: isCoupledFixedSmootherOptionGS
      Type = Dependency
      Parameter Path = /FLUX/Analysis:_this_/PhysicsRegion:_this_/NumericalControls/SolutionControl/LinearSolver/CoupledControls/FixedCycleControls/CoupledFixedCycleSmoother
      Value List = GaussSeidel
    END

    CHECK: isScalarFixedSmootherOptionILU
      Type = Dependency
      Parameter Path = /FLUX/Analysis:_this_/PhysicsRegion:_this_/NumericalControls/SolutionControl/LinearSolver/ScalarControls/FixedCycleControls/ScalarFixedCycleSmoother
      Value List = ILU
    END

    CHECK: isScalarFixedSmootherOptionGS
      Type = Dependency
      Parameter Path = /FLUX/Analysis:_this_/PhysicsRegion:_this_/NumericalControls/SolutionControl/LinearSolver/ScalarControls/FixedCycleControls/ScalarFixedCycleSmoother
      Value List = GaussSeidel
    END

    CHECK: is3DAndScalarFixedSmootherOptionILU
      Type = Composite
      Result = Generic@is3D & isScalarFixedSmootherOptionILU
    END

    CHECK: is3DAndCoupledFixedSmootherOptionILU
      Type = Composite
      Result = Generic@is3D & isCoupledFixedSmootherOptionILU
    END

    CHECK: isCourantDefault200
      Type = Composite
      Result = (isPVCouplingCoupled | Generic@isPhysicsRegionTypeSolid) & Generic@isAnalysisTypeSteady
    END

    CHECK: isCourantDefault1e10
      Type = Composite
      Result = (isPVCouplingCoupled | Generic@isPhysicsRegionTypeSolid) & Generic@isAnalysisTypeTransient
    END

    CHECK: isCourantDefault5
      Type = Composite
      Result = isFlowSolverDBImplicit & Generic@isAnalysisTypeSteady & Generic@isPhysicsRegionCompressibleForBoundary
    END

    CHECK: isCourantDefault1000
      Type = Composite
      Result = isFlowSolverDBImplicit & Generic@allPhysicsRegionsIncompressible
    END

    CHECK: isCourantDefault50
      Type = Composite
      Result = isFlowSolverDBImplicit & Generic@isAnalysisTypeTransient & Generic@isPhysicsRegionCompressibleForBoundary
    END

    CHECK: isExplicitRelaxDefault0.3
      Type = Composite
      Result = Flow@isExplicitRelaxation_pressure & isPVCouplingSIMPLE
    END

    CHECK: isExplicitRelaxDefault0.5
      Type = Composite
      Result = (Flow@isExplicitRelaxation_flow & isCASMOn) | \
               ((Turbulence@isExplicitRelaxation_retheta | Turbulence@isExplicitRelaxation_intermittency) & isTurbulenceControlOptionPseudoTransient) | \
               ((Flow@isExplicitRelaxation_pressure | Flow@isExplicitRelaxation_velocity) & \
                (isFlowPseudoTransientAvailable | isFlowCourantNumberAvailable))
    END

    CHECK: isExplicitRelaxDefault0.75
      Type = Composite
      Result = (Species@isExplicitRelaxation_species & isFlowPseudoTransientOn) | \
               (Energy@isExplicitRelaxation_energy & isEnergyControlOptionPseudoTransient) | \
               ((Turbulence@isExplicitRelaxation_tke | Turbulence@isExplicitRelaxation_tef | Turbulence@isExplicitRelaxation_nut | \
               Turbulence@isExplicitRelaxation_laminarke | Turbulence@isExplicitRelaxation_drsm | \
               Turbulence@isExplicitRelaxation_tdr) & isTurbulenceControlOptionPseudoTransient) | \
               ((UserVariable@isExplicitRelaxation_scalar | UserVariable@isExplicitRelaxation_vector) & isUserVariableControlOptionPseudoTransient)
    END

    # TODO: incomplete check
    CHECK: isExplicitRelaxDefault1.0
      Type = Composite
      Result = (Flow@isExplicitRelaxation_velocity & isPVCouplingSegregated) | \
               (Flow@isExplicitRelaxation_pressure & (isPVCouplingSegregated & !isPVCouplingSIMPLE)) | \
               ((isFlowCourantNumberAvailable | isPVCouplingSegregated) & (Energy@isExplicitRelaxation_energy | \
               Turbulence@isExplicitRelaxation_drsm | Turbulence@isExplicitRelaxation_tdr | Turbulence@isExplicitRelaxation_tke | \
               Turbulence@isExplicitRelaxation_tef | Turbulence@isExplicitRelaxation_laminarke | Turbulence@isExplicitRelaxation_retheta | \
               Turbulence@isExplicitRelaxation_intermittency | Turbulence@isExplicitRelaxation_nut )) | Turbulence@isExplicitRelaxation_turbviscosity
    END

    CHECK: isTimeAdvancementIterative
      Type = Dependency
      Parameter Path = /FLUX/Analysis:_this_/PhysicsRegion:_this_/NumericalControls/DiscretizationControl/TemporalDiscretization/TimeAdvancementMethod/Option
      Value List = Iterative
    END

    CHECK: anyTimeAdvancementIterative
      Type = Count Objects
      Object Path = /FLUX/Analysis:_this_/PhysicsRegion:_all_
      Filter Expression = isTimeAdvancementIterative
      Comparison Operator = GT
      RHS Value = 0
    END

    CHECK: isPVCouplingAvailable
      Type = Composite
      Result = isFlowSolverPressureBased & (Generic@isAnalysisTypeSteady | (Generic@isAnalysisTypeTransient & isTimeAdvancementIterative))
    END

    CHECK: anyTemporalDiscretizations
      Type = Count Objects
      Object Path = /FLUX/Analysis:_this_/PhysicsRegion:_all_/NumericalControls/DiscretizationControl/TemporalDiscretization
      Comparison Operator = GT
      RHS Value = 0
    END

    CHECK: isAdaptiveAvailable
      Type = Composite
      Result = anyTemporalDiscretizations & ((!anyFlowCouplingExplicit) & !(Generic@isFluentSolver & anyTransientSchemeSecondOrder))
    END

    CHECK: isTimeSteppingMethodAdaptive
      Type = Dependency
      Parameter Path = /FLUX/Analysis:_this_/SolutionControls/CalculationControl/TransientControl/TimeSteppingMethod/Option
      Value List = Adaptive
    END

    CHECK: notIsTimeSteppingMethodAdaptive
      Type = Composite
      Result = !isTimeSteppingMethodAdaptive
    END

    CHECK: isIterationControlAvailable
      Type = Composite
      Result = Generic@isAnalysisTypeSteady | (anyFlowSolverPressureBased & anyTimeAdvancementIterative) | (anyFlowSolverDensityBased & anyTransientSchemeImplicit)
    END

    CHECK: isPBFluxSchemeRhieChow
      Type = Dependency
      Parameter Path = /FLUX/Analysis:_this_/PhysicsRegion:_this_/NumericalControls/DiscretizationControl/SpatialDiscretization/PressureBasedFluxScheme
      Value List = RhieChow
    END

    CHECK: notAdvectionDefaultSettingFirstOrderUpwind
      Type = Composite
      Result = !isAdvectionDefaultSettingFirstOrderUpwind
    END

    CHECK: isAdvectionDefaultSettingFirstOrderUpwind
      Type = Dependency
      Parameter Path = /FLUX/Analysis:_this_/PhysicsRegion:_this_/NumericalControls/DiscretizationControl/SpatialDiscretization/Advection/AdvectionDefaultSetting
      Value List = FirstOrderUpwind
    END

    CHECK: isMomentumAdvectionFirstOrder
      Type = Count Objects
      Object Path = /FLUX/Analysis:_this_/PhysicsRegion:_this_/NumericalControls/DiscretizationControl/SpatialDiscretization/Advection/AdvectionEquation:_all_<Flow@momentumEqnList>
      Filter Expression = isAdvectionSchemeFirstOrder
      Comparison Operator = EQ
      RHS Value = 1
    END

    CHECK: notMomentumAdvectionFirstOrder
      Type = Composite
      Result = !isMomentumAdvectionFirstOrder
    END

    CHECK: isAdvectionSchemeFirstOrder
      Type = Composite
      Result = isAdvectionOptionFirstOrderUpwind | (isAdvectionOptionUseDefaultSetting & isAdvectionDefaultSettingFirstOrderUpwind)
    END

    CHECK: isAdvectionOptionFirstOrderUpwind
      Type = Dependency
      Parameter Path = /FLUX/Analysis:_this_/PhysicsRegion:_this_/NumericalControls/DiscretizationControl/SpatialDiscretization/Advection/AdvectionEquation:_this_/AdvectionScheme
      Value List = FirstOrderUpwind
    END

    CHECK: isAdvectionOptionUseDefaultSetting
      Type = Dependency
      Parameter Path = /FLUX/Analysis:_this_/PhysicsRegion:_this_/NumericalControls/DiscretizationControl/SpatialDiscretization/Advection/AdvectionEquation:_this_/AdvectionScheme
      Value List = UseDefaultSetting
    END

    CHECK: isPressureInterpolationFirstOrderRequired
      Type = Composite
      Result = isPressureSchemeExpert | isPressureSchemeFirstOrder | (isPressureSchemeAutomatic & isAutomaticPressureSchemeFirstOrder) | isPressureSchemeLinear
    END

    CHECK: isPressureInterpolationSecondOrderGradientRequired
      Type = Composite
      Result = isPressureSchemeExpert | isPressureSchemePRESTO | (isPressureSchemeAutomatic & isAutomaticPressureSchemePRESTO)
    END

    CHECK: isPressureInterpolationSecondOrderGradientProjectionRequired
      Type = Composite
      Result = isPressureSchemeExpert | isPressureSchemeBodyForceWeighted | (isPressureSchemeAutomatic & isAutomaticPressureSchemeBodyForceWeighted)
    END

    CHECK: isPressureInterpolationSecondOrderBoundedRequired
      Type = Composite
      Result = isPressureSchemeExpert | (!isPressureInterpolationFirstOrderRequired & !isPressureInterpolationSecondOrderGradientRequired & !isPressureInterpolationSecondOrderGradientProjectionRequired)
    END

    CHECK: isPressureWeightMethodMomentumWeightedRequired
      Type = Composite
      Result = isPressureSchemeExpert | isPressureSchemeFirstOrder | (isPressureSchemeAutomatic & isAutomaticPressureSchemeFirstOrder) | isPressureSchemePRESTO | (isPressureSchemeAutomatic & isAutomaticPressureSchemePRESTO)
    END

    CHECK: isPressureWeightMethodDensityWeightedRequired
      Type = Composite
      Result = isPressureSchemeExpert | isPressureSchemeBodyForceWeighted | (isPressureSchemeAutomatic & isAutomaticPressureSchemeBodyForceWeighted)
    END

    CHECK: isPressureWeightMethodArithmeticRequired
      Type = Composite
      Result = isPressureSchemeExpert | (!isPressureWeightMethodMomentumWeightedRequired & !isPressureWeightMethodDensityWeightedRequired)
    END

    CHECK: isDissipationMethodPRESTORequired
      Type = Composite
      Result = isPressureSchemeExpert | isPressureSchemePRESTO | isPressureSchemeHybrid | (isPressureSchemeAutomatic & isAutomaticPressureSchemePRESTO)
    END

    CHECK: isDissipationMethodNoneRequired
      Type = Composite
      Result = isPressureSchemeExpert | !isDissipationMethodPRESTORequired
    END

    CHECK: isPressureSchemeExpert
      Type = Dependency
      Parameter Path = /FLUX/Analysis:_this_/PhysicsRegion:_this_/NumericalControls/DiscretizationControl/SpatialDiscretization/PressureScheme/Option
      Value List = Expert
    END

    CHECK: isPressureSchemeAutomatic
      Type = Dependency
      Parameter Path = /FLUX/Analysis:_this_/PhysicsRegion:_this_/NumericalControls/DiscretizationControl/SpatialDiscretization/PressureScheme/Option
      Value List = Automatic
    END

    CHECK: isPressureSchemeFirstOrder
      Type = Dependency
      Parameter Path = /FLUX/Analysis:_this_/PhysicsRegion:_this_/NumericalControls/DiscretizationControl/SpatialDiscretization/PressureScheme/Option
      Value List = FirstOrder
    END

    CHECK: isPressureSchemeSecondOrder
      Type = Dependency
      Parameter Path = /FLUX/Analysis:_this_/PhysicsRegion:_this_/NumericalControls/DiscretizationControl/SpatialDiscretization/PressureScheme/Option
      Value List = SecondOrder
    END

    CHECK: isPressureSchemePRESTO
      Type = Dependency
      Parameter Path = /FLUX/Analysis:_this_/PhysicsRegion:_this_/NumericalControls/DiscretizationControl/SpatialDiscretization/PressureScheme/Option
      Value List = PRESTO
    END

    CHECK: isPressureSchemeHybrid
      Type = Dependency
      Parameter Path = /FLUX/Analysis:_this_/PhysicsRegion:_this_/NumericalControls/DiscretizationControl/SpatialDiscretization/PressureScheme/Option
      Value List = Hybrid
    END

    CHECK: isPressureSchemeBodyForceWeighted
      Type = Dependency
      Parameter Path = /FLUX/Analysis:_this_/PhysicsRegion:_this_/NumericalControls/DiscretizationControl/SpatialDiscretization/PressureScheme/Option
      Value List = BodyForceWeighted
    END

    CHECK: isPressureSchemeLinear
      Type = Dependency
      Parameter Path = /FLUX/Analysis:_this_/PhysicsRegion:_this_/NumericalControls/DiscretizationControl/SpatialDiscretization/PressureScheme/Option
      Value List = Linear
    END

    CHECK: isAutomaticPressureSchemeFirstOrder
      Type = Dependency
      Parameter Path = /FLUX/Analysis:_this_/PhysicsRegion:_this_/NumericalControls/DiscretizationControl/SpatialDiscretization/PressureScheme/CurrentPressureScheme
      Value List = FirstOrder
    END

    CHECK: isAutomaticPressureSchemeSecondOrder
      Type = Dependency
      Parameter Path = /FLUX/Analysis:_this_/PhysicsRegion:_this_/NumericalControls/DiscretizationControl/SpatialDiscretization/PressureScheme/CurrentPressureScheme
      Value List = SecondOrder
    END

    CHECK: isAutomaticPressureSchemeBodyForceWeighted
      Type = Dependency
      Parameter Path = /FLUX/Analysis:_this_/PhysicsRegion:_this_/NumericalControls/DiscretizationControl/SpatialDiscretization/PressureScheme/CurrentPressureScheme
      Value List = BodyForceWeighted
    END

    CHECK: isAutomaticPressureSchemePRESTO
      Type = Dependency
      Parameter Path = /FLUX/Analysis:_this_/PhysicsRegion:_this_/NumericalControls/DiscretizationControl/SpatialDiscretization/PressureScheme/CurrentPressureScheme
      Value List = PRESTO
    END

    CHECK: isTimeExplicitRequired
      Type = Composite
      Result = Generic@isFluxSolver & isFlowSolverDensityBasedForBoundary
    END

    CHECK: isSecondOrderBackwardEulerRequired
      Type = Composite
      Result = Generic@isFluxSolver | (Generic@isFluentSolver & isTransientEquationSpeciesOrTurbulenceBased)
    END

#   TODO: Add for species equations
    CHECK: isTransientEquationSpeciesOrTurbulenceBased
      Type = Composite
      Result = isTransientEquation_tke | isTransientEquation_nut | isTransientEquation_tdr | isTransientEquation_laminarke | isTransientEquation_tef | isTransientEquation_intermittency | isTransientEquation_retheta | isTransientEquation_drsm | isTransientEquation_turbviscosity
    END

    CHECK: isTransientEquation_tke
      Type = Compare Object Name
      Object Name = _this_<TransientEquation>
      Value List = tke
    END

    CHECK: isTransientEquation_nut
      Type = Compare Object Name
      Object Name = _this_<TransientEquation>
      Value List = nut
    END

    CHECK: isTransientEquation_tdr
      Type = Compare Object Name
      Object Name = _this_<TransientEquation>
      Value List = tdr
    END

    #TODO: update this to read tkel instead?
    CHECK: isTransientEquation_laminarke
      Type = Compare Object Name
      Object Name = _this_<TransientEquation>
      Value List = laminarke
    END

    CHECK: isTransientEquation_tef
      Type = Compare Object Name
      Object Name = _this_<TransientEquation>
      Value List = tef
    END

    CHECK: isTransientEquation_intermittency
      Type = Compare Object Name
      Object Name = _this_<TransientEquation>
      Value List = intermittency
    END

    CHECK: isTransientEquation_retheta
      Type = Compare Object Name
      Object Name = _this_<TransientEquation>
      Value List = retheta
    END

    CHECK: isTransientEquation_drsm
      Type = Compare Object Name
      Object Name = _this_<TransientEquation>
      Value List = drsm
    END

    CHECK: isTransientEquation_turbviscosity
      Type = Compare Object Name
      Object Name = _this_<TransientEquation>
      Value List = turbviscosity
    END

    CHECK: isAdvectionEquation_flow
      Type = Compare Object Name
      Object Name = _this_<AdvectionEquation>
      Value List = flow
    END

    CHECK: isAdvectionEquation_momentum
      Type = Compare Object Name
      Object Name = _this_<AdvectionEquation>
      Value List = momentum
    END

    CHECK: isAdvectionEquation_density
      Type = Compare Object Name
      Object Name = _this_<AdvectionEquation>
      Value List = density
    END

    CHECK: isAdvectionEquation_nut
      Type = Compare Object Name
      Object Name = _this_<AdvectionEquation>
      Value List = nut
    END

    CHECK: isAdvectionEquation_discordinates
      Type = Compare Object Name
      Object Name = _this_<AdvectionEquation>
      Value List = discordinates
    END

    CHECK: isAdvectionEquation_species
      Type = Compare Object Name
      Object Name = _this_<AdvectionEquation>
      Value List = flow
    END

    CHECK: isAdvectionEquation_firstOrder
      Type = Compare Object Name
      Object Name = _this_<AdvectionEquation>
      Value List = tke, tdr, tef, nut, laminarke, intermittency, retheta, drsm, sgske, discordinates
    END

    CHECK: isNonOrthogonalDiffusion_turbulence
      Type = Compare Object Name
      Object Name = _this_<NonOrthogonalDiffusion>
      Value List = turbulence
    END

    CHECK: isSolutionSteeringOn
      Type = Dependency
      Parameter Path = /FLUX/Analysis:_this_/PhysicsRegion:_this_/NumericalControls/SolutionControl/SolutionSteering/UseSolutionSteering
      Value List = True
    END
    CHECK: isImplicitBodyForceEnabled
      Type = Dependency
      Parameter Path = /FLUX/Analysis:_this_/PhysicsRegion:_this_/NumericalControls/SolutionControl/CouplingControl/UseImplicitBodyForce
      Value List = True
    END

    CHECK: isFirstToHigherOrderBlendingOnInSolutionSteering
      Type = Dependency
      Parameter Path = /FLUX/Analysis:_this_/PhysicsRegion:_this_/NumericalControls/SolutionControl/SolutionSteering/FirstToHigherOrderBlending
      Value List = True
    END

    CHECK: isFirstToHigherOrderBlendingOnInAdvection
      Type = Dependency
      Parameter Path = /FLUX/Analysis:_this_/PhysicsRegion:_this_/NumericalControls/DiscretizationControl/SpatialDiscretization/Advection/FirstToHigherOrderBlending
      Value List = True
    END

    LIST: NumFMGGridLevels
      Type = ParamRHS
      Parameter Path = /FLUX/Analysis:_this_/PhysicsRegion:_this_/NumericalControls/SolutionControl/SolutionSteering/FMGSettings/NumberOfGridLevels
    END

    LIST: FMGGridLevelNames
      Type = Append To Each Item
      List Name = Generic@LevelName
      Append Number Range From List Value = NumFMGGridLevels
    END

    CHECK: isFMGGridLevel1
      Type = Compare Object Name
      Object Name = _this_<FMGGridLevel>
      Value List = Level1
    END

    CHECK: isFMGGridLevel2
      Type = Compare Object Name
      Object Name = _this_<FMGGridLevel>
      Value List = Level2
    END

    CHECK: isFMGGridLevel3
      Type = Compare Object Name
      Object Name = _this_<FMGGridLevel>
      Value List = Level3
    END

    CHECK: isFMGGridLevel4
      Type = Compare Object Name
      Object Name = _this_<FMGGridLevel>
      Value List = Level4
    END

    CHECK: isFMGGridLevel5
      Type = Compare Object Name
      Object Name = _this_<FMGGridLevel>
      Value List = Level5
    END

    CHECK: isTurbulenceNonOrthogonalDiffusion
      Type = Count Objects
      Object Path = /FLUX/Analysis:_this_/PhysicsRegion:_this_/NumericalControls/DiscretizationControl/SpatialDiscretization/Diffusion/NonOrthogonalDiffusion:_this_
      Filter Expression = isNonOrthogonalDiffusion_turbulence
      Comparison Operator = GT
      RHS Value = 0
    END

    CHECK: isNITAControl_pressure
      Type = Compare Object Name
      Object Name = _this_<NITAControl>
      Value List = pressure
    END

    CHECK: isDiscSchemeBoundedCentralDifferenceRequired
      Type = Composite
      Result = isDiscSchemeCentralDifferenceRequired
    END

    # PJZ: allow for Flux; need a way to make available for experts for non-LES
    CHECK: isDiscSchemeCentralDifferenceRequired
      Type = Composite
      Result = ((Turbulence@anyPhysicsRegionTurbModelLES &                       \
                  !(isAdvectionEquation_density | isAdvectionEquation_flow |    \
                    isAdvectionEquation_discordinates)) |                       \
                  ((Turbulence@isTurbModelDESForBoundary |                   \
                    Turbulence@isTurbModelSASForBoundary) &                  \
                          (isAdvectionEquation_momentum |                       \
                           isAdvectionEquation_species  )) |                    \
                  (Turbulence@isTurbModelDESSa &                  \
                          isAdvectionEquation_nut)) | Generic@isFluxSolver
    END

    CHECK: isDiscSchemeQUICKRequired
      Type = Composite
      Result = Generic@isFluentSolver & !isAdvectionEquation_flow
    END

    LIST: StageName
      Type = Fixed Value
      Values = Stage
    END

    LIST: generatedStageNames
      Type = Append To Each Item
      List Name = StageName
      Append Number Range From List Value = NumStages
    END

    LIST: NumStages
      Type = ParamRHS
      Parameter Path = /FLUX/Analysis:_this_/PhysicsRegion:_this_/NumericalControls/SolutionControl/CouplingControl/FlowCoupling/MultiStageControls/NumberOfStages
    END

    CHECK: isStage1
      Type = Compare Object Name
      Object Name = _this_<Stage>
      Value List = Stage1
    END

    CHECK: isStage2
      Type = Compare Object Name
      Object Name = _this_<Stage>
      Value List = Stage2
    END

    CHECK: isStage3
      Type = Compare Object Name
      Object Name = _this_<Stage>
      Value List = Stage3
    END

    CHECK: isStageCoefficientDefault2075
      Type = Composite
      Result = isStage1 & isAnalysisSteadyOrTransientSchemeImplicit
    END

    CHECK: isStageCoefficientDefault5915
      Type = Composite
      Result = isStage2 & isAnalysisSteadyOrTransientSchemeImplicit
    END

    CHECK: isStageCoefficientDefault2500
      Type = Composite
      Result = isStage1 & isTransientSchemeExplicit
    END

    CHECK: isStageCoefficientDefault3333
      Type = Composite
      Result = isStage2 & isTransientSchemeExplicit
    END

    CHECK: isStageCoefficientDefault5000
      Type = Composite
      Result = isStage3 & isTransientSchemeExplicit
    END

    CHECK: isResidualToleranceObject_energy
      Type = Compare Object Name
      Object Name = _this_<ResidualTolerance>
      Value List = energy
    END

    CHECK: isResidualToleranceObject_turb
      Type = Compare Object Name
      Object Name = _this_<ResidualTolerance>
      Value List = tke, tdr, tef, nut, laminarke, intermittency, retheta, drsm, sgske
    END

    # checks for collecting LinearSolverSettings
    # equations when coupled and not coupled
    LIST: coupledLinearSolverSettingsList
      Object Path = /FLUX/Analysis:_this_/PhysicsRegion:_this_/NumericalControls/SolutionControl/LinearSolver/LinearSolverSettings:_all_
      Type = Filter
      Filter Expression = isFlowSolverDBImplicit | isPVCouplingCoupled | Generic@isPhysicsRegionTypeSolid
      List Item = _this_<LinearSolverSettings>
    END

    LIST: allEquationListForPhysicsRegion
      Type = Combination
      Combination Type = Union
      List Names = Flow@flowEquationListForPhysicsRegion,             \
                   Turbulence@turbulenceEquationListForPhysicsRegion, \
                   Energy@energyEquationListForPhysicsRegion,         \
                   Radiation@radiationEquationListForPhysicsRegion,   \
                   Species@speciesEquationListForPhysicsRegion,       \
                   UserVariable@scalarEquationListForPhysicsRegion,   \
                   UserVariable@vectorEquationListForPhysicsRegion
    END

#    LIST: allEquationNames
#      Type = Combination
#      Combination Type = Union
#      List Names = Flow@allFlowEquationNames,               \
#                   Turbulence@allTurbulenceEquationNames,   \
#                   Energy@allEnergyEquationNames,           \
#                   Radiation@allRadiationEquationNames,     \
#                   UserVariable@allUserScalarEquationNames, \
#                   UserVariable@allUserVectorEquationNames
#    END

    LIST: allEquationNamesForDiscretization
      Type = Combination
      Combination Type = Union
      List Names = Flow@flowEquationListForDiscretization, \
                   Energy@energyEquationListForDiscretization, \
                   Acoustics@acousticsEquationListForDiscretization, \
                   Turbulence@turbulenceEquationListForDiscretization, \
                   Species@speciesEquationListForNonOrthogonalDiffusion, \
                   Radiation@radiationEquationListForPhysicsRegion, \
                   UserVariable@scalarEquationListForDiscretization, \
                   UserVariable@vectorEquationListForDiscretization
    END

    LIST: allEquationNamesForHighOrderTerms
      Type = Combination
      Combination Type = Union
      List Names = Flow@flowEquationListForHighOrderTerms, \
                   Energy@energyEquationListForDiscretization, \
                   Acoustics@acousticsEquationListForDiscretization, \
                   Radiation@radiationEquationListForExplicitRelax, \
                   Turbulence@turbulenceEquationListForDiscretization, \
                   UserVariable@scalarEquationListForDiscretization, \
                   UserVariable@vectorEquationListForDiscretization
    END

    LIST: allEquationNamesForNonOrthogonalDiffusion
      Type = Combination
      Combination Type = Union
      List Names = Flow@flowEquationListForNonOrthogonalDiffusion, \
                   Energy@energyEquationListForResiduals, \
                   Acoustics@acousticsEquationListForDiscretization, \
                   Radiation@radiationEquationListForExplicitRelax, \
                   Turbulence@turbulenceEquationListForNonOrthogonalDiffusion, \
                   Species@speciesEquationListForNonOrthogonalDiffusion, \
                   UserVariable@scalarEquationListForPhysicsRegion, \
                   UserVariable@vectorEquationListForPhysicsRegion
    END

    LIST: allEquationNamesForNITA
      Type = Combination
      Combination Type = Union
      List Names = Flow@flowEquationListForNITA, \
                   Energy@energyEquationListForResiduals, \
                   Turbulence@turbulenceEquationListForDiscretization, \
                   Species@speciesEquationListForNonOrthogonalDiffusion, \
                   UserVariable@scalarEquationListForPhysicsRegion, \
                   UserVariable@vectorEquationListForPhysicsRegion
    END

    LIST: allEquationNamesForResiduals
      Type = Combination
      Combination Type = Union
      List Names = Flow@allFlowEquationNamesForResiduals,               \
                   Turbulence@allTurbulenceEquationNamesForResiduals,   \
                   Energy@allEnergyEquationNamesForResiduals,           \
                   Radiation@allRadiationEquationNamesForResiduals,     \
                   Species@allSpeciesEquationNames,                     \
                   UserVariable@allUserScalarEquationNamesForResiduals, \
                   UserVariable@allUserVectorEquationNamesForResiduals
    END

    LIST: emptyList
      Type = Fixed Value
      Values =
    END

    # a check for seeing if a list is empty
    CHECK: noTurbulenceEqnsSolved
      Type = Compare List Values
      List Name 1 = Turbulence@turbulenceEquationListForResiduals
      List Name 2 = emptyList
      Comparison Operator = EQ
      List Interpretation = String
    END

    CHECK: areAnyTurbulenceEqnsSolved
      Type = Composite
      Result = !noTurbulenceEqnsSolved
    END

    LIST: bodyForceEqnList
      Type = Fixed Value
      Values = bodyforces
    END
    LIST: bodyForceEquationList
      Type = Conditional
      If Expression = isExplicitBFAvailable
      True Value List = bodyForceEqnList
    END

    # keeping species equation names shared for now
    LIST: allEquationNamesForExplicitRelax
      Type = Combination
      Combination Type = Union
      List Names = Flow@flowEquationListForExplicitRelax, \
                   Energy@energyEquationListForDiscretization, \
                   Acoustics@acousticsEquationListForDiscretization, \
                   Turbulence@turbulenceEquationListForExplicitRelax, \
                   Radiation@radiationEquationListForExplicitRelax, \
                   Species@speciesEquationListForNonOrthogonalDiffusion, \
                   UserVariable@scalarEquationListForDiscretization, \
                   UserVariable@vectorEquationListForDiscretization, \
                   bodyForceEquationList
    END

    LIST: allEquationNamesForLinearSolver
      Type = Combination
      Combination Type = Union
      List Names = Flow@flowEquationListForLinearSolver, \
                   Energy@energyEquationListForDiscretization, \
                   Turbulence@turbulenceEquationListForDiscretization, \
                   Species@speciesEquationListForNonOrthogonalDiffusion, \
                   Radiation@radiationEquationListForPhysicsRegion, \
                   UserVariable@scalarEquationListForDiscretization, \
                   UserVariable@vectorEquationListForDiscretization
    END

    # Global checks
    CHECK: nonZeroNumIterations
      Type = Compare List Values
      List Name 1 = scCCICNumIterations
      List Name 2 = ZeroValueList
      Comparison Operator = GT
      List Interpretation = Integer
    END

    CHECK: hasscCCICNumIterations
      Type = Required Parameter
      Parameter Path = /FLUX/Analysis:_this_/SolutionControls/CalculationControl/IterationControl/MaximumNumberOfIterations
    END

    LIST: scCCICNumIterations
      Type = ParamRHS
      Parameter Path = /FLUX/Analysis:_this_/SolutionControls/CalculationControl/IterationControl/MaximumNumberOfIterations
    END

    CHECK: isImplicitBodyForceAndPVCoupledInAnyPR
      Type = Count Objects
      Object Path = /FLUX/Analysis:_this_/PhysicsRegion:_all_
      Filter Expression = isPVCouplingCoupled & isImplicitBodyForceEnabled
      Comparison Operator = GT
      RHS Value = 0
    END

    GLOBAL CHECK: implicitBodyForceForOnlySegregated
      Type = ForEachPath
      Object Path = /FLUX/Analysis:_all_
      Pertinent Path = /FLUX/Analysis:_this_
      Result = !isImplicitBodyForceAndPVCoupledInAnyPR
      Severity = Warning
      Failure Message = The "UseImplicitBodyForce" should not be used with Pressure Velocity Coupling as Coupled.
    END

    CHECK: isSolutionSteeringOnInAnyRegion
      Type = Count Objects
      Object Path = /FLUX/Analysis:_this_/PhysicsRegion:_all_
      Filter Expression = isSolutionSteeringOn
      Comparison Operator = GT
      RHS Value = 0
    END

    GLOBAL CHECK: anySolutionSteeringOn
      Type = ForEachPath
      Object Path = /FLUX/Analysis:_all_
      Pertinent Path = /FLUX/Analysis:_this_
      Continue For All Paths = True
      Result = !isSolutionSteeringOnInAnyRegion
      Severity = Information
      Failure Message = Solution Steering settings override the settings in NumericalControls
    END

    CHECK: nonZeroNumOfTimeSteps
      Type = Compare List Values
      List Name 1 = scCCTCSTNumOfTimeSteps
      List Name 2 = ZeroValueList
      Comparison Operator = GT
      List Interpretation = Integer
    END

    CHECK: hasscCCTCSTNumOfTimeSteps
      Type = Dependency
      Parameter Path = /FLUX/Analysis:_this_/SolutionControls/CalculationControl/TransientControl/SimulationTermination/Option
      Value List = NumberOfTimeSteps
    END

    LIST: scCCTCSTNumOfTimeSteps
      Type = ParamRHS
      Parameter Path = /FLUX/Analysis:_this_/SolutionControls/CalculationControl/TransientControl/SimulationTermination/Value
    END

    CHECK: isResidualScalingLocal
      Type = Dependency
      Parameter Path = /FLUX/Analysis:_this_/SolutionControls/CalculationControl/ResidualControl/ResidualScaling/Option
      Value List = LocalScaling
    END

    CHECK: isLocalScalingOptionMax
      Type = Dependency
      Parameter Path = /FLUX/Analysis:_this_/SolutionControls/CalculationControl/ResidualControl/ResidualScaling/LocalScalingOption
      Value List = Maximum
    END

    CHECK: isNoLocalScalingAndIsResidualToleranceObject_energy
      Type = Composite
      Result =  !isResidualScalingLocal & isResidualToleranceObject_energy
    END

    CHECK: isResidualDefaultSettingTolerance
      Type = Dependency
      Parameter Path = /FLUX/Analysis:_this_/SolutionControls/CalculationControl/IterationControl/ConvergenceCriteria/ResidualConvergence/ResidualDefaultSetting/Option
      Value List = Tolerance
    END

    # Bounds check
    #GLOBAL CHECK: numberOfTimestepsForSimulationTermination
     # Type = ForEachPath
    #  Object Path = /FLUX/Analysis:_all_
    #  Pertinent Path = /FLUX/Analysis:_this_
    #  Result = Generic@isAnalysisTypeSteady | \
    #           !hasscCCTCSTNumOfTimeSteps | \
    #           nonZeroNumOfTimeSteps
    #  Severity = Error
    #  Failure Message = The "NumberOfTimeSteps" in SimulationTermination is zero.
    #END

    CONTEXT CHECK: isCourantNumber200_ContextCheck
      Definition = (/FLUX/Analysis/PhysicsRegion/NumericalControls/SolutionControl/AdvancementControl/FlowControl, Solver@isCourantDefault200),\
                   (/FLUX/Analysis/PhysicsRegion/NumericalControls/SolutionControl/AdvancementControl/EnergyControl, Generic@isFalse),\
                   (/FLUX/Analysis/PhysicsRegion/NumericalControls/SolutionControl/AdvancementControl/TurbulenceControl, Generic@isFalse),\
                   (/FLUX/Analysis/PhysicsRegion/NumericalControls/SolutionControl/AdvancementControl/RadiationControl, Generic@isFalse),\
                   (/FLUX/Analysis/PhysicsRegion/NumericalControls/SolutionControl/AdvancementControl/SpeciesControl, Generic@isFalse),\
                   (/FLUX/Analysis/PhysicsRegion/NumericalControls/SolutionControl/AdvancementControl/UserVariableControl, Generic@isFalse)
    END

    CONTEXT CHECK: isCourantNumber1e10_ContextCheck
      Definition = (/FLUX/Analysis/PhysicsRegion/NumericalControls/SolutionControl/AdvancementControl/FlowControl, Solver@isCourantDefault1e10),\
                   (/FLUX/Analysis/PhysicsRegion/NumericalControls/SolutionControl/AdvancementControl/EnergyControl, Generic@isTrue),\
                   (/FLUX/Analysis/PhysicsRegion/NumericalControls/SolutionControl/AdvancementControl/TurbulenceControl, Generic@isFalse),\
                   (/FLUX/Analysis/PhysicsRegion/NumericalControls/SolutionControl/AdvancementControl/RadiationControl, Generic@isTrue),\
                   (/FLUX/Analysis/PhysicsRegion/NumericalControls/SolutionControl/AdvancementControl/SpeciesControl, Generic@isTrue),\
                   (/FLUX/Analysis/PhysicsRegion/NumericalControls/SolutionControl/AdvancementControl/UserVariableControl, Generic@isTrue)
    END

    CONTEXT CHECK: isCourantNumber5_ContextCheck
      Definition = (/FLUX/Analysis/PhysicsRegion/NumericalControls/SolutionControl/AdvancementControl/FlowControl, Solver@isCourantDefault5),\
                   (/FLUX/Analysis/PhysicsRegion/NumericalControls/SolutionControl/AdvancementControl/EnergyControl, Generic@isFalse),\
                   (/FLUX/Analysis/PhysicsRegion/NumericalControls/SolutionControl/AdvancementControl/TurbulenceControl, Generic@isFalse),\
                   (/FLUX/Analysis/PhysicsRegion/NumericalControls/SolutionControl/AdvancementControl/RadiationControl, Generic@isFalse),\
                   (/FLUX/Analysis/PhysicsRegion/NumericalControls/SolutionControl/AdvancementControl/SpeciesControl, Generic@isFalse),\
                   (/FLUX/Analysis/PhysicsRegion/NumericalControls/SolutionControl/AdvancementControl/UserVariableControl, Generic@isFalse)
    END

    CONTEXT CHECK: isCourantNumber1000_ContextCheck
      Definition = (/FLUX/Analysis/PhysicsRegion/NumericalControls/SolutionControl/AdvancementControl/FlowControl, Solver@isCourantDefault1000),\
                   (/FLUX/Analysis/PhysicsRegion/NumericalControls/SolutionControl/AdvancementControl/EnergyControl, Generic@isFalse),\
                   (/FLUX/Analysis/PhysicsRegion/NumericalControls/SolutionControl/AdvancementControl/TurbulenceControl, Generic@isFalse),\
                   (/FLUX/Analysis/PhysicsRegion/NumericalControls/SolutionControl/AdvancementControl/RadiationControl, Generic@isFalse),\
                   (/FLUX/Analysis/PhysicsRegion/NumericalControls/SolutionControl/AdvancementControl/SpeciesControl, Generic@isFalse),\
                   (/FLUX/Analysis/PhysicsRegion/NumericalControls/SolutionControl/AdvancementControl/UserVariableControl, Generic@isFalse)
    END

    CONTEXT CHECK: isCourantNumber50_ContextCheck
      Definition = (/FLUX/Analysis/PhysicsRegion/NumericalControls/SolutionControl/AdvancementControl/FlowControl, Solver@isCourantDefault50),\
                   (/FLUX/Analysis/PhysicsRegion/NumericalControls/SolutionControl/AdvancementControl/EnergyControl, Generic@isFalse),\
                   (/FLUX/Analysis/PhysicsRegion/NumericalControls/SolutionControl/AdvancementControl/TurbulenceControl, Generic@isFalse),\
                   (/FLUX/Analysis/PhysicsRegion/NumericalControls/SolutionControl/AdvancementControl/RadiationControl, Generic@isFalse),\
                   (/FLUX/Analysis/PhysicsRegion/NumericalControls/SolutionControl/AdvancementControl/SpeciesControl, Generic@isFalse),\
                   (/FLUX/Analysis/PhysicsRegion/NumericalControls/SolutionControl/AdvancementControl/UserVariableControl, Generic@isFalse)
    END

    CONTEXT CHECK: isCourantNumber1_ContextCheck
      Definition = (/FLUX/Analysis/PhysicsRegion/NumericalControls/SolutionControl/AdvancementControl/FlowControl, Solver@isFlowSolverDBExplicit),\
                   (/FLUX/Analysis/PhysicsRegion/NumericalControls/SolutionControl/AdvancementControl/EnergyControl, Generic@isFalse),\
                   (/FLUX/Analysis/PhysicsRegion/NumericalControls/SolutionControl/AdvancementControl/TurbulenceControl, Turbulence@isTurbulenceAdvancementControl_drsm),\
                   (/FLUX/Analysis/PhysicsRegion/NumericalControls/SolutionControl/AdvancementControl/RadiationControl, Generic@isFalse),\
                   (/FLUX/Analysis/PhysicsRegion/NumericalControls/SolutionControl/AdvancementControl/SpeciesControl, Generic@isFalse),\
                   (/FLUX/Analysis/PhysicsRegion/NumericalControls/SolutionControl/AdvancementControl/UserVariableControl, Generic@isFalse)
    END

    CONTEXT CHECK: isRelaxFactor_0.5
      Definition = (/FLUX/Analysis/PhysicsRegion/NumericalControls/SolutionControl/AdvancementControl/TurbulenceControl, Turbulence@isTurbulenceAdvancementControl_drsm),\
                   (/FLUX/Analysis/PhysicsRegion/NumericalControls/SolutionControl/AdvancementControl/FlowControl, Generic@isFalse),\
                   (/FLUX/Analysis/PhysicsRegion/NumericalControls/SolutionControl/AdvancementControl/EnergyControl, Generic@isFalse),\
                   (/FLUX/Analysis/PhysicsRegion/NumericalControls/SolutionControl/AdvancementControl/RadiationControl, Generic@isFalse),\
                   (/FLUX/Analysis/PhysicsRegion/NumericalControls/SolutionControl/AdvancementControl/SpeciesControl, Generic@isFalse),\
                   (/FLUX/Analysis/PhysicsRegion/NumericalControls/SolutionControl/AdvancementControl/UserVariableControl, Generic@isFalse)
    END

    CONTEXT CHECK: isRelaxFactor_0.7
      Definition = (/FLUX/Analysis/PhysicsRegion/NumericalControls/SolutionControl/AdvancementControl/TurbulenceControl, Generic@isFalse),\
                   (/FLUX/Analysis/PhysicsRegion/NumericalControls/SolutionControl/AdvancementControl/FlowControl, Generic@isTrue),\
                   (/FLUX/Analysis/PhysicsRegion/NumericalControls/SolutionControl/AdvancementControl/EnergyControl, Generic@isFalse),\
                   (/FLUX/Analysis/PhysicsRegion/NumericalControls/SolutionControl/AdvancementControl/RadiationControl, Generic@isFalse),\
                   (/FLUX/Analysis/PhysicsRegion/NumericalControls/SolutionControl/AdvancementControl/SpeciesControl, Generic@isFalse),\
                   (/FLUX/Analysis/PhysicsRegion/NumericalControls/SolutionControl/AdvancementControl/UserVariableControl, Generic@isFalse)
    END

    CONTEXT CHECK: isRelaxFactor_0.8
      Definition = (/FLUX/Analysis/PhysicsRegion/NumericalControls/SolutionControl/AdvancementControl/TurbulenceControl, Generic@isTrue),\
                   (/FLUX/Analysis/PhysicsRegion/NumericalControls/SolutionControl/AdvancementControl/FlowControl, Generic@isFalse),\
                   (/FLUX/Analysis/PhysicsRegion/NumericalControls/SolutionControl/AdvancementControl/EnergyControl, Generic@isFalse),\
                   (/FLUX/Analysis/PhysicsRegion/NumericalControls/SolutionControl/AdvancementControl/RadiationControl, Generic@isFalse),\
                   (/FLUX/Analysis/PhysicsRegion/NumericalControls/SolutionControl/AdvancementControl/SpeciesControl, Generic@isFalse),\
                   (/FLUX/Analysis/PhysicsRegion/NumericalControls/SolutionControl/AdvancementControl/UserVariableControl, Generic@isFalse)
    END

    CONTEXT CHECK: isRelaxFactor_1.0
      Definition = (/FLUX/Analysis/PhysicsRegion/NumericalControls/SolutionControl/AdvancementControl/TurbulenceControl, Generic@isFalse),\
                   (/FLUX/Analysis/PhysicsRegion/NumericalControls/SolutionControl/AdvancementControl/FlowControl, Generic@isFalse),\
                   (/FLUX/Analysis/PhysicsRegion/NumericalControls/SolutionControl/AdvancementControl/EnergyControl, Generic@isTrue),\
                   (/FLUX/Analysis/PhysicsRegion/NumericalControls/SolutionControl/AdvancementControl/RadiationControl, Generic@isTrue),\
                   (/FLUX/Analysis/PhysicsRegion/NumericalControls/SolutionControl/AdvancementControl/SpeciesControl, Generic@isTrue),\
                   (/FLUX/Analysis/PhysicsRegion/NumericalControls/SolutionControl/AdvancementControl/UserVariableControl, Generic@isTrue)
    END

    CONTEXT CHECK: isFASMultigridControlsOtherwiseFalse
      Definition = (/FLUX/Analysis/PhysicsRegion/NumericalControls/SolutionControl/CouplingControl/FlowCoupling/FASMultigridControls, Generic@isTrue),\
                   (/FLUX/Analysis/PhysicsRegion/NumericalControls/SolutionControl/LinearSolver/ScalarControls/FixedCycleControls, Generic@isFalse), \
                   (/FLUX/Analysis/PhysicsRegion/NumericalControls/SolutionControl/LinearSolver/CoupledControls/FixedCycleControls, Generic@isFalse)
    END

    CONTEXT CHECK: isScalarOrCoupledFixedSmootherOptionILU
      Definition = (/FLUX/Analysis/PhysicsRegion/NumericalControls/SolutionControl/CouplingControl/FlowCoupling/FASMultigridControls, Generic@isFalse),\
                   (/FLUX/Analysis/PhysicsRegion/NumericalControls/SolutionControl/LinearSolver/ScalarControls/FixedCycleControls, Solver@isScalarFixedSmootherOptionILU), \
                   (/FLUX/Analysis/PhysicsRegion/NumericalControls/SolutionControl/LinearSolver/CoupledControls/FixedCycleControls, Solver@isCoupledFixedSmootherOptionILU)
    END

    CONTEXT CHECK: isScalarOrCoupledFixedSmootherOptionGS
      Definition = (/FLUX/Analysis/PhysicsRegion/NumericalControls/SolutionControl/CouplingControl/FlowCoupling/FASMultigridControls, Generic@isFalse),\
                   (/FLUX/Analysis/PhysicsRegion/NumericalControls/SolutionControl/LinearSolver/ScalarControls/FixedCycleControls, Solver@isScalarFixedSmootherOptionGS), \
                   (/FLUX/Analysis/PhysicsRegion/NumericalControls/SolutionControl/LinearSolver/CoupledControls/FixedCycleControls, Solver@isCoupledFixedSmootherOptionGS)
    END

    CONTEXT CHECK: isMaximumCyclesDefault10_ContextCheck
      Definition = (/FLUX/Analysis/PhysicsRegion/NumericalControls/SolutionControl/LinearSolver/CoupledControls/FixedCycleControls, Generic@isTrue), \
                   (/FLUX/Analysis/PhysicsRegion/NumericalControls/SolutionControl/LinearSolver/ScalarControls/FixedCycleControls, Generic@isTrue), \
                   (/FLUX/Analysis/PhysicsRegion/NumericalControls/SolutionControl/LinearSolver/FlexibleCycleControls, Generic@isFalse)
    END

    CONTEXT CHECK: isMaximumCyclesDefault30_ContextCheck
      Definition = (/FLUX/Analysis/PhysicsRegion/NumericalControls/SolutionControl/LinearSolver/CoupledControls/FixedCycleControls, Generic@isFalse), \
                   (/FLUX/Analysis/PhysicsRegion/NumericalControls/SolutionControl/LinearSolver/ScalarControls/FixedCycleControls, Generic@isFalse), \
                   (/FLUX/Analysis/PhysicsRegion/NumericalControls/SolutionControl/LinearSolver/FlexibleCycleControls, Generic@isTrue)
    END

    CONTEXT CHECK: isCoarseningRateDefault8_ContextCheck
      Definition = (/FLUX/Analysis/PhysicsRegion/NumericalControls/SolutionControl/LinearSolver/ScalarControls/FixedCycleControls, Solver@is3DAndScalarFixedSmootherOptionILU), \
                   (/FLUX/Analysis/PhysicsRegion/NumericalControls/SolutionControl/LinearSolver/CoupledControls/FixedCycleControls, Solver@is3DAndCoupledFixedSmootherOptionILU)
    END

    CONTEXT CHECK: isCoarseningRateDefault4_ContextCheck
      Definition = (/FLUX/Analysis/PhysicsRegion/NumericalControls/SolutionControl/LinearSolver/ScalarControls/FixedCycleControls, Generic@isTrue), \
                   (/FLUX/Analysis/PhysicsRegion/NumericalControls/SolutionControl/LinearSolver/CoupledControls/FixedCycleControls, Generic@isTrue)
    END

    CONTEXT CHECK: isFactor0.25
      Definition = (/FLUX/Analysis/PhysicsRegion/NumericalControls/SolutionControl/HighOrderTermRelaxation, Generic@isFalse),\
                   (/FLUX/Analysis/PhysicsRegion/NumericalControls/SolutionControl/LinearSolver/ScalarControls/FixedCycleControls, Generic@isFalse),\
                   (/FLUX/Analysis/PhysicsRegion/NumericalControls/SolutionControl/LimiterRelaxation, Generic@isTrue),\
                   (/FLUX/Analysis/PhysicsRegion/NumericalControls/SolutionControl/LimiterRelaxation/Equation, Generic@isTrue),\
                   (/FLUX/Analysis/PhysicsRegion/NumericalControls/SolutionControl/HighOrderTermRelaxation/Equation, Generic@isAnalysisTypeSteady),\
                   (/FLUX/Analysis/PhysicsRegion/NumericalControls/SolutionControl/LinearSolver/CoupledControls/FixedCycleControls, Generic@isFalse), \
                   (/FLUX/Analysis/PhysicsRegion/NumericalControls/SolutionControl/WallRelaxation, Generic@isFalse)
    END

    CONTEXT CHECK: isFactor0.5
      Definition = (/FLUX/Analysis/PhysicsRegion/NumericalControls/SolutionControl/HighOrderTermRelaxation, Generic@isAnalysisTypeSteady),\
                   (/FLUX/Analysis/PhysicsRegion/NumericalControls/SolutionControl/LinearSolver/ScalarControls/FixedCycleControls, Generic@isFalse),\
                   (/FLUX/Analysis/PhysicsRegion/NumericalControls/SolutionControl/LimiterRelaxation, Generic@isFalse),\
                   (/FLUX/Analysis/PhysicsRegion/NumericalControls/SolutionControl/LimiterRelaxation/Equation, Generic@isFalse),\
                   (/FLUX/Analysis/PhysicsRegion/NumericalControls/SolutionControl/HighOrderTermRelaxation/Equation, Generic@isAnalysisTypeTransient),\
                   (/FLUX/Analysis/PhysicsRegion/NumericalControls/SolutionControl/LinearSolver/CoupledControls/FixedCycleControls, Generic@isFalse), \
                   (/FLUX/Analysis/PhysicsRegion/NumericalControls/SolutionControl/WallRelaxation, Generic@isFalse)
    END

    CONTEXT CHECK: isFactor0.75
      Definition = (/FLUX/Analysis/PhysicsRegion/NumericalControls/SolutionControl/HighOrderTermRelaxation, Generic@isFalse),\
                   (/FLUX/Analysis/PhysicsRegion/NumericalControls/SolutionControl/LinearSolver/ScalarControls/FixedCycleControls, Generic@isFalse),\
                   (/FLUX/Analysis/PhysicsRegion/NumericalControls/SolutionControl/LimiterRelaxation, Generic@isFalse),\
                   (/FLUX/Analysis/PhysicsRegion/NumericalControls/SolutionControl/LimiterRelaxation/Equation, Generic@isFalse),\
                   (/FLUX/Analysis/PhysicsRegion/NumericalControls/SolutionControl/HighOrderTermRelaxation/Equation, Generic@isFalse),\
                   (/FLUX/Analysis/PhysicsRegion/NumericalControls/SolutionControl/LinearSolver/CoupledControls/FixedCycleControls, Generic@isFalse), \
                   (/FLUX/Analysis/PhysicsRegion/NumericalControls/SolutionControl/WallRelaxation, Generic@isTrue)
    END

    CONTEXT CHECK: isFactor0.9
      Definition = (/FLUX/Analysis/PhysicsRegion/NumericalControls/SolutionControl/HighOrderTermRelaxation, Generic@isFalse),\
                   (/FLUX/Analysis/PhysicsRegion/NumericalControls/SolutionControl/LinearSolver/ScalarControls/FixedCycleControls, Generic@isFalse),\
                   (/FLUX/Analysis/PhysicsRegion/NumericalControls/SolutionControl/LimiterRelaxation, Generic@isFalse),\
                   (/FLUX/Analysis/PhysicsRegion/NumericalControls/SolutionControl/LimiterRelaxation/Equation, Generic@isFalse),\
                   (/FLUX/Analysis/PhysicsRegion/NumericalControls/SolutionControl/HighOrderTermRelaxation/Equation, Generic@isFalse),\
                   (/FLUX/Analysis/PhysicsRegion/NumericalControls/SolutionControl/LinearSolver/CoupledControls/FixedCycleControls, Generic@isTrue), \
                   (/FLUX/Analysis/PhysicsRegion/NumericalControls/SolutionControl/WallRelaxation, Generic@isFalse)
    END

    CONTEXT CHECK: isFactor1.0
      Definition = (/FLUX/Analysis/PhysicsRegion/NumericalControls/SolutionControl/HighOrderTermRelaxation, Generic@isAnalysisTypeTransient),\
                   (/FLUX/Analysis/PhysicsRegion/NumericalControls/SolutionControl/LinearSolver/ScalarControls/FixedCycleControls, Generic@isTrue),\
                   (/FLUX/Analysis/PhysicsRegion/NumericalControls/SolutionControl/LimiterRelaxation, Generic@isFalse),\
                   (/FLUX/Analysis/PhysicsRegion/NumericalControls/SolutionControl/LimiterRelaxation/Equation, Generic@isFalse),\
                   (/FLUX/Analysis/PhysicsRegion/NumericalControls/SolutionControl/HighOrderTermRelaxation/Equation, Generic@isFalse),\
                   (/FLUX/Analysis/PhysicsRegion/NumericalControls/SolutionControl/LinearSolver/CoupledControls/FixedCycleControls, Generic@isFalse), \
                   (/FLUX/Analysis/PhysicsRegion/NumericalControls/SolutionControl/WallRelaxation, Generic@isFalse)
    END

    CONTEXT CHECK: isDefaultSettingTrue_ContextCheck
      Definition = (/FLUX/Analysis/PhysicsRegion/NumericalControls/SolutionControl/HighOrderTermRelaxation, Solver@isPVCouplingCoupled),\
                   (/FLUX/Analysis/PhysicsRegion/NumericalControls/SolutionControl/LimiterRelaxation, Generic@isFalse)
    END
  END
END
