Installation on ubuntu 22.04 under windows

Submitted by fhjimene on Mon, 04/17/2023 - 16:14

Hello,

I'm trying to install CFDEM following the instructions in https://www.cfdem.com/media/CFDEM/docu/CFDEMcoupling_Manual.html#install...

I'm using Ubuntu 22.04 under windows 11.

However, in part "Setup and compile OpenFOAM®" there is no command foamSystemCheck (but there are others like foamVersion or foamSearch). Then I can execute the Allwmake without errors.

Then, in Set environment variables and paths, when I introduce
. $CFDEM_bashrc
in my bashrc and execute
source .bashrc
it makes it to suddenly crash and I cannot run the terminal any more (it launches and closes inmediately). Fortunately, as it is virtualized under windows, I can easily edit my bashrc to remove that line and recover the system.

Any help is trully welcome.

Regards

fhjimene | Tue, 04/18/2023 - 14:07

The problem is partially solved, I included the lines
#================================================#
#- source cfdem env vars
export CFDEM_VERSION=PUBLIC
export CFDEM_PROJECT_DIR=$HOME/CFDEM/CFDEMcoupling-$CFDEM_VERSION-$WM_PROJECT_VERSION
export CFDEM_PROJECT_USER_DIR=$HOME/CFDEM/$LOGNAME-$CFDEM_VERSION-$WM_PROJECT_VERSION
export CFDEM_bashrc=$CFDEM_PROJECT_DIR/src/lagrangian/cfdemParticle/etc/bashrc
export CFDEM_LIGGGHTS_SRC_DIR=$HOME/LIGGGHTS/LIGGGHTS-PUBLIC/src
export CFDEM_LIGGGHTS_MAKEFILE_NAME=auto
export CFDEM_LPP_DIR=$HOME/LIGGGHTS/lpp/src
. $CFDEM_bashrc
#================================================#

both in my bashrc and in $HOME/CFDEM/CFDEMcoupling-PUBLIC-$WM_PROJECT_VERSION/src/lagrangian/cfdemParticle/etc/bashrc while I think it should be only included in my bashrc.

The problem I facing now is at compiling.

cfdemCompLIG returns:

Compiling sub-libraries of LIGGGHTS now...
Please provide the libraries to be compiled in the //home/fer/CFDEM/CFDEMcoupling-PUBLIC-5.x/src/lagrangian/cfdemParticle/etc/library-liggghts-list.txt file.
Libraries must be in: /home/fer/LIGGGHTS/LIGGGHTS-PUBLIC/src/../lib, or a path defined by the Line in the above file.

and I'm not totally sure if it is ok or not following https://www.cfdem.com/comment/14186#comment-14186

and then cfdemCompCFDEMsrc returns:

In file included from ../cfdemParticle/cfdemCloud/cfdemCloud.C:33:
../cfdemParticle/cfdemCloud/cfdemCloud.H:49:10: fatal error: fvCFD.H: No such file or directory
49 | #include "fvCFD.H"
| ^~~~~~~~~
compilation terminated.
In file included from ../cfdemParticle/derived/cfdemCloudIB/cfdemCloudIB.H:44,
from ../cfdemParticle/derived/cfdemCloudIB/cfdemCloudIB.C:33:
lnInclude/cfdemCloud.H:49:10: fatal error: fvCFD.H: No such file or directory
49 | #include "fvCFD.H"
| ^~~~~~~~~
compilation terminated.
make: *** [/home/fer/OpenFOAM/OpenFOAM-5.x/wmake/rules/General/transform:26: Make/linux64GccDPInt32Opt/../cfdemParticle/cfdemCloud/cfdemCloud.o] Error 1
make: *** Waiting for unfinished jobs....
make: *** [/home/fer/OpenFOAM/OpenFOAM-5.x/wmake/rules/General/transform:26: Make/linux64GccDPInt32Opt/../cfdemParticle/derived/cfdemCloudIB/cfdemCloudIB.o] Error 1
In file included from ../cfdemParticle/cfdTools/global.C:33:
../cfdemParticle/cfdTools/global.H:42:10: fatal error: fvCFD.H: No such file or directory
42 | #include "fvCFD.H"
| ^~~~~~~~~
compilation terminated.

which I don't have a clue to solve it.

Regards,

nYnnoKEqksW0U | Fri, 04/21/2023 - 04:16

without delay from sts superior ai spinning device. what gives this tool a top rate aspect inside the industry, is the tool's surprisingly superior content material spinning generation that immediately turns any copied content material fabric proper into a emblem new version of the thing that is a hundred% particular, human-high-quality, and organized to be posted anywhere on the internet.content material writing consumes a spread of time, power, and attempt. and if you outsource your paintings, you need to maintain some quite proper greenbacks at your disposal to cowl the expenses of the item writers. if you are struggling with the content material cloth creation approach - irrespective of which area of interest you are in - you may sincerely use this loose on line article rewriter software program application to automate the content material cloth advent way and get the terrific wonderful and plagiarism free articles in your online commercial company.