class fvPatchFieldConstructorToTable_solidWallHeatFluxTemperatureCoupled(
        getfvPatchFieldConstructorToTableBase_scalar()):
    def __init__(self):
        aBaseClass = self.__class__.__mro__[1]
        aBaseClass.__init__(self)

        from Foam.OpenFOAM import word
        aBaseClass.init(self, self,
                        word("solidWallHeatFluxTemperatureCoupled"))
        pass

    #-----------------
    def new_patch(self, p, iF):
        from Foam.finiteVolume import tmp_fvPatchField_scalar
        obj = solidWallHeatFluxTemperatureCoupledFvPatchScalarField(p, iF)

        return tmp_fvPatchField_scalar(obj)

    #-----------------
    def new_patchMapper(self, ptf, p, iF, m):
        from Foam.finiteVolume import tmp_fvPatchField_scalar
        obj = solidWallHeatFluxTemperatureCoupledFvPatchScalarField(
            ptf, p, iF, m)

        return tmp_fvPatchField_scalar(obj)

    #---------------------
    def new_dictionary(self, p, iF, dict_):
        from Foam.finiteVolume import tmp_fvPatchField_scalar
        obj = solidWallHeatFluxTemperatureCoupledFvPatchScalarField(
            p, iF, dict_)
        return tmp_fvPatchField_scalar(obj)

    pass
コード例 #2
0
 def __init__( self ):
     aBaseClass = getfvPatchFieldConstructorToTableBase_scalar()
     aBaseClass.__init__( self )
     
     from Foam.OpenFOAM import word 
     aBaseClass.init( self, self, word( "mixedRhoE" ) )
     pass
コード例 #3
0
class fvPatchFieldConstructorToTable_fixedRho(
        getfvPatchFieldConstructorToTableBase_scalar()):
    def __init__(self):
        aBaseClass = getfvPatchFieldConstructorToTableBase_scalar()
        aBaseClass.__init__(self)

        from Foam.OpenFOAM import word
        aBaseClass.init(self, self, word("fixedRho"))
        pass

    #-----------------
    def new_patch(self, p, iF):
        from Foam.finiteVolume import tmp_fvPatchField_scalar
        obj = fixedRhoFvPatchScalarField(p, iF)

        return tmp_fvPatchField_scalar(obj)

    #-----------------
    def new_patchMapper(self, ptf, p, iF, m):
        from Foam.finiteVolume import tmp_fvPatchField_scalar
        obj = fixedRhoFvPatchScalarField(ptf, p, iF, m)

        return tmp_fvPatchField_scalar(obj)

    #---------------------
    def new_dictionary(self, p, iF, dict_):
        from Foam.finiteVolume import tmp_fvPatchField_scalar
        obj = fixedRhoFvPatchScalarField(p, iF, dict_)

        return tmp_fvPatchField_scalar(obj)

    pass
コード例 #4
0
    def __init__(self):
        aBaseClass = getfvPatchFieldConstructorToTableBase_scalar()
        aBaseClass.__init__(self)

        from Foam.OpenFOAM import word
        aBaseClass.init(self, self, word("fixedRho"))
        pass
コード例 #5
0
class fvPatchFieldConstructorToTable_adjointOutletPressure(
        getfvPatchFieldConstructorToTableBase_scalar()):
    def __init__(self):
        aBaseClass = self.__class__.__mro__[1]
        aBaseClass.__init__(self)

        aBaseClass.init(self, self, ref.word("adjointOutletPressure"))
        pass

    def new_patch(self, p, iF):
        obj = adjointOutletPressureFvPatchScalarField(p, iF)

        return ref.tmp_fvPatchField_scalar(obj)

    def new_patchMapper(self, ptf, p, iF, m):
        obj = adjointOutletPressureFvPatchScalarField(ptf, p, iF, m)

        return ref.tmp_fvPatchField_scalar(obj)

    def new_dictionary(self, p, iF, dict_):
        obj = adjointOutletPressureFvPatchScalarField(p, iF, dict_)

        return ref.tmp_fvPatchField_scalar(obj)

    pass