oscillatingFixedValue BC replaced by uniformFixedValue with the new Function1Types::Sine
For example the sinusoidal motion of the floating object in the potentialFreeSurfaceFoam/oscillatingBox tutorial is now specified thus floatingObject { type fixedNormalInletOutletVelocity; fixTangentialInflow false; normalVelocity { type uniformFixedValue; uniformValue sine; uniformValueCoeffs { frequency 1; amplitude table ( ( 0 0) ( 10 0.025) (1000 0.025) ); scale (0 1 0); level (0 0 0); } } value uniform (0 0 0); } rather than using floatingObject { type fixedNormalInletOutletVelocity; fixTangentialInflow false; normalVelocity { type oscillatingFixedValue; refValue uniform (0 1 0); offset (0 -1 0); amplitude table ( ( 0 0) ( 10 0.025) (1000 0.025) ); frequency constant 1; } value uniform (0 0 0); }
Showing
- src/finiteVolume/Make/files 0 additions, 1 deletionsrc/finiteVolume/Make/files
- src/finiteVolume/fields/fvPatchFields/derived/fixedNormalInletOutletVelocity/fixedNormalInletOutletVelocityFvPatchVectorField.H 15 additions, 11 deletions...locity/fixedNormalInletOutletVelocityFvPatchVectorField.H
- src/finiteVolume/fields/fvPatchFields/derived/oscillatingFixedValue/oscillatingFixedValueFvPatchField.C 0 additions, 205 deletions...oscillatingFixedValue/oscillatingFixedValueFvPatchField.C
- src/finiteVolume/fields/fvPatchFields/derived/oscillatingFixedValue/oscillatingFixedValueFvPatchField.H 0 additions, 277 deletions...oscillatingFixedValue/oscillatingFixedValueFvPatchField.H
- src/finiteVolume/fields/fvPatchFields/derived/oscillatingFixedValue/oscillatingFixedValueFvPatchFields.C 0 additions, 43 deletions...scillatingFixedValue/oscillatingFixedValueFvPatchFields.C
- src/finiteVolume/fields/fvPatchFields/derived/oscillatingFixedValue/oscillatingFixedValueFvPatchFields.H 0 additions, 49 deletions...scillatingFixedValue/oscillatingFixedValueFvPatchFields.H
- src/finiteVolume/fields/fvPatchFields/derived/oscillatingFixedValue/oscillatingFixedValueFvPatchFieldsFwd.H 0 additions, 50 deletions...llatingFixedValue/oscillatingFixedValueFvPatchFieldsFwd.H
- tutorials/multiphase/potentialFreeSurfaceFoam/oscillatingBox/0.org/U 17 additions, 11 deletions...ultiphase/potentialFreeSurfaceFoam/oscillatingBox/0.org/U
Please register or sign in to comment