CFDEM®coupling- Developer Forum

Topics related to developing with CFDEM®coupling can be discussed here: discussion about implementation details, C++, MPI and debugging tools

Implementation of water evaporation from particle surface

Submitted by hossain.aziz on

Hi,

I am modifying the cohesion model to implement drying in it. I want to model water evaporation from particle surface. Can anyone please suggest/help me on how to implement water evaporation from particle surface in CFDEM coupling ?

with regards,
Hossain

particle torque in compute pair/gran/local

Submitted by jagan1mohan on

Hello Team,

Greetings. I'm trying to learn LIGGGHTS to simulate filling of spherical particles and also pair interactions. In compute pair/gran/local documentation, it says torque values are divided by diameter (in the keyword-value section) and torque values are divided by radius (in subsequent description). Which is correct, either diameter or radius?

Thank you,
Jagan1Mohan

particle explosion

Submitted by mschramm on

Hello,
I am working on coupling the fiber model with CFD and have hit a snag with a simulation.
I have a long fiber fixed at one end (using fix freeze) while all other atoms are free to interact.
I have 0.5 m/s air traveling up from the bottom of the domain and all other boundaries are zero gradient.

After a few moments an explosion occurs at the spheres and I do not know where to start to look to find the problem.
I have tried IB solvers and the piso solver but both cause this type of problem.

Lpp python script - post processing

Submitted by Kathy on

Hello All,
I have installed CFDEM coupling and it works perfectly. Using octave we can get all results but there is a problem when the shell reads the following line in the post processing

#- get VTK data from liggghts dump file
cd $casePath/DEM/post
python -i $CFDEM_LPP_DIR/lpp.py dump.liggghts_run

this line will be executed and the conversion to VTK will occurs but the code stalls on this line and does not return to execute the rest of the shell (go to CFD/fomeToVTK folder and open paraview, or etc..)

How to access fluid velocity in cohesion model

Submitted by syedUConn on

Hi,

I am modifying the cohesion model to implement drying in it. For this I need to use the fluid velocity. I coud get fluid temperature but I do not know how can I get the fluid velocity in the code.
I used something like the following but I know this is not correct

fix_uf_ = static_cast(modify->find_fix_property("fix_uf_","property/atom","scalar",0,0,"cohesion_model_moisture/capillary/viscous"));

Can someone please help?

About compilation of resetInterpolators in cfdTools

Submitted by enzu on

Dear CFDEM developers,

I need to interpolate a user-defined scalar value "Gamma" in one of the dragforce model, e.g. GidaspowDrag.C. I've created a new file named "resetGammaInterpolator.H" under the folder /CFDEM/CFDEMcoupling-PUBLIC-4.x/src/lagrangian/cfdemParticle/cfdTools/resetInterpolators. The file only contains the following line:

GammaInterpolator_.reset(interpolation::New(propsDict_.lookupOrDefault("GammaInterpolationType",word("cellPoint")),Gamma_).ptr());

Particles Blowing Up

Submitted by NSalloum on

hello,

I performed two simulations of a mixing process using two stirrers of different geometries. Although the same material properties and time step are used in both simulations, the system is "blowing up" when using one of the stirrers. The time step is then representing more than 10% of hertz time (even reaching 18% sometimes), unlike using the other stirrer where the time step doesn't exceed 7% of hertz time.

So do you have any suggestions of what is causing this problem and in what way should I think to solve this problem ?

best wishes,
Nsalloum

Modification of source code not working

Submitted by aishk on

Hi,
I need to extend the source code on LIGGGHTS so I decided to start with looking at adding a few fprintf statements for debugging but any fprintf statements I add to the source code doesn't seem to be showing up on the terminal screen or on the logfile.
This is how I am remaking LIGGGHTS after any modifications:
make clean-auto
make stubs
make auto

Is there something I am doing wrong or not doing?
Any help is appreciated!
Thanks