Commit bbd4e103 authored by Andrew Heather's avatar Andrew Heather
Browse files

ENH: Added active() function to NoHeatTransfer model

parent 9d466f07
......@@ -57,6 +57,13 @@ Foam::NoHeatTransfer<CloudType>::~NoHeatTransfer()
// * * * * * * * * * * * * * * * Member Functions * * * * * * * * * * * * * //
template<class CloudType>
bool Foam::NoHeatTransfer<CloudType>::active() const
{
return false;
}
template<class CloudType>
Foam::scalar Foam::NoHeatTransfer<CloudType>::Nu
(
......
......@@ -78,6 +78,9 @@ public:
// Member Functions
//- Flag to indicate whether model activates heat transfer model
virtual bool active() const;
//- Nusselt number
virtual scalar Nu(const scalar, const scalar) const;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment