Commit df9cfedd authored by Salko Jr, Robert's avatar Salko Jr, Robert
Browse files

Doc and formatting updates

Description:

CASL Ticket # - N/A
parent ed969a85
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -113,6 +113,7 @@ class Mass(BoundaryCondition):
        me.mdot = mdot
        me.mdotRamp = mdotRamp


def isMassFlowBC(bc):
    """ Returns True if the passed boundary condition object contains mdot"""
    if isinstance(bc, Mass) or isinstance(bc, MassTemperature) or isinstance(bc, MassEnthalpy):
+4 −2
Original line number Diff line number Diff line
@@ -748,7 +748,8 @@ class InpParse(object):
        if 'solution' in me.inpDict:
            if 'steady' in me.inpDict['solution']:
                if 'dtmin' in me.inpDict['solution']['steady']:
                    result = me.inpDict['solution']['steady'].get('dtmin')['value']
                    result = me.inpDict['solution']['steady'].get('dtmin')[
                        'value']
        return result

    def getSteadyState_dtmax(me):
@@ -757,7 +758,8 @@ class InpParse(object):
        if 'solution' in me.inpDict:
            if 'steady' in me.inpDict['solution']:
                if 'dtmax' in me.inpDict['solution']['steady']:
                   result = me.inpDict['solution']['steady'].get('dtmax')['value']
                    result = me.inpDict['solution']['steady'].get('dtmax')[
                        'value']
        return result

    def getNumFormLosses(me):
+2 −3
Original line number Diff line number Diff line
@@ -726,7 +726,6 @@ class Model:
        me.boundaryConditions.append(bc)
        me.boundaryLocs.append([chID, lev])


    def addTotalPowerRamp(me, time, power):
        """ Provide a transient ramp on core power.

+18 −0
Original line number Diff line number Diff line
@@ -155,6 +155,24 @@ steady
:Min Occurance: 0
:Max Occurance: 1

dtmin
^^^^^
:Description: Minimum allowable timestep size.  Because steady-state is really modeled as a pseudo-transient, this control is exposed for steady-state solutions.
:Min Occurance: 0
:Max Occurance: 1
:Units: s
:Type: Real
:Range: >0.0

dtmax
^^^^^
:Description: Maximum allowable timestep size.  Because steady-state is really modeled as a pseudo-transient, this control is exposed and may be needed for numerical stability.
:Min Occurance: 0
:Max Occurance: 1
:Units: s
:Type: Real
:Range: >0.0

p_l2_norm
^^^^^^^^^
:Description: Stopping criteria for the l2 norm of relative pressure changes between solution checkpoints.