Skip to content
GitLab
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-plus
Commits
27ebc585
Commit
27ebc585
authored
Jun 18, 2019
by
Andrew Heather
Browse files
ENH: Updated function object reading and output messages
parent
be583ff4
Changes
3
Hide whitespace changes
Inline
Side-by-side
src/functionObjects/field/wallBoundedStreamLine/wallBoundedStreamLine.C
View file @
27ebc585
...
...
@@ -264,9 +264,6 @@ bool Foam::functionObjects::wallBoundedStreamLine::read(const dictionary& dict)
{
if
(
streamLineBase
::
read
(
dict
))
{
Info
<<
type
()
<<
" "
<<
name
()
<<
":"
<<
nl
;
// Make sure that the mesh is trackable
if
(
debug
)
{
...
...
src/functionObjects/forces/forceCoeffs/forceCoeffs.C
View file @
27ebc585
...
...
@@ -232,10 +232,11 @@ Foam::functionObjects::forceCoeffs::forceCoeffs
(
const
word
&
name
,
const
Time
&
runTime
,
const
dictionary
&
dict
const
dictionary
&
dict
,
const
bool
readFields
)
:
forces
(
name
,
runTime
,
dict
),
forces
(
name
,
runTime
,
dict
,
false
),
magUInf_
(
Zero
),
lRef_
(
Zero
),
Aref_
(
Zero
),
...
...
@@ -247,9 +248,12 @@ Foam::functionObjects::forceCoeffs::forceCoeffs
CmPitchBinFilePtr_
(),
CmYawBinFilePtr_
()
{
read
(
dict
);
setCoordinateSystem
(
dict
,
"liftDir"
,
"dragDir"
);
Info
<<
endl
;
if
(
readFields
)
{
read
(
dict
);
setCoordinateSystem
(
dict
,
"liftDir"
,
"dragDir"
);
Info
<<
endl
;
}
}
...
...
src/functionObjects/forces/forceCoeffs/forceCoeffs.H
View file @
27ebc585
...
...
@@ -268,7 +268,8 @@ public:
(
const
word
&
name
,
const
Time
&
runTime
,
const
dictionary
&
const
dictionary
&
,
const
bool
readFields
=
true
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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