CFDEM®coupling- Developer Forum

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

Errors using TwoWayFiles data exchange mode

Submitted by Minghao on

Dear all,

I would like to run a case without MPI. I have modified the parCFDDEMrun.sh and parDEMrun.sh as following.

1) parCFDDEMrun.sh :
#call function to run a CFD-DEM case
CFDrun $logpath $logfileName $casePath $headerText $solverName $debugMode

2) parDEMrun.sh
#call function to run a DEM case
DEMrun $logpath $logfileName $casePath $headerText $solverName $debugMode

In CFD/constant/couplingProperties, I used

why lift force treatForceExplicit set as true

Submitted by gelinhan on

Hi all,

As far as I know, explicit consideration of forces is not available in CFDEM cause only implicit momentum exchange is implemented. But why in the MeiLift.C Line 82 "forceSubM(0).setSwitches(0,true); // enable treatExplicit, otherwise this force would be implicit in slip vel! - IMPORTANT!" appears. One should set the treatExplicit as false anyway, right? The same situation happens to the virtualMassForce as well.

Cheers,
Linhan

Many-to-many communication in CFDEM

Submitted by sbateman on

I'm wondering about the progress of implementing the "many-to-many" communication scheme, as seen in these 2013 and 2015 slides:

http://lammps.sandia.gov/workshops/Aug13/Kloss/LAMMPS_presentation_Klos…
https://openfoamwiki.net/images/a/a9/2015_PFAU_Graz_Kloss_short.pdf

The latter indicates a "Stable Version 1.0" used in some of the test cases, but I can't find any further information about it.

Possible to re-compile only modified files in CFDEM?

Submitted by Evan.J on

I am modifying some models in CFDEM, and after every change I have to recompile using cfdemCompCFDEMsrc which can take several minutes, and this makes the process of developing a new model very slow.

Is there any way to recompile only the files that have been modified?

I'm a newcomer to this type of programming, so please keep that in mind when answering. Any info or ideas would be helpful!

Thanks,

Evan

About big particle void fraction

Submitted by enzu on

Dear CFDEM developer,

I am trying to use the GaussVoidFraction model in our study because the coarse particles we are using are bigger than the CFD cell, but I got the following error

Selecting voidFractionModel Gauss

W A R N I N G - do not use in combination with differentialRegion model!

[3]
[3]
[3] --> FOAM FATAL ERROR:
[3]

This model does not yet work properly - Eqns need to be revised!!!

[3]
[3]
FOAM parallel run aborting
[3]
[1]
[1]
[1] --> FOAM FATAL ERROR:
[1]

PISO or PIMPLE

Submitted by gelinhan on

Hi,

Is there any particular reason that the unresolved coupling is built on the PISO framework? I have modified unresolved coupling to a PIMPLE based process. In this way, it might be easier to implement other OpenFOAM solvers with unresolved coupling. Don't know the pros and cons of doing this. Any thoughts?

Thank you.
Linhan

implement virtual mass force

Submitted by gelinhan on

Hello developers,

I am simulating a liquid-solid flow in which the virtual mass force is significant. The equation of the virtual mass force is like f = 0.5*rhof*Vp*(Duf/Dt-dup/dt). I looked into the virtual mass force model implemented in CFDEM and found that only the material derivative of fluid phase (Duf/Dt) is included. The acceleration of particle (dus/dt) is missing. Is there any simple method to calculate the dup/dt term?

Thank you.
Linhan