The option is specified using:
disk1 { type tabulatedAccelerationSource; selectionMode cellSet; cellSet sourceCells1; fields (U); timeDataFileName "constant/acceleration-terms.dat"; }
The timeDataFileName
provides the name of a file containing a list of the motion as a function of time, e.g.:
// t acc omega dOmegadt ( ( 0.0 ((1 0 0) (0 0 0) (0 0 0))) (10.0 ((2 0 0) (0 0 0) (0 0 0))) );
where:
t
= time [s]acc
= acceleration vector [m/s2]omega
= rotation vector [rad/s]dOmegadt
= angular acceleration [rad/s2]Tutorials
Source code
Would you like to suggest an improvement to this page? | Create an issue |
Copyright © 2018 OpenCFD Ltd.