mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
TUT: update tutorials to use dictionary-style sets
- can now specify sampled sets as dictionary entries instead of a list
entry.
can now use: sets { ... }
instead of: sets ( ... );
This is similar to sampled surfaces and makes it easier to
manage with dictionary manipulation tools.
TUT: update to use writeTime instead of outputTime
This commit is contained in:
@ -1,7 +1,7 @@
|
||||
/*--------------------------------*- C++ -*----------------------------------*\
|
||||
| ========= | |
|
||||
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
||||
| \\ / O peration | Version: v2112 |
|
||||
| \\ / O peration | Version: v2206 |
|
||||
| \\ / A nd | Website: www.openfoam.com |
|
||||
| \\/ M anipulation | |
|
||||
\*---------------------------------------------------------------------------*/
|
||||
@ -77,8 +77,11 @@ functions
|
||||
interpolationScheme cell;
|
||||
setFormat vtk;
|
||||
|
||||
// Needs at least one field
|
||||
fields ( processorID );
|
||||
|
||||
sets
|
||||
(
|
||||
{
|
||||
leakFind
|
||||
{
|
||||
type shortestPath;
|
||||
@ -86,10 +89,7 @@ functions
|
||||
outsidePoints ((1 0 1.3));
|
||||
axis xyz;
|
||||
}
|
||||
);
|
||||
|
||||
// Needs at least one field
|
||||
fields ( processorID );
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user