TUT: fix use of "constant/triSurface" etc (#1887)
- use bracketed syntax (eg, "<constant>/triSurface") instead for implicit case resolution.
This commit is contained in:
parent
5579e7a62b
commit
9eb73a92e2
@ -60,7 +60,7 @@ Foam::pointFile::pointFile
|
|||||||
cellShapeControls,
|
cellShapeControls,
|
||||||
decomposition
|
decomposition
|
||||||
),
|
),
|
||||||
pointFileName_(detailsDict().get<fileName>("pointFile")),
|
pointFileName_(detailsDict().get<fileName>("pointFile").expand()),
|
||||||
insideOutsideCheck_(detailsDict().get<Switch>("insideOutsideCheck")),
|
insideOutsideCheck_(detailsDict().get<Switch>("insideOutsideCheck")),
|
||||||
randomiseInitialGrid_(detailsDict().get<Switch>("randomiseInitialGrid")),
|
randomiseInitialGrid_(detailsDict().get<Switch>("randomiseInitialGrid")),
|
||||||
randomPerturbationCoeff_
|
randomPerturbationCoeff_
|
||||||
|
@ -24,7 +24,7 @@ constructFrom patch;
|
|||||||
//constructFrom surface;
|
//constructFrom surface;
|
||||||
|
|
||||||
// If construct from patch/mesh:
|
// If construct from patch/mesh:
|
||||||
sourceCase "$FOAM_CASE";
|
sourceCase "<case>";
|
||||||
sourcePatches (movingWall);
|
sourcePatches (movingWall);
|
||||||
|
|
||||||
// If construct from patch: patch to use for back (can be same as sourcePatch)
|
// If construct from patch: patch to use for back (can be same as sourcePatch)
|
||||||
|
@ -238,7 +238,7 @@ initialPoints
|
|||||||
// Reads points from file. Still rejects points that are too
|
// Reads points from file. Still rejects points that are too
|
||||||
// close to the surface (minimumSurfaceDistanceCoeff) or on the
|
// close to the surface (minimumSurfaceDistanceCoeff) or on the
|
||||||
// wrong side of the surfaces.
|
// wrong side of the surfaces.
|
||||||
pointFile "constant/internalDelaunayVertices";
|
pointFile "<constant>/internalDelaunayVertices";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -72,7 +72,7 @@ surface2.nas
|
|||||||
extractionMethod extractFromFile;
|
extractionMethod extractFromFile;
|
||||||
|
|
||||||
// Load from an existing feature edge file
|
// Load from an existing feature edge file
|
||||||
featureEdgeFile "constant/triSurface/featureEdges.nas";
|
featureEdgeFile "<constant>/triSurface/featureEdges.nas";
|
||||||
|
|
||||||
trimFeatures
|
trimFeatures
|
||||||
{
|
{
|
||||||
|
@ -31,7 +31,7 @@ sourcePatches (movingWall);
|
|||||||
exposedPatchName movingWall;
|
exposedPatchName movingWall;
|
||||||
|
|
||||||
// If construct from surface:
|
// If construct from surface:
|
||||||
surface "constant/triSurface/cylinder.vtk";
|
surface "<constant>/triSurface/cylinder.vtk";
|
||||||
|
|
||||||
// Flip surface normals before usage. Valid only for extrude from surface or
|
// Flip surface normals before usage. Valid only for extrude from surface or
|
||||||
// patch.
|
// patch.
|
||||||
|
@ -30,9 +30,9 @@ inertSpecie air;
|
|||||||
|
|
||||||
chemistryReader foamChemistryReader;
|
chemistryReader foamChemistryReader;
|
||||||
|
|
||||||
foamChemistryFile "$FOAM_CASE/constant/include/reactions.air";
|
foamChemistryFile "<constant>/include/reactions.air";
|
||||||
|
|
||||||
foamChemistryThermoFile "$FOAM_CASE/constant/include/thermo.air";
|
foamChemistryThermoFile "<constant>/include/thermo.air";
|
||||||
|
|
||||||
|
|
||||||
// ************************************************************************* //
|
// ************************************************************************* //
|
||||||
|
@ -30,9 +30,9 @@ inertSpecie N2;
|
|||||||
|
|
||||||
chemistryReader foamChemistryReader;
|
chemistryReader foamChemistryReader;
|
||||||
|
|
||||||
foamChemistryFile "$FOAM_CASE/constant/reactions";
|
foamChemistryFile "<constant>/reactions";
|
||||||
|
|
||||||
foamChemistryThermoFile "$FOAM_CASE/constant/thermo.compressibleGas";
|
foamChemistryThermoFile "<constant>/thermo.compressibleGas";
|
||||||
|
|
||||||
|
|
||||||
// ************************************************************************* //
|
// ************************************************************************* //
|
||||||
|
@ -15,7 +15,7 @@ FoamFile
|
|||||||
}
|
}
|
||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
#include "../0.orig/include"
|
#include "<case>/0.orig/include"
|
||||||
|
|
||||||
defaultFieldValues
|
defaultFieldValues
|
||||||
(
|
(
|
||||||
|
@ -31,7 +31,7 @@ sourcePatches (movingWall);
|
|||||||
exposedPatchName movingWall;
|
exposedPatchName movingWall;
|
||||||
|
|
||||||
// If construct from surface:
|
// If construct from surface:
|
||||||
surface "constant/triSurface/cylinder.vtk";
|
surface "<constant>/triSurface/cylinder.vtk";
|
||||||
|
|
||||||
// Flip surface normals before usage. Valid only for extrude from surface or
|
// Flip surface normals before usage. Valid only for extrude from surface or
|
||||||
// patch.
|
// patch.
|
||||||
|
@ -15,7 +15,7 @@ FoamFile
|
|||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
constructFrom patch;
|
constructFrom patch;
|
||||||
sourceCase "$FOAM_CASE";
|
sourceCase "<case>";
|
||||||
|
|
||||||
sourcePatches (back);
|
sourcePatches (back);
|
||||||
exposedPatchName front;
|
exposedPatchName front;
|
||||||
|
@ -15,7 +15,7 @@ FoamFile
|
|||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
constructFrom patch;
|
constructFrom patch;
|
||||||
sourceCase "$FOAM_CASE";
|
sourceCase "<case>";
|
||||||
|
|
||||||
sourcePatches (back);
|
sourcePatches (back);
|
||||||
exposedPatchName front;
|
exposedPatchName front;
|
||||||
|
@ -34,13 +34,13 @@ baffles
|
|||||||
type wall;
|
type wall;
|
||||||
patchFields
|
patchFields
|
||||||
{
|
{
|
||||||
#include "./0/include/wallBafflePatches"
|
#include "<case>/0/include/wallBafflePatches"
|
||||||
#include "./0/include/1DBaffle/1DTemperatureMasterBafflePatches"
|
#include "<case>/0/include/1DBaffle/1DTemperatureMasterBafflePatches"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#include "./0/include/baffle3DSetup"
|
#include "<case>/0/include/baffle3DSetup"
|
||||||
|
|
||||||
baffleFacesThermoBaffle3D
|
baffleFacesThermoBaffle3D
|
||||||
{
|
{
|
||||||
@ -57,8 +57,8 @@ baffles
|
|||||||
sameGroup off;
|
sameGroup off;
|
||||||
patchFields
|
patchFields
|
||||||
{
|
{
|
||||||
#include "./0/include/wallBafflePatches"
|
#include "<case>/0/include/wallBafflePatches"
|
||||||
#include "./0/include/3DBaffle/3DTemperatureMasterBafflePatches"
|
#include "<case>/0/include/3DBaffle/3DTemperatureMasterBafflePatches"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -30,9 +30,9 @@ inertSpecie N2;
|
|||||||
|
|
||||||
chemistryReader foamChemistryReader;
|
chemistryReader foamChemistryReader;
|
||||||
|
|
||||||
foamChemistryFile "$FOAM_CASE/constant/gas/reactions";
|
foamChemistryFile "<constant>/gas/reactions";
|
||||||
|
|
||||||
foamChemistryThermoFile "$FOAM_CASE/constant/gas/thermo.compressibleGas";
|
foamChemistryThermoFile "<constant>/gas/thermo.compressibleGas";
|
||||||
|
|
||||||
|
|
||||||
// ************************************************************************* //
|
// ************************************************************************* //
|
||||||
|
@ -31,7 +31,7 @@ sourcePatches (movingWall);
|
|||||||
exposedPatchName movingWall;
|
exposedPatchName movingWall;
|
||||||
|
|
||||||
// If construct from surface:
|
// If construct from surface:
|
||||||
surface "constant/triSurface/cylinder.vtk";
|
surface "<constant>/triSurface/cylinder.vtk";
|
||||||
|
|
||||||
// Flip surface normals before usage. Valid only for extrude from surface or
|
// Flip surface normals before usage. Valid only for extrude from surface or
|
||||||
// patch.
|
// patch.
|
||||||
|
@ -58,7 +58,7 @@ initialPoints
|
|||||||
|
|
||||||
pointFileCoeffs
|
pointFileCoeffs
|
||||||
{
|
{
|
||||||
pointFile "constant/internalDelaunayVertices";
|
pointFile "<constant>/internalDelaunayVertices";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -23,7 +23,7 @@ actions
|
|||||||
source surfaceToCell;
|
source surfaceToCell;
|
||||||
sourceInfo
|
sourceInfo
|
||||||
{
|
{
|
||||||
file "constant/triSurface/flange.obj";
|
file "<constant>/triSurface/flange.obj";
|
||||||
outsidePoints ((-0.026 -0.0275 -0.0235));
|
outsidePoints ((-0.026 -0.0275 -0.0235));
|
||||||
includeCut true;
|
includeCut true;
|
||||||
includeInside true;
|
includeInside true;
|
||||||
|
@ -15,7 +15,7 @@ FoamFile
|
|||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
constructFrom patch;
|
constructFrom patch;
|
||||||
sourceCase "$FOAM_CASE";
|
sourceCase "<case>";
|
||||||
|
|
||||||
sourcePatches (front);
|
sourcePatches (front);
|
||||||
exposedPatchName back;
|
exposedPatchName back;
|
||||||
|
@ -15,7 +15,7 @@ FoamFile
|
|||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
constructFrom patch;
|
constructFrom patch;
|
||||||
sourceCase "$FOAM_CASE";
|
sourceCase "<case>";
|
||||||
|
|
||||||
sourcePatches (front);
|
sourcePatches (front);
|
||||||
exposedPatchName back;
|
exposedPatchName back;
|
||||||
|
@ -60,7 +60,7 @@ functions
|
|||||||
libs (utilityFunctionObjects);
|
libs (utilityFunctionObjects);
|
||||||
enabled yes;
|
enabled yes;
|
||||||
deltaT tableFile;
|
deltaT tableFile;
|
||||||
file "system/deltaTvalues";
|
file "<system>/deltaTvalues";
|
||||||
}
|
}
|
||||||
|
|
||||||
minMaxp
|
minMaxp
|
||||||
|
Loading…
Reference in New Issue
Block a user