mirror of
https://github.com/OpenFOAM/OpenFOAM-6.git
synced 2025-12-08 06:57:46 +00:00
scale: function object to multiply a field by a scale factor
This commit is contained in:
24
etc/caseDicts/postProcessing/fields/scale
Normal file
24
etc/caseDicts/postProcessing/fields/scale
Normal file
@ -0,0 +1,24 @@
|
||||
/*--------------------------------*- C++ -*----------------------------------*\
|
||||
========= |
|
||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||
\\ / O peration |
|
||||
\\ / A nd | Web: www.OpenFOAM.org
|
||||
\\/ 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;
|
||||
|
||||
|
||||
// ************************************************************************* //
|
||||
Reference in New Issue
Block a user