File tree Expand file tree Collapse file tree 3 files changed +157
-140
lines changed Expand file tree Collapse file tree 3 files changed +157
-140
lines changed Load Diff Large diffs are not rendered by default.
Original file line number Diff line number Diff line change @@ -24,7 +24,16 @@ boundaryField
2424 cylinder
2525 {
2626 type solidBodyMotionDisplacement;
27- solidBodyMotionFunction oscillatingRotatingMotion;
27+
28+ solidBodyMotionFunction oscillatingLinearMotion;
29+
30+ oscillatingLinearMotionCoeffs
31+ {
32+ amplitude (0 1 0 ); // Amplitude of oscillation in x direction
33+ omega 4 ; // Angular frequency in rad/s
34+ phase 0 ; // Phase shift in radians (optional)
35+ }
36+
2837 multiMotionCoeffs
2938 {
3039 translation
@@ -42,10 +51,11 @@ boundaryField
4251 {
4352 origin (0 0 0 );
4453 axis (0 0 1 );
45- omega 1 ; // rad/s, 1rad/s=9.5rpm
54+ // omega 1; // rad/s, 1rad/s=9.5rpm
4655 }
4756 }
4857 }
58+
4959 oscillatingRotatingMotionCoeffs
5060 {
5161 origin (0 0 0 );
Original file line number Diff line number Diff line change @@ -3,6 +3,6 @@ cd "${0%/*}" || exit # Run from this directory
33. ${WM_PROJECT_DIR:? } /bin/tools/RunFunctions # Tutorial run functions
44# ------------------------------------------------------------------------------
55
6- runApplication checkMesh -constant -writeAllFields
6+ runApplication mpirun -np 4 checkMesh -constant -writeAllFields -parallel
77
88# ------------------------------------------------------------------------------
You can’t perform that action at this time.
0 commit comments