ENH: support frequency or period for Sine/Square Function1 (#1917)
- For slow oscillations it can be more intuitive to specify the period. ENH: separate mark/space for Square - makes it easier to tailor the desired intervals. BUG: incorrect square wave fraction with negative phase shifts ENH: additional cosine Function1 STYLE: avoid code duplication by inheriting Cosine/Square from Sine.
Showing
- applications/test/Function1/case1/constant/function1Properties 44 additions, 0 deletions...cations/test/Function1/case1/constant/function1Properties
- applications/test/plotFunction1/Make/files 3 additions, 0 deletionsapplications/test/plotFunction1/Make/files
- applications/test/plotFunction1/Make/options 15 additions, 0 deletionsapplications/test/plotFunction1/Make/options
- applications/test/plotFunction1/Test-plotFunction1.C 105 additions, 0 deletionsapplications/test/plotFunction1/Test-plotFunction1.C
- src/OpenFOAM/primitives/functions/Function1/Cosine/Cosine.H 170 additions, 0 deletionssrc/OpenFOAM/primitives/functions/Function1/Cosine/Cosine.H
- src/OpenFOAM/primitives/functions/Function1/Sine/Sine.C 32 additions, 23 deletionssrc/OpenFOAM/primitives/functions/Function1/Sine/Sine.C
- src/OpenFOAM/primitives/functions/Function1/Sine/Sine.H 97 additions, 50 deletionssrc/OpenFOAM/primitives/functions/Function1/Sine/Sine.H
- src/OpenFOAM/primitives/functions/Function1/Sine/SineI.H 89 additions, 7 deletionssrc/OpenFOAM/primitives/functions/Function1/Sine/SineI.H
- src/OpenFOAM/primitives/functions/Function1/Square/Square.C 11 additions, 30 deletionssrc/OpenFOAM/primitives/functions/Function1/Square/Square.C
- src/OpenFOAM/primitives/functions/Function1/Square/Square.H 71 additions, 71 deletionssrc/OpenFOAM/primitives/functions/Function1/Square/Square.H
- src/OpenFOAM/primitives/functions/Function1/makeFunction1s.C 3 additions, 0 deletionssrc/OpenFOAM/primitives/functions/Function1/makeFunction1s.C
- src/meshTools/PatchFunction1/makePatchFunction1s.C 8 additions, 2 deletionssrc/meshTools/PatchFunction1/makePatchFunction1s.C
- tutorials/compressible/rhoPimpleFoam/laminar/sineWaveDamping/0/p 1 addition, 2 deletions...ls/compressible/rhoPimpleFoam/laminar/sineWaveDamping/0/p
- tutorials/multiphase/interIsoFoam/discInReversedVortexFlow/system/controlDict 2 additions, 4 deletions.../interIsoFoam/discInReversedVortexFlow/system/controlDict
- tutorials/multiphase/interIsoFoam/sphereInReversedVortexFlow/system/controlDict 4 additions, 6 deletions...nterIsoFoam/sphereInReversedVortexFlow/system/controlDict
Please register or sign in to comment