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";
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user