latest tutorial case

This commit is contained in:
ekinaci
2016-08-23 15:56:08 +02:00
parent 8a1d096c56
commit 58cc670128
4 changed files with 13 additions and 7 deletions

View File

@ -23,7 +23,7 @@ startTime 0;
stopAt endTime;
endTime 1;
endTime 5;
deltaT 0.0005;
@ -53,15 +53,15 @@ maxDeltaT 0.1;
// ************************************************************************* //
/*libs (
libs (
"libsampling.so"
"libutilityFunctionObjects.so"
"libOpenFOAM.so"
//"libsimpleSwakFunctionObjects.so"
//"libswakFunctionObjects.so"
//"libgroovyBC.so"
);*/
/*
);
functions
{
testing
@ -113,5 +113,5 @@ functions
);
}
}
*/
// ************************************************************************* //

View File

@ -43,6 +43,9 @@ fix zwalls2 all wall/gran model hertz tangential history primitive type 1 zp
create_atoms 1 single .75 .31 0.31 units box
set atom 1 diameter 0.07 density 2267 vx 0 vy 0 vz 0
# create single particle in a specific spot
#create_atoms 1 single .75 .25 0.25 units box
#set atom 1 diameter 0.07 density 2267 vx 0 vy 0 vz 0
# particle distributions and insertion
#region bc block 0. 1.5 0. 0.5 0. 0.5 units box

View File

@ -50,7 +50,9 @@ fix cfd2 all couple/cfd/force
fix cfd3 all couple/cfd/chemistry n_species 2 species_names O2 CO2
# this should shrink the particle
fix cfd4 all chem/shrink speciesA O2 molMassA 31.99 speciesC CO2 molMassC 44.01 molMassB 12.01 k 2.5e3 rmin 0.02
#fix cfd4 all chem/shrink speciesA O2 molMassA 31.99 speciesC CO2 molMassC 44.01 molMassB 12.01 k 2.5e3 rdef hertzpct 0.2
fix cfd4 all chem/shrink speciesA O2 molMassA 31.99 speciesC CO2 molMassC 44.01 molMassB 12.01 k 2.5e3 rmin 0.003
# apply nve integration to all particles that are inserted as single particles
fix integr all nve/sphere

View File

@ -24,7 +24,7 @@ machineFileName="none" # yourMachinefileName | none
debugMode="off" # on | off| strict
testHarnessPath="$CFDEM_TEST_HARNESS_PATH"
runOctave="false"
postproc="false"
postproc="true"
#--------------------------------------------------------------------------------#
#- call function to run a parallel CFD-DEM case
@ -66,6 +66,7 @@ if [ $postproc == "true" ]
#- get VTK data from CFD sim
cd $casePath/CFD
reconstructPar
foamToVTK #- serial run of foamToVTK
#source $CFDEM_SRC_DIR/lagrangian/cfdemParticle/etc/functions.sh #- include functions
#pseudoParallelRun "foamToVTK" $nrPostProcProcessors #- pseudo parallel run of foamToVTK