Installing OpenFOAM and Coupling...

Submitted by rpillers on Sun, 01/21/2018 - 21:41

I am working on establishing a simulation environment on my Windows 10 machine using the Ubuntu environment. The simulation I need to achieve requires the movement of particles (~8.0mm dia) by air. My understanding is that I need to install LIGGGHTS, CFDEMCoupling and OpenFOAM. Please correct me if I'm wrong on that?

Assuming that is correct, I started by installing LIGGGHTS using the steps outlined in the LIGGGHTS online manual. After getting LIGGGHTS running and testing it, using a ParaView installation 'external' to the Ubuntu system, i.e. I run it from the Windows desktop not the Ubuntu terminal. All of that seemed to be working well.

That's when I realized I needed to install CFDEMCoupling and OpenFOAM. Using the steps listed in the CFDEMCoupling online manual, I installed both of those. After a bit of wrangling, it appeared the install and make was complete. However, when I went to work through the testing and training on the OpenFOAM website, it looked like the steps in the CFDEMCoupling manual related to OpenFOAM did not install what the OpenFOAM training expected. Specifically, the paraFoam utility to view meshes 'inside' ubuntu was not installed. While digging around to try and install it myself, in the 'Platforms' area under OpenFOAM utilities and graphics tools looked like I had installed a 32 bit version instead of 64 bit which is appropriate for my machine. So now I am a bit stumped.

Here are the questions I have:

Did my install of CFDEMCoupling and OpenFOAM using the steps in the CFDEMCoupling manual install a 64bit version or a 32bit version? Does it matter? ( I would think it does due to processing intensity of simulation but not sure)

