tutorials: Updated formatting of dictionaries and specification of 'plane' and 'samplePlane'
This commit is contained in:
@ -50,7 +50,7 @@ functions
|
|||||||
error
|
error
|
||||||
{
|
{
|
||||||
// Load the library containing the 'coded' functionObject
|
// Load the library containing the 'coded' functionObject
|
||||||
libs ("libutilityFunctionObjects.so");
|
libs ("libutilityFunctionObjects.so");
|
||||||
|
|
||||||
type coded;
|
type coded;
|
||||||
|
|
||||||
|
|||||||
@ -56,7 +56,7 @@ functions
|
|||||||
timeStep
|
timeStep
|
||||||
{
|
{
|
||||||
type coded;
|
type coded;
|
||||||
libs ("libutilityFunctionObjects.so");
|
libs ("libutilityFunctionObjects.so");
|
||||||
name setDeltaT;
|
name setDeltaT;
|
||||||
|
|
||||||
code
|
code
|
||||||
|
|||||||
@ -9,7 +9,7 @@
|
|||||||
cuttingPlane
|
cuttingPlane
|
||||||
{
|
{
|
||||||
type surfaces;
|
type surfaces;
|
||||||
libs ("libsampling.so");
|
libs ("libsampling.so");
|
||||||
|
|
||||||
writeControl writeTime;
|
writeControl writeTime;
|
||||||
|
|
||||||
@ -26,8 +26,8 @@ cuttingPlane
|
|||||||
planeType pointAndNormal;
|
planeType pointAndNormal;
|
||||||
pointAndNormalDict
|
pointAndNormalDict
|
||||||
{
|
{
|
||||||
basePoint (0 0 0);
|
point (0 0 0);
|
||||||
normalVector (0 0 1);
|
normal (0 0 1);
|
||||||
}
|
}
|
||||||
interpolate true;
|
interpolate true;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -16,7 +16,7 @@ FoamFile
|
|||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
type sets;
|
type sets;
|
||||||
libs ("libsampling.so");
|
libs ("libsampling.so");
|
||||||
|
|
||||||
interpolationScheme cellPointFace;
|
interpolationScheme cellPointFace;
|
||||||
|
|
||||||
|
|||||||
@ -16,7 +16,7 @@ FoamFile
|
|||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
type sets;
|
type sets;
|
||||||
libs ("libsampling.so");
|
libs ("libsampling.so");
|
||||||
|
|
||||||
interpolationScheme cellPointFace;
|
interpolationScheme cellPointFace;
|
||||||
|
|
||||||
|
|||||||
@ -16,7 +16,7 @@ FoamFile
|
|||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
type sets;
|
type sets;
|
||||||
libs ("libsampling.so");
|
libs ("libsampling.so");
|
||||||
|
|
||||||
interpolationScheme cellPoint;
|
interpolationScheme cellPoint;
|
||||||
|
|
||||||
|
|||||||
@ -53,12 +53,12 @@ functions
|
|||||||
{
|
{
|
||||||
probes
|
probes
|
||||||
{
|
{
|
||||||
libs ( "libsampling.so" );
|
libs ("libsampling.so");
|
||||||
type probes;
|
type probes;
|
||||||
name probes;
|
name probes;
|
||||||
writeControl timeStep;
|
writeControl timeStep;
|
||||||
writeInterval 1;
|
writeInterval 1;
|
||||||
fields ( p );
|
fields (p);
|
||||||
probeLocations
|
probeLocations
|
||||||
(
|
(
|
||||||
( -0.045 0 0 )
|
( -0.045 0 0 )
|
||||||
|
|||||||
@ -9,7 +9,7 @@
|
|||||||
cuttingPlane
|
cuttingPlane
|
||||||
{
|
{
|
||||||
type surfaces;
|
type surfaces;
|
||||||
libs ("libsampling.so");
|
libs ("libsampling.so");
|
||||||
|
|
||||||
writeControl writeTime;
|
writeControl writeTime;
|
||||||
|
|
||||||
@ -26,8 +26,8 @@ cuttingPlane
|
|||||||
planeType pointAndNormal;
|
planeType pointAndNormal;
|
||||||
pointAndNormalDict
|
pointAndNormalDict
|
||||||
{
|
{
|
||||||
basePoint (0 0 0);
|
point (0 0 0);
|
||||||
normalVector (0 0 1);
|
normal (0 0 1);
|
||||||
}
|
}
|
||||||
interpolate true;
|
interpolate true;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -47,7 +47,7 @@ runTimeModifiable true;
|
|||||||
|
|
||||||
functions
|
functions
|
||||||
{
|
{
|
||||||
libs ("libfieldFunctionObjects.so");
|
libs ("libfieldFunctionObjects.so");
|
||||||
|
|
||||||
Ma
|
Ma
|
||||||
{
|
{
|
||||||
|
|||||||
@ -16,7 +16,7 @@ FoamFile
|
|||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
type sets;
|
type sets;
|
||||||
libs ("libsampling.so");
|
libs ("libsampling.so");
|
||||||
|
|
||||||
interpolationScheme cellPoint;
|
interpolationScheme cellPoint;
|
||||||
|
|
||||||
|
|||||||
@ -50,9 +50,9 @@ functions
|
|||||||
forces
|
forces
|
||||||
{
|
{
|
||||||
type forceCoeffs;
|
type forceCoeffs;
|
||||||
libs ( "libforces.so" );
|
libs ("libforces.so");
|
||||||
writeControl timeStep;
|
writeControl timeStep;
|
||||||
writeInterval 1;
|
writeInterval 1;
|
||||||
|
|
||||||
patches
|
patches
|
||||||
(
|
(
|
||||||
|
|||||||
@ -16,7 +16,7 @@ FoamFile
|
|||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
type sets;
|
type sets;
|
||||||
libs ("libsampling.so");
|
libs ("libsampling.so");
|
||||||
|
|
||||||
interpolationScheme cellPoint;
|
interpolationScheme cellPoint;
|
||||||
|
|
||||||
|
|||||||
@ -17,7 +17,7 @@ FoamFile
|
|||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
type sets;
|
type sets;
|
||||||
libs ("libsampling.so");
|
libs ("libsampling.so");
|
||||||
|
|
||||||
interpolationScheme cellPointFace;
|
interpolationScheme cellPointFace;
|
||||||
|
|
||||||
|
|||||||
@ -44,6 +44,6 @@ timePrecision 6;
|
|||||||
|
|
||||||
runTimeModifiable true;
|
runTimeModifiable true;
|
||||||
|
|
||||||
libs ("libthermalBaffleModels.so");
|
libs ("libthermalBaffleModels.so");
|
||||||
|
|
||||||
// ************************************************************************* //
|
// ************************************************************************* //
|
||||||
|
|||||||
@ -9,7 +9,7 @@
|
|||||||
cuttingPlane
|
cuttingPlane
|
||||||
{
|
{
|
||||||
type surfaces;
|
type surfaces;
|
||||||
libs ("libsampling.so");
|
libs ("libsampling.so");
|
||||||
|
|
||||||
writeControl writeTime;
|
writeControl writeTime;
|
||||||
|
|
||||||
@ -26,8 +26,8 @@ cuttingPlane
|
|||||||
planeType pointAndNormal;
|
planeType pointAndNormal;
|
||||||
pointAndNormalDict
|
pointAndNormalDict
|
||||||
{
|
{
|
||||||
basePoint (0 0 0);
|
point (0 0 0);
|
||||||
normalVector (0 0 1);
|
normal (0 0 1);
|
||||||
}
|
}
|
||||||
interpolate true;
|
interpolate true;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -8,22 +8,22 @@
|
|||||||
|
|
||||||
forces
|
forces
|
||||||
{
|
{
|
||||||
type forces;
|
type forces;
|
||||||
|
|
||||||
libs ( "libforces.so" );
|
libs ("libforces.so");
|
||||||
|
|
||||||
writeControl timeStep;
|
writeControl timeStep;
|
||||||
timeInterval 1;
|
timeInterval 1;
|
||||||
|
|
||||||
log yes;
|
log yes;
|
||||||
|
|
||||||
patches ( "propeller.*" );
|
patches ("propeller.*");
|
||||||
rho rhoInf; // Indicates incompressible
|
rho rhoInf; // Indicates incompressible
|
||||||
log true;
|
log true;
|
||||||
rhoInf 1; // Redundant for incompressible
|
rhoInf 1; // Redundant for incompressible
|
||||||
|
|
||||||
CofR (0 0 0); // Rotation around centre line of propeller
|
CofR (0 0 0); // Rotation around centre line of propeller
|
||||||
pitchAxis (0 1 0);
|
pitchAxis (0 1 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@ -9,7 +9,7 @@
|
|||||||
surfaces
|
surfaces
|
||||||
{
|
{
|
||||||
type surfaces;
|
type surfaces;
|
||||||
libs ("libsampling.so");
|
libs ("libsampling.so");
|
||||||
writeControl writeTime;
|
writeControl writeTime;
|
||||||
|
|
||||||
surfaceFormat vtk;
|
surfaceFormat vtk;
|
||||||
@ -25,8 +25,8 @@ surfaces
|
|||||||
planeType pointAndNormal;
|
planeType pointAndNormal;
|
||||||
pointAndNormalDict
|
pointAndNormalDict
|
||||||
{
|
{
|
||||||
basePoint (0 0 0);
|
point (0 0 0);
|
||||||
normalVector (0 0 1);
|
normal (0 0 1);
|
||||||
}
|
}
|
||||||
interpolate true;
|
interpolate true;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -50,7 +50,7 @@ functions
|
|||||||
forces
|
forces
|
||||||
{
|
{
|
||||||
type forces;
|
type forces;
|
||||||
libs ( "libforces.so" );
|
libs ("libforces.so");
|
||||||
writeControl timeStep;
|
writeControl timeStep;
|
||||||
writeInterval 10;
|
writeInterval 10;
|
||||||
patches (wing);
|
patches (wing);
|
||||||
|
|||||||
@ -54,7 +54,7 @@ functions
|
|||||||
probes
|
probes
|
||||||
{
|
{
|
||||||
// Where to load it from
|
// Where to load it from
|
||||||
libs ( "libsampling.so" );
|
libs ("libsampling.so");
|
||||||
|
|
||||||
type probes;
|
type probes;
|
||||||
|
|
||||||
@ -63,7 +63,7 @@ functions
|
|||||||
|
|
||||||
// Write at same frequency as fields
|
// Write at same frequency as fields
|
||||||
writeControl writeTime;
|
writeControl writeTime;
|
||||||
writeInterval 1;
|
writeInterval 1;
|
||||||
|
|
||||||
// Fields to be probed
|
// Fields to be probed
|
||||||
fields
|
fields
|
||||||
|
|||||||
@ -54,7 +54,7 @@ functions
|
|||||||
probes
|
probes
|
||||||
{
|
{
|
||||||
// Where to load it from
|
// Where to load it from
|
||||||
libs ( "libsampling.so" );
|
libs ("libsampling.so");
|
||||||
|
|
||||||
type probes;
|
type probes;
|
||||||
|
|
||||||
@ -63,13 +63,10 @@ functions
|
|||||||
|
|
||||||
// Write at same frequency as fields
|
// Write at same frequency as fields
|
||||||
writeControl writeTime;
|
writeControl writeTime;
|
||||||
writeInterval 1;
|
writeInterval 1;
|
||||||
|
|
||||||
// Fields to be probed
|
// Fields to be probed
|
||||||
fields
|
fields (p U);
|
||||||
(
|
|
||||||
p U
|
|
||||||
);
|
|
||||||
|
|
||||||
probeLocations
|
probeLocations
|
||||||
(
|
(
|
||||||
|
|||||||
@ -18,8 +18,8 @@ mirrorMeshDict
|
|||||||
{
|
{
|
||||||
pointAndNormalDict
|
pointAndNormalDict
|
||||||
{
|
{
|
||||||
basePoint (0 0 0);
|
point (0 0 0);
|
||||||
normalVector (0 -1 0);
|
normal (0 -1 0);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -18,8 +18,8 @@ mirrorMeshDict
|
|||||||
{
|
{
|
||||||
pointAndNormalDict
|
pointAndNormalDict
|
||||||
{
|
{
|
||||||
basePoint (0 0 0);
|
point (0 0 0);
|
||||||
normalVector (-1 0 0);
|
normal (-1 0 0);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -18,8 +18,8 @@ mirrorMeshDict
|
|||||||
{
|
{
|
||||||
pointAndNormalDict
|
pointAndNormalDict
|
||||||
{
|
{
|
||||||
basePoint (0 0 0);
|
point (0 0 0);
|
||||||
normalVector (0 -1 0);
|
normal (0 -1 0);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -19,8 +19,8 @@ planeType pointAndNormal;
|
|||||||
|
|
||||||
pointAndNormalDict
|
pointAndNormalDict
|
||||||
{
|
{
|
||||||
basePoint (0 0 0);
|
point (0 0 0);
|
||||||
normalVector (0 -1 0);
|
normal (0 -1 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
planeTolerance 1e-06;
|
planeTolerance 1e-06;
|
||||||
|
|||||||
@ -72,10 +72,10 @@ functions
|
|||||||
cuttingPlane
|
cuttingPlane
|
||||||
{
|
{
|
||||||
type surfaces;
|
type surfaces;
|
||||||
libs ( "libsampling.so" );
|
libs ("libsampling.so");
|
||||||
writeControl writeTime;
|
writeControl writeTime;
|
||||||
surfaceFormat vtk;
|
surfaceFormat vtk;
|
||||||
fields ( p U );
|
fields (p U);
|
||||||
interpolationScheme cellPoint;
|
interpolationScheme cellPoint;
|
||||||
surfaces
|
surfaces
|
||||||
(
|
(
|
||||||
@ -85,8 +85,8 @@ functions
|
|||||||
planeType pointAndNormal;
|
planeType pointAndNormal;
|
||||||
pointAndNormalDict
|
pointAndNormalDict
|
||||||
{
|
{
|
||||||
basePoint (0 0 0);
|
point (0 0 0);
|
||||||
normalVector (0 1 0);
|
normal (0 1 0);
|
||||||
}
|
}
|
||||||
interpolate true;
|
interpolate true;
|
||||||
}
|
}
|
||||||
@ -95,10 +95,10 @@ functions
|
|||||||
forces
|
forces
|
||||||
{
|
{
|
||||||
type forceCoeffs;
|
type forceCoeffs;
|
||||||
libs ( "libforces.so" );
|
libs ("libforces.so");
|
||||||
writeControl timeStep;
|
writeControl timeStep;
|
||||||
writeInterval 1;
|
writeInterval 1;
|
||||||
patches ( "motorBike.*" );
|
patches ("motorBike.*");
|
||||||
rho rhoInf;
|
rho rhoInf;
|
||||||
log true;
|
log true;
|
||||||
rhoInf 1;
|
rhoInf 1;
|
||||||
|
|||||||
@ -9,11 +9,11 @@
|
|||||||
cuttingPlane
|
cuttingPlane
|
||||||
{
|
{
|
||||||
type surfaces;
|
type surfaces;
|
||||||
libs ("libsampling.so");
|
libs ("libsampling.so");
|
||||||
writeControl writeTime;
|
writeControl writeTime;
|
||||||
|
|
||||||
surfaceFormat vtk;
|
surfaceFormat vtk;
|
||||||
fields ( p U );
|
fields (p U);
|
||||||
|
|
||||||
interpolationScheme cellPoint;
|
interpolationScheme cellPoint;
|
||||||
|
|
||||||
@ -25,8 +25,8 @@ cuttingPlane
|
|||||||
planeType pointAndNormal;
|
planeType pointAndNormal;
|
||||||
pointAndNormalDict
|
pointAndNormalDict
|
||||||
{
|
{
|
||||||
basePoint (0 0 0);
|
point (0 0 0);
|
||||||
normalVector (0 1 0);
|
normal (0 1 0);
|
||||||
}
|
}
|
||||||
interpolate true;
|
interpolate true;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -8,22 +8,22 @@
|
|||||||
|
|
||||||
forces
|
forces
|
||||||
{
|
{
|
||||||
type forceCoeffs;
|
type forceCoeffs;
|
||||||
libs ( "libforces.so" );
|
libs ("libforces.so");
|
||||||
writeControl timeStep;
|
writeControl timeStep;
|
||||||
writeInterval 1;
|
writeInterval 1;
|
||||||
|
|
||||||
patches ( "motorBike.*" );
|
patches ("motorBike.*");
|
||||||
rho rhoInf; // Indicates incompressible
|
rho rhoInf; // Indicates incompressible
|
||||||
log true;
|
log true;
|
||||||
rhoInf 1; // Redundant for incompressible
|
rhoInf 1; // Redundant for incompressible
|
||||||
liftDir (0 0 1);
|
liftDir (0 0 1);
|
||||||
dragDir (1 0 0);
|
dragDir (1 0 0);
|
||||||
CofR (0.72 0 0); // Axle midpoint on ground
|
CofR (0.72 0 0); // Axle midpoint on ground
|
||||||
pitchAxis (0 1 0);
|
pitchAxis (0 1 0);
|
||||||
magUInf 20;
|
magUInf 20;
|
||||||
lRef 1.42; // Wheelbase length
|
lRef 1.42; // Wheelbase length
|
||||||
Aref 0.75; // Estimated
|
Aref 0.75; // Estimated
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@ -9,7 +9,7 @@
|
|||||||
cuttingPlane
|
cuttingPlane
|
||||||
{
|
{
|
||||||
type surfaces;
|
type surfaces;
|
||||||
libs ("libsampling.so");
|
libs ("libsampling.so");
|
||||||
writeControl writeTime;
|
writeControl writeTime;
|
||||||
|
|
||||||
surfaceFormat vtk;
|
surfaceFormat vtk;
|
||||||
@ -25,8 +25,8 @@ cuttingPlane
|
|||||||
planeType pointAndNormal;
|
planeType pointAndNormal;
|
||||||
pointAndNormalDict
|
pointAndNormalDict
|
||||||
{
|
{
|
||||||
basePoint (0 0 0);
|
point (0 0 0);
|
||||||
normalVector (0 1 0);
|
normal (0 1 0);
|
||||||
}
|
}
|
||||||
interpolate true;
|
interpolate true;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -8,25 +8,25 @@
|
|||||||
|
|
||||||
forceCoeffs1
|
forceCoeffs1
|
||||||
{
|
{
|
||||||
type forceCoeffs;
|
type forceCoeffs;
|
||||||
|
|
||||||
libs ( "libforces.so" );
|
libs ("libforces.so");
|
||||||
|
|
||||||
writeControl timeStep;
|
writeControl timeStep;
|
||||||
timeInterval 1;
|
timeInterval 1;
|
||||||
|
|
||||||
log yes;
|
log yes;
|
||||||
|
|
||||||
patches (motorBikeGroup);
|
patches (motorBikeGroup);
|
||||||
rho rhoInf; // Indicates incompressible
|
rho rhoInf; // Indicates incompressible
|
||||||
rhoInf 1; // Redundant for incompressible
|
rhoInf 1; // Redundant for incompressible
|
||||||
liftDir (0 0 1);
|
liftDir (0 0 1);
|
||||||
dragDir (1 0 0);
|
dragDir (1 0 0);
|
||||||
CofR (0.72 0 0); // Axle midpoint on ground
|
CofR (0.72 0 0); // Axle midpoint on ground
|
||||||
pitchAxis (0 1 0);
|
pitchAxis (0 1 0);
|
||||||
magUInf 20;
|
magUInf 20;
|
||||||
lRef 1.42; // Wheelbase length
|
lRef 1.42; // Wheelbase length
|
||||||
Aref 0.75; // Estimated
|
Aref 0.75; // Estimated
|
||||||
/*
|
/*
|
||||||
binData
|
binData
|
||||||
{
|
{
|
||||||
|
|||||||
@ -9,7 +9,7 @@
|
|||||||
streamLines
|
streamLines
|
||||||
{
|
{
|
||||||
// Where to load it from
|
// Where to load it from
|
||||||
libs ("libfieldFunctionObjects.so");
|
libs ("libfieldFunctionObjects.so");
|
||||||
|
|
||||||
type streamLine;
|
type streamLine;
|
||||||
|
|
||||||
|
|||||||
@ -10,7 +10,7 @@
|
|||||||
near
|
near
|
||||||
{
|
{
|
||||||
// Where to load it from
|
// Where to load it from
|
||||||
libs ("libfieldFunctionObjects.so");
|
libs ("libfieldFunctionObjects.so");
|
||||||
|
|
||||||
type nearWallFields;
|
type nearWallFields;
|
||||||
|
|
||||||
@ -39,7 +39,7 @@ near
|
|||||||
wallBoundedStreamLines
|
wallBoundedStreamLines
|
||||||
{
|
{
|
||||||
// Where to load it from (if not already in solver)
|
// Where to load it from (if not already in solver)
|
||||||
libs ("libfieldFunctionObjects.so");
|
libs ("libfieldFunctionObjects.so");
|
||||||
type wallBoundedStreamLine;
|
type wallBoundedStreamLine;
|
||||||
|
|
||||||
// Output every
|
// Output every
|
||||||
|
|||||||
@ -52,7 +52,7 @@ functions
|
|||||||
type streamLine;
|
type streamLine;
|
||||||
|
|
||||||
// Where to load it from (if not already in solver)
|
// Where to load it from (if not already in solver)
|
||||||
libs ("libfieldFunctionObjects.so");
|
libs ("libfieldFunctionObjects.so");
|
||||||
|
|
||||||
// Output every
|
// Output every
|
||||||
writeControl writeTime;
|
writeControl writeTime;
|
||||||
|
|||||||
@ -51,7 +51,7 @@ functions
|
|||||||
surfaceRegion1
|
surfaceRegion1
|
||||||
{
|
{
|
||||||
type surfaceRegion;
|
type surfaceRegion;
|
||||||
libs ("libfieldFunctionObjects.so");
|
libs ("libfieldFunctionObjects.so");
|
||||||
enabled yes;
|
enabled yes;
|
||||||
writeControl writeTime;
|
writeControl writeTime;
|
||||||
log yes;
|
log yes;
|
||||||
|
|||||||
@ -52,7 +52,7 @@ timePrecision 6;
|
|||||||
|
|
||||||
runTimeModifiable yes;
|
runTimeModifiable yes;
|
||||||
|
|
||||||
libs ("libdistributed.so");
|
libs ("libdistributed.so");
|
||||||
|
|
||||||
|
|
||||||
// ************************************************************************* //
|
// ************************************************************************* //
|
||||||
|
|||||||
@ -30,7 +30,7 @@ opencfd_text.stl
|
|||||||
subsetFeatures
|
subsetFeatures
|
||||||
{
|
{
|
||||||
// Use a plane to select feature edges
|
// Use a plane to select feature edges
|
||||||
// (normal)(basePoint)
|
// (normal)(point)
|
||||||
// Keep only edges that intersect the plane will be included
|
// Keep only edges that intersect the plane will be included
|
||||||
plane (0 0 1)(0 0 0);
|
plane (0 0 1)(0 0 0);
|
||||||
|
|
||||||
@ -65,7 +65,7 @@ opencfd_box.stl
|
|||||||
subsetFeatures
|
subsetFeatures
|
||||||
{
|
{
|
||||||
// Use a plane to select feature edges
|
// Use a plane to select feature edges
|
||||||
// (normal)(basePoint)
|
// (normal)(point)
|
||||||
// Keep only edges that intersect the plane will be included
|
// Keep only edges that intersect the plane will be included
|
||||||
plane (0 0 1)(0 0 0);
|
plane (0 0 1)(0 0 0);
|
||||||
|
|
||||||
|
|||||||
@ -30,7 +30,7 @@ jaggedBoundary.stl
|
|||||||
subsetFeatures
|
subsetFeatures
|
||||||
{
|
{
|
||||||
// Use a plane to select feature edges
|
// Use a plane to select feature edges
|
||||||
// (normal)(basePoint)
|
// (normal)(point)
|
||||||
// Keep only edges that intersect the plane will be included
|
// Keep only edges that intersect the plane will be included
|
||||||
plane (0 0 1)(-0.6 0.3 0.0);
|
plane (0 0 1)(-0.6 0.3 0.0);
|
||||||
|
|
||||||
|
|||||||
@ -30,7 +30,7 @@ unit_cube.stl
|
|||||||
subsetFeatures
|
subsetFeatures
|
||||||
{
|
{
|
||||||
// Use a plane to select feature edges
|
// Use a plane to select feature edges
|
||||||
// (normal)(basePoint)
|
// (normal)(point)
|
||||||
// Keep only edges that intersect the plane will be included
|
// Keep only edges that intersect the plane will be included
|
||||||
plane (0 0 1)(0 0 0);
|
plane (0 0 1)(0 0 0);
|
||||||
|
|
||||||
|
|||||||
@ -57,7 +57,7 @@ functions
|
|||||||
probes
|
probes
|
||||||
{
|
{
|
||||||
type probes;
|
type probes;
|
||||||
libs ("libsampling.so");
|
libs ("libsampling.so");
|
||||||
writeControl writeTime;
|
writeControl writeTime;
|
||||||
probeLocations
|
probeLocations
|
||||||
(
|
(
|
||||||
@ -74,7 +74,7 @@ functions
|
|||||||
wallPressure
|
wallPressure
|
||||||
{
|
{
|
||||||
type surfaces;
|
type surfaces;
|
||||||
libs ("libsampling.so");
|
libs ("libsampling.so");
|
||||||
writeControl writeTime;
|
writeControl writeTime;
|
||||||
surfaceFormat raw;
|
surfaceFormat raw;
|
||||||
fields
|
fields
|
||||||
|
|||||||
@ -55,14 +55,14 @@ functions
|
|||||||
{
|
{
|
||||||
forces
|
forces
|
||||||
{
|
{
|
||||||
type forces;
|
type forces;
|
||||||
libs ( "libforces.so" );
|
libs ("libforces.so");
|
||||||
patches (hull);
|
patches (hull);
|
||||||
rhoInf 998.8;
|
rhoInf 998.8;
|
||||||
log on;
|
log on;
|
||||||
writeControl timeStep;
|
writeControl timeStep;
|
||||||
writeInterval 1;
|
writeInterval 1;
|
||||||
CofR (2.929541 0 0.2);
|
CofR (2.929541 0 0.2);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -57,7 +57,7 @@ functions
|
|||||||
probes
|
probes
|
||||||
{
|
{
|
||||||
type probes;
|
type probes;
|
||||||
libs ("libsampling.so");
|
libs ("libsampling.so");
|
||||||
writeControl writeTime;
|
writeControl writeTime;
|
||||||
probeLocations
|
probeLocations
|
||||||
(
|
(
|
||||||
@ -74,7 +74,7 @@ functions
|
|||||||
wallPressure
|
wallPressure
|
||||||
{
|
{
|
||||||
type surfaces;
|
type surfaces;
|
||||||
libs ("libsampling.so");
|
libs ("libsampling.so");
|
||||||
writeControl writeTime;
|
writeControl writeTime;
|
||||||
surfaceFormat raw;
|
surfaceFormat raw;
|
||||||
fields
|
fields
|
||||||
|
|||||||
@ -56,7 +56,7 @@ functions
|
|||||||
probes
|
probes
|
||||||
{
|
{
|
||||||
type probes;
|
type probes;
|
||||||
libs ("libsampling.so");
|
libs ("libsampling.so");
|
||||||
writeControl writeTime;
|
writeControl writeTime;
|
||||||
probeLocations
|
probeLocations
|
||||||
(
|
(
|
||||||
@ -73,7 +73,7 @@ functions
|
|||||||
wallPressure
|
wallPressure
|
||||||
{
|
{
|
||||||
type surfaces;
|
type surfaces;
|
||||||
libs ("libsampling.so");
|
libs ("libsampling.so");
|
||||||
writeControl writeTime;
|
writeControl writeTime;
|
||||||
surfaceFormat raw;
|
surfaceFormat raw;
|
||||||
fields
|
fields
|
||||||
|
|||||||
@ -56,7 +56,7 @@ functions
|
|||||||
probes
|
probes
|
||||||
{
|
{
|
||||||
type probes;
|
type probes;
|
||||||
libs ("libsampling.so");
|
libs ("libsampling.so");
|
||||||
writeControl timeStep;
|
writeControl timeStep;
|
||||||
writeInterval 1;
|
writeInterval 1;
|
||||||
probeLocations
|
probeLocations
|
||||||
|
|||||||
@ -56,7 +56,7 @@ functions
|
|||||||
probes
|
probes
|
||||||
{
|
{
|
||||||
type probes;
|
type probes;
|
||||||
libs ("libsampling.so");
|
libs ("libsampling.so");
|
||||||
writeControl timeStep;
|
writeControl timeStep;
|
||||||
writeInterval 1;
|
writeInterval 1;
|
||||||
probeLocations
|
probeLocations
|
||||||
|
|||||||
@ -56,7 +56,7 @@ functions
|
|||||||
probes
|
probes
|
||||||
{
|
{
|
||||||
type probes;
|
type probes;
|
||||||
libs ("libsampling.so");
|
libs ("libsampling.so");
|
||||||
writeControl timeStep;
|
writeControl timeStep;
|
||||||
writeInterval 1;
|
writeInterval 1;
|
||||||
probeLocations
|
probeLocations
|
||||||
|
|||||||
@ -49,14 +49,14 @@ functions
|
|||||||
{
|
{
|
||||||
forces
|
forces
|
||||||
{
|
{
|
||||||
type forces;
|
type forces;
|
||||||
libs ( "libforces.so" );
|
libs ("libforces.so");
|
||||||
patches (hull);
|
patches (hull);
|
||||||
rhoInf 998.8;
|
rhoInf 998.8;
|
||||||
log on;
|
log on;
|
||||||
writeControl timeStep;
|
writeControl timeStep;
|
||||||
writeInterval 1;
|
writeInterval 1;
|
||||||
CofR (2.929541 0 0.2);
|
CofR (2.929541 0 0.2);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -56,7 +56,7 @@ functions
|
|||||||
inletFlux
|
inletFlux
|
||||||
{
|
{
|
||||||
type surfaceRegion;
|
type surfaceRegion;
|
||||||
libs ("libfieldFunctionObjects.so");
|
libs ("libfieldFunctionObjects.so");
|
||||||
writeControl timeStep;
|
writeControl timeStep;
|
||||||
log true;
|
log true;
|
||||||
// Output field values as well
|
// Output field values as well
|
||||||
|
|||||||
@ -56,7 +56,7 @@ functions
|
|||||||
fieldAverage1
|
fieldAverage1
|
||||||
{
|
{
|
||||||
type fieldAverage;
|
type fieldAverage;
|
||||||
libs ( "libfieldFunctionObjects.so" );
|
libs ("libfieldFunctionObjects.so");
|
||||||
writeControl writeTime;
|
writeControl writeTime;
|
||||||
fields
|
fields
|
||||||
(
|
(
|
||||||
|
|||||||
@ -56,7 +56,7 @@ functions
|
|||||||
forces
|
forces
|
||||||
{
|
{
|
||||||
type forces;
|
type forces;
|
||||||
libs ("libforces.so");
|
libs ("libforces.so");
|
||||||
writeControl writeTime;
|
writeControl writeTime;
|
||||||
patches (floatingObject);
|
patches (floatingObject);
|
||||||
rho rhoInf;
|
rho rhoInf;
|
||||||
@ -68,7 +68,7 @@ functions
|
|||||||
poolHeight
|
poolHeight
|
||||||
{
|
{
|
||||||
type surfaceRegion;
|
type surfaceRegion;
|
||||||
libs ("libfieldFunctionObjects.so");
|
libs ("libfieldFunctionObjects.so");
|
||||||
writeControl timeStep;
|
writeControl timeStep;
|
||||||
writeInterval 1;
|
writeInterval 1;
|
||||||
log yes;
|
log yes;
|
||||||
|
|||||||
@ -56,7 +56,7 @@ functions0
|
|||||||
fieldAverage1
|
fieldAverage1
|
||||||
{
|
{
|
||||||
type fieldAverage;
|
type fieldAverage;
|
||||||
libs ( "libfieldFunctionObjects.so" );
|
libs ("libfieldFunctionObjects.so");
|
||||||
writeControl writeTime;
|
writeControl writeTime;
|
||||||
fields
|
fields
|
||||||
(
|
(
|
||||||
|
|||||||
@ -56,7 +56,7 @@ functions
|
|||||||
fieldAverage1
|
fieldAverage1
|
||||||
{
|
{
|
||||||
type fieldAverage;
|
type fieldAverage;
|
||||||
libs ( "libfieldFunctionObjects.so" );
|
libs ("libfieldFunctionObjects.so");
|
||||||
writeControl writeTime;
|
writeControl writeTime;
|
||||||
fields
|
fields
|
||||||
(
|
(
|
||||||
|
|||||||
@ -56,7 +56,7 @@ functions
|
|||||||
fieldAverage1
|
fieldAverage1
|
||||||
{
|
{
|
||||||
type fieldAverage;
|
type fieldAverage;
|
||||||
libs ( "libfieldFunctionObjects.so" );
|
libs ("libfieldFunctionObjects.so");
|
||||||
writeControl writeTime;
|
writeControl writeTime;
|
||||||
fields
|
fields
|
||||||
(
|
(
|
||||||
|
|||||||
@ -56,7 +56,7 @@ functions
|
|||||||
fieldAverage1
|
fieldAverage1
|
||||||
{
|
{
|
||||||
type fieldAverage;
|
type fieldAverage;
|
||||||
libs ( "libfieldFunctionObjects.so" );
|
libs ("libfieldFunctionObjects.so");
|
||||||
writeControl writeTime;
|
writeControl writeTime;
|
||||||
fields
|
fields
|
||||||
(
|
(
|
||||||
|
|||||||
@ -56,7 +56,7 @@ functions
|
|||||||
fieldAverage1
|
fieldAverage1
|
||||||
{
|
{
|
||||||
type fieldAverage;
|
type fieldAverage;
|
||||||
libs ( "libfieldFunctionObjects.so" );
|
libs ("libfieldFunctionObjects.so");
|
||||||
writeControl writeTime;
|
writeControl writeTime;
|
||||||
fields
|
fields
|
||||||
(
|
(
|
||||||
|
|||||||
@ -9,7 +9,7 @@
|
|||||||
inletMassFlowRate
|
inletMassFlowRate
|
||||||
{
|
{
|
||||||
type surfaceRegion;
|
type surfaceRegion;
|
||||||
libs ("libfieldFunctionObjects.so");
|
libs ("libfieldFunctionObjects.so");
|
||||||
|
|
||||||
fields
|
fields
|
||||||
(
|
(
|
||||||
@ -32,7 +32,7 @@ inletMassFlowRate
|
|||||||
outletMassFlowRate
|
outletMassFlowRate
|
||||||
{
|
{
|
||||||
type surfaceRegion;
|
type surfaceRegion;
|
||||||
libs ("libfieldFunctionObjects.so");
|
libs ("libfieldFunctionObjects.so");
|
||||||
|
|
||||||
fields
|
fields
|
||||||
(
|
(
|
||||||
@ -55,7 +55,7 @@ outletMassFlowRate
|
|||||||
totalMass
|
totalMass
|
||||||
{
|
{
|
||||||
type coded;
|
type coded;
|
||||||
libs ("libutilityFunctionObjects.so");
|
libs ("libutilityFunctionObjects.so");
|
||||||
name error;
|
name error;
|
||||||
|
|
||||||
code
|
code
|
||||||
|
|||||||
@ -56,7 +56,7 @@ functions
|
|||||||
fieldAverage1
|
fieldAverage1
|
||||||
{
|
{
|
||||||
type fieldAverage;
|
type fieldAverage;
|
||||||
libs ( "libfieldFunctionObjects.so" );
|
libs ("libfieldFunctionObjects.so");
|
||||||
writeControl writeTime;
|
writeControl writeTime;
|
||||||
fields
|
fields
|
||||||
(
|
(
|
||||||
|
|||||||
@ -56,7 +56,7 @@ functions
|
|||||||
fieldAverage1
|
fieldAverage1
|
||||||
{
|
{
|
||||||
type fieldAverage;
|
type fieldAverage;
|
||||||
libs ( "libfieldFunctionObjects.so" );
|
libs ("libfieldFunctionObjects.so");
|
||||||
writeControl writeTime;
|
writeControl writeTime;
|
||||||
fields
|
fields
|
||||||
(
|
(
|
||||||
|
|||||||
@ -56,7 +56,7 @@ functions
|
|||||||
fieldAverage1
|
fieldAverage1
|
||||||
{
|
{
|
||||||
type fieldAverage;
|
type fieldAverage;
|
||||||
libs ( "libfieldFunctionObjects.so" );
|
libs ("libfieldFunctionObjects.so");
|
||||||
writeControl writeTime;
|
writeControl writeTime;
|
||||||
fields
|
fields
|
||||||
(
|
(
|
||||||
|
|||||||
@ -56,7 +56,7 @@ functions
|
|||||||
fieldAverage1
|
fieldAverage1
|
||||||
{
|
{
|
||||||
type fieldAverage;
|
type fieldAverage;
|
||||||
libs ( "libfieldFunctionObjects.so" );
|
libs ("libfieldFunctionObjects.so");
|
||||||
writeControl writeTime;
|
writeControl writeTime;
|
||||||
fields
|
fields
|
||||||
(
|
(
|
||||||
|
|||||||
@ -56,7 +56,7 @@ functions
|
|||||||
fieldAverage1
|
fieldAverage1
|
||||||
{
|
{
|
||||||
type fieldAverage;
|
type fieldAverage;
|
||||||
libs ( "libfieldFunctionObjects.so" );
|
libs ("libfieldFunctionObjects.so");
|
||||||
writeControl writeTime;
|
writeControl writeTime;
|
||||||
fields
|
fields
|
||||||
(
|
(
|
||||||
|
|||||||
@ -56,7 +56,7 @@ functions
|
|||||||
fieldAverage1
|
fieldAverage1
|
||||||
{
|
{
|
||||||
type fieldAverage;
|
type fieldAverage;
|
||||||
libs ( "libfieldFunctionObjects.so" );
|
libs ("libfieldFunctionObjects.so");
|
||||||
writeControl writeTime;
|
writeControl writeTime;
|
||||||
fields
|
fields
|
||||||
(
|
(
|
||||||
|
|||||||
@ -56,7 +56,7 @@ functions
|
|||||||
fieldAverage1
|
fieldAverage1
|
||||||
{
|
{
|
||||||
type fieldAverage;
|
type fieldAverage;
|
||||||
libs ( "libfieldFunctionObjects.so" );
|
libs ("libfieldFunctionObjects.so");
|
||||||
writeControl writeTime;
|
writeControl writeTime;
|
||||||
fields
|
fields
|
||||||
(
|
(
|
||||||
|
|||||||
@ -56,7 +56,7 @@ functions
|
|||||||
fieldAverage1
|
fieldAverage1
|
||||||
{
|
{
|
||||||
type fieldAverage;
|
type fieldAverage;
|
||||||
libs ( "libfieldFunctionObjects.so" );
|
libs ("libfieldFunctionObjects.so");
|
||||||
writeControl writeTime;
|
writeControl writeTime;
|
||||||
fields
|
fields
|
||||||
(
|
(
|
||||||
|
|||||||
Reference in New Issue
Block a user