move octave script and adjust paths; disable execution by default

for the octave script to work, the case needs to be run twice (without
cleanup in-between);
(remove the useTorque option of ShirgaonkarIBTorqueProps in the
couplingProperties file and adjust the output filenames of the fix print
commands, i.e. adding "_no_coupling")
This commit is contained in:
danielque
2021-06-08 17:23:49 +02:00
parent 064cc9ae3d
commit 6febaec345
2 changed files with 6 additions and 6 deletions

View File

@ -3,10 +3,10 @@ clc;
%% Script to plot the angular velocities and the particle positions
A = importdata('DEM/angular_velocity_no_coupling.txt',' ',1);
B = importdata('DEM/position_no_coupling.txt',' ',1);
C = importdata('DEM/angular_velocity.txt',' ',1);
D = importdata('DEM/position.txt',' ',1);
A = importdata('../../DEM/post/angular_velocity_no_coupling.txt',' ',1);
B = importdata('../../DEM/post/position_no_coupling.txt',' ',1);
C = importdata('../../DEM/post/angular_velocity.txt',' ',1);
D = importdata('../../DEM/post/position.txt',' ',1);
pos1 = B.data();
omega1 = A.data();

View File

@ -23,7 +23,7 @@ nrProcs="4"
machineFileName="none" # yourMachinefileName | none
debugMode="off" # on | off| strict
testHarnessPath="$CFDEM_TEST_HARNESS_PATH"
runOctave="true"
runOctave="false"
postproc="false"
#--------------------------------------------------------------------------------#
@ -60,7 +60,7 @@ if [ $postproc == "true" ]
fi
#- copy log file to test harness
cp ../../$logfileName $testHarnessPath
cp $casePath/$logfileName $testHarnessPath
#- clean up case
echo "deleting data at: $casePath"