Skip to content
Snippets Groups Projects
Commit d719430c authored by andy's avatar andy
Browse files

ENH: Updated externalCoupledTemperature BC

parent b6c38a58
Branches
Tags
No related merge requests found
......@@ -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);
}
......
......@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment