ENH: Updated externalCoupledTemperature BC

This commit is contained in:
andy
2013-07-24 09:16:05 +01:00
parent b6c38a58bf
commit d719430c84
2 changed files with 15 additions and 7 deletions

View File

@ -116,7 +116,9 @@ void Foam::externalCoupledTemperatureMixedFvPatchScalarField::transferData
{
if (log())
{
Info<< type() << ": writing data to " << os.name() << endl;
Info<< type() << ": " << this->patch().name()
<< ": writing data to " << os.name()
<< endl;
}
const label patchI = patch().index();
@ -154,9 +156,9 @@ void Foam::externalCoupledTemperatureMixedFvPatchScalarField::transferData
"void Foam::externalCoupledTemperatureMixedFvPatchScalarField::"
"writeData"
"("
"const fileName& transferFile"
"OFstream&"
") const"
) << "Condition requires either compressibke turbulence and/or "
) << "Condition requires either compressible turbulence and/or "
<< "thermo model to be available" << exit(FatalError);
}
@ -233,9 +235,12 @@ void Foam::externalCoupledTemperatureMixedFvPatchScalarField::transferData
}
void Foam::externalCoupledTemperatureMixedFvPatchScalarField::updateCoeffs()
void Foam::externalCoupledTemperatureMixedFvPatchScalarField::evaluate
(
const Pstream::commsTypes comms
)
{
externalCoupledMixedFvPatchField<scalar>::updateCoeffs();
externalCoupledMixedFvPatchField<scalar>::evaluate(comms);
}

View File

@ -220,8 +220,11 @@ public:
// Evaluation functions
//- Update the coefficients associated with the patch field
virtual void updateCoeffs();
//- Evaluate the patch field
virtual void evaluate
(
const Pstream::commsTypes commsType=Pstream::blocking
);
//- Transfer data for external source
virtual void transferData(OFstream& os) const;