mirror of
https://github.com/ParticulateFlow/CFDEMcoupling-PFM.git
synced 2025-12-08 06:37:44 +00:00
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:
@ -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();
|
||||
@ -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"
|
||||
|
||||
Reference in New Issue
Block a user