Merge branch 'master' into splitCyclic

Conflicts:
	applications/utilities/mesh/manipulation/splitMeshRegions/splitMeshRegions.C
	applications/utilities/parallelProcessing/decomposePar/domainDecompositionMesh.C
	src/OpenFOAM/db/IOstreams/Pstreams/UPstream.H
	src/OpenFOAM/fields/pointPatchFields/pointPatchField/pointPatchField.C
	src/OpenFOAM/matrices/lduMatrix/solvers/GAMG/interfaces/cyclicGAMGInterface/cyclicGAMGInterface.C
	src/OpenFOAM/meshes/pointMesh/pointPatches/constraint/processor/processorPointPatch.H
	src/OpenFOAM/meshes/polyMesh/polyPatches/constraint/cyclic/cyclicPolyPatch.H
	src/OpenFOAM/meshes/polyMesh/syncTools/syncTools.C
	src/OpenFOAM/meshes/polyMesh/syncTools/syncToolsTemplates.C
	src/meshTools/sets/topoSets/faceSet.C
	src/parallel/decompose/decompositionMethods/decompositionMethod/decompositionMethod.C
This commit is contained in:
mattijs
2010-04-16 12:09:34 +01:00
5841 changed files with 78171 additions and 41256 deletions

View File

@ -9,10 +9,10 @@
# License
# This file is part of OpenFOAM.
#
# OpenFOAM is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License as published by the
# Free Software Foundation; either version 2 of the License, or (at your
# option) any later version.
# OpenFOAM is free software: you can redistribute it and/or modify it
# under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# OpenFOAM is distributed in the hope that it will be useful, but WITHOUT
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
@ -20,8 +20,7 @@
# for more details.
#
# You should have received a copy of the GNU General Public License
# along with OpenFOAM; if not, write to the Free Software Foundation,
# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
# along with OpenFOAM. If not, see <http://www.gnu.org/licenses/>.
#
# Script
# Allrun

View File

@ -9,10 +9,10 @@
# License
# This file is part of OpenFOAM.
#
# OpenFOAM is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License as published by the
# Free Software Foundation; either version 2 of the License, or (at your
# option) any later version.
# OpenFOAM is free software: you can redistribute it and/or modify it
# under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# OpenFOAM is distributed in the hope that it will be useful, but WITHOUT
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
@ -20,8 +20,7 @@
# for more details.
#
# You should have received a copy of the GNU General Public License
# along with OpenFOAM; if not, write to the Free Software Foundation,
# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
# along with OpenFOAM. If not, see <http://www.gnu.org/licenses/>.
#
# Script
# Alltest
@ -37,11 +36,11 @@ usage()
while [ "$#" -ge 1 ]; do echo "$1"; shift; done
cat<<USAGE
usage: $0 [OPTION]
usage: ${0##*/} [OPTION]
options:
-d sets up a default scheme on all schemes
-h this usage
-default sets up a default scheme on all schemes
-help print the usage
* quickly tests the tutorials and writes out the scheme/solver information
@ -49,6 +48,30 @@ USAGE
exit 1
}
#------------------------------------------------------------------------------
unset DEFAULT_SCHEMES
# parse options
while [ "$#" -gt 0 ]
do
case "$1" in
-h | -help)
usage
;;
-d | -default)
DEFAULT_SCHEMES=true
shift
;;
-*)
usage "unknown option: '$*'"
;;
*)
break
;;
esac
done
setDefaultFvSchemes()
{
@ -99,6 +122,7 @@ done
[ -f "$MAIN_CONTROL_DICT" ] || usage "main controlDict not found"
TUTORIALS_DIR=.
TEST_RUN_DIR=../tutorialsTest
FV_SCHEMES=\
@ -114,30 +138,7 @@ SCHEMES_FILE="FvSchemes"
SCHEMES_TEMP="FvSchemes.temp"
SOLVERS_FILE="FvSolution"
SOLVERS_TEMP="FvSolution.temp"
DEFAULT_SCHEMES=0
#
# OPTIONS
#
OPTS=`getopt hd $*`
if [ $? -ne 0 ]
then
usage "Aborting due to invalid option"
fi
eval set -- "$OPTS"
while [ $1 != -- ]
do
case $1 in
-d)
DEFAULT_SCHEMES=1
;;
-h)
usage
;;
esac
shift
done
shift
#
# MAIN
@ -183,7 +184,7 @@ do
${CD}.org > ${CD}
done
if [ $DEFAULT_SCHEMES = 1 ]
if [ "$DEFAULT_SCHEMES" = true ]
then
echo "Modifying the fvSchemes to contain only default schemes"
for FV_SC in `find . -name fvSchemes`
@ -210,8 +211,7 @@ do
echo "$APP: " | tr -d "\n" >> $SOLVERS_FILE
for ST in $FV_SCHEMES
do
rm $SCHEMES_TEMP > /dev/null 2>&1
rm $SOLVERS_TEMP > /dev/null 2>&1
rm $SCHEMES_TEMP $SOLVERS_TEMP > /dev/null 2>&1
echo " ${ST}" >> $SCHEMES_FILE
for LOG in `find ${APP} -name "log.${APP}"`
do

View File

@ -37,13 +37,13 @@ writeFormat ascii;
writePrecision 6;
writeCompression uncompressed;
writeCompression off;
timeFormat general;
timePrecision 6;
runTimeModifiable yes;
runTimeModifiable true;
graphFormat raw;

View File

@ -37,13 +37,13 @@ writeFormat ascii;
writePrecision 6;
writeCompression uncompressed;
writeCompression off;
timeFormat general;
timePrecision 6;
runTimeModifiable yes;
runTimeModifiable true;
// ************************************************************************* //

View File

@ -8,10 +8,10 @@
License
This file is part of OpenFOAM.
OpenFOAM is free software; you can redistribute it and/or modify it
under the terms of the GNU General Public License as published by the
Free Software Foundation; either version 2 of the License, or (at your
option) any later version.
OpenFOAM is free software: you can redistribute it and/or modify it
under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
OpenFOAM is distributed in the hope that it will be useful, but WITHOUT
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
@ -19,8 +19,7 @@ License
for more details.
You should have received a copy of the GNU General Public License
along with OpenFOAM; if not, write to the Free Software Foundation,
Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
along with OpenFOAM. If not, see <http://www.gnu.org/licenses/>.
Application
analyticalCylinder

View File

@ -37,13 +37,13 @@ writeFormat ascii;
writePrecision 6;
writeCompression uncompressed;
writeCompression off;
timeFormat general;
timePrecision 6;
runTimeModifiable yes;
runTimeModifiable true;
// ************************************************************************* //

View File

@ -37,13 +37,13 @@ writeFormat ascii;
writePrecision 6;
writeCompression uncompressed;
writeCompression off;
timeFormat general;
timePrecision 6;
runTimeModifiable yes;
runTimeModifiable true;
// ************************************************************************* //

View File

@ -37,13 +37,13 @@ writeFormat ascii;
writePrecision 6;
writeCompression uncompressed;
writeCompression off;
timeFormat general;
timePrecision 6;
runTimeModifiable yes;
runTimeModifiable true;
// ************************************************************************* //

View File

@ -37,13 +37,13 @@ writeFormat ascii;
writePrecision 6;
writeCompression uncompressed;
writeCompression off;
timeFormat general;
timePrecision 6;
runTimeModifiable yes;
runTimeModifiable true;
adjustTimeStep yes;
@ -57,6 +57,7 @@ functions
functionObjectLibs ( "libfieldFunctionObjects.so" );
enabled true;
outputControl outputTime;
fields
(
U
@ -76,5 +77,4 @@ functions
}
}
// ************************************************************************* //

View File

@ -37,13 +37,13 @@ writeFormat ascii;
writePrecision 6;
writeCompression compressed;
writeCompression off;
timeFormat general;
timePrecision 6;
runTimeModifiable yes;
runTimeModifiable true;
adjustTimeStep yes;
@ -57,6 +57,7 @@ functions
functionObjectLibs ( "libfieldFunctionObjects.so" );
enabled true;
outputControl outputTime;
fields
(
U
@ -76,5 +77,4 @@ functions
}
}
// ************************************************************************* //

View File

@ -37,13 +37,13 @@ writeFormat ascii;
writePrecision 6;
writeCompression uncompressed;
writeCompression off;
timeFormat general;
timePrecision 6;
runTimeModifiable yes;
runTimeModifiable true;
adjustTimeStep no;

View File

@ -37,7 +37,7 @@ writeFormat binary;
writePrecision 6;
writeCompression uncompressed;
writeCompression off;
timeFormat general;
@ -47,7 +47,7 @@ adjustTimeStep yes;
maxCo 0.1;
runTimeModifiable yes;
runTimeModifiable true;
// ************************************************************************* //

View File

@ -37,13 +37,13 @@ writeFormat ascii;
writePrecision 6;
writeCompression uncompressed;
writeCompression off;
timeFormat general;
timePrecision 6;
runTimeModifiable yes;
runTimeModifiable true;
adjustTimeStep no;

View File

@ -37,13 +37,13 @@ writeFormat ascii;
writePrecision 6;
writeCompression uncompressed;
writeCompression off;
timeFormat general;
timePrecision 6;
runTimeModifiable yes;
runTimeModifiable true;
adjustTimeStep no;

View File

@ -37,13 +37,13 @@ writeFormat ascii;
writePrecision 6;
writeCompression uncompressed;
writeCompression off;
timeFormat general;
timePrecision 6;
runTimeModifiable yes;
runTimeModifiable true;
adjustTimeStep no;

View File

@ -36,7 +36,7 @@ writeFormat ascii;
writePrecision 6;
writeCompression uncompressed;
writeCompression off;
timeFormat general;
@ -44,7 +44,7 @@ timePrecision 6;
graphFormat raw;
runTimeModifiable yes;
runTimeModifiable true;
adjustTimeStep yes;

View File

@ -37,13 +37,13 @@ writeFormat ascii;
writePrecision 6;
writeCompression uncompressed;
writeCompression off;
timeFormat general;
timePrecision 6;
runTimeModifiable yes;
runTimeModifiable true;
adjustTimeStep yes;

View File

@ -37,7 +37,7 @@ writeFormat ascii;
writePrecision 15;
writeCompression uncompressed;
writeCompression off;
timeFormat general;

View File

@ -8,10 +8,10 @@
License
This file is part of OpenFOAM.
OpenFOAM is free software; you can redistribute it and/or modify it
under the terms of the GNU General Public License as published by the
Free Software Foundation; either version 2 of the License, or (at your
option) any later version.
OpenFOAM is free software: you can redistribute it and/or modify it
under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
OpenFOAM is distributed in the hope that it will be useful, but WITHOUT
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
@ -19,8 +19,7 @@ License
for more details.
You should have received a copy of the GNU General Public License
along with OpenFOAM; if not, write to the Free Software Foundation,
Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
along with OpenFOAM. If not, see <http://www.gnu.org/licenses/>.
Application
datToFoam

View File

