Commit 6d330d3d authored by Henry Weller's avatar Henry Weller
Browse files

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

parent a158c307
......@@ -50,7 +50,7 @@ functions
error
{
// Load the library containing the 'coded' functionObject
libs ("libutilityFunctionObjects.so");
libs ("libutilityFunctionObjects.so");
type coded;
......
......@@ -56,7 +56,7 @@ functions
timeStep
{
type coded;
libs ("libutilityFunctionObjects.so");
libs ("libutilityFunctionObjects.so");
name setDeltaT;
code
......
......@@ -9,7 +9,7 @@
cuttingPlane
{
type surfaces;
libs ("libsampling.so");
libs ("libsampling.so");
writeControl writeTime;
......@@ -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;
}
......
......@@ -16,7 +16,7 @@ FoamFile
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
type sets;
libs ("libsampling.so");
libs ("libsampling.so");
interpolationScheme cellPointFace;
......
......@@ -16,7 +16,7 @@ FoamFile
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
type sets;
libs ("libsampling.so");
libs ("libsampling.so");
interpolationScheme cellPointFace;
......
......@@ -16,7 +16,7 @@ FoamFile
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
type sets;
libs ("libsampling.so");
libs ("libsampling.so");
interpolationScheme cellPoint;
......
......@@ -53,12 +53,12 @@ functions
{
probes
{
libs ( "libsampling.so" );
type probes;
name probes;
writeControl timeStep;
writeInterval 1;
fields ( p );
libs ("libsampling.so");
type probes;
name probes;
writeControl timeStep;
writeInterval 1;
fields (p);
probeLocations
(
( -0.045 0 0 )
......
......@@ -9,7 +9,7 @@
cuttingPlane
{
type surfaces;
libs ("libsampling.so");
libs ("libsampling.so");
writeControl writeTime;
......@@ -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;
}
......
......@@ -47,7 +47,7 @@ runTimeModifiable true;
functions
{
libs ("libfieldFunctionObjects.so");
libs ("libfieldFunctionObjects.so");
Ma
{
......
......@@ -16,7 +16,7 @@ FoamFile
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
type sets;
libs ("libsampling.so");
libs ("libsampling.so");
interpolationScheme cellPoint;
......
......@@ -50,9 +50,9 @@ functions
forces
{
type forceCoeffs;
libs ( "libforces.so" );
writeControl timeStep;
writeInterval 1;
libs ("libforces.so");
writeControl timeStep;
writeInterval 1;
patches
(
......
......@@ -16,7 +16,7 @@ FoamFile
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
type sets;
libs ("libsampling.so");
libs ("libsampling.so");
interpolationScheme cellPoint;
......
......@@ -17,7 +17,7 @@ FoamFile
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
type sets;
libs ("libsampling.so");
libs ("libsampling.so");
interpolationScheme cellPointFace;
......
......@@ -44,6 +44,6 @@ timePrecision 6;
runTimeModifiable true;
libs ("libthermalBaffleModels.so");
libs ("libthermalBaffleModels.so");
// ************************************************************************* //
......@@ -9,7 +9,7 @@
cuttingPlane
{
type surfaces;
libs ("libsampling.so");
libs ("libsampling.so");
writeControl writeTime;
......@@ -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;
}
......
......@@ -8,22 +8,22 @@
forces
{
type forces;
type forces;
libs ( "libforces.so" );
libs ("libforces.so");
writeControl timeStep;
timeInterval 1;
writeControl timeStep;
timeInterval 1;
log yes;
log yes;
patches ( "propeller.*" );
rho rhoInf; // Indicates incompressible
log true;
rhoInf 1; // Redundant for incompressible
patches ("propeller.*");
rho rhoInf; // Indicates incompressible
log true;
rhoInf 1; // Redundant for incompressible
CofR (0 0 0); // Rotation around centre line of propeller
pitchAxis (0 1 0);
CofR (0 0 0); // Rotation around centre line of propeller
pitchAxis (0 1 0);
}
......
......@@ -9,7 +9,7 @@
surfaces
{
type surfaces;
libs ("libsampling.so");
libs ("libsampling.so");
writeControl writeTime;
surfaceFormat vtk;
......@@ -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;
}
......
......@@ -50,7 +50,7 @@ functions
forces
{
type forces;
libs ( "libforces.so" );
libs ("libforces.so");
writeControl timeStep;
writeInterval 10;
patches (wing);
......
......@@ -54,7 +54,7 @@ functions
probes
{
// Where to load it from
libs ( "libsampling.so" );
libs ("libsampling.so");
type probes;
......@@ -63,7 +63,7 @@ functions
// Write at same frequency as fields
writeControl writeTime;
writeInterval 1;
writeInterval 1;
// Fields to be probed
fields
......
......@@ -54,7 +54,7 @@ functions
probes
{
// Where to load it from
libs ( "libsampling.so" );
libs ("libsampling.so");
type probes;
......@@ -63,13 +63,10 @@ functions
// Write at same frequency as fields
writeControl writeTime;
writeInterval 1;
writeInterval 1;
// Fields to be probed
fields
(
p U
);
fields (p U);
probeLocations
(
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment