def write( self, os ) : mixedFvPatchScalarField.write( self, os ) from Foam.OpenFOAM import keyType, word, token os.writeKeyword( keyType( word( "neighbourFieldName" ) ) ) << self.neighbourFieldName_ << token( token.END_STATEMENT ) << nl os.writeKeyword( keyType( word( "K" ) ) ) << self.KName_ << token( token.END_STATEMENT ) << nl pass
def write( self, os ) : mixedFvPatchScalarField.write( self, os ) from Foam.OpenFOAM import keyType, word, token os.writeKeyword( keyType( "neighbourFieldName" ) ) << self.neighbourFieldName_ << token( token.END_STATEMENT ) << nl os.writeKeyword( keyType( "K" ) ) << self.KName_ << token( token.END_STATEMENT ) << nl pass
def write( self, os ) : from Foam.finiteVolume import fvPatchScalarField fvPatchScalarField.write( self, os ) from Foam.OpenFOAM import keyType, word, token os.writeKeyword( keyType( word( "valueFraction" ) ) ) << self.valueFraction() << token( token.END_STATEMENT ) << nl os.writeKeyword( keyType( word( "refValue" ) ) ) << self.refValue() << token( token.END_STATEMENT ) << nl os.writeKeyword( keyType( word( "refGrad" ) ) ) << self.refGrad() << token( token.END_STATEMENT ) << nl self.writeEntry( word( "value" ), os ); pass
def write(self, os): from Foam.finiteVolume import fvPatchScalarField fvPatchScalarField.write(self, os) from Foam.OpenFOAM import keyType, word, token os.writeKeyword(keyType( word("valueFraction"))) << self.valueFraction() << token( token.END_STATEMENT) << nl os.writeKeyword(keyType(word("refValue"))) << self.refValue() << token( token.END_STATEMENT) << nl os.writeKeyword(keyType(word("refGrad"))) << self.refGrad() << token( token.END_STATEMENT) << nl self.writeEntry(word("value"), os) pass