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,
|
||||
decomposition
|
||||
),
|
||||
pointFileName_(detailsDict().get<fileName>("pointFile")),
|
||||
pointFileName_(detailsDict().get<fileName>("pointFile").expand()),
|
||||
insideOutsideCheck_(detailsDict().get<Switch>("insideOutsideCheck")),
|
||||
randomiseInitialGrid_(detailsDict().get<Switch>("randomiseInitialGrid")),
|
||||
randomPerturbationCoeff_
|
||||
|
@ -24,7 +24,7 @@ constructFrom patch;
|
||||
//constructFrom surface;
|
||||
|
||||
// If construct from patch/mesh:
|
||||
sourceCase "$FOAM_CASE";
|
||||
sourceCase "<case>";
|
||||
sourcePatches (movingWall);
|
||||
|
||||
// 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
|
||||
// close to the surface (minimumSurfaceDistanceCoeff) or on the
|
||||
// wrong side of the surfaces.
|
||||
pointFile "constant/internalDelaunayVertices";
|
||||
pointFile "<constant>/internalDelaunayVertices";
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -72,7 +72,7 @@ surface2.nas
|
||||
extractionMethod extractFromFile;
|
||||
|
||||
// Load from an existing feature edge file
|
||||
featureEdgeFile "constant/triSurface/featureEdges.nas";
|
||||
featureEdgeFile "<constant>/triSurface/featureEdges.nas";
|
||||
|
||||
trimFeatures
|
||||
{
|
||||
|
@ -31,7 +31,7 @@ sourcePatches (movingWall);
|
||||
exposedPatchName movingWall;
|
||||
|
||||
// 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
|
||||
// patch.
|
||||
|
@ -30,9 +30,9 @@ inertSpecie air;
|
||||
|
||||
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;
|
||||
|
||||
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
|
||||
(
|
||||
|
@ -31,7 +31,7 @@ sourcePatches (movingWall);
|
||||
exposedPatchName movingWall;
|
||||
|
||||
// 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
|
||||
// patch.
|
||||
|
@ -15,7 +15,7 @@ FoamFile
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
constructFrom patch;
|
||||
sourceCase "$FOAM_CASE";
|
||||
sourceCase "<case>";
|
||||
|
||||
sourcePatches (back);
|
||||
exposedPatchName front;
|
||||
|
@ -15,7 +15,7 @@ FoamFile
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
constructFrom patch;
|
||||
sourceCase "$FOAM_CASE";
|
||||
sourceCase "<case>";
|
||||
|
||||
sourcePatches (back);
|
||||
exposedPatchName front;
|
||||
|
@ -34,13 +34,13 @@ baffles
|
||||
type wall;
|
||||
patchFields
|
||||
{
|
||||
#include "./0/include/wallBafflePatches"
|
||||
#include "./0/include/1DBaffle/1DTemperatureMasterBafflePatches"
|
||||
#include "<case>/0/include/wallBafflePatches"
|
||||
#include "<case>/0/include/1DBaffle/1DTemperatureMasterBafflePatches"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
#include "./0/include/baffle3DSetup"
|
||||
#include "<case>/0/include/baffle3DSetup"
|
||||
|
||||
baffleFacesThermoBaffle3D
|
||||
{
|
||||
@ -57,8 +57,8 @@ baffles
|
||||
sameGroup off;
|
||||
patchFields
|
||||
{
|
||||
#include "./0/include/wallBafflePatches"
|
||||
#include "./0/include/3DBaffle/3DTemperatureMasterBafflePatches"
|
||||
#include "<case>/0/include/wallBafflePatches"
|
||||
#include "<case>/0/include/3DBaffle/3DTemperatureMasterBafflePatches"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -30,9 +30,9 @@ inertSpecie N2;
|
||||
|
||||
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;
|
||||
|
||||
// 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
|
||||
// patch.
|
||||
|
@ -58,7 +58,7 @@ initialPoints
|
||||
|
||||
pointFileCoeffs
|
||||
{
|
||||
pointFile "constant/internalDelaunayVertices";
|
||||
pointFile "<constant>/internalDelaunayVertices";
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -23,7 +23,7 @@ actions
|
||||
source surfaceToCell;
|
||||
sourceInfo
|
||||
{
|
||||
file "constant/triSurface/flange.obj";
|
||||
file "<constant>/triSurface/flange.obj";
|
||||
outsidePoints ((-0.026 -0.0275 -0.0235));
|
||||
includeCut true;
|
||||
includeInside true;
|
||||
|
@ -15,7 +15,7 @@ FoamFile
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
constructFrom patch;
|
||||
sourceCase "$FOAM_CASE";
|
||||
sourceCase "<case>";
|
||||
|
||||
sourcePatches (front);
|
||||
exposedPatchName back;
|
||||
|
@ -15,7 +15,7 @@ FoamFile
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
constructFrom patch;
|
||||
sourceCase "$FOAM_CASE";
|
||||
sourceCase "<case>";
|
||||
|
||||
sourcePatches (front);
|
||||
exposedPatchName back;
|
||||
|
@ -60,7 +60,7 @@ functions
|
||||
libs (utilityFunctionObjects);
|
||||
enabled yes;
|
||||
deltaT tableFile;
|
||||
file "system/deltaTvalues";
|
||||
file "<system>/deltaTvalues";
|
||||
}
|
||||
|
||||
minMaxp
|
||||
|
Loading…
Reference in New Issue
Block a user