mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
ENH: additional text expansion shortcuts (issue #792)
Support the following expansions when they occur at the start of a
string:
Short-form Equivalent
========= ===========
<etc>/ ~OpenFOAM/ (as per foamEtcFile)
<case>/ $FOAM_CASE/
<constant>/ $FOAM_CASE/constant/
<system>/ $FOAM_CASE/system/
These can be used in fileName expansions to improve clarity and reduce
some typing
"<constant>/reactions" vs "$FOAM_CASE/constant/reactions"
This commit is contained in:
@ -118,10 +118,10 @@ sigmaRadialCoeffs
|
||||
offsetSurfaceCoeffs
|
||||
{
|
||||
// Surface that mesh has been meshed to
|
||||
baseSurface "$FOAM_CASE/constant/triSurface/DTC-scaled-inflated.obj";
|
||||
baseSurface "<constant>/triSurface/DTC-scaled-inflated.obj";
|
||||
|
||||
// Surface to fill in to
|
||||
offsetSurface "$FOAM_CASE/constant/triSurface/DTC-scaled.obj";
|
||||
offsetSurface "<constant>/triSurface/DTC-scaled.obj";
|
||||
}
|
||||
|
||||
|
||||
|
||||
@ -27,7 +27,7 @@ thermoType
|
||||
}
|
||||
|
||||
chemistryReader foamChemistryReader;
|
||||
foamChemistryFile "$FOAM_CASE/constant/reactions";
|
||||
foamChemistryThermoFile "$FOAM_CASE/constant/thermo";
|
||||
foamChemistryFile "<constant>/reactions";
|
||||
foamChemistryThermoFile "<constant>/thermo";
|
||||
|
||||
// ************************************************************************* //
|
||||
|
||||
@ -26,8 +26,8 @@ thermoType
|
||||
specie specie;
|
||||
}
|
||||
|
||||
CHEMKINFile "$FOAM_CASE/chemkin/chem.inp";
|
||||
CHEMKINThermoFile "$FOAM_CASE/chemkin/therm.dat";
|
||||
CHEMKINTransportFile "$FOAM_CASE/chemkin/transportProperties";
|
||||
CHEMKINFile "<case>/chemkin/chem.inp";
|
||||
CHEMKINThermoFile "<case>/chemkin/therm.dat";
|
||||
CHEMKINTransportFile "<case>/chemkin/transportProperties";
|
||||
|
||||
// ************************************************************************* //
|
||||
|
||||
@ -26,8 +26,8 @@ thermoType
|
||||
specie specie;
|
||||
}
|
||||
|
||||
CHEMKINFile "$FOAM_CASE/chemkin/chem.inp";
|
||||
CHEMKINThermoFile "$FOAM_CASE/chemkin/therm.dat";
|
||||
CHEMKINTransportFile "$FOAM_CASE/chemkin/transportProperties";
|
||||
CHEMKINFile "<case>/chemkin/chem.inp";
|
||||
CHEMKINThermoFile "<case>/chemkin/therm.dat";
|
||||
CHEMKINTransportFile "<case>/chemkin/transportProperties";
|
||||
|
||||
// ************************************************************************* //
|
||||
|
||||
@ -26,8 +26,8 @@ thermoType
|
||||
specie specie;
|
||||
}
|
||||
|
||||
CHEMKINFile "$FOAM_CASE/chemkin/chem.inp";
|
||||
CHEMKINThermoFile "$FOAM_CASE/chemkin/therm.dat";
|
||||
CHEMKINTransportFile "$FOAM_CASE/chemkin/transportProperties";
|
||||
CHEMKINFile "<case>/chemkin/chem.inp";
|
||||
CHEMKINThermoFile "<case>/chemkin/therm.dat";
|
||||
CHEMKINTransportFile "<case>/chemkin/transportProperties";
|
||||
|
||||
// ************************************************************************* //
|
||||
|
||||
@ -26,8 +26,8 @@ thermoType
|
||||
specie specie;
|
||||
}
|
||||
|
||||
CHEMKINFile "$FOAM_CASE/chemkin/chem.inp";
|
||||
CHEMKINThermoFile "$FOAM_CASE/chemkin/therm.dat";
|
||||
CHEMKINTransportFile "$FOAM_CASE/chemkin/transportProperties";
|
||||
CHEMKINFile "<case>/chemkin/chem.inp";
|
||||
CHEMKINThermoFile "<case>/chemkin/therm.dat";
|
||||
CHEMKINTransportFile "<case>/chemkin/transportProperties";
|
||||
|
||||
// ************************************************************************* //
|
||||
|
||||
@ -27,7 +27,7 @@ boundaryField
|
||||
massFlowRate tableFile;
|
||||
massFlowRateCoeffs
|
||||
{
|
||||
file "$FOAM_CASE/constant/massLossRate";
|
||||
file "<constant>/massLossRate";
|
||||
}
|
||||
value uniform (0 0 0);
|
||||
}
|
||||
|
||||
@ -33,9 +33,9 @@ fuel C7H16;
|
||||
|
||||
chemistryReader foamChemistryReader;
|
||||
|
||||
foamChemistryFile "$FOAM_CASE/constant/reactions";
|
||||
foamChemistryFile "<constant>/reactions";
|
||||
|
||||
foamChemistryThermoFile "$FOAM_CASE/constant/thermo.compressibleGas";
|
||||
foamChemistryThermoFile "<constant>/thermo.compressibleGas";
|
||||
|
||||
dpdt no;
|
||||
|
||||
|
||||
@ -28,9 +28,9 @@ thermoType
|
||||
|
||||
chemistryReader foamChemistryReader;
|
||||
|
||||
foamChemistryFile "$FOAM_CASE/constant/pyrolysisRegion/reactions";
|
||||
foamChemistryFile "<constant>/pyrolysisRegion/reactions";
|
||||
|
||||
foamChemistryThermoFile "$FOAM_CASE/constant/pyrolysisRegion/thermo.solid";
|
||||
foamChemistryThermoFile "<constant>/pyrolysisRegion/thermo.solid";
|
||||
|
||||
gasThermoType
|
||||
{
|
||||
|
||||
@ -32,9 +32,9 @@ fuel C3H8;
|
||||
|
||||
chemistryReader foamChemistryReader;
|
||||
|
||||
foamChemistryFile "$FOAM_CASE/constant/reactions";
|
||||
foamChemistryFile "<constant>/reactions";
|
||||
|
||||
foamChemistryThermoFile "$FOAM_CASE/constant/thermo.compressibleGas";
|
||||
foamChemistryThermoFile "<constant>/thermo.compressibleGas";
|
||||
|
||||
liquids
|
||||
{
|
||||
|
||||
@ -28,9 +28,9 @@ thermoType
|
||||
|
||||
chemistryReader foamChemistryReader;
|
||||
|
||||
foamChemistryFile "$FOAM_CASE/constant/panelRegion/reactions";
|
||||
foamChemistryFile "<constant>/panelRegion/reactions";
|
||||
|
||||
foamChemistryThermoFile "$FOAM_CASE/constant/panelRegion/thermo.solid";
|
||||
foamChemistryThermoFile "<constant>/panelRegion/thermo.solid";
|
||||
|
||||
gasThermoType
|
||||
{
|
||||
|
||||
@ -32,9 +32,9 @@ fuel C3H8;
|
||||
|
||||
chemistryReader foamChemistryReader;
|
||||
|
||||
foamChemistryFile "$FOAM_CASE/constant/reactions";
|
||||
foamChemistryFile "<constant>/reactions";
|
||||
|
||||
foamChemistryThermoFile "$FOAM_CASE/constant/thermo.compressibleGas";
|
||||
foamChemistryThermoFile "<constant>/thermo.compressibleGas";
|
||||
|
||||
|
||||
// ************************************************************************* //
|
||||
|
||||
@ -28,9 +28,9 @@ thermoType
|
||||
|
||||
chemistryReader foamChemistryReader;
|
||||
|
||||
foamChemistryFile "$FOAM_CASE/constant/panelRegion/reactions";
|
||||
foamChemistryFile "<constant>/panelRegion/reactions";
|
||||
|
||||
foamChemistryThermoFile "$FOAM_CASE/constant/panelRegion/thermo.solid";
|
||||
foamChemistryThermoFile "<constant>/panelRegion/thermo.solid";
|
||||
|
||||
gasThermoType
|
||||
{
|
||||
|
||||
@ -33,8 +33,8 @@ fuel CH4;
|
||||
|
||||
chemistryReader foamChemistryReader;
|
||||
|
||||
foamChemistryFile "$FOAM_CASE/constant/reactions";
|
||||
foamChemistryFile "<constant>/reactions";
|
||||
|
||||
foamChemistryThermoFile "$FOAM_CASE/constant/thermo.compressibleGas";
|
||||
foamChemistryThermoFile "<constant>/thermo.compressibleGas";
|
||||
|
||||
// ************************************************************************* //
|
||||
|
||||
@ -32,9 +32,9 @@ fuel CH4;
|
||||
|
||||
chemistryReader foamChemistryReader;
|
||||
|
||||
foamChemistryFile "$FOAM_CASE/constant/reactions";
|
||||
foamChemistryFile "<constant>/reactions";
|
||||
|
||||
foamChemistryThermoFile "$FOAM_CASE/constant/thermo.compressibleGas";
|
||||
foamChemistryThermoFile "<constant>/thermo.compressibleGas";
|
||||
|
||||
|
||||
// ************************************************************************* //
|
||||
|
||||
@ -32,9 +32,9 @@ fuel CH4;
|
||||
|
||||
chemistryReader foamChemistryReader;
|
||||
|
||||
foamChemistryFile "$FOAM_CASE/constant/reactions";
|
||||
foamChemistryFile "<constant>/reactions";
|
||||
|
||||
foamChemistryThermoFile "$FOAM_CASE/constant/thermo.compressibleGas";
|
||||
foamChemistryThermoFile "<constant>/thermo.compressibleGas";
|
||||
|
||||
|
||||
// ************************************************************************* //
|
||||
|
||||
@ -32,9 +32,9 @@ fuel CH4;
|
||||
|
||||
chemistryReader foamChemistryReader;
|
||||
|
||||
foamChemistryFile "$FOAM_CASE/constant/reactions";
|
||||
foamChemistryFile "<constant>/reactions";
|
||||
|
||||
foamChemistryThermoFile "$FOAM_CASE/constant/thermo.compressibleGas";
|
||||
foamChemistryThermoFile "<constant>/thermo.compressibleGas";
|
||||
|
||||
|
||||
// ************************************************************************* //
|
||||
|
||||
@ -30,7 +30,7 @@ thermoType
|
||||
inertSpecie N2;
|
||||
|
||||
chemistryReader foamChemistryReader;
|
||||
foamChemistryFile "$FOAM_CASE/constant/reactionsGRI";
|
||||
foamChemistryThermoFile "$FOAM_CASE/constant/thermo.compressibleGasGRI";
|
||||
foamChemistryFile "<constant>/reactionsGRI";
|
||||
foamChemistryThermoFile "<constant>/thermo.compressibleGasGRI";
|
||||
|
||||
// ************************************************************************* //
|
||||
|
||||
@ -29,7 +29,7 @@ thermoType
|
||||
inertSpecie N2;
|
||||
|
||||
chemistryReader foamChemistryReader;
|
||||
foamChemistryFile "$FOAM_CASE/constant/reactionsGRI";
|
||||
foamChemistryThermoFile "$FOAM_CASE/constant/thermo.compressibleGasGRI";
|
||||
foamChemistryFile "<constant>/reactionsGRI";
|
||||
foamChemistryThermoFile "<constant>/thermo.compressibleGasGRI";
|
||||
|
||||
// ************************************************************************* //
|
||||
|
||||
@ -31,7 +31,7 @@ boundaryField
|
||||
componentColumns ( 2 );
|
||||
separator ",";
|
||||
mergeSeparators no;
|
||||
file "$FOAM_CASE/constant/inlet.csv";
|
||||
file "<constant>/inlet.csv";
|
||||
}
|
||||
}
|
||||
outlet
|
||||
|
||||
@ -30,7 +30,7 @@ boundaryField
|
||||
componentColumns ( 1 );
|
||||
separator ",";
|
||||
mergeSeparators no;
|
||||
file "$FOAM_CASE/constant/inlet.csv";
|
||||
file "<constant>/inlet.csv";
|
||||
|
||||
|
||||
}
|
||||
|
||||
@ -30,8 +30,8 @@ thermoType
|
||||
inertSpecie N2;
|
||||
|
||||
chemistryReader foamChemistryReader;
|
||||
foamChemistryFile "$FOAM_CASE/constant/reactionsGRI";
|
||||
foamChemistryThermoFile "$FOAM_CASE/constant/thermo.compressibleGasGRI";
|
||||
foamChemistryFile "<constant>/reactionsGRI";
|
||||
foamChemistryThermoFile "<constant>/thermo.compressibleGasGRI";
|
||||
|
||||
dpdt false;
|
||||
|
||||
|
||||
@ -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";
|
||||
|
||||
|
||||
// ************************************************************************* //
|
||||
|
||||
@ -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";
|
||||
|
||||
|
||||
// ************************************************************************* //
|
||||
|
||||
@ -29,8 +29,8 @@ thermoType
|
||||
inertSpecie N2;
|
||||
|
||||
chemistryReader foamChemistryReader;
|
||||
foamChemistryFile "$FOAM_CASE/constant/reactionsGRI";
|
||||
foamChemistryThermoFile "$FOAM_CASE/constant/thermo.compressibleGasGRI";
|
||||
foamChemistryFile "<constant>/reactionsGRI";
|
||||
foamChemistryThermoFile "<constant>/thermo.compressibleGasGRI";
|
||||
|
||||
|
||||
// ************************************************************************* //
|
||||
|
||||
@ -29,8 +29,8 @@ thermoType
|
||||
inertSpecie N2;
|
||||
|
||||
chemistryReader foamChemistryReader;
|
||||
foamChemistryFile "$FOAM_CASE/constant/reactionsGRI";
|
||||
foamChemistryThermoFile "$FOAM_CASE/constant/thermo.compressibleGasGRI";
|
||||
foamChemistryFile "<constant>/reactionsGRI";
|
||||
foamChemistryThermoFile "<constant>/thermo.compressibleGasGRI";
|
||||
|
||||
|
||||
// ************************************************************************* //
|
||||
|
||||
@ -29,8 +29,8 @@ thermoType
|
||||
inertSpecie N2;
|
||||
|
||||
chemistryReader foamChemistryReader;
|
||||
foamChemistryFile "$FOAM_CASE/constant/reactionsGRI";
|
||||
foamChemistryThermoFile "$FOAM_CASE/constant/thermo.compressibleGasGRI";
|
||||
foamChemistryFile "<constant>/reactionsGRI";
|
||||
foamChemistryThermoFile "<constant>/thermo.compressibleGasGRI";
|
||||
|
||||
|
||||
// ************************************************************************* //
|
||||
|
||||
@ -91,10 +91,10 @@ sigmaRadialCoeffs
|
||||
offsetSurfaceCoeffs
|
||||
{
|
||||
// Surface that mesh has been meshed to
|
||||
baseSurface "$FOAM_CASE/constant/triSurface/DTC-scaled-inflated.obj";
|
||||
baseSurface "<constant>/triSurface/DTC-scaled-inflated.obj";
|
||||
|
||||
// Surface to fill in to
|
||||
offsetSurface "$FOAM_CASE/constant/triSurface/DTC-scaled.obj";
|
||||
offsetSurface "<constant>/triSurface/DTC-scaled.obj";
|
||||
}
|
||||
|
||||
|
||||
|
||||
@ -14,7 +14,7 @@ FoamFile
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
#include "${FOAM_CASE}/constant/caseSettings"
|
||||
#include "<constant>/caseSettings"
|
||||
|
||||
dimensions [0 0 0 1 0 0 0];
|
||||
|
||||
|
||||
@ -15,7 +15,7 @@ FoamFile
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
#include "${FOAM_CASE}/constant/caseSettings"
|
||||
#include "<constant>/caseSettings"
|
||||
|
||||
dimensions [0 1 -1 0 0 0 0];
|
||||
|
||||
|
||||
@ -15,7 +15,7 @@ FoamFile
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
#include "${FOAM_CASE}/constant/caseSettings"
|
||||
#include "<constant>/caseSettings"
|
||||
|
||||
dimensions [1 -1 -1 0 0 0 0];
|
||||
|
||||
|
||||
@ -15,7 +15,7 @@ FoamFile
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
#include "${FOAM_CASE}/constant/caseSettings"
|
||||
#include "<constant>/caseSettings"
|
||||
|
||||
dimensions [0 2 -3 0 0 0 0];
|
||||
|
||||
|
||||
@ -15,7 +15,7 @@ FoamFile
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
#include "${FOAM_CASE}/constant/caseSettings"
|
||||
#include "<constant>/caseSettings"
|
||||
|
||||
dimensions [0 2 -2 0 0 0 0];
|
||||
|
||||
|
||||
@ -15,7 +15,7 @@ FoamFile
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
#include "${FOAM_CASE}/constant/caseSettings"
|
||||
#include "<constant>/caseSettings"
|
||||
|
||||
dimensions [0 2 -1 0 0 0 0];
|
||||
|
||||
|
||||
@ -15,7 +15,7 @@ FoamFile
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
#include "${FOAM_CASE}/constant/caseSettings"
|
||||
#include "<constant>/caseSettings"
|
||||
|
||||
dimensions [1 -1 -2 0 0 0 0];
|
||||
|
||||
|
||||
@ -36,6 +36,6 @@ meshMotionProperties
|
||||
omega 25; // rad/s
|
||||
}
|
||||
|
||||
#include "${FOAM_CASE}/constant/boundaryConditions"
|
||||
#include "<constant>/boundaryConditions"
|
||||
|
||||
// ************************************************************************* //
|
||||
|
||||
@ -15,7 +15,7 @@ FoamFile
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
#include "${FOAM_CASE}/constant/caseSettings"
|
||||
#include "<constant>/caseSettings"
|
||||
|
||||
dynamicFvMesh dynamicMotionSolverFvMesh;
|
||||
|
||||
|
||||
@ -4,7 +4,7 @@ ABORT
|
||||
{
|
||||
type abort;
|
||||
libs ("libutilityFunctionObjects.so");
|
||||
//file "$FOAM_CASE/ABORT"; // default name
|
||||
//file "<case>/ABORT"; // default name
|
||||
// action writeNow;
|
||||
action nextWrite;
|
||||
}
|
||||
|
||||
@ -1,22 +1,18 @@
|
||||
// -*- C++ -*-
|
||||
|
||||
// control for external coupled simulation
|
||||
// Control for external coupled simulation
|
||||
externalCoupled
|
||||
{
|
||||
// Where to load it from (if not already in solver)
|
||||
libs ("libfieldFunctionObjects.so");
|
||||
|
||||
type externalCoupled;
|
||||
type externalCoupled;
|
||||
libs ("libfieldFunctionObjects.so");
|
||||
log true;
|
||||
|
||||
// Directory to use for communication
|
||||
commsDir "${FOAM_CASE}/comms";
|
||||
commsDir "<case>/comms";
|
||||
|
||||
// Does external process start first
|
||||
initByExternal true;
|
||||
|
||||
// Additional output
|
||||
log true;
|
||||
|
||||
regions
|
||||
{
|
||||
// Region name (wildcards allowed)
|
||||
|
||||
@ -73,14 +73,14 @@ functions
|
||||
writeControl timeStep;
|
||||
writeInterval 1;
|
||||
region cabin;
|
||||
fileToUpdate "$FOAM_CASE/system/solverControls";
|
||||
fileToUpdate "<system>/solverControls";
|
||||
|
||||
timeVsFile
|
||||
(
|
||||
( 1 "$FOAM_CASE/system/solverControls.0" )
|
||||
( 5 "$FOAM_CASE/system/solverControls.5")
|
||||
( 20 "$FOAM_CASE/system/solverControls.20")
|
||||
( 60 "$FOAM_CASE/system/solverControls.60")
|
||||
( 1 "<system>/solverControls.0" )
|
||||
( 5 "<system>/solverControls.5" )
|
||||
( 20 "<system>/solverControls.20")
|
||||
( 60 "<system>/solverControls.60")
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
@ -1,14 +1,14 @@
|
||||
// -*- C++ -*-
|
||||
|
||||
// control for external coupled simulation
|
||||
// Control for external coupled simulation
|
||||
externalCoupled
|
||||
{
|
||||
libs ("libfieldFunctionObjects.so");
|
||||
|
||||
type externalCoupled;
|
||||
libs ("libfieldFunctionObjects.so");
|
||||
log true;
|
||||
|
||||
// Directory to use for communication
|
||||
commsDir "${FOAM_CASE}/comms";
|
||||
commsDir "<case>/comms";
|
||||
|
||||
// Does external process start first
|
||||
initByExternal true;
|
||||
@ -16,9 +16,6 @@ externalCoupled
|
||||
// Frequency of coupling
|
||||
calcFrequency 4;
|
||||
|
||||
// Additional output
|
||||
log true;
|
||||
|
||||
regions
|
||||
{
|
||||
// Region name (wildcards allowed)
|
||||
|
||||
@ -69,7 +69,7 @@ communication
|
||||
inputFormat dictionary;
|
||||
outputFormat dictionary;
|
||||
|
||||
debugTable "$FOAM_CASE/output.txt";
|
||||
debugTable "<case>/output.txt";
|
||||
}
|
||||
|
||||
// ************************************************************************* //
|
||||
|
||||
@ -118,10 +118,10 @@ sigmaRadialCoeffs
|
||||
offsetSurfaceCoeffs
|
||||
{
|
||||
// Surface that mesh has been meshed to
|
||||
baseSurface "$FOAM_CASE/constant/triSurface/DTC-scaled-inflated.obj";
|
||||
baseSurface "<constant>/triSurface/DTC-scaled-inflated.obj";
|
||||
|
||||
// Surface to fill in to
|
||||
offsetSurface "$FOAM_CASE/constant/triSurface/DTC-scaled.obj";
|
||||
offsetSurface "<constant>/triSurface/DTC-scaled.obj";
|
||||
}
|
||||
|
||||
|
||||
|
||||
@ -28,7 +28,7 @@ boundaryField
|
||||
direction in;
|
||||
readerType openFoam;
|
||||
hasHeaderLine true;
|
||||
file "$FOAM_CASE/constant/FluxVsdP.dat";
|
||||
file "<constant>/FluxVsdP.dat";
|
||||
//nonDimensional true;
|
||||
//rpm 300;
|
||||
//dm 2e-2;
|
||||
|
||||
@ -73,7 +73,7 @@ postPro1
|
||||
surface1
|
||||
{
|
||||
type geometry;
|
||||
files ("$FOAM_CASE/constant/triSurface/motorBike.obj.gz");
|
||||
files ("<constant>/triSurface/motorBike.obj.gz");
|
||||
renderMode phong;
|
||||
representation surface;
|
||||
edgeColour (0 0 0);
|
||||
|
||||
@ -28,9 +28,9 @@ thermoType
|
||||
|
||||
chemistryReader foamChemistryReader;
|
||||
|
||||
foamChemistryThermoFile "$FOAM_CASE/constant/foam.dat";
|
||||
foamChemistryThermoFile "<constant>/foam.dat";
|
||||
|
||||
foamChemistryFile "$FOAM_CASE/constant/foam.inp";
|
||||
foamChemistryFile "<constant>/foam.inp";
|
||||
|
||||
inertSpecie N2;
|
||||
|
||||
|
||||
@ -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";
|
||||
|
||||
|
||||
// ************************************************************************* //
|
||||
|
||||
@ -28,9 +28,9 @@ thermoType
|
||||
|
||||
chemistryReader foamChemistryReader;
|
||||
|
||||
foamChemistryFile "$FOAM_CASE/constant/foam.inp";
|
||||
foamChemistryFile "<constant>/foam.inp";
|
||||
|
||||
foamChemistryThermoFile "$FOAM_CASE/constant/foam.dat";
|
||||
foamChemistryThermoFile "<constant>/foam.dat";
|
||||
|
||||
inertSpecie N2;
|
||||
|
||||
|
||||
@ -30,9 +30,9 @@ dpdt no;
|
||||
|
||||
chemistryReader foamChemistryReader;
|
||||
|
||||
foamChemistryFile "$FOAM_CASE/constant/reactions";
|
||||
foamChemistryFile "<constant>/reactions";
|
||||
|
||||
foamChemistryThermoFile "$FOAM_CASE/constant/thermo.incompressiblePoly";
|
||||
foamChemistryThermoFile "<constant>/thermo.incompressiblePoly";
|
||||
|
||||
liquids
|
||||
{
|
||||
|
||||
@ -28,9 +28,9 @@ thermoType
|
||||
|
||||
chemistryReader foamChemistryReader;
|
||||
|
||||
foamChemistryFile "$FOAM_CASE/constant/foam.inp";
|
||||
foamChemistryFile "<constant>/foam.inp";
|
||||
|
||||
foamChemistryThermoFile "$FOAM_CASE/constant/foam.dat";
|
||||
foamChemistryThermoFile "<constant>/foam.dat";
|
||||
|
||||
inertSpecie N2;
|
||||
|
||||
|
||||
@ -30,9 +30,9 @@ dpdt no;
|
||||
|
||||
chemistryReader foamChemistryReader;
|
||||
|
||||
foamChemistryFile "$FOAM_CASE/constant/reactions";
|
||||
foamChemistryFile "<constant>/reactions";
|
||||
|
||||
foamChemistryThermoFile "$FOAM_CASE/constant/thermo.incompressiblePoly";
|
||||
foamChemistryThermoFile "<constant>/thermo.incompressiblePoly";
|
||||
|
||||
inertSpecie air;
|
||||
|
||||
|
||||
@ -28,9 +28,9 @@ thermoType
|
||||
|
||||
chemistryReader foamChemistryReader;
|
||||
|
||||
foamChemistryFile "$FOAM_CASE/constant/foam.inp";
|
||||
foamChemistryFile "<constant>/foam.inp";
|
||||
|
||||
foamChemistryThermoFile "$FOAM_CASE/constant/foam.dat";
|
||||
foamChemistryThermoFile "<constant>/foam.dat";
|
||||
|
||||
inertSpecie N2;
|
||||
|
||||
|
||||
@ -28,9 +28,9 @@ thermoType
|
||||
|
||||
chemistryReader foamChemistryReader;
|
||||
|
||||
foamChemistryFile "$FOAM_CASE/constant/foam.inp";
|
||||
foamChemistryFile "<constant>/foam.inp";
|
||||
|
||||
foamChemistryThermoFile "$FOAM_CASE/constant/foam.dat";
|
||||
foamChemistryThermoFile "<constant>/foam.dat";
|
||||
|
||||
inertSpecie N2;
|
||||
|
||||
|
||||
@ -30,9 +30,9 @@ dpdt no;
|
||||
|
||||
chemistryReader foamChemistryReader;
|
||||
|
||||
foamChemistryFile "$FOAM_CASE/constant/reactions";
|
||||
foamChemistryFile "<constant>/reactions";
|
||||
|
||||
foamChemistryThermoFile "$FOAM_CASE/constant/thermo.incompressiblePoly";
|
||||
foamChemistryThermoFile "<constant>/thermo.incompressiblePoly";
|
||||
|
||||
inertSpecie air;
|
||||
|
||||
|
||||
@ -28,9 +28,9 @@ thermoType
|
||||
|
||||
chemistryReader foamChemistryReader;
|
||||
|
||||
foamChemistryFile "$FOAM_CASE/constant/reactions";
|
||||
foamChemistryFile "<constant>/reactions";
|
||||
|
||||
foamChemistryThermoFile "$FOAM_CASE/constant/thermo.incompressiblePoly";
|
||||
foamChemistryThermoFile "<constant>/thermo.incompressiblePoly";
|
||||
|
||||
inertSpecie air;
|
||||
|
||||
|
||||
@ -28,9 +28,9 @@ thermoType
|
||||
|
||||
chemistryReader foamChemistryReader;
|
||||
|
||||
foamChemistryFile "$FOAM_CASE/constant/reactions";
|
||||
foamChemistryFile "<constant>/reactions";
|
||||
|
||||
foamChemistryThermoFile "$FOAM_CASE/constant/thermo.incompressiblePoly";
|
||||
foamChemistryThermoFile "<constant>/thermo.incompressiblePoly";
|
||||
|
||||
inertSpecie air;
|
||||
|
||||
|
||||
@ -26,9 +26,9 @@ thermoType
|
||||
specie specie;
|
||||
}
|
||||
|
||||
CHEMKINFile "$FOAM_CASE/chemkin/chem.inp";
|
||||
CHEMKINThermoFile "$FOAM_CASE/chemkin/therm.dat";
|
||||
CHEMKINTransportFile "$FOAM_CASE/chemkin/transportProperties";
|
||||
CHEMKINFile "<case>/chemkin/chem.inp";
|
||||
CHEMKINThermoFile "<case>/chemkin/therm.dat";
|
||||
CHEMKINTransportFile "<case>/chemkin/transportProperties";
|
||||
|
||||
newFormat yes;
|
||||
|
||||
|
||||
@ -30,9 +30,9 @@ dpdt no;
|
||||
|
||||
chemistryReader foamChemistryReader;
|
||||
|
||||
foamChemistryFile "$FOAM_CASE/constant/reactions";
|
||||
foamChemistryFile "<constant>/reactions";
|
||||
|
||||
foamChemistryThermoFile "$FOAM_CASE/constant/thermo.incompressiblePoly";
|
||||
foamChemistryThermoFile "<constant>/thermo.incompressiblePoly";
|
||||
|
||||
liquids
|
||||
{
|
||||
|
||||
@ -15,8 +15,8 @@ FoamFile
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
#include "$FOAM_CASE/constant/dynamicMeshDict"
|
||||
#include "$FOAM_CASE/system/blockMeshDict"
|
||||
#include "<constant>/dynamicMeshDict"
|
||||
#include "<system>/blockMeshDict"
|
||||
|
||||
dimensions [0 1 0 0 0 0 0];
|
||||
|
||||
|
||||
@ -20,7 +20,7 @@ FoamFile
|
||||
pointSync false;
|
||||
|
||||
// Patches to create. An empty patch list just removes patches with zero
|
||||
// faces from $FOAM_CASE/constant/polyMesh/boundary.
|
||||
// faces from <constant>/polyMesh/boundary.
|
||||
patches
|
||||
(
|
||||
);
|
||||
|
||||
@ -22,7 +22,7 @@ motionSolver solidBody;
|
||||
solidBodyMotionFunction tabulated6DoFMotion;
|
||||
|
||||
CofG (0 0 0);
|
||||
timeDataFileName "$FOAM_CASE/constant/6DoF.dat";
|
||||
timeDataFileName "<constant>/6DoF.dat";
|
||||
|
||||
|
||||
// ************************************************************************* //
|
||||
|
||||
@ -30,9 +30,9 @@ inertSpecie AIR;
|
||||
|
||||
chemistryReader foamChemistryReader;
|
||||
|
||||
foamChemistryFile "$FOAM_CASE/constant/reactions.gas";
|
||||
foamChemistryFile "<constant>/reactions.gas";
|
||||
|
||||
foamChemistryThermoFile "$FOAM_CASE/constant/thermo.gas";
|
||||
foamChemistryThermoFile "<constant>/thermo.gas";
|
||||
|
||||
|
||||
// ************************************************************************* //
|
||||
|
||||
@ -37,7 +37,7 @@ inertSpecie water;
|
||||
|
||||
chemistryReader foamChemistryReader;
|
||||
|
||||
foamChemistryFile "$FOAM_CASE/constant/reactions.gas";
|
||||
foamChemistryFile "<constant>/reactions.gas";
|
||||
|
||||
water
|
||||
{
|
||||
|
||||
@ -37,7 +37,7 @@ inertSpecie water;
|
||||
|
||||
chemistryReader foamChemistryReader;
|
||||
|
||||
foamChemistryFile "$FOAM_CASE/constant/reactions.gas";
|
||||
foamChemistryFile "<constant>/reactions.gas";
|
||||
|
||||
water
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user