Fix Tutorials: bubbleInterTrackFoam, interFoam/MRFInterFoam, compressibleInterFoam,

surfaceTracking/interTrackFoam tutorials fixed.

Other fixes to correct file attributes (remove executable flag).
This commit is contained in:
Philippose Rajan 2010-11-01 00:09:02 +01:00
parent 34c6e8fc0e
commit 674d591804
45 changed files with 76 additions and 70 deletions

View file

@ -1,34 +0,0 @@
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 1.6-ext |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class volScalarField;
object pd;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
dimensions [1 -1 -2 0 0 0 0];
internalField uniform 0;
boundaryField
{
walls
{
type zeroGradient;
}
defaultFaces
{
type empty;
}
}
// ************************************************************************* //

View file

@ -7,6 +7,6 @@ application="compressibleInterFoam"
runApplication blockMesh
cp 0/alpha1.org 0/alpha1
cp 0/pd.org 0/pd
cp 0/p.org 0/p
runApplication setFields
runApplication $application

View file

@ -10,5 +10,5 @@ wmake ../$application
wclean ../$application
# Now run the tutorial case
runApplication ./makeMesh
./makeMesh
runApplication $application

View file

View file

View file

@ -15,6 +15,17 @@ cleanHistoryFolder ()
> /dev/null 2>&1
}
cleanAuxFolders ()
{
rm -rf forces \
> /dev/null 2>&1
rm -rf path \
> /dev/null 2>&1
}
cleanHistoryFolder
cleanTimeDirectories
cleanFaMesh
cleanAuxFolders

View file

@ -42,6 +42,7 @@ pointNormalsCorrectionPatches 0 ();
nFreeSurfaceCorrectors 1;
freeSurfaceSmoothing on;
surfactantProperties
{

View file

@ -43,17 +43,17 @@ timePrecision 6;
runTimeModifiable yes;
functions
(
history
{
type bubbleHistory;
functionObjectLibs
(
"libbubbleHistory.so"
);
}
);
//functions
//(
// history
// {
// type bubbleHistory;
// functionObjectLibs
// (
// "libbubbleHistory.so"
// );
// }
//);

View file

@ -23,6 +23,7 @@ gradSchemes
{
default none;
grad(Us) Gauss linear;
grad((Us&faceAreaNormals)) Gauss linear;
}
divSchemes

View file

@ -30,6 +30,7 @@ gradSchemes
divSchemes
{
div(phi,U) Gauss GammaVDC 0.5;
div(phiNet,U) Gauss GammaVDC 0.5;
}
laplacianSchemes

View file

@ -34,14 +34,19 @@ solvers
}
}
PISO
SIMPLE
{
nOuterCorrectors 4;
nCorrectors 2;
nTimeCorrectors 4;
nNonOrthogonalCorrectors 1;
pRefPoint (0 0 0);
pRefValue 0;
}
relaxationFactors
{
p 0.7;
U 0.7;
}
// ************************************************************************* //

View file

@ -41,6 +41,8 @@ pointNormalsCorrectionPatches 0();
nFreeSurfaceCorrectors 1;
freeSurfaceSmoothing on;
surfactantProperties
{
bulkConc bulkConc [ 0 -3 0 0 1 0 0 ] 1.0e-2;

View file

@ -24,6 +24,7 @@ gradSchemes
{
default none;
grad(Us) Gauss linear;
grad((Us&faceAreaNormals)) Gauss linear;
}
divSchemes

View file

@ -30,6 +30,7 @@ gradSchemes
divSchemes
{
div(phi,U) Gauss GammaVDC 0.5;
div(phiNet,U) Gauss GammaVDC 0.5;
}
laplacianSchemes

View file

@ -35,11 +35,16 @@ solvers
}
}
PISO
SIMPLE
{
nOuterCorrectors 5;
nCorrectors 2;
nTimeCorrectors 5;
nNonOrthogonalCorrectors 1;
}
relaxationFactors
{
p 0.7;
U 0.7;
}
// ************************************************************************* //

View file

@ -41,6 +41,8 @@ pointNormalsCorrectionPatches 2(inlet outlet);
nFreeSurfaceCorrectors 1;
freeSurfaceSmoothing on;
surfactantProperties
{
bulkConc bulkConc [ 0 -3 0 0 1 0 0 ] 1.0e-2;

View file

@ -24,6 +24,7 @@ gradSchemes
{
default none;
grad(Us) Gauss linear;
grad((Us&faceAreaNormals)) Gauss linear;
}
divSchemes

View file

@ -30,6 +30,7 @@ gradSchemes
divSchemes
{
div(phi,U) Gauss GammaVDC 0.5;
div(phiNet,U) Gauss GammaVDC 0.5;
}
laplacianSchemes

View file

@ -35,10 +35,9 @@ solvers
}
}
PISO
SIMPLE
{
nOuterCorrectors 5;
nCorrectors 2;
nTimeCorrectors 5;
nNonOrthogonalCorrectors 1;
ddtPhiCorr no;
}

View file

View file

View file

View file

@ -41,6 +41,8 @@ pointNormalsCorrectionPatches 2( left right );
nFreeSurfaceCorrectors 1;
freeSurfaceSmoothing on;
surfactantProperties
{
bulkConc bulkConc [ 0 -3 0 0 1 0 0 ] 1.0e-2;

View file

@ -43,17 +43,17 @@ timePrecision 6;
runTimeModifiable yes;
functions
(
history
{
type sloshingHistory;
functionObjectLibs
(
"libsloshingHistory.so"
);
}
);
//functions
//(
// history
// {
// type sloshingHistory;
// functionObjectLibs
// (
// "libsloshingHistory.so"
// );
// }
//);
// ************************************************************************* //

View file

@ -25,6 +25,7 @@ gradSchemes
{
default none;
grad(Us) Gauss linear;
grad((Us&faceAreaNormals)) Gauss linear;
}
divSchemes

View file

View file

@ -30,6 +30,7 @@ gradSchemes
divSchemes
{
div(phi,U) Gauss linear;
div(phiNet,U) Gauss linear;
}
laplacianSchemes

View file

@ -35,13 +35,18 @@ solvers
}
}
PISO
SIMPLE
{
nOuterCorrectors 10;
nCorrectors 2;
nTimeCorrectors 10;
nNonOrthogonalCorrectors 1;
pRefPoint (0.5 1.5 0);
pRefValue 0;
}
relaxationFactors
{
p 0.7;
U 0.7;
}
// ************************************************************************* //