Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
openfoam
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Analyze
Contributor analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Development
openfoam
Commits
270f14f6
Commit
270f14f6
authored
15 years ago
by
Mark Olesen
Browse files
Options
Downloads
Patches
Plain Diff
foamGraph* : check if log file exists
parent
b5616b4e
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
bin/foamGraphExecTime
+4
-0
4 additions, 0 deletions
bin/foamGraphExecTime
bin/foamGraphResKE
+4
-0
4 additions, 0 deletions
bin/foamGraphResKE
bin/foamGraphResUVWP
+4
-0
4 additions, 0 deletions
bin/foamGraphResUVWP
with
12 additions
and
0 deletions
bin/foamGraphExecTime
+
4
−
0
View file @
270f14f6
...
@@ -29,6 +29,10 @@
...
@@ -29,6 +29,10 @@
# Description
# Description
#
#
#------------------------------------------------------------------------------
#------------------------------------------------------------------------------
if (! -f "$1" ) then
echo "No file: '$1'"
exit 1
endif
set tmpTime = newTime$$.dat
set tmpTime = newTime$$.dat
cat $1 | grep "ExecutionTime = " | awk 'BEGIN { NENTRIES = 0 ; TPREV = 0.0 }{NENTRIES++; printf("%f %e\n", NENTRIES, $3 - TPREV); TPREV = $3}' - > $tmpTime
cat $1 | grep "ExecutionTime = " | awk 'BEGIN { NENTRIES = 0 ; TPREV = 0.0 }{NENTRIES++; printf("%f %e\n", NENTRIES, $3 - TPREV); TPREV = $3}' - > $tmpTime
...
...
This diff is collapsed.
Click to expand it.
bin/foamGraphResKE
+
4
−
0
View file @
270f14f6
...
@@ -29,6 +29,10 @@
...
@@ -29,6 +29,10 @@
# Description
# Description
#
#
#------------------------------------------------------------------------------
#------------------------------------------------------------------------------
if (! -f "$1" ) then
echo "No file: '$1'"
exit 1
endif
set tmpK = newK$$.dat
set tmpK = newK$$.dat
cat $1 | grep "Solving for k" | grep -v "solution singularity" | sed s/,//g | awk 'BEGIN { NENTRIES = 0 }{NENTRIES++; printf("%f %e\n", NENTRIES, $8)}' - > $tmpK
cat $1 | grep "Solving for k" | grep -v "solution singularity" | sed s/,//g | awk 'BEGIN { NENTRIES = 0 }{NENTRIES++; printf("%f %e\n", NENTRIES, $8)}' - > $tmpK
...
...
This diff is collapsed.
Click to expand it.
bin/foamGraphResUVWP
+
4
−
0
View file @
270f14f6
...
@@ -29,6 +29,10 @@
...
@@ -29,6 +29,10 @@
# Description
# Description
#
#
#------------------------------------------------------------------------------
#------------------------------------------------------------------------------
if (! -f "$1" ) then
echo "No file: '$1'"
exit 1
endif
set tmpU = newU$$.dat
set tmpU = newU$$.dat
cat $1 | grep "Solving for Ux" | grep -v "solution singularity" | sed s/,//g | awk 'BEGIN { NENTRIES = 0 }{NENTRIES++; printf("%d %e\n", NENTRIES, $8)}' - > $tmpU
cat $1 | grep "Solving for Ux" | grep -v "solution singularity" | sed s/,//g | awk 'BEGIN { NENTRIES = 0 }{NENTRIES++; printf("%d %e\n", NENTRIES, $8)}' - > $tmpU
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment