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
d7f99e3d
Commit
d7f99e3d
authored
Jan 12, 2009
by
Mark Olesen
Browse files
cosmetics
parent
9d9aea38
Changes
3
Hide whitespace changes
Inline
Side-by-side
applications/solvers/combustion/PDRFoam/XiModels/XiEqModels/SCOPEBlendXiEq/SCOPEBlendXiEq.H
View file @
d7f99e3d
...
...
@@ -28,7 +28,7 @@ Class
Description
Simple SCOPEBlendXiEq model for XiEq based on SCOPEXiEqs correlation
with a linear correction function to give a plausible profile for XiEq.
See
\
link SCOPELaminarFlameSpeed.H
\
endlink for details on the SCOPE
See
@
link SCOPELaminarFlameSpeed.H
@
endlink for details on the SCOPE
laminar flame speed model.
SourceFiles
...
...
applications/solvers/combustion/PDRFoam/XiModels/XiEqModels/instabilityXiEq/instabilityXiEq.H
View file @
d7f99e3d
...
...
@@ -27,8 +27,8 @@ Class
Description
This is the equilibrium level of the flame wrinkling generated by
in
e
stability. It is a constant (default 2.5). It is used in
\
link XiModel.H
\
endlink.
instability. It is a constant (default 2.5). It is used in
@
link XiModel.H
@
endlink.
SourceFiles
instability.C
...
...
bin/foamCopySettings
View file @
d7f99e3d
...
...
@@ -35,7 +35,7 @@
#------------------------------------------------------------------------------
if
[
"
$1
"
=
"-h"
-o
"
$1
"
=
"-help"
-o
"$#"
-ne
2
]
then
cat
<<
USAGE
1>&2
cat
<<
USAGE
1>&2
Usage:
${
0
##*/
}
srcDir dstDir
Copy OpenFOAM settings from one case to another, without copying
...
...
@@ -46,30 +46,23 @@ USAGE
exit
1
fi
srcDir
=
$
1
dstDir
=
$
2
srcDir
=
$
{
1
%/
}
dstDir
=
$
{
2
%/
}
if
[
!
-d
$srcDir
]
then
echo
"Error: directory '
$srcDir
' does not exist"
exit
1
fi
if
[
!
-d
$dstDir
]
then
echo
"Error: directory '
$dstDir
' does not exist"
exit
1
fi
for
i
in
$srcDir
$dstDir
do
[
-d
"
$i
"
]
||
{
echo
"Error: directory '
$i
' does not exist"
;
exit
1
;
}
done
# check that the srcDir looks okay
for
i
in
$srcDir
/constant
$srcDir
/system
do
if
[
!
-d
$i
]
then
echo
"Error: no '
${
i
##*/
}
' directory in '
$srcDir
'"
echo
" does not appear to be an OpenFOAM case"
exit
1
fi
if
[
!
-d
"
$i
"
]
then
echo
"Error: no '
${
i
##*/
}
' directory in '
$srcDir
'"
echo
" does not appear to be an OpenFOAM case"
exit
1
fi
done
# files and directories to copy
...
...
@@ -82,19 +75,19 @@ fileList=$(find -H $srcDir -mindepth 1 -maxdepth 1 -not -name "processor*")
for
i
in
$fileList
do
name
=
"
${
i
##*/
}
"
# skip numerical (results) directories (except 0)
# and things that look like queuing system output
or log files
case
"
$name
"
in
[
1-9]
|
[
0-9]?
*
|
foam.[eo][1-9]
*
|
log
|
*
.log
)
echo
"
$i
[skipped]"
continue
;;
*
)
echo
"
$i
->
$dstDir
/
$name
"
rsync
--exclude
polyMesh
--exclude
"processor*"
-a
$i
$dstDir
;;
esac
name
=
"
${
i
##*/
}
"
# skip numerical (results) directories (except 0)
# and things that look like
log files or
queuing system output
case
"
$name
"
in
[
1-9]
|
[
0-9]?
*
|
log
|
*
.log
|
foam.[eo][1-9]
*
)
echo
"
$i
[skipped]"
continue
;;
*
)
echo
"
$i
->
$dstDir
/
$name
"
rsync
--exclude
polyMesh
--exclude
"processor*"
-a
$i
$dstDir
;;
esac
done
# --------------------------------------------------------------- end-of-file
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