new to CFDEM

Submitted by amrita on
amrita

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

Mon, 15 Aug 2011 - 14:38 Permalink
cgoniva

In reply to by anonymous_stub (not verified)

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

Mon, 15 Aug 2011 - 18:23 Permalink
amrita

In reply to by anonymous_stub (not verified)

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

Tue, 16 Aug 2011 - 12:07 Permalink
cgoniva

In reply to by anonymous_stub (not verified)

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

Tue, 16 Aug 2011 - 16:43 Permalink
amrita

In reply to by anonymous_stub (not verified)

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

Wed, 17 Aug 2011 - 01:07 Permalink
cgoniva

In reply to by anonymous_stub (not verified)

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

Wed, 17 Aug 2011 - 07:37 Permalink
amrita

In reply to by anonymous_stub (not verified)

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

Wed, 17 Aug 2011 - 16:34 Permalink
cgoniva

In reply to by anonymous_stub (not verified)

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

Thu, 18 Aug 2011 - 00:40 Permalink
amrita

In reply to by anonymous_stub (not verified)

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

Tue, 16 Aug 2011 - 12:07 Permalink

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