mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
- TUT: mesh: add missing SnakeRiverCanyon files - TUT: mesh: add missing cp source in a foamyHexMesh tutorial
31 lines
547 B
C++
31 lines
547 B
C++
// -*- C++ -*-
|
|
// An example of using systemCall
|
|
system
|
|
{
|
|
type systemCall;
|
|
libs (utilityFunctionObjects);
|
|
|
|
// Execute on the master process only
|
|
master true;
|
|
|
|
executeCalls
|
|
(
|
|
"echo execute: shell $$"
|
|
);
|
|
|
|
writeCalls
|
|
(
|
|
"echo \*\*\* writing data \*\*\*"
|
|
);
|
|
|
|
endCalls
|
|
(
|
|
"echo \*\*\* end of run \*\*\*"
|
|
"grep application system/controlDict"
|
|
"echo \*\*\* done \*\*\*"
|
|
);
|
|
}
|
|
|
|
|
|
// ************************************************************************* //
|