mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
ENH: Updated externalCoupledTemperature BC
This commit is contained in:
@ -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;
|
||||
|
||||
Reference in New Issue
Block a user