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
b657f4a4
Commit
b657f4a4
authored
Apr 22, 2010
by
henry
Browse files
solvers: Reformatting and cleanup.
parent
49b8f548
Changes
2
Hide whitespace changes
Inline
Side-by-side
applications/solvers/basic/laplacianFoam/laplacianFoam.C
View file @
b657f4a4
...
...
@@ -31,19 +31,17 @@ Description
#include
"fvCFD.H"
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
int
main
(
int
argc
,
char
*
argv
[])
{
#include
"setRootCase.H"
# include "setRootCase.H"
# include "createTime.H"
# include "createMesh.H"
# include "createFields.H"
#include
"createTime.H"
#include
"createMesh.H"
#include
"createFields.H"
// * *
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
//
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
Info
<<
"
\n
Calculating temperature distribution
\n
"
<<
endl
;
...
...
@@ -51,7 +49,7 @@ int main(int argc, char *argv[])
{
Info
<<
"Time = "
<<
runTime
.
timeName
()
<<
nl
<<
endl
;
#
include "readSIMPLEControls.H"
#
include
"readSIMPLEControls.H"
for
(
int
nonOrth
=
0
;
nonOrth
<=
nNonOrthCorr
;
nonOrth
++
)
{
...
...
@@ -61,7 +59,7 @@ int main(int argc, char *argv[])
);
}
#
include "write.H"
#
include
"write.H"
Info
<<
"ExecutionTime = "
<<
runTime
.
elapsedCpuTime
()
<<
" s"
<<
" ClockTime = "
<<
runTime
.
elapsedClockTime
()
<<
" s"
...
...
applications/solvers/basic/potentialFoam/potentialFoam.C
View file @
b657f4a4
...
...
@@ -39,13 +39,13 @@ int main(int argc, char *argv[])
{
argList
::
addBoolOption
(
"writep"
,
"write the final pressure field"
);
#
include "setRootCase.H"
#
include "createTime.H"
#
include "createMesh.H"
#
include "createFields.H"
#
include "readSIMPLEControls.H"
#
include
"setRootCase.H"
#
include
"createTime.H"
#
include
"createMesh.H"
#
include
"createFields.H"
#
include
"readSIMPLEControls.H"
// * *
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
//
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
Info
<<
nl
<<
"Calculating potential flow"
<<
endl
;
...
...
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