def updateCoeffs( self ): try: if self.updated(): return from Foam.finiteVolume import volScalarField psip = volScalarField.ext_lookupPatchField(self.patch(), word( "psi" ) ) pp = volScalarField.ext_lookupPatchField( self.patch(), word( "p" ) ) self == ( psip * pp ) fixedValueFvPatchScalarField.updateCoeffs( self ) except Exception, exc: import sys, traceback traceback.print_exc( file = sys.stdout ) raise exc
def updateCoeffs( self ): try: if self.updated(): return from Foam.finiteVolume import volScalarField psip = volScalarField.ext_lookupPatchField(self.patch(), word( "psi" ) ) pp = volScalarField.ext_lookupPatchField( self.patch(), word( "p" ) ) self == ( psip * pp ) fixedValueFvPatchScalarField.updateCoeffs( self ) except Exception, exc: import sys, traceback traceback.print_exc( file = sys.stdout ) raise exc
def updateCoeffs(self): try: if self.updated(): return from Foam.OpenFOAM import scalar neighbourField = self.coupleManager_.neighbourPatchField(scalar) self == neighbourField fixedValueFvPatchScalarField.updateCoeffs(self) except Exception, exc: import sys, traceback traceback.print_exc(file=sys.stdout) raise exc
def updateCoeffs( self ): try: if self.updated(): return from Foam.OpenFOAM import scalar neighbourField = self.coupleManager_.neighbourPatchField( scalar ) self == neighbourField fixedValueFvPatchScalarField.updateCoeffs( self ) except Exception, exc: import sys, traceback traceback.print_exc( file = sys.stdout ) raise exc