potentialFoam: No longer executes functionObjects by default

Use the new -withFunctionObjects command-line option to execute functionObjects
This commit is contained in:
Henry
2015-04-25 21:56:14 +01:00
parent e75f3db3ca
commit c28036665d
10 changed files with 231 additions and 5 deletions

View File

@ -8,7 +8,7 @@ application=`getApplication`
cp -r 0.org 0 > /dev/null 2>&1
runApplication blockMesh
runApplication $application -writePhi -writep
runApplication $application -withFunctionObjects -writePhi -writep
runApplication streamFunction
# ----------------------------------------------------------------- end-of-file

View File

@ -0,0 +1,62 @@
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: dev |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class polyBoundaryMesh;
location "constant/polyMesh";
object boundary;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
6
(
down
{
type symmetryPlane;
inGroups 1(symmetryPlane);
nFaces 60;
startFace 3890;
}
right
{
type patch;
nFaces 30;
startFace 3950;
}
up
{
type symmetryPlane;
inGroups 1(symmetryPlane);
nFaces 60;
startFace 3980;
}
left
{
type patch;
nFaces 30;
startFace 4040;
}
cylinder
{
type symmetry;
inGroups 1(symmetry);
nFaces 40;
startFace 4070;
}
defaultFaces
{
type empty;
inGroups 1(empty);
nFaces 4000;
startFace 4110;
}
)
// ************************************************************************* //

View File

@ -0,0 +1,55 @@
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: dev |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class polyBoundaryMesh;
location "constant/polyMesh";
object boundary;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
5
(
inlet
{
type patch;
nFaces 30;
startFace 24170;
}
outlet
{
type patch;
nFaces 57;
startFace 24200;
}
upperWall
{
type wall;
inGroups 1(wall);
nFaces 223;
startFace 24257;
}
lowerWall
{
type wall;
inGroups 1(wall);
nFaces 250;
startFace 24480;
}
frontAndBack
{
type empty;
inGroups 1(empty);
nFaces 24450;
startFace 24730;
}
)
// ************************************************************************* //