TUT: fix use of "constant/triSurface" etc (#1887)

- use bracketed syntax (eg, "<constant>/triSurface") instead for
  implicit case resolution.
This commit is contained in:
Mark Olesen
2020-10-24 13:16:24 +02:00
parent 5579e7a62b
commit 9eb73a92e2
19 changed files with 26 additions and 26 deletions

View File

@ -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.

View File

@ -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";
// ************************************************************************* //

View File

@ -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";
// ************************************************************************* //

View File

@ -15,7 +15,7 @@ FoamFile
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
#include "../0.orig/include"
#include "<case>/0.orig/include"
defaultFieldValues
(

View File

@ -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.

View File

@ -15,7 +15,7 @@ FoamFile
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
constructFrom patch;
sourceCase "$FOAM_CASE";
sourceCase "<case>";
sourcePatches (back);
exposedPatchName front;

View File

@ -15,7 +15,7 @@ FoamFile
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
constructFrom patch;
sourceCase "$FOAM_CASE";
sourceCase "<case>";
sourcePatches (back);
exposedPatchName front;

View File

@ -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"
}
}
}

View File

@ -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";
// ************************************************************************* //

View File

@ -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.

View File

@ -58,7 +58,7 @@ initialPoints
pointFileCoeffs
{
pointFile "constant/internalDelaunayVertices";
pointFile "<constant>/internalDelaunayVertices";
}
}

View File

@ -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;

View File

@ -15,7 +15,7 @@ FoamFile
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
constructFrom patch;
sourceCase "$FOAM_CASE";
sourceCase "<case>";
sourcePatches (front);
exposedPatchName back;

View File

@ -15,7 +15,7 @@ FoamFile
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
constructFrom patch;
sourceCase "$FOAM_CASE";
sourceCase "<case>";
sourcePatches (front);
exposedPatchName back;

View File

@ -60,7 +60,7 @@ functions
libs (utilityFunctionObjects);
enabled yes;
deltaT tableFile;
file "system/deltaTvalues";
file "<system>/deltaTvalues";
}
minMaxp