Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Development
openfoam
Commits
bbd4e103
Commit
bbd4e103
authored
Oct 28, 2010
by
Andrew Heather
Browse files
ENH: Added active() function to NoHeatTransfer model
parent
9d466f07
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/lagrangian/intermediate/submodels/Thermodynamic/HeatTransferModel/NoHeatTransfer/NoHeatTransfer.C
View file @
bbd4e103
...
...
@@ -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
(
...
...
src/lagrangian/intermediate/submodels/Thermodynamic/HeatTransferModel/NoHeatTransfer/NoHeatTransfer.H
View file @
bbd4e103
...
...
@@ -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
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment