Merge branch 'master' of /home/noisy3/OpenFOAM/OpenFOAM-dev

This commit is contained in:
mattijs
2009-12-09 17:44:13 +00:00
32 changed files with 77 additions and 49941 deletions

View File

@ -5,7 +5,7 @@ set -x
if [ -d "$ParaView_DIR" -a -r "$ParaView_DIR" ] if [ -d "$ParaView_DIR" -a -r "$ParaView_DIR" ]
then then
case "$ParaView_VERSION" in case "$ParaView_VERSION" in
3*) 3* | git)
wmake libso vtkPV3Readers wmake libso vtkPV3Readers
PV3blockMeshReader/Allwmake PV3blockMeshReader/Allwmake
PV3FoamReader/Allwmake PV3FoamReader/Allwmake

View File

@ -5,7 +5,7 @@ set -x
if [ -d "$ParaView_DIR" -a -r "$ParaView_DIR" ] if [ -d "$ParaView_DIR" -a -r "$ParaView_DIR" ]
then then
case "$ParaView_VERSION" in case "$ParaView_VERSION" in
3*) 3* | git)
wmake libso vtkPV3Foam wmake libso vtkPV3Foam
( (
cd PV3FoamReader cd PV3FoamReader

View File

@ -5,7 +5,7 @@ set -x
if [ -d "$ParaView_DIR" -a -r "$ParaView_DIR" ] if [ -d "$ParaView_DIR" -a -r "$ParaView_DIR" ]
then then
case "$ParaView_VERSION" in case "$ParaView_VERSION" in
3*) 3* | git)
wmake libso vtkPV3blockMesh wmake libso vtkPV3blockMesh
( (
cd PV3blockMeshReader cd PV3blockMeshReader

View File

@ -130,7 +130,7 @@ OpenFOAM)
esac esac
case "$ParaView_VERSION" in case "$ParaView_VERSION" in
3*) 3* | git)
# only create/remove caseFile if it didn't already exist # only create/remove caseFile if it didn't already exist
[ -e $caseFile ] || { [ -e $caseFile ] || {
trap "rm -f $caseFile 2>/dev/null; exit 0" EXIT TERM INT trap "rm -f $caseFile 2>/dev/null; exit 0" EXIT TERM INT

View File

@ -122,7 +122,7 @@ Foam::dictionary::dictionary
const dictionary& dict const dictionary& dict
) )
: :
dictionaryName(parentDict.name() + "::" + dict.name()), dictionaryName(dict.name()),
IDLList<entry>(dict, *this), IDLList<entry>(dict, *this),
parent_(parentDict) parent_(parentDict)
{ {
@ -489,7 +489,7 @@ Foam::dictionary Foam::dictionary::subOrEmptyDict
if (entryPtr == NULL) if (entryPtr == NULL)
{ {
return dictionary(*this, dictionary(keyword)); return dictionary(*this, dictionary(name() + "::" + keyword));
} }
else else
{ {

View File

@ -827,12 +827,12 @@ void Foam::argList::displayDoc(bool source) const
List<fileName> docDirs(docDict.lookup("doxyDocDirs")); List<fileName> docDirs(docDict.lookup("doxyDocDirs"));
List<fileName> docExts(docDict.lookup("doxySourceFileExts")); List<fileName> docExts(docDict.lookup("doxySourceFileExts"));
// for source code: change foo_8C.html to foo_8C-source.html // for source code: change foo_8C.html to foo_8C_source.html
if (source) if (source)
{ {
forAll(docExts, extI) forAll(docExts, extI)
{ {
docExts[extI].replace(".", "-source."); docExts[extI].replace(".", "_source.");
} }
} }

View File

@ -31,10 +31,5 @@ pointPatchFields/derived/oscillatingDisplacement/oscillatingDisplacementPointPat
pointPatchFields/derived/angularOscillatingDisplacement/angularOscillatingDisplacementPointPatchVectorField.C pointPatchFields/derived/angularOscillatingDisplacement/angularOscillatingDisplacementPointPatchVectorField.C
pointPatchFields/derived/surfaceSlipDisplacement/surfaceSlipDisplacementPointPatchVectorField.C pointPatchFields/derived/surfaceSlipDisplacement/surfaceSlipDisplacementPointPatchVectorField.C
pointPatchFields/derived/surfaceDisplacement/surfaceDisplacementPointPatchVectorField.C pointPatchFields/derived/surfaceDisplacement/surfaceDisplacementPointPatchVectorField.C
pointPatchFields/derived/sixDoFRigidBodyDisplacement/sixDoFRigidBodyDisplacementPointPatchVectorField.C
pointPatchFields/derived/sixDoFRigidBodyDisplacement/sixDoFRigidBodyMotion/sixDoFRigidBodyMotion.C
pointPatchFields/derived/sixDoFRigidBodyDisplacement/sixDoFRigidBodyMotion/sixDoFRigidBodyMotionIO.C
pointPatchFields/derived/sixDoFRigidBodyDisplacement/sixDoFRigidBodyMotion/sixDoFRigidBodyMotionState.C
pointPatchFields/derived/sixDoFRigidBodyDisplacement/sixDoFRigidBodyMotion/sixDoFRigidBodyMotionStateIO.C
LIB = $(FOAM_LIBBIN)/libfvMotionSolvers LIB = $(FOAM_LIBBIN)/libfvMotionSolvers

View File

@ -10,4 +10,4 @@ LIB_LIBS = \
-lmeshTools \ -lmeshTools \
-ldynamicMesh \ -ldynamicMesh \
-lfiniteVolume \ -lfiniteVolume \
-lforces /*-lforces include in controlDict if needed */

View File

@ -4,4 +4,10 @@ forces/forcesFunctionObject.C
forceCoeffs/forceCoeffs.C forceCoeffs/forceCoeffs.C
forceCoeffs/forceCoeffsFunctionObject.C forceCoeffs/forceCoeffsFunctionObject.C
pointPatchFields/derived/sixDoFRigidBodyDisplacement/sixDoFRigidBodyDisplacementPointPatchVectorField.C
pointPatchFields/derived/sixDoFRigidBodyDisplacement/sixDoFRigidBodyMotion/sixDoFRigidBodyMotion.C
pointPatchFields/derived/sixDoFRigidBodyDisplacement/sixDoFRigidBodyMotion/sixDoFRigidBodyMotionIO.C
pointPatchFields/derived/sixDoFRigidBodyDisplacement/sixDoFRigidBodyMotion/sixDoFRigidBodyMotionState.C
pointPatchFields/derived/sixDoFRigidBodyDisplacement/sixDoFRigidBodyMotion/sixDoFRigidBodyMotionStateIO.C
LIB = $(FOAM_LIBBIN)/libforces LIB = $(FOAM_LIBBIN)/libforces

View File

@ -81,7 +81,7 @@ greyDiffusiveRadiationMixedFvPatchScalarField
TName_(dict.lookup("T")), TName_(dict.lookup("T")),
emissivity_(readScalar(dict.lookup("emissivity"))) emissivity_(readScalar(dict.lookup("emissivity")))
{ {
if (dict.found("value")) if (dict.found("refValue"))
{ {
fvPatchScalarField::operator= fvPatchScalarField::operator=
( (

View File

@ -161,7 +161,18 @@ LaunderSharmaKE::LaunderSharmaKE
mesh_ mesh_
), ),
mut_(rho_*Cmu_*fMu()*sqr(k_)/(epsilon_ + epsilonSmall_)), mut_
(
IOobject
(
"mut",
runTime_.timeName(),
mesh_,
IOobject::MUST_READ,
IOobject::AUTO_WRITE
),
rho_*Cmu_*fMu()*sqr(k_)/(epsilon_ + epsilonSmall_)
),
alphat_ alphat_
( (

View File

@ -158,7 +158,7 @@ cp ${MAIN_CONTROL_DICT} ${MAIN_CONTROL_DICT}.org
sed \ sed \
-e s/"\(fvSchemes[ \t]*\)\([0-9]\);"/"\1 1;"/g \ -e s/"\(fvSchemes[ \t]*\)\([0-9]\);"/"\1 1;"/g \
-e s/"\(fvSolution[ \t]*\)\([0-9]\);"/"\1 1;"/g \ -e s/"\(solution[ \t]*\)\([0-9]\);"/"\1 1;"/g \
${MAIN_CONTROL_DICT}.org > ${MAIN_CONTROL_DICT} ${MAIN_CONTROL_DICT}.org > ${MAIN_CONTROL_DICT}
echo "Copying the tutorials" echo "Copying the tutorials"

View File

@ -15,7 +15,7 @@ FoamFile
} }
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
application rhoPorousSimpleFoam; application porousSimpleFoam;
startFrom startTime; startFrom startTime;

View File

@ -23,25 +23,25 @@ boundaryField
{ {
front front
{ {
type nutWallFunction; type nutkWallFunction;
value uniform 0; value uniform 0;
} }
back back
{ {
type nutWallFunction; type nutkWallFunction;
value uniform 0; value uniform 0;
} }
wall wall
{ {
type nutWallFunction; type nutkWallFunction;
value uniform 0; value uniform 0;
} }
porosityWall porosityWall
{ {
type nutWallFunction; type nutkWallFunction;
value uniform 0; value uniform 0;
} }

View File

@ -15,7 +15,7 @@ FoamFile
} }
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
application rhoPorousSimpleFoam; application porousSimpleFoam;
startFrom startTime; startFrom startTime;

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -53,8 +53,7 @@ laplacianSchemes
snGradSchemes snGradSchemes
{ {
default none; default corrected;
snGrad(p) corrected;
} }
fluxRequired fluxRequired

View File

@ -51,6 +51,11 @@ maxCo 0.2;
maxDeltaT 0.025; maxDeltaT 0.025;
libs ("libincompressibleRASModels.so" "libfvMotionSolvers.so"); libs
(
"libincompressibleRASModels.so"
"libfvMotionSolvers.so"
"libforces.so"
);
// ************************************************************************* // // ************************************************************************* //

View File

@ -19,10 +19,10 @@ dynamicFvMesh solidBodyMotionFvMesh;
solidBodyMotionFvMeshCoeffs solidBodyMotionFvMeshCoeffs
{ {
solidBodyMotionFunction SKA; solidBodyMotionFunction tabulated6DoFMotion;
SKACoeffs tabulated6DoFMotionCoeffs
{ {
CofG ( 0 0 0 ); CofG (0 0 0);
timeDataFileName "constant/6DoF.dat"; timeDataFileName "constant/6DoF.dat";
} }
} }