new to CFDEM

Submitted by amrita on Sat, 08/13/2011 - 07:19

Hi users,
I am new to CFDEM. I am good in LIGGGHTS but I dont know how to do with CFDEM. Please can you provide a simple example to illustrate CFDEM? For example, I have run simulation using LIGGGHTS. Now how to write script or what to do so that I can couple and do simulation in CFD? Is there any example file like example file of LIGGGTHS.
Thanks,
Amrita K

amrita | Mon, 08/15/2011 - 14:38

Hi LIGGGHTS users!
Anybody there to reply me? I want to know how to write script to couple DEM with CFD.
Thanks..
Amrita

cgoniva's picture

cgoniva | Mon, 08/15/2011 - 18:23

Hi Amrita,

have you allready downloaded the CFDEM coupling? (See node/237)

Along with the code come three different example cases, which clearify most of your questions.

Cheers,
Chris

amrita | Tue, 08/16/2011 - 12:07

Hi Chris,
Thanks for reply. I found HopperEmptying sub-directory in cfdemSolverPiso_shared directory, there I found other directories with some scripts. But I am wondering how to make Allrun.sh and parCFDDEMrun.sh exe files. Please help me.
Thanks
Amrita

cgoniva's picture

cgoniva | Tue, 08/16/2011 - 16:43

Hi Amrita,

you do not need to make them exe files, they are bash scripts and thus they can be executed via ./nameOfScript.sh
Those scrips will only work if everything is set up and compiled correctly ...

did you follow the installation procedure and successfully compile the cfdem src files and solver? ( see: node/237 )

Cheers,
Chris

amrita | Wed, 08/17/2011 - 01:07

Hi Chris,
I have installed cfdem successfully and I just want to start cfdem. I can run LIGGGHTS but I dont know how to couple it with CFD with your new code CFDEM. I am totally new to cfdem.
Thanks,
A

cgoniva's picture

cgoniva | Wed, 08/17/2011 - 07:37

hi!

please follow the instructions described in the download tutorial (the txt files):

#####################################
# run cfdem testcase
#####################################

#- change to the case path:
cd $FOAM_RUN/cfdemSolverPiso_shared/settlingTestMPI

#- to run the testcase type:
./Allrun.sh

#- in case the Allrun.sh script does not work for you:
cd CFD
decomposePar
mpirun -np 2 cfdemSolverPiso_shared -parallel
reconstructPar
foamToVTK
cd ../DEM
pizza -f pizzaScriptInit
(quit with Strg-d)
visualize the data with paraview

Cheers
Chris

amrita | Wed, 08/17/2011 - 16:34

Hi Chris,
Many many thanks. It is helping me in some way. But I didnt find any info about following command in doc pages:
fix cfd all couple/cfd
Please can you give me more info about this command.
Thanks
A

cgoniva's picture

cgoniva | Thu, 08/18/2011 - 00:40

this is actually a command belonging to an liggghts input script.

It simply enables data transfer between the CFD and the DEM code (pushing and pulling arrays of particle based data)
This functionality is then called from the dataExchange models at CFD side.

Cheers,
Chris

amrita | Tue, 08/16/2011 - 12:07

Hi Chris,
Thanks for reply. I found HopperEmptying sub-directory in cfdemSolverPiso_shared directory, there I found other directories with some scripts. But I am wondering how to make Allrun.sh and parCFDDEMrun.sh exe files. Please help me.
Thanks
Amrita