tutorials: Updated formatting of dictionaries and specification of 'plane' and 'samplePlane'

This commit is contained in:
Henry Weller
2016-06-29 18:02:57 +01:00
parent 887aeee6be
commit a17d0d86dc
62 changed files with 155 additions and 158 deletions

View File

@ -26,8 +26,8 @@ cuttingPlane
planeType pointAndNormal;
pointAndNormalDict
{
basePoint (0 0 0);
normalVector (0 0 1);
point (0 0 0);
normal (0 0 1);
}
interpolate true;
}

View File

@ -53,12 +53,12 @@ functions
{
probes
{
libs ( "libsampling.so" );
libs ("libsampling.so");
type probes;
name probes;
writeControl timeStep;
writeInterval 1;
fields ( p );
fields (p);
probeLocations
(
( -0.045 0 0 )

View File

@ -26,8 +26,8 @@ cuttingPlane
planeType pointAndNormal;
pointAndNormalDict
{
basePoint (0 0 0);
normalVector (0 0 1);
point (0 0 0);
normal (0 0 1);
}
interpolate true;
}

View File

@ -50,7 +50,7 @@ functions
forces
{
type forceCoeffs;
libs ( "libforces.so" );
libs ("libforces.so");
writeControl timeStep;
writeInterval 1;

View File

@ -26,8 +26,8 @@ cuttingPlane
planeType pointAndNormal;
pointAndNormalDict
{
basePoint (0 0 0);
normalVector (0 0 1);
point (0 0 0);
normal (0 0 1);
}
interpolate true;
}

View File

@ -10,14 +10,14 @@ forces
{
type forces;
libs ( "libforces.so" );
libs ("libforces.so");
writeControl timeStep;
timeInterval 1;
log yes;
patches ( "propeller.*" );
patches ("propeller.*");
rho rhoInf; // Indicates incompressible
log true;
rhoInf 1; // Redundant for incompressible

View File

@ -25,8 +25,8 @@ surfaces
planeType pointAndNormal;
pointAndNormalDict
{
basePoint (0 0 0);
normalVector (0 0 1);
point (0 0 0);
normal (0 0 1);
}
interpolate true;
}

View File

@ -50,7 +50,7 @@ functions
forces
{
type forces;
libs ( "libforces.so" );
libs ("libforces.so");
writeControl timeStep;
writeInterval 10;
patches (wing);

View File

@ -54,7 +54,7 @@ functions
probes
{
// Where to load it from
libs ( "libsampling.so" );
libs ("libsampling.so");
type probes;

View File

@ -54,7 +54,7 @@ functions
probes
{
// Where to load it from
libs ( "libsampling.so" );
libs ("libsampling.so");
type probes;
@ -66,10 +66,7 @@ functions
writeInterval 1;
// Fields to be probed
fields
(
p U
);
fields (p U);
probeLocations
(

View File

@ -18,8 +18,8 @@ mirrorMeshDict
{
pointAndNormalDict
{
basePoint (0 0 0);
normalVector (0 -1 0);
point (0 0 0);
normal (0 -1 0);
}
}

View File

@ -18,8 +18,8 @@ mirrorMeshDict
{
pointAndNormalDict
{
basePoint (0 0 0);
normalVector (-1 0 0);
point (0 0 0);
normal (-1 0 0);
}
}

View File

@ -18,8 +18,8 @@ mirrorMeshDict
{
pointAndNormalDict
{
basePoint (0 0 0);
normalVector (0 -1 0);
point (0 0 0);
normal (0 -1 0);
}
}

View File

@ -19,8 +19,8 @@ planeType pointAndNormal;
pointAndNormalDict
{
basePoint (0 0 0);
normalVector (0 -1 0);
point (0 0 0);
normal (0 -1 0);
}
planeTolerance 1e-06;

View File

@ -72,10 +72,10 @@ functions
cuttingPlane
{
type surfaces;
libs ( "libsampling.so" );
libs ("libsampling.so");
writeControl writeTime;
surfaceFormat vtk;
fields ( p U );
fields (p U);
interpolationScheme cellPoint;
surfaces
(
@ -85,8 +85,8 @@ functions
planeType pointAndNormal;
pointAndNormalDict
{
basePoint (0 0 0);
normalVector (0 1 0);
point (0 0 0);
normal (0 1 0);
}
interpolate true;
}
@ -95,10 +95,10 @@ functions
forces
{
type forceCoeffs;
libs ( "libforces.so" );
libs ("libforces.so");
writeControl timeStep;
writeInterval 1;
patches ( "motorBike.*" );
patches ("motorBike.*");
rho rhoInf;
log true;
rhoInf 1;

View File

@ -13,7 +13,7 @@ cuttingPlane
writeControl writeTime;
surfaceFormat vtk;
fields ( p U );
fields (p U);
interpolationScheme cellPoint;
@ -25,8 +25,8 @@ cuttingPlane
planeType pointAndNormal;
pointAndNormalDict
{
basePoint (0 0 0);
normalVector (0 1 0);
point (0 0 0);
normal (0 1 0);
}
interpolate true;
}

View File

@ -9,11 +9,11 @@
forces
{
type forceCoeffs;
libs ( "libforces.so" );
libs ("libforces.so");
writeControl timeStep;
writeInterval 1;
patches ( "motorBike.*" );
patches ("motorBike.*");
rho rhoInf; // Indicates incompressible
log true;
rhoInf 1; // Redundant for incompressible

View File

@ -25,8 +25,8 @@ cuttingPlane
planeType pointAndNormal;
pointAndNormalDict
{
basePoint (0 0 0);
normalVector (0 1 0);
point (0 0 0);
normal (0 1 0);
}
interpolate true;
}

View File

@ -10,7 +10,7 @@ forceCoeffs1
{
type forceCoeffs;
libs ( "libforces.so" );
libs ("libforces.so");
writeControl timeStep;
timeInterval 1;

View File

@ -30,7 +30,7 @@ opencfd_text.stl
subsetFeatures
{
// Use a plane to select feature edges
// (normal)(basePoint)
// (normal)(point)
// Keep only edges that intersect the plane will be included
plane (0 0 1)(0 0 0);
@ -65,7 +65,7 @@ opencfd_box.stl
subsetFeatures
{
// Use a plane to select feature edges
// (normal)(basePoint)
// (normal)(point)
// Keep only edges that intersect the plane will be included
plane (0 0 1)(0 0 0);

View File

@ -30,7 +30,7 @@ jaggedBoundary.stl
subsetFeatures
{
// Use a plane to select feature edges
// (normal)(basePoint)
// (normal)(point)
// Keep only edges that intersect the plane will be included
plane (0 0 1)(-0.6 0.3 0.0);

View File

@ -30,7 +30,7 @@ unit_cube.stl
subsetFeatures
{
// Use a plane to select feature edges
// (normal)(basePoint)
// (normal)(point)
// Keep only edges that intersect the plane will be included
plane (0 0 1)(0 0 0);

View File

@ -56,7 +56,7 @@ functions
forces
{
type forces;
libs ( "libforces.so" );
libs ("libforces.so");
patches (hull);
rhoInf 998.8;
log on;

View File

@ -50,7 +50,7 @@ functions
forces
{
type forces;
libs ( "libforces.so" );
libs ("libforces.so");
patches (hull);
rhoInf 998.8;
log on;

View File

@ -56,7 +56,7 @@ functions
fieldAverage1
{
type fieldAverage;
libs ( "libfieldFunctionObjects.so" );
libs ("libfieldFunctionObjects.so");
writeControl writeTime;
fields
(

View File

@ -56,7 +56,7 @@ functions0
fieldAverage1
{
type fieldAverage;
libs ( "libfieldFunctionObjects.so" );
libs ("libfieldFunctionObjects.so");
writeControl writeTime;
fields
(

View File

@ -56,7 +56,7 @@ functions
fieldAverage1
{
type fieldAverage;
libs ( "libfieldFunctionObjects.so" );
libs ("libfieldFunctionObjects.so");
writeControl writeTime;
fields
(

View File

@ -56,7 +56,7 @@ functions
fieldAverage1
{
type fieldAverage;
libs ( "libfieldFunctionObjects.so" );
libs ("libfieldFunctionObjects.so");
writeControl writeTime;
fields
(

View File

@ -56,7 +56,7 @@ functions
fieldAverage1
{
type fieldAverage;
libs ( "libfieldFunctionObjects.so" );
libs ("libfieldFunctionObjects.so");
writeControl writeTime;
fields
(

View File

@ -56,7 +56,7 @@ functions
fieldAverage1
{
type fieldAverage;
libs ( "libfieldFunctionObjects.so" );
libs ("libfieldFunctionObjects.so");
writeControl writeTime;
fields
(

View File

@ -56,7 +56,7 @@ functions
fieldAverage1
{
type fieldAverage;
libs ( "libfieldFunctionObjects.so" );
libs ("libfieldFunctionObjects.so");
writeControl writeTime;
fields
(

View File

@ -56,7 +56,7 @@ functions
fieldAverage1
{
type fieldAverage;
libs ( "libfieldFunctionObjects.so" );
libs ("libfieldFunctionObjects.so");
writeControl writeTime;
fields
(

View File

@ -56,7 +56,7 @@ functions
fieldAverage1
{
type fieldAverage;
libs ( "libfieldFunctionObjects.so" );
libs ("libfieldFunctionObjects.so");
writeControl writeTime;
fields
(

View File

@ -56,7 +56,7 @@ functions
fieldAverage1
{
type fieldAverage;
libs ( "libfieldFunctionObjects.so" );
libs ("libfieldFunctionObjects.so");
writeControl writeTime;
fields
(

View File

@ -56,7 +56,7 @@ functions
fieldAverage1
{
type fieldAverage;
libs ( "libfieldFunctionObjects.so" );
libs ("libfieldFunctionObjects.so");
writeControl writeTime;
fields
(

View File

@ -56,7 +56,7 @@ functions
fieldAverage1
{
type fieldAverage;
libs ( "libfieldFunctionObjects.so" );
libs ("libfieldFunctionObjects.so");
writeControl writeTime;
fields
(

View File

@ -56,7 +56,7 @@ functions
fieldAverage1
{
type fieldAverage;
libs ( "libfieldFunctionObjects.so" );
libs ("libfieldFunctionObjects.so");
writeControl writeTime;
fields
(

View File

@ -56,7 +56,7 @@ functions
fieldAverage1
{
type fieldAverage;
libs ( "libfieldFunctionObjects.so" );
libs ("libfieldFunctionObjects.so");
writeControl writeTime;
fields
(