Fix Tutorials: bubbleInterTrackFoam, interFoam/MRFInterFoam, compressibleInterFoam,
surfaceTracking/interTrackFoam tutorials fixed. Other fixes to correct file attributes (remove executable flag).
This commit is contained in:
parent
34c6e8fc0e
commit
674d591804
45 changed files with 76 additions and 70 deletions
Binary file not shown.
|
@ -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;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
// ************************************************************************* //
|
|
|
@ -7,6 +7,6 @@ application="compressibleInterFoam"
|
||||||
|
|
||||||
runApplication blockMesh
|
runApplication blockMesh
|
||||||
cp 0/alpha1.org 0/alpha1
|
cp 0/alpha1.org 0/alpha1
|
||||||
cp 0/pd.org 0/pd
|
cp 0/p.org 0/p
|
||||||
runApplication setFields
|
runApplication setFields
|
||||||
runApplication $application
|
runApplication $application
|
||||||
|
|
|
@ -10,5 +10,5 @@ wmake ../$application
|
||||||
wclean ../$application
|
wclean ../$application
|
||||||
|
|
||||||
# Now run the tutorial case
|
# Now run the tutorial case
|
||||||
runApplication ./makeMesh
|
./makeMesh
|
||||||
runApplication $application
|
runApplication $application
|
||||||
|
|
0
tutorials/surfaceTracking/bubbleInterTrackFoam/bubble2D_r0.75mm/0/U
Executable file → Normal file
0
tutorials/surfaceTracking/bubbleInterTrackFoam/bubble2D_r0.75mm/0/U
Executable file → Normal file
0
tutorials/surfaceTracking/bubbleInterTrackFoam/bubble2D_r0.75mm/0/motionU
Executable file → Normal file
0
tutorials/surfaceTracking/bubbleInterTrackFoam/bubble2D_r0.75mm/0/motionU
Executable file → Normal file
0
tutorials/surfaceTracking/bubbleInterTrackFoam/bubble2D_r0.75mm/0/p
Executable file → Normal file
0
tutorials/surfaceTracking/bubbleInterTrackFoam/bubble2D_r0.75mm/0/p
Executable file → Normal file
|
@ -15,6 +15,17 @@ cleanHistoryFolder ()
|
||||||
> /dev/null 2>&1
|
> /dev/null 2>&1
|
||||||
}
|
}
|
||||||
|
|
||||||
|
cleanAuxFolders ()
|
||||||
|
{
|
||||||
|
rm -rf forces \
|
||||||
|
> /dev/null 2>&1
|
||||||
|
|
||||||
|
rm -rf path \
|
||||||
|
> /dev/null 2>&1
|
||||||
|
}
|
||||||
|
|
||||||
cleanHistoryFolder
|
cleanHistoryFolder
|
||||||
cleanTimeDirectories
|
cleanTimeDirectories
|
||||||
cleanFaMesh
|
cleanFaMesh
|
||||||
|
cleanAuxFolders
|
||||||
|
|
||||||
|
|
0
tutorials/surfaceTracking/bubbleInterTrackFoam/bubble2D_r0.75mm/constant/dynamicMeshDict
Executable file → Normal file
0
tutorials/surfaceTracking/bubbleInterTrackFoam/bubble2D_r0.75mm/constant/dynamicMeshDict
Executable file → Normal file
0
tutorials/surfaceTracking/bubbleInterTrackFoam/bubble2D_r0.75mm/constant/faMesh/faMeshDefinition
Executable file → Normal file
0
tutorials/surfaceTracking/bubbleInterTrackFoam/bubble2D_r0.75mm/constant/faMesh/faMeshDefinition
Executable file → Normal file
1
tutorials/surfaceTracking/bubbleInterTrackFoam/bubble2D_r0.75mm/constant/freeSurfaceProperties
Executable file → Normal file
1
tutorials/surfaceTracking/bubbleInterTrackFoam/bubble2D_r0.75mm/constant/freeSurfaceProperties
Executable file → Normal file
|
@ -42,6 +42,7 @@ pointNormalsCorrectionPatches 0 ();
|
||||||
|
|
||||||
nFreeSurfaceCorrectors 1;
|
nFreeSurfaceCorrectors 1;
|
||||||
|
|
||||||
|
freeSurfaceSmoothing on;
|
||||||
|
|
||||||
surfactantProperties
|
surfactantProperties
|
||||||
{
|
{
|
||||||
|
|
0
tutorials/surfaceTracking/bubbleInterTrackFoam/bubble2D_r0.75mm/constant/mrfProperties
Executable file → Normal file
0
tutorials/surfaceTracking/bubbleInterTrackFoam/bubble2D_r0.75mm/constant/mrfProperties
Executable file → Normal file
0
tutorials/surfaceTracking/bubbleInterTrackFoam/bubble2D_r0.75mm/constant/polyMesh/boundary
Executable file → Normal file
0
tutorials/surfaceTracking/bubbleInterTrackFoam/bubble2D_r0.75mm/constant/polyMesh/boundary
Executable file → Normal file
22
tutorials/surfaceTracking/bubbleInterTrackFoam/bubble2D_r0.75mm/system/controlDict
Executable file → Normal file
22
tutorials/surfaceTracking/bubbleInterTrackFoam/bubble2D_r0.75mm/system/controlDict
Executable file → Normal file
|
@ -43,17 +43,17 @@ timePrecision 6;
|
||||||
|
|
||||||
runTimeModifiable yes;
|
runTimeModifiable yes;
|
||||||
|
|
||||||
functions
|
//functions
|
||||||
(
|
//(
|
||||||
history
|
// history
|
||||||
{
|
// {
|
||||||
type bubbleHistory;
|
// type bubbleHistory;
|
||||||
functionObjectLibs
|
// functionObjectLibs
|
||||||
(
|
// (
|
||||||
"libbubbleHistory.so"
|
// "libbubbleHistory.so"
|
||||||
);
|
// );
|
||||||
}
|
// }
|
||||||
);
|
//);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
0
tutorials/surfaceTracking/bubbleInterTrackFoam/bubble2D_r0.75mm/system/decomposeParDict
Executable file → Normal file
0
tutorials/surfaceTracking/bubbleInterTrackFoam/bubble2D_r0.75mm/system/decomposeParDict
Executable file → Normal file
1
tutorials/surfaceTracking/bubbleInterTrackFoam/bubble2D_r0.75mm/system/faSchemes
Executable file → Normal file
1
tutorials/surfaceTracking/bubbleInterTrackFoam/bubble2D_r0.75mm/system/faSchemes
Executable file → Normal file
|
@ -23,6 +23,7 @@ gradSchemes
|
||||||
{
|
{
|
||||||
default none;
|
default none;
|
||||||
grad(Us) Gauss linear;
|
grad(Us) Gauss linear;
|
||||||
|
grad((Us&faceAreaNormals)) Gauss linear;
|
||||||
}
|
}
|
||||||
|
|
||||||
divSchemes
|
divSchemes
|
||||||
|
|
0
tutorials/surfaceTracking/bubbleInterTrackFoam/bubble2D_r0.75mm/system/faSolution
Executable file → Normal file
0
tutorials/surfaceTracking/bubbleInterTrackFoam/bubble2D_r0.75mm/system/faSolution
Executable file → Normal file
1
tutorials/surfaceTracking/bubbleInterTrackFoam/bubble2D_r0.75mm/system/fvSchemes
Executable file → Normal file
1
tutorials/surfaceTracking/bubbleInterTrackFoam/bubble2D_r0.75mm/system/fvSchemes
Executable file → Normal file
|
@ -30,6 +30,7 @@ gradSchemes
|
||||||
divSchemes
|
divSchemes
|
||||||
{
|
{
|
||||||
div(phi,U) Gauss GammaVDC 0.5;
|
div(phi,U) Gauss GammaVDC 0.5;
|
||||||
|
div(phiNet,U) Gauss GammaVDC 0.5;
|
||||||
}
|
}
|
||||||
|
|
||||||
laplacianSchemes
|
laplacianSchemes
|
||||||
|
|
11
tutorials/surfaceTracking/bubbleInterTrackFoam/bubble2D_r0.75mm/system/fvSolution
Executable file → Normal file
11
tutorials/surfaceTracking/bubbleInterTrackFoam/bubble2D_r0.75mm/system/fvSolution
Executable file → Normal file
|
@ -34,14 +34,19 @@ solvers
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
PISO
|
SIMPLE
|
||||||
{
|
{
|
||||||
nOuterCorrectors 4;
|
nTimeCorrectors 4;
|
||||||
nCorrectors 2;
|
|
||||||
nNonOrthogonalCorrectors 1;
|
nNonOrthogonalCorrectors 1;
|
||||||
|
|
||||||
pRefPoint (0 0 0);
|
pRefPoint (0 0 0);
|
||||||
pRefValue 0;
|
pRefValue 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
relaxationFactors
|
||||||
|
{
|
||||||
|
p 0.7;
|
||||||
|
U 0.7;
|
||||||
|
}
|
||||||
|
|
||||||
// ************************************************************************* //
|
// ************************************************************************* //
|
||||||
|
|
0
tutorials/surfaceTracking/bubbleInterTrackFoam/bubble2D_r0.75mm/system/tetFemSolution
Executable file → Normal file
0
tutorials/surfaceTracking/bubbleInterTrackFoam/bubble2D_r0.75mm/system/tetFemSolution
Executable file → Normal file
|
@ -41,6 +41,8 @@ pointNormalsCorrectionPatches 0();
|
||||||
|
|
||||||
nFreeSurfaceCorrectors 1;
|
nFreeSurfaceCorrectors 1;
|
||||||
|
|
||||||
|
freeSurfaceSmoothing on;
|
||||||
|
|
||||||
surfactantProperties
|
surfactantProperties
|
||||||
{
|
{
|
||||||
bulkConc bulkConc [ 0 -3 0 0 1 0 0 ] 1.0e-2;
|
bulkConc bulkConc [ 0 -3 0 0 1 0 0 ] 1.0e-2;
|
||||||
|
|
|
@ -24,6 +24,7 @@ gradSchemes
|
||||||
{
|
{
|
||||||
default none;
|
default none;
|
||||||
grad(Us) Gauss linear;
|
grad(Us) Gauss linear;
|
||||||
|
grad((Us&faceAreaNormals)) Gauss linear;
|
||||||
}
|
}
|
||||||
|
|
||||||
divSchemes
|
divSchemes
|
||||||
|
|
|
@ -30,6 +30,7 @@ gradSchemes
|
||||||
divSchemes
|
divSchemes
|
||||||
{
|
{
|
||||||
div(phi,U) Gauss GammaVDC 0.5;
|
div(phi,U) Gauss GammaVDC 0.5;
|
||||||
|
div(phiNet,U) Gauss GammaVDC 0.5;
|
||||||
}
|
}
|
||||||
|
|
||||||
laplacianSchemes
|
laplacianSchemes
|
||||||
|
|
|
@ -35,11 +35,16 @@ solvers
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
PISO
|
SIMPLE
|
||||||
{
|
{
|
||||||
nOuterCorrectors 5;
|
nTimeCorrectors 5;
|
||||||
nCorrectors 2;
|
|
||||||
nNonOrthogonalCorrectors 1;
|
nNonOrthogonalCorrectors 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
relaxationFactors
|
||||||
|
{
|
||||||
|
p 0.7;
|
||||||
|
U 0.7;
|
||||||
|
}
|
||||||
|
|
||||||
// ************************************************************************* //
|
// ************************************************************************* //
|
||||||
|
|
|
@ -41,6 +41,8 @@ pointNormalsCorrectionPatches 2(inlet outlet);
|
||||||
|
|
||||||
nFreeSurfaceCorrectors 1;
|
nFreeSurfaceCorrectors 1;
|
||||||
|
|
||||||
|
freeSurfaceSmoothing on;
|
||||||
|
|
||||||
surfactantProperties
|
surfactantProperties
|
||||||
{
|
{
|
||||||
bulkConc bulkConc [ 0 -3 0 0 1 0 0 ] 1.0e-2;
|
bulkConc bulkConc [ 0 -3 0 0 1 0 0 ] 1.0e-2;
|
||||||
|
|
|
@ -24,6 +24,7 @@ gradSchemes
|
||||||
{
|
{
|
||||||
default none;
|
default none;
|
||||||
grad(Us) Gauss linear;
|
grad(Us) Gauss linear;
|
||||||
|
grad((Us&faceAreaNormals)) Gauss linear;
|
||||||
}
|
}
|
||||||
|
|
||||||
divSchemes
|
divSchemes
|
||||||
|
|
|
@ -30,6 +30,7 @@ gradSchemes
|
||||||
divSchemes
|
divSchemes
|
||||||
{
|
{
|
||||||
div(phi,U) Gauss GammaVDC 0.5;
|
div(phi,U) Gauss GammaVDC 0.5;
|
||||||
|
div(phiNet,U) Gauss GammaVDC 0.5;
|
||||||
}
|
}
|
||||||
|
|
||||||
laplacianSchemes
|
laplacianSchemes
|
||||||
|
|
|
@ -35,10 +35,9 @@ solvers
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
PISO
|
SIMPLE
|
||||||
{
|
{
|
||||||
nOuterCorrectors 5;
|
nTimeCorrectors 5;
|
||||||
nCorrectors 2;
|
|
||||||
nNonOrthogonalCorrectors 1;
|
nNonOrthogonalCorrectors 1;
|
||||||
ddtPhiCorr no;
|
ddtPhiCorr no;
|
||||||
}
|
}
|
||||||
|
|
0
tutorials/surfaceTracking/interTrackFoam/sloshing2D/0/U
Executable file → Normal file
0
tutorials/surfaceTracking/interTrackFoam/sloshing2D/0/U
Executable file → Normal file
0
tutorials/surfaceTracking/interTrackFoam/sloshing2D/0/motionU
Executable file → Normal file
0
tutorials/surfaceTracking/interTrackFoam/sloshing2D/0/motionU
Executable file → Normal file
0
tutorials/surfaceTracking/interTrackFoam/sloshing2D/0/p
Executable file → Normal file
0
tutorials/surfaceTracking/interTrackFoam/sloshing2D/0/p
Executable file → Normal file
0
tutorials/surfaceTracking/interTrackFoam/sloshing2D/constant/dynamicMeshDict
Executable file → Normal file
0
tutorials/surfaceTracking/interTrackFoam/sloshing2D/constant/dynamicMeshDict
Executable file → Normal file
0
tutorials/surfaceTracking/interTrackFoam/sloshing2D/constant/faMesh/faMeshDefinition
Executable file → Normal file
0
tutorials/surfaceTracking/interTrackFoam/sloshing2D/constant/faMesh/faMeshDefinition
Executable file → Normal file
2
tutorials/surfaceTracking/interTrackFoam/sloshing2D/constant/freeSurfaceProperties
Executable file → Normal file
2
tutorials/surfaceTracking/interTrackFoam/sloshing2D/constant/freeSurfaceProperties
Executable file → Normal file
|
@ -41,6 +41,8 @@ pointNormalsCorrectionPatches 2( left right );
|
||||||
|
|
||||||
nFreeSurfaceCorrectors 1;
|
nFreeSurfaceCorrectors 1;
|
||||||
|
|
||||||
|
freeSurfaceSmoothing on;
|
||||||
|
|
||||||
surfactantProperties
|
surfactantProperties
|
||||||
{
|
{
|
||||||
bulkConc bulkConc [ 0 -3 0 0 1 0 0 ] 1.0e-2;
|
bulkConc bulkConc [ 0 -3 0 0 1 0 0 ] 1.0e-2;
|
||||||
|
|
0
tutorials/surfaceTracking/interTrackFoam/sloshing2D/constant/polyMesh/boundary
Executable file → Normal file
0
tutorials/surfaceTracking/interTrackFoam/sloshing2D/constant/polyMesh/boundary
Executable file → Normal file
0
tutorials/surfaceTracking/interTrackFoam/sloshing2D/constant/polyMesh/faces.gz
Executable file → Normal file
0
tutorials/surfaceTracking/interTrackFoam/sloshing2D/constant/polyMesh/faces.gz
Executable file → Normal file
0
tutorials/surfaceTracking/interTrackFoam/sloshing2D/constant/polyMesh/neighbour.gz
Executable file → Normal file
0
tutorials/surfaceTracking/interTrackFoam/sloshing2D/constant/polyMesh/neighbour.gz
Executable file → Normal file
0
tutorials/surfaceTracking/interTrackFoam/sloshing2D/constant/polyMesh/owner.gz
Executable file → Normal file
0
tutorials/surfaceTracking/interTrackFoam/sloshing2D/constant/polyMesh/owner.gz
Executable file → Normal file
0
tutorials/surfaceTracking/interTrackFoam/sloshing2D/constant/polyMesh/points.gz
Executable file → Normal file
0
tutorials/surfaceTracking/interTrackFoam/sloshing2D/constant/polyMesh/points.gz
Executable file → Normal file
22
tutorials/surfaceTracking/interTrackFoam/sloshing2D/system/controlDict
Executable file → Normal file
22
tutorials/surfaceTracking/interTrackFoam/sloshing2D/system/controlDict
Executable file → Normal file
|
@ -43,17 +43,17 @@ timePrecision 6;
|
||||||
|
|
||||||
runTimeModifiable yes;
|
runTimeModifiable yes;
|
||||||
|
|
||||||
functions
|
//functions
|
||||||
(
|
//(
|
||||||
history
|
// history
|
||||||
{
|
// {
|
||||||
type sloshingHistory;
|
// type sloshingHistory;
|
||||||
functionObjectLibs
|
// functionObjectLibs
|
||||||
(
|
// (
|
||||||
"libsloshingHistory.so"
|
// "libsloshingHistory.so"
|
||||||
);
|
// );
|
||||||
}
|
// }
|
||||||
);
|
//);
|
||||||
|
|
||||||
// ************************************************************************* //
|
// ************************************************************************* //
|
||||||
|
|
||||||
|
|
1
tutorials/surfaceTracking/interTrackFoam/sloshing2D/system/faSchemes
Executable file → Normal file
1
tutorials/surfaceTracking/interTrackFoam/sloshing2D/system/faSchemes
Executable file → Normal file
|
@ -25,6 +25,7 @@ gradSchemes
|
||||||
{
|
{
|
||||||
default none;
|
default none;
|
||||||
grad(Us) Gauss linear;
|
grad(Us) Gauss linear;
|
||||||
|
grad((Us&faceAreaNormals)) Gauss linear;
|
||||||
}
|
}
|
||||||
|
|
||||||
divSchemes
|
divSchemes
|
||||||
|
|
0
tutorials/surfaceTracking/interTrackFoam/sloshing2D/system/faSolution
Executable file → Normal file
0
tutorials/surfaceTracking/interTrackFoam/sloshing2D/system/faSolution
Executable file → Normal file
1
tutorials/surfaceTracking/interTrackFoam/sloshing2D/system/fvSchemes
Executable file → Normal file
1
tutorials/surfaceTracking/interTrackFoam/sloshing2D/system/fvSchemes
Executable file → Normal file
|
@ -30,6 +30,7 @@ gradSchemes
|
||||||
divSchemes
|
divSchemes
|
||||||
{
|
{
|
||||||
div(phi,U) Gauss linear;
|
div(phi,U) Gauss linear;
|
||||||
|
div(phiNet,U) Gauss linear;
|
||||||
}
|
}
|
||||||
|
|
||||||
laplacianSchemes
|
laplacianSchemes
|
||||||
|
|
11
tutorials/surfaceTracking/interTrackFoam/sloshing2D/system/fvSolution
Executable file → Normal file
11
tutorials/surfaceTracking/interTrackFoam/sloshing2D/system/fvSolution
Executable file → Normal file
|
@ -35,13 +35,18 @@ solvers
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
PISO
|
SIMPLE
|
||||||
{
|
{
|
||||||
nOuterCorrectors 10;
|
nTimeCorrectors 10;
|
||||||
nCorrectors 2;
|
|
||||||
nNonOrthogonalCorrectors 1;
|
nNonOrthogonalCorrectors 1;
|
||||||
pRefPoint (0.5 1.5 0);
|
pRefPoint (0.5 1.5 0);
|
||||||
pRefValue 0;
|
pRefValue 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
relaxationFactors
|
||||||
|
{
|
||||||
|
p 0.7;
|
||||||
|
U 0.7;
|
||||||
|
}
|
||||||
|
|
||||||
// ************************************************************************* //
|
// ************************************************************************* //
|
||||||
|
|
0
tutorials/surfaceTracking/interTrackFoam/sloshing2D/system/tetFemSolution
Executable file → Normal file
0
tutorials/surfaceTracking/interTrackFoam/sloshing2D/system/tetFemSolution
Executable file → Normal file
Reference in a new issue