Am I pursuing the right path for testing and training of OpenFOAM by using the material on the OpenFOAM website? Is there a CFDEMProject collection of artifacts to do it with? (I couldn't find any).

Ultimately I need to use both LIGGGHTS and OpenFOAM to do the simulation with CFDEM Coupling in the middle I assume. OpenFOAM website shows a OpenFOAM installation specifically for Windows 10 Ubuntu. If I was to 'uninstall' the OpenFOAM install driven by CFDEMCoupling steps, and install the Windows 10 Ubuntu version from OpenFOAM folks, would it 'break' the ability to perform coupled simulations?

If uninstalling the CFDEM path of OpenFOAM is the right thing to do, can someone explain how best to uninstall the OpenFOAM? Sidenote: I am a recently returned Unix (Ubuntu) user after many years away. Verbose answers on how to do things would be appreciated.

I'm somewhat desperate, any help at all would be appreciated.

bhwang | Tue, 01/23/2018 - 05:34

The requirement of OpenFOAM and LIGGGHTS versions depends on your CFDEMcoupling version (check the version).
64bit or 32 bit depends on your linux system (check your linux environment).
Also, What means "on my Windows 10 machine using the Ubuntu environment"? (you mean that you use the workbench program in window 10 environment?)

Thx.

rpillers | Tue, 01/23/2018 - 22:32

bhwang,

Thank you very much for your response!

My version of CFDEMcoupling is 5.x, which I understood to be the latest.

Using the command, 'lscpu' I verified that I have a 64 bit environment.

My comment, "on my Windows 10 machine using the Ubuntu environment" refers to the fact that I'm using a Dell laptop running a Windows 10 OS but have enabled the Windows System for Linux (WSL) hooks and have installed Ubuntu version 16.04.3 LTS. The link below takes you to the Microsoft page that explains it.

https://docs.microsoft.com/en-us/windows/wsl/install-win10

My question revolves around this:

The OpenFOAM package that gets installed is different depending on if one follows the guidelines in the current online CFDEMcoupling manual vs the OpenFOAM website which offers a version specific to the Windows 10 environment. I suspect the 'version' of OpenFOAM that would get installed either way is the same, but it's the utilities and other configuration details are different. One of my main questions at this point is whether or not it makes a difference to LIGGGHTS and CFDEMcoupling which way I install OpenFOAM?

Russell

rpillers | Fri, 01/26/2018 - 20:39

My original question may have been too detailed to garner much response so I'll try to summarize:

I installed OpenFOAM and CFDEMcoupling using the latest online guidance in the CFDEMcoupling manual.

For a handful of reasons, I'd like to remove that version of OpenFOAM and replace it with the tarball directly from the OpenFOAM website.

It appears both versions are the same level except the tarball includes more utilities.

Question: If I delete the original OpenFOAM I installed and replace it with the tarball version from OpenFOAM, will I still be able to integrate it into CFDEMcoupling and LIGGGHTS simulations?

If the remove/replace would still work, can someone please advise on how to delete the original?

j-kerbl's picture

j-kerbl | Mon, 01/29/2018 - 11:28

Hi,

I am not 100 percent sure, why the OpenFOAM versions would be different. You were able to use git to download OpenFOAM?
Please beware, there are multiple foam versions nowadays e.g. compare https://openfoam.org/ and https://www.openfoam.com/ .

Which of these and which version are you trying to use?

Yes you can exchange OF versions, depending if the new version is compatible or not.
In nearly all cases CFDEM will react to the currently loaded OpenFOAM environment, e.g. $WM_PROJECT_DIR and $WM_PROJECT_VERSION .

Btw. CFDEMcoupling brings its own solvers and extension libraries, so it isn't just in the middle ;)

Cheers,
Josef

rpillers | Mon, 01/29/2018 - 17:42

Josef,

Thank you for the reply.

I loaded version 5.x according to the CFDEMcoupling manual.
Ultimately I currently need advice on how to test the installation and tutorials?

Which website corresponds to the version I installed, .org or .com?

Russell

j-kerbl's picture

j-kerbl | Tue, 01/30/2018 - 13:39

Hi Russell,

the version from the manual is the .org one.

To test the installation simply go to
$CFDEM_TUT_DIR/cfdemSolverPiso/ErgunTestMPI/
and run ./Allrun.sh
This will test LIGGGHTS, blockMesh, decomposePar and the cfdemSolverPiso.
It will also attempt to run an octave postprocessing file.
The command "cfdemTestTUT" will go through all tutorials and run them.

If you want to have a look at the most important environment variables you can look at the output of
cfdemSysTest

Cheers,
Josef
 

rpillers | Thu, 02/08/2018 - 00:19

Josef,

Output seems to indicate things did not go well. Please let me know if you can see what is wrong.

Below is the output from my run of Allrun.sh:

mesh needs to be built
/*---------------------------------------------------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 5.x |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
Build : 5.x-538044ac05c4
Exec : blockMesh
Date : Feb 07 2018
Time : 15:15:30
Host : "Russells-Laptop"
PID : 281
I/O : uncollated
Case : /home/Russell/CFDEM/CFDEMcoupling-PUBLIC-5.x/tutorials/cfdemSolverPiso/ErgunTestMPI/CFD
nProcs : 1
sigFpe : Enabling floating point exception trapping (FOAM_SIGFPE).
fileModificationChecking : Monitoring run-time modified files using timeStampMaster (fileModificationSkew 10)
allowSystemOperations : Allowing user-supplied system call operations

// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
Create time

Creating block mesh from
"/home/Russell/CFDEM/CFDEMcoupling-PUBLIC-5.x/tutorials/cfdemSolverPiso/ErgunTestMPI/CFD/system/blockMeshDict"
Creating block edges
No non-planar block faces defined
Creating topology blocks
Creating topology patches

Reading patches section

Creating block mesh topology

Reading physicalType from existing boundary file

Default patch type set to empty

Check topology

Basic statistics
Number of internal faces : 8
Number of boundary faces : 14
Number of defined boundary faces : 14
Number of undefined boundary faces : 0
Checking patch -> block consistency

Creating block offsets
Creating merge list .

Creating polyMesh from blockMesh
Creating patches
Creating cells
Creating points with scale 1
Block 0 cell size :
i : 0.001725 .. 0.001725
j : 0.001725 .. 0.001725
k : 0.00230417 .. 0.00230417

Block 1 cell size :
i : 0.001725 .. 0.001725
j : 0.00101048 .. 0.00101048
k : 0.00230417 .. 0.00230417

Block 2 cell size :
i : 0.00101048 .. 0.00101048
j : 0.00270527 .. 0.00270527
k : 0.00230417 .. 0.00230417

Block 3 cell size :
i : 0.00270527 .. 0.00270527
j : 0.00101048 .. 0.00101048
k : 0.00230417 .. 0.00230417

Block 4 cell size :
i : 0.00101048 .. 0.00101048
j : 0.001725 .. 0.001725
k : 0.00230417 .. 0.00230417

Writing polyMesh
----------------
Mesh Information
----------------
boundingBox: (-0.0138 -0.0138 0) (0.0138 0.0138 0.0553)
nPoints: 5225
nCells: 4608
nFaces: 14400
nInternalFaces: 13248
----------------
Patches
----------------
patch 0 (start: 13248 size: 192) name: inlet
patch 1 (start: 13440 size: 192) name: outlet
patch 2 (start: 13632 size: 768) name: wall

End

/home/Russell/CFDEM/CFDEMcoupling-PUBLIC-5.x/tutorials/cfdemSolverPiso/ErgunTestMPI/parDEMrun.sh: line 13: /lagrangian/cfdemParticle/etc/functions.sh: No such file or directory
starting DEM run in parallel...
/home/Russell/CFDEM/CFDEMcoupling-PUBLIC-5.x/tutorials/cfdemSolverPiso/ErgunTestMPI/parDEMrun.sh: line 29: parDEMrun: command not found
/home/Russell/CFDEM/CFDEMcoupling-PUBLIC-5.x/tutorials/cfdemSolverPiso/ErgunTestMPI/parCFDDEMrun.sh: line 13: /lagrangian/cfdemParticle/etc/functions.sh: No such file or directory
/home/Russell/CFDEM/CFDEMcoupling-PUBLIC-5.x/tutorials/cfdemSolverPiso/ErgunTestMPI/parCFDDEMrun.sh: line 31: parCFDDEMrun: command not found
rm: cannot remove 'cfdemSolverPiso_ErgunTestMPI.png': No such file or directory
/home/Russell/CFDEM/CFDEMcoupling-PUBLIC-5.x/tutorials/cfdemSolverPiso/ErgunTestMPI/parCFDDEMrun.sh: line 46: octave: command not found
/home/Russell/CFDEM/CFDEMcoupling-PUBLIC-5.x/tutorials/cfdemSolverPiso/ErgunTestMPI/parCFDDEMrun.sh: line 49: eog: command not found
cp: missing destination file operand after '../../log_run_parallel_cfdemSolverPiso_ErgunTestMPI_CFDDEM'
Try 'cp --help' for more information.
cp: missing destination file operand after 'cfdemSolverPiso_ErgunTestMPI.png'
Try 'cp --help' for more information.
/home/Russell/CFDEM/CFDEMcoupling-PUBLIC-5.x/tutorials/cfdemSolverPiso/ErgunTestMPI/parCFDDEMrun.sh: line 84: cleanCFDEMcase: command not found

j-kerbl's picture

j-kerbl | Thu, 02/08/2018 - 09:34

Hi Russell,

it complains that it can't find "/lagrangian/cfdemParticle/etc/functions.sh"
There is the path to CFDEM missing in the beginning of this.
Have you added the CFDEM entries to your .bashrc (if you are using bash)?
Can you execute cfdemSysTest in a shell?
My guess is it won't recognize the command and there is something wrong with the environment variables.
The setup is described here:
https://www.cfdem.com/media/CFDEM/docu/CFDEMcoupling_Manual.html#install-6

You mentioned you changed your OF version. Is it possible that $WM_PROJECT_VERSION has changed?
If it is different to 5.x, please do the following
cd /home/Russell/CFDEM
mv CFDEMcoupling-PUBLIC-5.x CFDEMcoupling-PUBLIC-$WM_PROJECT_VERSION

Open a new shell and run the testcase.

Cheers,
Josef

rpillers | Thu, 02/08/2018 - 20:34

Josef,

The output of the test looked much more promising. The entire output seems a little long to post here but below is the last section. Does it all look okay?

Russell

Solver level total Eulerian momentum exchange:
TotalForceImp: (0.000269799 6.3192e-05 -0.0456352)
Warning, these values are based on latest Ksl and Us but prev. iteration U!

DILUPBiCG: Solving for Ux, Initial residual = 0.110617, Final residual = 5.77532e-05, No Iterations 1
DILUPBiCG: Solving for Uy, Initial residual = 0.0989026, Final residual = 7.07252e-05, No Iterations 1
DILUPBiCG: Solving for Uz, Initial residual = 0.023501, Final residual = 2.06722e-05, No Iterations 1
DICPCG: Solving for p, Initial residual = 0.00728896, Final residual = 0.00063069, No Iterations 7
DICPCG: Solving for p, Initial residual = 0.000801048, Final residual = 7.43629e-05, No Iterations 23
time step continuity errors : sum local = 1.36722e-06, global = -2.58759e-07, cumulative = 1.01175e-06
DICPCG: Solving for p, Initial residual = 0.000216365, Final residual = 2.03907e-05, No Iterations 9
DICPCG: Solving for p, Initial residual = 2.80875e-05, Final residual = 1.84778e-06, No Iterations 23
time step continuity errors : sum local = 3.43755e-08, global = -2.72276e-09, cumulative = 1.00903e-06
DICPCG: Solving for p, Initial residual = 9.47174e-06, Final residual = 9.27257e-07, No Iterations 10
DICPCG: Solving for p, Initial residual = 1.31839e-06, Final residual = 6.13228e-07, No Iterations 1
time step continuity errors : sum local = 1.14054e-08, global = 6.08953e-09, cumulative = 1.01512e-06
DICPCG: Solving for p, Initial residual = 8.49667e-07, Final residual = 8.49667e-07, No Iterations 0
DICPCG: Solving for p, Initial residual = 8.49667e-07, Final residual = 8.49667e-07, No Iterations 0
time step continuity errors : sum local = 1.5803e-08, global = 7.15992e-09, cumulative = 1.02228e-06
ExecutionTime = 38.37 s ClockTime = 39 s

surfaceFieldValue volFlow_inlet write:
sum(inlet) of phi = -1.17252e-05

surfaceFieldValue volFlow_outlet write:
sum(outlet) of phi = 1.182e-05

surfaceFieldValue volFlow_wall write:
sum(wall) of phi = -9.43495e-08

Time = 0.1

Courant Number mean: 0.00462849 max: 0.0250332

Coupling...
Starting up LIGGGHTS
Executing command: 'run 50 '
run 50
Setting up run at Thu Feb 8 11:25:33 2018

Memory usage per processor = 11.7596 Mbytes
Step Atoms KinEng rke Volume centerOf explDrag explDrag explDrag cfd2[1] cfd2[2] cfd2[3]
19950 10000 5.1534417e-07 3.7439201e-08 5.076e-05 0.0077800651 -0.00056736777 0.00029398902 0.06122228 -0.00099708719 0.00043096508 0.10733252
0.1996 -0.000567367771423748 0.000293989022649415 0.0612222798489302 -0.000972097775994882 0.000419568001942189 0.107162885249099
19960 10000 5.236042e-07 3.7418835e-08 5.076e-05 0.0077809156 -0.00056736777 0.00029398902 0.06122228 -0.00097209778 0.000419568 0.10716289
0.1997 -0.000567367771423748 0.000293989022649415 0.0612222798489302 -0.000946907741769406 0.000407839572228542 0.106987558606293
19970 10000 5.322636e-07 3.7600754e-08 5.076e-05 0.0077817751 -0.00056736777 0.00029398902 0.06122228 -0.00094690774 0.00040783957 0.10698756
0.1998 -0.000567367771423748 0.000293989022649415 0.0612222798489302 -0.000921875176374219 0.000396248576018778 0.106818191687998
19980 10000 5.4101427e-07 3.7788926e-08 5.076e-05 0.0077826433 -0.00056736777 0.00029398902 0.06122228 -0.00092187518 0.00039624858 0.10681819
0.1999 -0.000567367771423748 0.000293989022649415 0.0612222798489302 -0.000897285010749379 0.000384938092870482 0.106654807578968
19990 10000 5.4974512e-07 3.7899757e-08 5.076e-05 0.0077835199 -0.00056736777 0.00029398902 0.06122228 -0.00089728501 0.00038493809 0.10665481
CFD Coupling established at step 20000
0.2 -0.000567367771423748 0.000293989022649415 0.0612222798489302 -0.000872860329698476 0.000373962359195842 0.106497295587049
20000 10000 5.584068e-07 3.7986255e-08 5.076e-05 0.0077844045 -0.00056736777 0.00029398902 0.06122228 -0.00087286033 0.00037396236 0.1064973
Loop time of 0.130286 on 4 procs for 50 steps with 10000 atoms, finish time Thu Feb 8 11:25:33 2018

Pair time (%) = 0.0649769 (49.8727)
Neigh time (%) = 0 (0)
Comm time (%) = 0.00491232 (3.77042)
Outpt time (%) = 0.0283178 (21.7352)
Other time (%) = 0.0320784 (24.6217)

Nlocal: 2500 ave 2509 max 2494 min
Histogram: 1 1 0 0 1 0 0 0 0 1
Nghost: 737.25 ave 747 max 724 min
Histogram: 1 0 0 0 0 0 2 0 0 1
Neighs: 17298.2 ave 17370 max 17257 min
Histogram: 1 1 0 1 0 0 0 0 0 1

Total # of neighbors = 69193
Ave neighs/atom = 6.9193
Neighbor list builds = 0
Dangerous builds = 0
Executing command: 'write_restart ../DEM/post/restart/liggghts.restartCFDEM'
write_restart ../DEM/post/restart/liggghts.restartCFDEM
System init for write_restart ...
LIGGGHTS finished

timeStepFraction() = 1

Solver level total Eulerian momentum exchange:
TotalForceImp: (-0.000601461 0.000328026 -0.0449229)
Warning, these values are based on latest Ksl and Us but prev. iteration U!

DILUPBiCG: Solving for Ux, Initial residual = 0.106554, Final residual = 8.10202e-05, No Iterations 1
DILUPBiCG: Solving for Uy, Initial residual = 0.0753781, Final residual = 5.7051e-05, No Iterations 1
DILUPBiCG: Solving for Uz, Initial residual = 0.0190666, Final residual = 1.62777e-05, No Iterations 1
DICPCG: Solving for p, Initial residual = 0.00747837, Final residual = 0.000640355, No Iterations 13
DICPCG: Solving for p, Initial residual = 0.000911884, Final residual = 7.77591e-05, No Iterations 9
time step continuity errors : sum local = 1.38173e-06, global = 7.10364e-07, cumulative = 1.73264e-06
DICPCG: Solving for p, Initial residual = 0.000203736, Final residual = 1.42341e-05, No Iterations 20
DICPCG: Solving for p, Initial residual = 2.16459e-05, Final residual = 1.90478e-06, No Iterations 9
time step continuity errors : sum local = 3.37536e-08, global = 5.78613e-09, cumulative = 1.73843e-06
DICPCG: Solving for p, Initial residual = 9.76343e-06, Final residual = 9.12369e-07, No Iterations 22
DICPCG: Solving for p, Initial residual = 1.30099e-06, Final residual = 5.70014e-07, No Iterations 1
time step continuity errors : sum local = 1.01027e-08, global = 9.13724e-11, cumulative = 1.73852e-06
DICPCG: Solving for p, Initial residual = 7.88217e-07, Final residual = 7.88217e-07, No Iterations 0
DICPCG: Solving for p, Initial residual = 7.88217e-07, Final residual = 7.88217e-07, No Iterations 0
time step continuity errors : sum local = 1.39701e-08, global = -5.89303e-10, cumulative = 1.73793e-06
ExecutionTime = 38.62 s ClockTime = 39 s

surfaceFieldValue volFlow_inlet write:
sum(inlet) of phi = -1.18419e-05

surfaceFieldValue volFlow_outlet write:
sum(outlet) of phi = 1.19463e-05

surfaceFieldValue volFlow_wall write:
sum(wall) of phi = -1.04475e-07

End

Finalising parallel run
rm: cannot remove 'cfdemSolverPiso_ErgunTestMPI.png': No such file or directory
/home/Russell/CFDEM/CFDEMcoupling-PUBLIC-5.x/tutorials/cfdemSolverPiso/ErgunTestMPI/parCFDDEMrun.sh: line 46: octave: command not found
/home/Russell/CFDEM/CFDEMcoupling-PUBLIC-5.x/tutorials/cfdemSolverPiso/ErgunTestMPI/parCFDDEMrun.sh: line 49: eog: command not found
cp: cannot stat 'cfdemSolverPiso_ErgunTestMPI.png': No such file or directory
deleting data at: /home/Russell/CFDEM/CFDEMcoupling-PUBLIC-5.x/tutorials/cfdemSolverPiso/ErgunTestMPI ? otherwise press Ctrl-C:\n
y
deleting CFD mesh files
Cleaning /home/Russell/CFDEM/CFDEMcoupling-PUBLIC-5.x/tutorials/cfdemSolverPiso/ErgunTestMPI/CFD case
rm: cannot remove '/home/Russell/CFDEM/CFDEMcoupling-PUBLIC-5.x/tutorials/cfdemSolverPiso/ErgunTestMPI/CFD/clockData': No such file or directory
rm: cannot remove '/home/Russell/CFDEM/CFDEMcoupling-PUBLIC-5.x/tutorials/cfdemSolverPiso/ErgunTestMPI/CFD/particleProbes': No such file or directory
rm: cannot remove '/home/Russell/CFDEM/CFDEMcoupling-PUBLIC-5.x/tutorials/cfdemSolverPiso/ErgunTestMPI/CFD/averageProps/': No such file or directory
rm: cannot remove '/home/Russell/CFDEM/CFDEMcoupling-PUBLIC-5.x/tutorials/cfdemSolverPiso/ErgunTestMPI/CFD/octave/octave-core': No such file or directory
rm: cannot remove '/home/Russell/CFDEM/CFDEMcoupling-PUBLIC-5.x/tutorials/cfdemSolverPiso/ErgunTestMPI/CFD/octave/octave-workspace': No such file or directory
rm: cannot remove '/home/Russell/CFDEM/CFDEMcoupling-PUBLIC-5.x/tutorials/cfdemSolverPiso/ErgunTestMPI/remotePlace': No such file or directory
rm: cannot remove '/home/Russell/CFDEM/CFDEMcoupling-PUBLIC-5.x/tutorials/cfdemSolverPiso/ErgunTestMPI/CFD/oldProcDirs': No such file or directory
rm: cannot remove '/home/Russell/CFDEM/CFDEMcoupling-PUBLIC-5.x/tutorials/cfdemSolverPiso/ErgunTestMPI/CFD/tmp.balance': No such file or directory
rm: cannot remove '/home/Russell/CFDEM/CFDEMcoupling-PUBLIC-5.x/tutorials/cfdemSolverPiso/ErgunTestMPI/CFD/callgrind.out.*': No such file or directory
rm: cannot remove '/home/Russell/CFDEM/CFDEMcoupling-PUBLIC-5.x/tutorials/cfdemSolverPiso/ErgunTestMPI/CFD/hpctoolkit-*': No such file or directory
rm: cannot remove '/home/Russell/CFDEM/CFDEMcoupling-PUBLIC-5.x/tutorials/cfdemSolverPiso/ErgunTestMPI/DEM/post/restart': Is a directory
rm: cannot remove '/home/Russell/CFDEM/CFDEMcoupling-PUBLIC-5.x/tutorials/cfdemSolverPiso/ErgunTestMPI/DEM/tmp.lammps.variable': No such file or directory
rm: cannot remove '/home/Russell/CFDEM/CFDEMcoupling-PUBLIC-5.x/tutorials/cfdemSolverPiso/ErgunTestMPI/CFD/*.dat': No such file or directory
rm: cannot remove '/home/Russell/CFDEM/CFDEMcoupling-PUBLIC-5.x/tutorials/cfdemSolverPiso/ErgunTestMPI/CFD/*.pascal': No such file or directory
rm: cannot remove '/home/Russell/CFDEM/CFDEMcoupling-PUBLIC-5.x/tutorials/cfdemSolverPiso/ErgunTestMPI/CFD/*.profile': No such file or directory
rm: cannot remove '/home/Russell/CFDEM/CFDEMcoupling-PUBLIC-5.x/tutorials/cfdemSolverPiso/ErgunTestMPI/CFD/pascal/0.*': No such file or directory
rm: cannot remove '/home/Russell/CFDEM/CFDEMcoupling-PUBLIC-5.x/tutorials/cfdemSolverPiso/ErgunTestMPI/CFD/pascal/1': No such file or directory
rm: cannot remove '/home/Russell/CFDEM/CFDEMcoupling-PUBLIC-5.x/tutorials/cfdemSolverPiso/ErgunTestMPI/CFD/pascal/1.*': No such file or directory
rm: cannot remove '/home/Russell/CFDEM/CFDEMcoupling-PUBLIC-5.x/tutorials/cfdemSolverPiso/ErgunTestMPI/CFD/pascal/2': No such file or directory
rm: cannot remove '/home/Russell/CFDEM/CFDEMcoupling-PUBLIC-5.x/tutorials/cfdemSolverPiso/ErgunTestMPI/CFD/pascal/2.*': No such file or directory
rm: cannot remove '/home/Russell/CFDEM/CFDEMcoupling-PUBLIC-5.x/tutorials/cfdemSolverPiso/ErgunTestMPI/CFD/pascal/3': No such file or directory
rm: cannot remove '/home/Russell/CFDEM/CFDEMcoupling-PUBLIC-5.x/tutorials/cfdemSolverPiso/ErgunTestMPI/CFD/pascal/3.*': No such file or directory
rm: cannot remove '/home/Russell/CFDEM/CFDEMcoupling-PUBLIC-5.x/tutorials/cfdemSolverPiso/ErgunTestMPI/CFD/pascal/4': No such file or directory
rm: cannot remove '/home/Russell/CFDEM/CFDEMcoupling-PUBLIC-5.x/tutorials/cfdemSolverPiso/ErgunTestMPI/CFD/pascal/4.*': No such file or directory
rm: cannot remove '/home/Russell/CFDEM/CFDEMcoupling-PUBLIC-5.x/tutorials/cfdemSolverPiso/ErgunTestMPI/CFD/pascal/5': No such file or directory
rm: cannot remove '/home/Russell/CFDEM/CFDEMcoupling-PUBLIC-5.x/tutorials/cfdemSolverPiso/ErgunTestMPI/CFD/pascal/5.*': No such file or directory
rm: cannot remove '/home/Russell/CFDEM/CFDEMcoupling-PUBLIC-5.x/tutorials/cfdemSolverPiso/ErgunTestMPI/CFD/pascal/6': No such file or directory
rm: cannot remove '/home/Russell/CFDEM/CFDEMcoupling-PUBLIC-5.x/tutorials/cfdemSolverPiso/ErgunTestMPI/CFD/pascal/6.*': No such file or directory
rm: cannot remove '/home/Russell/CFDEM/CFDEMcoupling-PUBLIC-5.x/tutorials/cfdemSolverPiso/ErgunTestMPI/CFD/pascal/7': No such file or directory
rm: cannot remove '/home/Russell/CFDEM/CFDEMcoupling-PUBLIC-5.x/tutorials/cfdemSolverPiso/ErgunTestMPI/CFD/pascal/7.*': No such file or directory
rm: cannot remove '/home/Russell/CFDEM/CFDEMcoupling-PUBLIC-5.x/tutorials/cfdemSolverPiso/ErgunTestMPI/CFD/pascal/8': No such file or directory
rm: cannot remove '/home/Russell/CFDEM/CFDEMcoupling-PUBLIC-5.x/tutorials/cfdemSolverPiso/ErgunTestMPI/CFD/pascal/8.*': No such file or directory
rm: cannot remove '/home/Russell/CFDEM/CFDEMcoupling-PUBLIC-5.x/tutorials/cfdemSolverPiso/ErgunTestMPI/CFD/pascal/9': No such file or directory
rm: cannot remove '/home/Russell/CFDEM/CFDEMcoupling-PUBLIC-5.x/tutorials/cfdemSolverPiso/ErgunTestMPI/CFD/pascal/9.*': No such file or directory
rm: cannot remove '/home/Russell/CFDEM/CFDEMcoupling-PUBLIC-5.x/tutorials/cfdemSolverPiso/ErgunTestMPI/CFD/pascal/10': No such file or directory
rm: cannot remove '/home/Russell/CFDEM/CFDEMcoupling-PUBLIC-5.x/tutorials/cfdemSolverPiso/ErgunTestMPI/CFD/pascal/10.*': No such file or directory
done

j-kerbl's picture

j-kerbl | Fri, 02/09/2018 - 09:58

Hi,

yes, it looks alright!
The following part is output from the cfdemSolverPiso:

Memory usage per processor = 11.7596 Mbytes
Step Atoms KinEng rke Volume centerOf explDrag explDrag explDrag cfd2[1] cfd2[2] cfd2[3]
19950 10000 5.1534417e-07 3.7439201e-08 5.076e-05 0.0077800651 -0.00056736777 0.00029398902 0.06122228 -0.00099708719 0.00043096508 0.10733252
0.1996 -0.000567367771423748 0.000293989022649415 0.0612222798489302 -0.000972097775994882 0.000419568001942189 0.107162885249099
19960 10000 5.236042e-07 3.7418835e-08 5.076e-05 0.0077809156 -0.00056736777 0.00029398902 0.06122228 -0.00097209778 0.000419568 0.10716289
0.1997 -0.000567367771423748 0.000293989022649415 0.0612222798489302 -0.000946907741769406 0.000407839572228542 0.106987558606293
19970 10000 5.322636e-07 3.7600754e-08 5.076e-05 0.0077817751 -0.00056736777 0.00029398902 0.06122228 -0.00094690774 0.00040783957 0.10698756
0.1998 -0.000567367771423748 0.000293989022649415 0.0612222798489302 -0.000921875176374219 0.000396248576018778 0.106818191687998
19980 10000 5.4101427e-07 3.7788926e-08 5.076e-05 0.0077826433 -0.00056736777 0.00029398902 0.06122228 -0.00092187518 0.00039624858 0.10681819
0.1999 -0.000567367771423748 0.000293989022649415 0.0612222798489302 -0.000897285010749379 0.000384938092870482 0.106654807578968
19990 10000 5.4974512e-07 3.7899757e-08 5.076e-05 0.0077835199 -0.00056736777 0.00029398902 0.06122228 -0.00089728501 0.00038493809 0.10665481
CFD Coupling established at step 20000
0.2 -0.000567367771423748 0.000293989022649415 0.0612222798489302 -0.000872860329698476 0.000373962359195842 0.106497295587049
20000 10000 5.584068e-07 3.7986255e-08 5.076e-05 0.0077844045 -0.00056736777 0.00029398902 0.06122228 -0.00087286033 0.00037396236 0.1064973
Loop time of 0.130286 on 4 procs for 50 steps with 10000 atoms, finish time Thu Feb 8 11:25:33 2018

Pair time (%) = 0.0649769 (49.8727)
Neigh time (%) = 0 (0)
Comm time (%) = 0.00491232 (3.77042)
Outpt time (%) = 0.0283178 (21.7352)
Other time (%) = 0.0320784 (24.6217)

Nlocal: 2500 ave 2509 max 2494 min
Histogram: 1 1 0 0 1 0 0 0 0 1
Nghost: 737.25 ave 747 max 724 min
Histogram: 1 0 0 0 0 0 2 0 0 1
Neighs: 17298.2 ave 17370 max 17257 min
Histogram: 1 1 0 1 0 0 0 0 0 1

Total # of neighbors = 69193
Ave neighs/atom = 6.9193
Neighbor list builds = 0
Dangerous builds = 0
Executing command: 'write_restart ../DEM/post/restart/liggghts.restartCFDEM'
write_restart ../DEM/post/restart/liggghts.restartCFDEM
System init for write_restart ...
LIGGGHTS finished

timeStepFraction() = 1

Solver level total Eulerian momentum exchange:
TotalForceImp: (-0.000601461 0.000328026 -0.0449229)
Warning, these values are based on latest Ksl and Us but prev. iteration U!

DILUPBiCG: Solving for Ux, Initial residual = 0.106554, Final residual = 8.10202e-05, No Iterations 1
DILUPBiCG: Solving for Uy, Initial residual = 0.0753781, Final residual = 5.7051e-05, No Iterations 1
DILUPBiCG: Solving for Uz, Initial residual = 0.0190666, Final residual = 1.62777e-05, No Iterations 1
DICPCG: Solving for p, Initial residual = 0.00747837, Final residual = 0.000640355, No Iterations 13
DICPCG: Solving for p, Initial residual = 0.000911884, Final residual = 7.77591e-05, No Iterations 9
time step continuity errors : sum local = 1.38173e-06, global = 7.10364e-07, cumulative = 1.73264e-06
DICPCG: Solving for p, Initial residual = 0.000203736, Final residual = 1.42341e-05, No Iterations 20
DICPCG: Solving for p, Initial residual = 2.16459e-05, Final residual = 1.90478e-06, No Iterations 9
time step continuity errors : sum local = 3.37536e-08, global = 5.78613e-09, cumulative = 1.73843e-06
DICPCG: Solving for p, Initial residual = 9.76343e-06, Final residual = 9.12369e-07, No Iterations 22
DICPCG: Solving for p, Initial residual = 1.30099e-06, Final residual = 5.70014e-07, No Iterations 1
time step continuity errors : sum local = 1.01027e-08, global = 9.13724e-11, cumulative = 1.73852e-06
DICPCG: Solving for p, Initial residual = 7.88217e-07, Final residual = 7.88217e-07, No Iterations 0
DICPCG: Solving for p, Initial residual = 7.88217e-07, Final residual = 7.88217e-07, No Iterations 0
time step continuity errors : sum local = 1.39701e-08, global = -5.89303e-10, cumulative = 1.73793e-06
ExecutionTime = 38.62 s ClockTime = 39 s

surfaceFieldValue volFlow_inlet write:
sum(inlet) of phi = -1.18419e-05

surfaceFieldValue volFlow_outlet write:
sum(outlet) of phi = 1.19463e-05

surfaceFieldValue volFlow_wall write:
sum(wall) of phi = -1.04475e-07

End

Finalising parallel run


The rest is output from the Allrun.sh stuff.

Happy simulations,
Josef