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
Commits
558006af
Commit
558006af
authored
Nov 22, 2016
by
Andrew Heather
Browse files
BUG: Corrections to commit
1f826361
for issue
#306
parent
1f826361
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/randomProcesses/noise/noiseModels/surfaceNoise/surfaceNoise.C
View file @
558006af
...
...
@@ -61,7 +61,7 @@ void surfaceNoise::initialise(const dictionary& dict)
readerPtr_
.
reset
(
surfaceReader
::
New
(
readerType
,
inputFileName_
).
ptr
());
// Find the index of the pressure data
const
word
pName
(
dict
.
lookupOrDefault
<
word
>
(
"p
Name
"
,
"p"
));
const
word
pName
(
dict
.
lookupOrDefault
<
word
>
(
"p"
,
"p"
));
const
List
<
word
>
fieldNames
(
readerPtr_
->
fieldNames
(
0
));
pIndex_
=
findIndex
(
fieldNames
,
pName
);
if
(
pIndex_
==
-
1
)
...
...
tutorials/incompressible/pimpleFoam/RAS/pitzDaily/system/controlDict
View file @
558006af
...
...
@@ -48,19 +48,6 @@ runTimeModifiable yes;
adjustTimeStep yes;
maxCo 5;
functions
{
mag(U)
{
type mag;
libs ( "libfieldFunctionObjects.so" );
field U;
executeControl writeTime;
writeControl writeTime;
fields 1 ( U );
result myMagU;
}
}
// ************************************************************************* //
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