@ -20,32 +20,34 @@ USAGE
exit 1
}
# -----------------------------------------------------------------------------
unset timeOpt
OPTS=`getopt hl $*`
[ $? -eq 0 ] || usage "Aborting due to invalid option"
eval set -- "$OPTS"
while [ $1 != -- ]
# parse options
while [ "$#" -gt 0 ]
do
case $1 in
-l)
timeOpt="-latestTime"
;;
-h)
case "$1" in
-h | -help)
usage
;;
-l | -latestTime)
timeOpt="-latestTime"
shift
;;
*)
usage "unknown option/argument: '$*'"
;;
esac
shift
done
shift
sample $timeOpt
SDIR="sets"
SDIR=sets
LSDIR=`ls $SDIR | head -1`
EXAMPLE_FILE=`ls -1 $SDIR/${LSDIR}/* | head -1`
FS=`basename $EXAMPLE_FILE | cut -d_ -f2-`
for d in $SDIR/*
do
cat ${d}/cone25_${FS} ${d}/cone55_${FS} ${d}/base_${FS} > ${d}/biconic_${FS}

View File

@ -37,7 +37,7 @@ writeFormat ascii;
writePrecision 15;
writeCompression uncompressed;
writeCompression off;
timeFormat general;

View File

@ -37,13 +37,13 @@ writeFormat ascii;
writePrecision 6;
writeCompression uncompressed;
writeCompression off;
timeFormat general;
timePrecision 6;
runTimeModifiable yes;
runTimeModifiable true;
adjustTimeStep yes;

View File

@ -37,7 +37,7 @@ writeFormat ascii;
writePrecision 6;
writeCompression uncompressed;
writeCompression off;
timeFormat general;
@ -45,7 +45,7 @@ timePrecision 6;
graphFormat raw;
runTimeModifiable yes;
runTimeModifiable true;
adjustTimeStep yes;

View File

@ -37,13 +37,13 @@ writeFormat ascii;
writePrecision 6;
writeCompression uncompressed;
writeCompression off;
timeFormat general;
timePrecision 6;
runTimeModifiable yes;
runTimeModifiable true;
adjustTimeStep yes;

View File

@ -37,13 +37,13 @@ writeFormat ascii;
writePrecision 6;
writeCompression uncompressed;
writeCompression off;
timeFormat general;
timePrecision 6;
runTimeModifiable yes;
runTimeModifiable true;
adjustTimeStep no;

View File

@ -37,13 +37,13 @@ writeFormat ascii;
writePrecision 6;
writeCompression uncompressed;
writeCompression off;
timeFormat general;
timePrecision 6;
runTimeModifiable yes;
runTimeModifiable true;
adjustTimeStep no;

View File

@ -37,19 +37,18 @@ writeFormat ascii;
writePrecision 6;
writeCompression uncompressed;
writeCompression off;
timeFormat general;
timePrecision 6;
runTimeModifiable yes;
runTimeModifiable true;
adjustTimeStep no;
maxCo 0.5;
functions
{
fieldAverage1
@ -58,6 +57,7 @@ functions
functionObjectLibs ( "libfieldFunctionObjects.so" );
enabled true;
outputControl outputTime;
fields
(
U
@ -77,5 +77,4 @@ functions
}
}
// ************************************************************************* //

View File

@ -37,13 +37,13 @@ writeFormat ascii;
writePrecision 6;
writeCompression uncompressed;
writeCompression off;
timeFormat general;
timePrecision 6;
runTimeModifiable yes;
runTimeModifiable true;
adjustTimeStep no;

View File

@ -37,13 +37,13 @@ writeFormat ascii;
writePrecision 6;
writeCompression uncompressed;
writeCompression off;
timeFormat general;
timePrecision 6;
runTimeModifiable yes;
runTimeModifiable true;
adjustTimeStep yes;

View File

@ -37,7 +37,7 @@ writeFormat ascii;
writePrecision 6;
writeCompression uncompressed;
writeCompression off;
timeFormat general;
@ -45,7 +45,7 @@ timePrecision 6;
graphFormat raw;
runTimeModifiable yes;
runTimeModifiable true;
// ************************************************************************* //

View File

@ -37,7 +37,7 @@ writeFormat binary;
writePrecision 6;
writeCompression uncompressed;
writeCompression off;
timeFormat general;
@ -45,7 +45,7 @@ timePrecision 6;
graphFormat raw;
runTimeModifiable yes;
runTimeModifiable true;
// ************************************************************************* //

View File

@ -37,7 +37,7 @@ writeFormat ascii;
writePrecision 6;
writeCompression uncompressed;
writeCompression off;
timeFormat general;
@ -45,7 +45,7 @@ timePrecision 6;
graphFormat raw;
runTimeModifiable yes;
runTimeModifiable true;
// ************************************************************************* //

View File

@ -37,13 +37,13 @@ writeFormat ascii;
writePrecision 6;
writeCompression uncompressed;
writeCompression off;
timeFormat general;
timePrecision 6;
runTimeModifiable yes;
runTimeModifiable true;
// ************************************************************************* //

View File

@ -37,13 +37,13 @@ writeFormat ascii;
writePrecision 6;
writeCompression uncompressed;
writeCompression off;
timeFormat general;
timePrecision 6;
runTimeModifiable yes;
runTimeModifiable true;
// ************************************************************************* //

View File

@ -37,13 +37,13 @@ writeFormat ascii;
writePrecision 6;
writeCompression uncompressed;
writeCompression off;
timeFormat general;
timePrecision 6;
runTimeModifiable yes;
runTimeModifiable true;
adjustTimeStep no;

View File

@ -37,13 +37,13 @@ writeFormat ascii;
writePrecision 6;
writeCompression uncompressed;
writeCompression off;
timeFormat general;
timePrecision 6;
runTimeModifiable yes;
runTimeModifiable true;
adjustTimeStep no;

View File

@ -37,13 +37,13 @@ writeFormat ascii;
writePrecision 6;
writeCompression uncompressed;
writeCompression off;
timeFormat general;
timePrecision 6;
runTimeModifiable yes;
runTimeModifiable true;
// ************************************************************************* //

View File

@ -37,13 +37,13 @@ writeFormat ascii;
writePrecision 6;
writeCompression uncompressed;
writeCompression off;
timeFormat general;
timePrecision 6;
runTimeModifiable yes;
runTimeModifiable true;
// ************************************************************************* //

View File

@ -37,26 +37,28 @@ writeFormat ascii;
writePrecision 6;
writeCompression compressed;
writeCompression off;
timeFormat general;
timePrecision 6;
runTimeModifiable yes;
runTimeModifiable true;
functions
{
forces
{
type forceCoeffs;
type forceCoeffs;
functionObjectLibs ( "libforces.so" );
outputControl timeStep;
outputInterval 1;
outputControl timeStep;
outputInterval 1;
patches
(
WALL10
);
pName p;
UName U;
log true;
@ -71,5 +73,4 @@ functions
}
}
// ************************************************************************* //

View File

@ -37,13 +37,13 @@ writeFormat ascii;
writePrecision 6;
writeCompression uncompressed;
writeCompression off;
timeFormat general;
timePrecision 6;
runTimeModifiable yes;
runTimeModifiable true;
// ************************************************************************* //

View File

@ -37,13 +37,13 @@ writeFormat ascii;
writePrecision 6;
writeCompression compressed;
writeCompression off;
timeFormat general;
timePrecision 6;
runTimeModifiable yes;
runTimeModifiable true;
// ************************************************************************* //

View File

@ -37,90 +37,90 @@ writeFormat ascii;
writePrecision 10;
writeCompression uncompressed;
writeCompression off;
timeFormat general;
timePrecision 6;
runTimeModifiable yes;
runTimeModifiable true;
adjustTimeStep no;
functions
(
{
dsmcFields1
{
type dsmcFields;
enabled on;
type dsmcFields;
functionObjectLibs ( "libutilityFunctionObjects.so" );
outputControl outputTime;
enabled true;
outputControl outputTime;
}
fieldAverage1
{
type fieldAverage;
type fieldAverage;
functionObjectLibs ( "libfieldFunctionObjects.so" );
outputControl outputTime;
resetOnOutput off;
outputControl outputTime;
resetOnOutput off;
fields
(
rhoN
{
mean on;
prime2Mean off;
base time;
mean on;
prime2Mean off;
base time;
}
rhoM
{
mean on;
prime2Mean off;
base time;
mean on;
prime2Mean off;
base time;
}
dsmcRhoN
{
mean on;
prime2Mean off;
base time;
mean on;
prime2Mean off;
base time;
}
momentum
{
mean on;
prime2Mean off;
base time;
mean on;
prime2Mean off;
base time;
}
linearKE
{
mean on;
prime2Mean off;
base time;
mean on;
prime2Mean off;
base time;
}
internalE
{
mean on;
prime2Mean off;
base time;
mean on;
prime2Mean off;
base time;
}
iDof
{
mean on;
prime2Mean off;
base time;
mean on;
prime2Mean off;
base time;
}
q
{
mean on;
prime2Mean off;
base time;
mean on;
prime2Mean off;
base time;
}
fD
{
mean on;
prime2Mean off;
base time;
mean on;
prime2Mean off;
base time;
}
);
}
);
}
// ************************************************************************* //

View File

@ -37,90 +37,90 @@ writeFormat ascii;
writePrecision 10;
writeCompression uncompressed;
writeCompression off;
timeFormat general;
timePrecision 6;
runTimeModifiable yes;
runTimeModifiable true;
adjustTimeStep no;
functions
(
{
dsmcFields1
{
type dsmcFields;
enabled on;
type dsmcFields;
functionObjectLibs ( "libutilityFunctionObjects.so" );
outputControl outputTime;
enabled true;
outputControl outputTime;
}
fieldAverage1
{
type fieldAverage;
type fieldAverage;
functionObjectLibs ( "libfieldFunctionObjects.so" );
outputControl outputTime;
resetOnOutput off;
outputControl outputTime;
resetOnOutput off;
fields
(
rhoN
{
mean on;
prime2Mean off;
base time;
mean on;
prime2Mean off;
base time;
}
rhoM
{
mean on;
prime2Mean off;
base time;
mean on;
prime2Mean off;
base time;
}
dsmcRhoN
{
mean on;
prime2Mean off;
base time;
mean on;
prime2Mean off;
base time;
}
momentum
{
mean on;
prime2Mean off;
base time;
mean on;
prime2Mean off;
base time;
}
linearKE
{
mean on;
prime2Mean off;
base time;
mean on;
prime2Mean off;
base time;
}
internalE
{
mean on;
prime2Mean off;
base time;
mean on;
prime2Mean off;
base time;
}
iDof
{
mean on;
prime2Mean off;
base time;
mean on;
prime2Mean off;
base time;
}
q
{
mean on;
prime2Mean off;
base time;
mean on;
prime2Mean off;
base time;
}
fD
{
mean on;
prime2Mean off;
base time;
mean on;
prime2Mean off;
base time;
}
);
}
);
}
// ************************************************************************* //

View File

@ -37,90 +37,90 @@ writeFormat ascii;
writePrecision 10;
writeCompression uncompressed;
writeCompression off;
timeFormat general;
timePrecision 6;
runTimeModifiable yes;
runTimeModifiable true;
adjustTimeStep no;
functions
(
{
dsmcFields1
{
type dsmcFields;
enabled on;
type dsmcFields;
functionObjectLibs ( "libutilityFunctionObjects.so" );
outputControl outputTime;
enabled true;
outputControl outputTime;
}
fieldAverage1
{
type fieldAverage;
type fieldAverage;
functionObjectLibs ( "libfieldFunctionObjects.so" );
outputControl outputTime;
resetOnOutput off;
outputControl outputTime;
resetOnOutput off;
fields
(
rhoN
{
mean on;
prime2Mean off;
base time;
mean on;
prime2Mean off;
base time;
}
rhoM
{
mean on;
prime2Mean off;
base time;
mean on;
prime2Mean off;
base time;
}
dsmcRhoN
{
mean on;
prime2Mean off;
base time;
mean on;
prime2Mean off;
base time;
}
momentum
{
mean on;
prime2Mean off;
base time;
mean on;
prime2Mean off;
base time;
}
linearKE
{
mean on;
prime2Mean off;
base time;
mean on;
prime2Mean off;
base time;
}
internalE
{
mean on;
prime2Mean off;
base time;
mean on;
prime2Mean off;
base time;
}
iDof
{
mean on;
prime2Mean off;
base time;
mean on;
prime2Mean off;
base time;
}
q
{
mean on;
prime2Mean off;
base time;
mean on;
prime2Mean off;
base time;
}
fD
{
mean on;
prime2Mean off;
base time;
mean on;
prime2Mean off;
base time;
}
);
}
);
}
// ************************************************************************* //

View File

@ -38,104 +38,104 @@ writeFormat ascii;
writePrecision 10;
writeCompression uncompressed;
writeCompression off;
timeFormat general;
timePrecision 6;
runTimeModifiable yes;
runTimeModifiable true;
adjustTimeStep no;
functions
(
{
dsmcFields1
{
type dsmcFields;
enabled on;
type dsmcFields;
functionObjectLibs ( "libutilityFunctionObjects.so" );
outputControl outputTime;
enabled true;
outputControl outputTime;
}
fieldAverage1
{
type fieldAverage;
type fieldAverage;
functionObjectLibs ( "libfieldFunctionObjects.so" );
outputControl outputTime;
resetOnOutput off;
outputControl outputTime;
resetOnOutput off;
fields
(
rhoN
{
mean on;
prime2Mean off;
base time;
mean on;
prime2Mean off;
base time;
}
rhoM
{
mean on;
prime2Mean off;
base time;
mean on;
prime2Mean off;
base time;
}
dsmcRhoN
{
mean on;
prime2Mean off;
base time;
mean on;
prime2Mean off;
base time;
}
momentum
{
mean on;
prime2Mean off;
base time;
mean on;
prime2Mean off;
base time;
}
linearKE
{
mean on;
prime2Mean off;
base time;
mean on;
prime2Mean off;
base time;
}
internalE
{
mean on;
prime2Mean off;
base time;
mean on;
prime2Mean off;
base time;
}
iDof
{
mean on;
prime2Mean off;
base time;
mean on;
prime2Mean off;
base time;
}
q
{
mean on;
prime2Mean off;
base time;
mean on;
prime2Mean off;
base time;
}
fD
{
mean on;
prime2Mean off;
base time;
mean on;
prime2Mean off;
base time;
}
);
}
forces1
{
type forces;
enabled on;
type forces;
enabled true;
functionObjectLibs ( "libforces.so" );
outputControl outputTime;
patches ( obstacle );
outputControl outputTime;
patches ( obstacle );
directForceDensity true;
fDName fDMean;
CofR ( 0 0 0 );
log on;
fDName fDMean;
CofR ( 0 0 0 );
log on;
}
);
}
// ************************************************************************* //

View File

@ -36,13 +36,13 @@ writeFormat ascii;
writePrecision 12;
writeCompression uncompressed;
writeCompression off;
timeFormat general;
timePrecision 6;
runTimeModifiable yes;
runTimeModifiable true;
adjustTimeStep no;

View File

@ -36,13 +36,13 @@ writeFormat ascii;
writePrecision 12;
writeCompression uncompressed;
writeCompression off;
timeFormat general;
timePrecision 6;
runTimeModifiable yes;
runTimeModifiable true;
adjustTimeStep no;

View File

@ -36,13 +36,13 @@ writeFormat ascii;
writePrecision 12;
writeCompression uncompressed;
writeCompression off;
timeFormat general;
timePrecision 6;
runTimeModifiable yes;
runTimeModifiable true;
adjustTimeStep no;

View File

@ -37,13 +37,13 @@ writeFormat ascii;
writePrecision 6;
writeCompression uncompressed;
writeCompression off;
timeFormat general;
timePrecision 6;
runTimeModifiable yes;
runTimeModifiable true;
// ************************************************************************* //

View File

@ -37,13 +37,13 @@ writeFormat ascii;
writePrecision 6;
writeCompression uncompressed;
writeCompression off;
timeFormat general;
timePrecision 6;
runTimeModifiable yes;
runTimeModifiable true;
// ************************************************************************* //

View File

@ -37,13 +37,13 @@ writeFormat ascii;
writePrecision 6;
writeCompression uncompressed;
writeCompression off;
timeFormat general;
timePrecision 6;
runTimeModifiable yes;
runTimeModifiable true;
graphFormat raw;

View File

@ -37,13 +37,13 @@ writeFormat ascii;
writePrecision 6;
writeCompression uncompressed;
writeCompression off;
timeFormat general;
timePrecision 6;
runTimeModifiable yes;
runTimeModifiable true;
adjustTimeStep no;

View File

@ -37,13 +37,13 @@ writeFormat ascii;
writePrecision 6;
writeCompression uncompressed;
writeCompression off;
timeFormat general;
timePrecision 6;
runTimeModifiable yes;
runTimeModifiable true;
// ************************************************************************* //

View File

@ -37,13 +37,13 @@ writeFormat ascii;
writePrecision 6;
writeCompression uncompressed;
writeCompression off;
timeFormat general;
timePrecision 6;
runTimeModifiable yes;
runTimeModifiable true;
// ************************************************************************* //

View File

@ -353,14 +353,17 @@ meshQualityControls
// Set to 180 to disable.
maxConcave 80;
//- Minimum projected area v.s. actual area. Set to -1 to disable.
minFlatness 0.5;
//- Minimum pyramid volume. Is absolute volume of cell pyramid.
// Set to a sensible fraction of the smallest cell volume expected.
// Set to very negative number (e.g. -1E30) to disable.
minVol 1e-13;
//- Minimum tet volume. Is absolute volume of the tet formed by the
// face-centre decomposition triangle and the cell centre.
// Set to a sensible fraction of the smallest cell volume expected.
// Set to very negative number (e.g. -1E30) to disable.
minTetVol 1e-20;
//- Minimum face area. Set to <0 to disable.
minArea -1;

View File

@ -8,10 +8,10 @@
License
This file is part of OpenFOAM.
OpenFOAM is free software; you can redistribute it and/or modify it
under the terms of the GNU General Public License as published by the
Free Software Foundation; either version 2 of the License, or (at your
option) any later version.
OpenFOAM is free software: you can redistribute it and/or modify it
under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
OpenFOAM is distributed in the hope that it will be useful, but WITHOUT
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
@ -19,8 +19,7 @@ License
for more details.
You should have received a copy of the GNU General Public License
along with OpenFOAM; if not, write to the Free Software Foundation,
Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
along with OpenFOAM. If not, see <http://www.gnu.org/licenses/>.
Application
setHotRoom

View File

@ -37,13 +37,13 @@ writeFormat ascii;
writePrecision 6;
writeCompression uncompressed;
writeCompression off;
timeFormat general;
timePrecision 6;
runTimeModifiable yes;
runTimeModifiable true;
adjustTimeStep no;

View File

@ -36,13 +36,13 @@ writeFormat ascii;
writePrecision 6;
writeCompression uncompressed;
writeCompression off;
timeFormat general;
timePrecision 6;
runTimeModifiable yes;
runTimeModifiable true;
// ************************************************************************* //

View File

@ -9,10 +9,10 @@
# License
# This file is part of OpenFOAM.
#
# OpenFOAM is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License as published by the
# Free Software Foundation; either version 2 of the License, or (at your
# option) any later version.
# OpenFOAM is free software: you can redistribute it and/or modify it
# under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# OpenFOAM is distributed in the hope that it will be useful, but WITHOUT
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
@ -20,8 +20,7 @@
# for more details.
#
# You should have received a copy of the GNU General Public License
# along with OpenFOAM; if not, write to the Free Software Foundation,
# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
# along with OpenFOAM. If not, see <http://www.gnu.org/licenses/>.
#
# Script
# createGraphs

View File

@ -37,13 +37,13 @@ writeFormat ascii;
writePrecision 6;
writeCompression uncompressed;
writeCompression off;
timeFormat general;
timePrecision 6;
runTimeModifiable yes;
runTimeModifiable true;
// ************************************************************************* //

View File

@ -37,13 +37,13 @@ writeFormat ascii;
writePrecision 6;
writeCompression uncompressed;
writeCompression off;
timeFormat general;
timePrecision 6;
runTimeModifiable yes;
runTimeModifiable true;
// ************************************************************************* //

View File

@ -37,13 +37,13 @@ writeFormat binary;
writePrecision 6;
writeCompression uncompressed;
writeCompression off;
timeFormat general;
timePrecision 6;
runTimeModifiable yes;
runTimeModifiable true;
// ************************************************************************* //

View File

@ -15,6 +15,8 @@ FoamFile
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
libs ("libOpenFOAM.so" "libcompressibleTurbulenceModel.so" "libcompressibleRASModels.so");
application chtMultiRegionFoam;
startFrom latestTime;
@ -37,13 +39,13 @@ writeFormat ascii;
writePrecision 7;
writeCompression uncompressed;
writeCompression off;
timeFormat general;
timePrecision 6;
runTimeModifiable yes;
runTimeModifiable true;
maxCo 0.3;

View File

@ -15,6 +15,8 @@ FoamFile
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
libs ("libOpenFOAM.so" "libcompressibleTurbulenceModel.so" "libcompressibleRASModels.so");
application snappyHexMesh;
startFrom latestTime;
@ -38,13 +40,13 @@ writeFormat ascii;
writePrecision 7;
writeCompression uncompressed;
writeCompression off;
timeFormat general;
timePrecision 6;
runTimeModifiable yes;
runTimeModifiable true;
maxCo 0.3;

View File

@ -335,13 +335,16 @@ meshQualityControls
// Set to 180 to disable.
maxConcave 80;
//- Minimum projected area v.s. actual area. Set to -1 to disable.
minFlatness 0.5;
//- Minimum pyramid volume. Is absolute volume of cell pyramid.
// Set to very negative number (e.g. -1E30) to disable.
minVol 0;
//- Minimum tet volume. Is absolute volume of the tet formed by the
// face-centre decomposition triangle and the cell centre.
// Set to a sensible fraction of the smallest cell volume expected.
// Set to very negative number (e.g. -1E30) to disable.
minTetVol 1e-20;
//- Minimum face area. Set to <0 to disable.
minArea -1;

View File

@ -8,10 +8,10 @@
License
This file is part of OpenFOAM.
OpenFOAM is free software; you can redistribute it and/or modify it
under the terms of the GNU General Public License as published by the
Free Software Foundation; either version 2 of the License, or (at your
option) any later version.
OpenFOAM is free software: you can redistribute it and/or modify it
under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
OpenFOAM is distributed in the hope that it will be useful, but WITHOUT
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
@ -19,8 +19,7 @@ License
for more details.
You should have received a copy of the GNU General Public License
along with OpenFOAM; if not, write to the Free Software Foundation,
Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
along with OpenFOAM. If not, see <http://www.gnu.org/licenses/>.
Application
MRFSimpleFoam
@ -65,7 +64,6 @@ int main(int argc, char *argv[])
tmp<fvVectorMatrix> UEqn
(
fvm::div(phi, U)
- fvm::Sp(fvc::div(phi), U)
+ turbulence->divDevReff(U)
);
mrfZones.addCoriolis(UEqn());

View File

@ -37,13 +37,13 @@ writeFormat ascii;
writePrecision 6;
writeCompression uncompressed;
writeCompression off;
timeFormat general;
timePrecision 6;
runTimeModifiable yes;
runTimeModifiable true;
// ************************************************************************* //

View File

@ -37,12 +37,12 @@ writeFormat ascii;
writePrecision 12;
writeCompression uncompressed;
writeCompression off;
timeFormat general;
timePrecision 12;
runTimeModifiable yes;
runTimeModifiable true;
// ************************************************************************* //

View File

@ -37,13 +37,13 @@ writeFormat ascii;
writePrecision 6;
writeCompression uncompressed;
writeCompression off;
timeFormat general;
timePrecision 6;
runTimeModifiable yes;
runTimeModifiable true;
graphFormat raw;

View File

@ -37,13 +37,13 @@ writeFormat ascii;
writePrecision 6;
writeCompression uncompressed;
writeCompression off;
timeFormat general;
timePrecision 6;
runTimeModifiable yes;
runTimeModifiable true;
graphFormat raw;

View File

@ -44,13 +44,13 @@ writeFormat ascii;
writePrecision 6;
writeCompression uncompressed;
writeCompression off;
timeFormat general;
timePrecision 6;
runTimeModifiable yes;
runTimeModifiable true;
graphFormat raw;

View File

@ -37,13 +37,13 @@ writeFormat ascii;
writePrecision 6;
writeCompression uncompressed;
writeCompression off;
timeFormat general;
timePrecision 6;
runTimeModifiable yes;
runTimeModifiable true;
functions
{
@ -53,6 +53,7 @@ functions
functionObjectLibs ( "libfieldFunctionObjects.so" );
enabled true;
outputControl outputTime;
fields
(
U

View File

@ -37,13 +37,13 @@ writeFormat ascii;
writePrecision 6;
writeCompression uncompressed;
writeCompression off;
timeFormat general;
timePrecision 6;
runTimeModifiable yes;
runTimeModifiable true;
// ************************************************************************* //

View File

@ -37,13 +37,13 @@ writeFormat ascii;
writePrecision 6;
writeCompression uncompressed;
writeCompression off;
timeFormat general;
timePrecision 6;
runTimeModifiable yes;
runTimeModifiable true;
// ************************************************************************* //

View File

@ -37,13 +37,13 @@ writeFormat ascii;
writePrecision 6;
writeCompression uncompressed;
writeCompression off;
timeFormat general;
timePrecision 6;
runTimeModifiable yes;
runTimeModifiable true;
// ************************************************************************* //

View File

@ -37,13 +37,13 @@ writeFormat ascii;
writePrecision 6;
writeCompression uncompressed;
writeCompression off;
timeFormat general;
timePrecision 6;
runTimeModifiable yes;
runTimeModifiable true;
// ************************************************************************* //

View File

@ -37,13 +37,13 @@ writeFormat ascii;
writePrecision 6;
writeCompression uncompressed;
writeCompression off;
timeFormat general;
timePrecision 6;
runTimeModifiable yes;
runTimeModifiable true;
// ************************************************************************* //

View File

@ -37,13 +37,13 @@ writeFormat binary;
writePrecision 6;
writeCompression uncompressed;
writeCompression off;
timeFormat general;
timePrecision 6;
runTimeModifiable yes;
runTimeModifiable true;
adjustTimeStep no;

View File

@ -37,13 +37,13 @@ writeFormat ascii;
writePrecision 6;
writeCompression uncompressed;
writeCompression off;
timeFormat general;
timePrecision 6;
runTimeModifiable yes;
runTimeModifiable true;
adjustTimeStep yes;
@ -53,11 +53,24 @@ functions
{
probes
{
type probes;
// Where to load it from
functionObjectLibs ( "libsampling.so" );
type probes;
// Name of the directory for probe data
name probes;
name probes;
// Write at same frequency as fields
outputControl outputTime;
outputInterval 1;
// Fields to be probed
fields
(
p U
);
probeLocations
(
( 1e-06 0 0.01 ) // at inlet
@ -65,15 +78,7 @@ functions
( 0.21 0.20999 0.01 ) // at outlet2
( 0.21 0 0.01 ) // at central block
);
// Fields to be probed
fields ( p U );
// Write at same frequency as fields
outputControl outputTime;
outputInterval 1;
}
}
// ************************************************************************* //

View File

@ -37,13 +37,13 @@ writeFormat ascii;
writePrecision 6;
writeCompression uncompressed;
writeCompression off;
timeFormat general;
timePrecision 6;
runTimeModifiable yes;
runTimeModifiable true;
functions
{
@ -54,6 +54,12 @@ functions
enabled true;
outputControl timeStep;
outputInterval 1;
fields
(
p
);
probeLocations
(
( 0.0254 0.0253 0 )
@ -65,10 +71,6 @@ functions
( 0.1778 0.0253 0 )
);
fields
(
p
);
}
fieldAverage1
@ -77,6 +79,7 @@ functions
functionObjectLibs ("libfieldFunctionObjects.so");
enabled true;
outputControl outputTime;
fields
(
U
@ -96,5 +99,4 @@ functions
}
}
// ************************************************************************* //

View File

@ -37,13 +37,13 @@ writeFormat ascii;
writePrecision 6;
writeCompression uncompressed;
writeCompression off;
timeFormat general;
timePrecision 6;
runTimeModifiable yes;
runTimeModifiable true;
functions
{
@ -54,6 +54,12 @@ functions
enabled true;
outputControl timeStep;
outputInterval 1;
fields
(
p
);
probeLocations
(
( 0.0254 0.0253 0 )
@ -64,10 +70,6 @@ functions
( 0.1524 0.0253 0 )
( 0.1778 0.0253 0 )
);
fields
(
p
);
}
fieldAverage1
@ -76,6 +78,7 @@ functions
functionObjectLibs ( "libfieldFunctionObjects.so" );
enabled true;
outputControl outputTime;
fields
(
U

View File

@ -37,13 +37,13 @@ writeFormat ascii;
writePrecision 6;
writeCompression uncompressed;
writeCompression off;
timeFormat general;
timePrecision 6;
runTimeModifiable yes;
runTimeModifiable true;
// ************************************************************************* //

View File

@ -37,7 +37,7 @@ writeFormat binary;
writePrecision 6;
writeCompression uncompressed;
writeCompression off;
timeFormat general;
@ -45,7 +45,7 @@ timePrecision 6;
graphFormat raw;
runTimeModifiable yes;
runTimeModifiable true;
// ************************************************************************* //

View File

@ -37,7 +37,7 @@ writeFormat binary;
writePrecision 6;
writeCompression uncompressed;
writeCompression off;
timeFormat general;
@ -45,7 +45,7 @@ timePrecision 6;
graphFormat raw;
runTimeModifiable yes;
runTimeModifiable true;
// ************************************************************************* //

View File

@ -18,7 +18,7 @@ application shallowWaterFoam;
startFrom startTime;
startTime 0;
startTime 0;
stopAt endTime;
@ -36,13 +36,12 @@ writeFormat ascii;
writePrecision 6;
writeCompression uncompressed;
writeCompression off;
timeFormat general;
timePrecision 6;
runTimeModifiable no;
runTimeModifiable false;
// ************************************************************************* //

View File

@ -37,13 +37,13 @@ writeFormat ascii;
writePrecision 6;
writeCompression uncompressed;
writeCompression off;
timeFormat general;
timePrecision 6;
runTimeModifiable yes;
runTimeModifiable true;
// ************************************************************************* //

View File

@ -21,433 +21,433 @@ FoamFile
{
type patch;
nFaces 320;
startFace 1016673;
startFace 955219;
}
inlet
{
type patch;
nFaces 64;
startFace 1016993;
startFace 955539;
}
outlet
{
type patch;
nFaces 64;
startFace 1017057;
startFace 955603;
}
lowerWall
{
type wall;
nFaces 5330;
startFace 1017121;
startFace 955667;
}
upperWall
{
type patch;
nFaces 160;
startFace 1022451;
startFace 960997;
}
motorBike_frt-fairing:001%1
{
type wall;
nFaces 6626;
startFace 1022611;
nFaces 6595;
startFace 961157;
}
motorBike_windshield:002%2
{
type wall;
nFaces 50;
startFace 1029237;
startFace 967752;
}
motorBike_rr-wh-rim:005%5
{
type wall;
nFaces 181;
startFace 1029287;
nFaces 178;
startFace 967802;
}
motorBike_rr-wh-rim:010%10
{
type wall;
nFaces 340;
startFace 1029468;
startFace 967980;
}
motorBike_fr-wh-rim:011%11
{
type wall;
nFaces 474;
startFace 1029808;
startFace 968320;
}
motorBike_fr-wh-brake-disk:012%12
{
type wall;
nFaces 54;
startFace 1030282;
startFace 968794;
}
motorBike_frame:016-shadow%13
{
type wall;
nFaces 131;
startFace 1030336;
nFaces 128;
startFace 968848;
}
motorBike_rear-susp:014%14
{
type wall;
nFaces 1073;
startFace 1030467;
nFaces 1080;
startFace 968976;
}
motorBike_rear-susp:014-shadow%15
{
type wall;
nFaces 159;
startFace 1031540;
nFaces 149;
startFace 970056;
}
motorBike_frame:016%16
{
type wall;
nFaces 20;
startFace 1031699;
nFaces 30;
startFace 970205;
}
motorBike_rr-wh-rim:005-shadow%17
{
type wall;
nFaces 25;
startFace 1031719;
nFaces 27;
startFace 970235;
}
motorBike_rr-wh-chain-hub:022%22
{
type wall;
nFaces 141;
startFace 1031744;
startFace 970262;
}
motorBike_rearseat%24
{
type wall;
nFaces 432;
startFace 1031885;
startFace 970403;
}
motorBike_frt-fairing%25
{
type wall;
nFaces 626;
startFace 1032317;
startFace 970835;
}
motorBike_windshield%26
{
type wall;
nFaces 428;
startFace 1032943;
nFaces 432;
startFace 971461;
}
motorBike_headlights%27
{
type wall;
nFaces 161;
startFace 1033371;
startFace 971893;
}
motorBike_driversseat%28
{
type wall;
nFaces 367;
startFace 1033532;
startFace 972054;
}
motorBike_rear-body%29
{
type wall;
nFaces 2076;
startFace 1033899;
startFace 972421;
}
motorBike_fuel-tank%30
{
type wall;
nFaces 912;
startFace 1035975;
startFace 974497;
}
motorBike_exhaust%31
{
type wall;
nFaces 2391;
startFace 1036887;
nFaces 2390;
startFace 975409;
}
motorBike_rr-wh-rim%32
{
type wall;
nFaces 1430;
startFace 1039278;
startFace 977799;
}
motorBike_fr-mud-guard%33
{
type wall;
nFaces 767;
startFace 1040708;
nFaces 758;
startFace 979229;
}
motorBike_fr-wh-rim%34
{
type wall;
nFaces 592;
startFace 1041475;
nFaces 591;
startFace 979987;
}
motorBike_fr-wh-brake-disk%35
{
type wall;
nFaces 533;
startFace 1042067;
nFaces 534;
startFace 980578;
}
motorBike_fr-brake-caliper%36
{
type wall;
nFaces 164;
startFace 1042600;
startFace 981112;
}
motorBike_fr-wh-tyre%37
{
type wall;
nFaces 1118;
startFace 1042764;
nFaces 1116;
startFace 981276;
}
motorBike_hbars%38
{
type wall;
nFaces 535;
startFace 1043882;
startFace 982392;
}
motorBike_fr-forks%39
{
type wall;
nFaces 1144;
startFace 1044417;
nFaces 1143;
startFace 982927;
}
motorBike_chain%40
{
type wall;
nFaces 474;
startFace 1045561;
startFace 984070;
}
motorBike_rr-wh-tyre%41
{
type wall;
nFaces 1785;
startFace 1046035;
nFaces 1786;
startFace 984544;
}
motorBike_square-dial%42
{
type wall;
nFaces 6;
startFace 1047820;
startFace 986330;
}
motorBike_round-dial%43
{
type wall;
nFaces 18;
startFace 1047826;
nFaces 17;
startFace 986336;
}
motorBike_dial-holder%44
{
type wall;
nFaces 87;
startFace 1047844;
startFace 986353;
}
motorBike_rear-susp%45
{
type wall;
nFaces 1787;
startFace 1047931;
nFaces 1786;
startFace 986440;
}
motorBike_rear-brake-lights%46
{
type wall;
nFaces 54;
startFace 1049718;
startFace 988226;
}
motorBike_rear-light-bracket%47
{
type wall;
nFaces 163;
startFace 1049772;
startFace 988280;
}
motorBike_frame%48
{
type wall;
nFaces 2040;
startFace 1049935;
startFace 988443;
}
motorBike_rear-mud-guard%49
{
type wall;
nFaces 804;
startFace 1051975;
nFaces 798;
startFace 990483;
}
motorBike_rear-susp-spring-damp%50
{
type wall;
nFaces 125;
startFace 1052779;
nFaces 124;
startFace 991281;
}
motorBike_fairing-inner-plate%51
{
type wall;
nFaces 446;
startFace 1052904;
startFace 991405;
}
motorBike_clutch-housing%52
{
type wall;
nFaces 966;
startFace 1053350;
nFaces 964;
startFace 991851;
}
motorBike_radiator%53
{
type wall;
nFaces 48;
startFace 1054316;
nFaces 58;
startFace 992815;
}
motorBike_water-pipe%54
{
type wall;
nFaces 103;
startFace 1054364;
startFace 992873;
}
motorBike_water-pump%55
{
type wall;
nFaces 74;
startFace 1054467;
startFace 992976;
}
motorBike_engine%56
{
type wall;
nFaces 2384;
startFace 1054541;
nFaces 2389;
startFace 993050;
}
motorBike_rear-shock-link%57
{
type wall;
nFaces 29;
startFace 1056925;
nFaces 28;
startFace 995439;
}
motorBike_rear-brake-fluid-pot-bracket%58
{
type wall;
nFaces 59;
startFace 1056954;
startFace 995467;
}
motorBike_rear-brake-fluid-pot%59
{
type wall;
nFaces 53;
startFace 1057013;
startFace 995526;
}
motorBike_footpeg%60
{
type wall;
nFaces 87;
startFace 1057066;
startFace 995579;
}
motorBike_rr-wh-chain-hub%61
{
type wall;
nFaces 145;
startFace 1057153;
nFaces 143;
startFace 995666;
}
motorBike_rear-brake-caliper%62
{
type wall;
nFaces 142;
startFace 1057298;
startFace 995809;
}
motorBike_rider-helmet%65
{
type wall;
nFaces 583;
startFace 1057440;
startFace 995951;
}
motorBike_rider-visor%66
{
type wall;
nFaces 95;
startFace 1058023;
startFace 996534;
}
motorBike_rider-boots%67
{
type wall;
nFaces 1025;
startFace 1058118;
startFace 996629;
}
motorBike_rider-gloves%68
{
type wall;
nFaces 320;
startFace 1059143;
startFace 997654;
}
motorBike_rider-body%69
{
type wall;
nFaces 4555;
startFace 1059463;
startFace 997974;
}
motorBike_frame:0%70
{
type wall;
nFaces 37;
startFace 1064018;
startFace 1002529;
}
motorBike_frt-fairing:001-shadow%74
{
type wall;
nFaces 1274;
startFace 1064055;
nFaces 1301;
startFace 1002566;
}
motorBike_windshield-shadow%75
{
type wall;
nFaces 101;
startFace 1065329;
nFaces 97;
startFace 1003867;
}
motorBike_fr-mud-guard-shadow%81
{
type wall;
nFaces 129;
startFace 1065430;
nFaces 140;
startFace 1003964;
}
motorBike_fr-wh-brake-disk-shadow%83
{
type wall;
nFaces 77;
startFace 1065559;
nFaces 76;
startFace 1004104;
}
motorBike_rear-mud-guard-shadow%84
{
type wall;
nFaces 138;
startFace 1065636;
nFaces 137;
startFace 1004180;
}
motorBike_rear-susp-spring-damp-shadow%85
{
type wall;
nFaces 15;
startFace 1065774;
startFace 1004317;
}
motorBike_radiator-shadow%86
{
type wall;
nFaces 12;
startFace 1065789;
nFaces 4;
startFace 1004332;
}
motorBike_rear-shock-link-shadow%87
{
type wall;
nFaces 7;
startFace 1065801;
nFaces 8;
startFace 1004336;
}
motorBike_rear-brake-fluid-pot-bracket-shadow%88
{
type wall;
nFaces 6;
startFace 1065808;
nFaces 5;
startFace 1004344;
}
motorBike_rr-wh-chain-hub-shadow%89
{
type wall;
nFaces 24;
startFace 1065814;
nFaces 27;
startFace 1004349;
}
)

View File

@ -18,13 +18,13 @@ libs ("libincompressibleRASModels.so");
application simpleFoam;
startFrom latestTime;
startFrom startTime;
startTime 0;
stopAt endTime;
endTime 500;
endTime 1000;
deltaT 1;
@ -38,12 +38,12 @@ writeFormat ascii;
writePrecision 6;
writeCompression compressed;
writeCompression off;
timeFormat general;
timePrecision 6;
runTimeModifiable yes;
runTimeModifiable true;
// ************************************************************************* //

View File

@ -24,7 +24,6 @@ gradSchemes
default Gauss linear;
grad(p) Gauss linear;
grad(U) Gauss linear;
//grad(U) cellLimited Gauss linear 1;
}
divSchemes
@ -38,20 +37,17 @@ divSchemes
laplacianSchemes
{
default Gauss linear corrected;
//default Gauss linear limited 0.5;
//default Gauss linear limited 0.333;
default Gauss linear limited 0.333;
}
interpolationSchemes
{
default linear;
interpolate(U) linear;
}
snGradSchemes
{
default corrected;
default limited 0.333;
}
fluxRequired

View File

@ -487,7 +487,7 @@ addLayersControls
//- If points get not extruded do nGrow layers of connected faces that are
// also not grown. This helps convergence of the layer addition process
// close to features.
nGrow 1;
nGrow 0;
// Advanced settings
@ -546,14 +546,17 @@ meshQualityControls
// Set to 180 to disable.
maxConcave 80;
//- Minimum projected area v.s. actual area. Set to -1 to disable.
minFlatness 0.5;
//- Minimum pyramid volume. Is absolute volume of cell pyramid.
// Set to a sensible fraction of the smallest cell volume expected.
// Set to very negative number (e.g. -1E30) to disable.
minVol 1e-13;
//- Minimum tet volume. Is absolute volume of the tet formed by the
// face-centre decomposition triangle and the cell centre.
// Set to a sensible fraction of the smallest cell volume expected.
// Set to very negative number (e.g. -1E30) to disable.
minTetVol 1e-20;
//- Minimum face area. Set to <0 to disable.
minArea -1;

View File

@ -37,46 +37,61 @@ writeFormat ascii;
writePrecision 6;
writeCompression uncompressed;
writeCompression off;
timeFormat general;
timePrecision 6;
runTimeModifiable yes;
runTimeModifiable true;
functions
(
{
convergenceChecks
{
type residualControl;
functionObjectLibs ( "libjobControl.so" );
outputControl timeStep;
outputInterval 1;
maxResiduals
{
p 1e-2;
U 1e-3;
"(k|epsilon|omega)" 1e-3;
}
}
streamLines
{
type streamLine;
type streamLine;
// Where to load it from (if not already in solver)
functionObjectLibs ("libOpenFOAM.so" "libfieldFunctionObjects.so");
// Output every
outputControl outputTime;
//outputInterval 10;
outputControl outputTime;
// outputInterval 10;
setFormat vtk;//gnuplot;//xmgr; //raw; //gnuplot; //jplot;
setFormat vtk; //gnuplot; //xmgr; //raw; //jplot;
// Velocity field to use for tracking.
U U;
// Tracked forwards (+U) or backwards (-U)
trackForward true;
trackForward true;
// Names of fields to sample. Should contain above velocity field!
fields (p k U);
// Cells particles can travel before being removed
lifeTime 1000;
lifeTime 1000;
// Cloud name to use
cloudName particleTracks;
cloudName particleTracks;
// Seeding method. See the sampleSets in sampleDict.
seedSampleSet uniform; //cloud;//triSurfaceMeshPointSet;
seedSampleSet uniform; //cloud;//triSurfaceMeshPointSet;
uniformCoeffs
{
@ -87,25 +102,7 @@ functions
end (-0.0205 0.0251 0.00001);
nPoints 10;
}
// cloudCoeffs
// {
// type cloud;
// axis x;
//
// points
// (
// (-0.0205936225239282 0.0144729199524163 0.00001)
// );
// }
// triSurfaceMeshPointSetCoeffs
// {
// type triSurfaceMeshPointSet;
// axis distance;
// surface twoTri.stl;
// }
}
);
}
// ************************************************************************* //

View File

@ -37,13 +37,13 @@ writeFormat ascii;
writePrecision 6;
writeCompression uncompressed;
writeCompression off;
timeFormat general;
timePrecision 6;
runTimeModifiable yes;
runTimeModifiable true;
// ************************************************************************* //

View File

@ -37,13 +37,13 @@ writeFormat ascii;
writePrecision 6;
writeCompression uncompressed;
writeCompression off;
timeFormat general;
timePrecision 6;
runTimeModifiable yes;
runTimeModifiable true;
// ************************************************************************* //

View File

@ -8,10 +8,10 @@
License
This file is part of OpenFOAM.
OpenFOAM is free software; you can redistribute it and/or modify it
under the terms of the GNU General Public License as published by the
Free Software Foundation; either version 2 of the License, or (at your
option) any later version.
OpenFOAM is free software: you can redistribute it and/or modify it
under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
OpenFOAM is distributed in the hope that it will be useful, but WITHOUT
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
@ -19,8 +19,7 @@ License
for more details.
You should have received a copy of the GNU General Public License
along with OpenFOAM; if not, write to the Free Software Foundation,
Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
along with OpenFOAM. If not, see <http://www.gnu.org/licenses/>.
Application
simpleSRFFoam

View File

@ -37,6 +37,8 @@ SurfaceReactionModel COxidationDiffusionLimitedRate;
PostProcessingModel none;
SurfaceFilmModel none;
radiation on;
coupled true;
@ -101,8 +103,8 @@ ManualInjectionCoeffs
{
minValue 5e-06;
maxValue 0.0005;
d ( 5e-05 );
n ( 0.5 );
d 5e-05;
n 0.5;
}
}
}

View File

@ -29,6 +29,8 @@ HeatTransferModel RanzMarshall;
PostProcessingModel none;
SurfaceFilmModel none;
radiation on;
coupled true;
@ -86,8 +88,8 @@ ManualInjectionCoeffs
{
minValue 5e-06;
maxValue 0.000565;
d ( 4.8e-05 );
n ( 0.5 );
d 4.8e-05;
n 0.5;
}
}
}

View File

@ -37,13 +37,13 @@ writeFormat ascii;
writePrecision 10;
writeCompression uncompressed;
writeCompression off;
timeFormat general;
timePrecision 6;
runTimeModifiable yes;
runTimeModifiable true;
adjustTimeStep yes;

View File

@ -38,6 +38,8 @@ DevolatilisationModel none;
SurfaceReactionModel none;
SurfaceFilmModel none;
radiation off;
coupled true;

View File

@ -37,13 +37,13 @@ writeFormat ascii;
writePrecision 10;
writeCompression uncompressed;
writeCompression off;
timeFormat general;
timePrecision 6;
runTimeModifiable yes;
runTimeModifiable true;
adjustTimeStep yes;

View File

@ -37,6 +37,8 @@ SurfaceReactionModel none;
PostProcessingModel none;
SurfaceFilmModel none;
radiation off;
coupled false;

Some files were not shown because too many files have changed in this diff Show More