25 lines
818 B
C++
25 lines
818 B
C++
/*--------------------------------*- C++ -*----------------------------------*\
|
|
========= |
|
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
|
\\ / O peration | Website: https://openfoam.org
|
|
\\ / A nd |
|
|
\\/ M anipulation |
|
|
-------------------------------------------------------------------------------
|
|
Description
|
|
Multiplies a field by a scale factor
|
|
|
|
\*---------------------------------------------------------------------------*/
|
|
|
|
type scale;
|
|
libs ("libfieldFunctionObjects.so");
|
|
|
|
field <fieldName>;
|
|
result <outputFieldName>; // optional
|
|
scale 1;
|
|
|
|
executeControl writeTime;
|
|
writeControl writeTime;
|
|
|
|
|
|
// ************************************************************************* //
|