ParticulateFlow / CFDEMcoupling-PFM

This is an academic adaptation of the CFDEMcoupling software package, released by the Department of Particulate Flow Modelling at Johannes Kepler University in Linz, Austria http://www.jku.at/pfm
GNU General Public License v3.0
71 stars 40 forks source link

Build with OpenFoam 7 #6

Open mottelet opened 1 year ago

mottelet commented 1 year ago

Hello,

are the install instructions valid for OpenFoam 7 ?

S.

danielque commented 1 year ago

There are a few (minor) differences between OF6 and OF7 that will require adapting the CFDEMcoupling code but that should actually be quite feasible.

mottelet commented 1 year ago

OK. Let me ask another question. In the installation instructions (2.2. Installing CFDEMcoupling) "Make sure OpenFOAM is set up correctly and LIGGGHTS is installed as well". Which LIGGGHTS distribution is recommended ?

danielque commented 1 year ago

It has to be LIGGGHTS-PFM, ideally with the same version number as CFDEMcoupling-PFM.

mottelet commented 1 year ago

Ok, thanks.

mottelet commented 1 year ago

Hello,

Would you have instruction to allow the compilation of CFDEMcoupling-PFM with OpenFOAM 7 ? Our server runs under Centos 7.9 and the dependencies of OpenFOAM 6 are completely incompatible with current versions we have there. Thanks for your help.

S.

danielque commented 1 year ago

I don't have a compiled set of instructions at hand. Just follow the existing instructions and replace OF6 by OF7, compile and see what errors you get. Most should be rather trivial to fix such as changing nCorrPISO() to nCorrPiso(), removing parameters from some solve() methods, or changing the order of parameters in writeEntry() functions ...

MarkoRamius commented 1 year ago

@mottelet Can you elaborate on the problems with CentOS and OpenFOAM?

I have a CentOS-7.8 (CentOS Linux release 7.8.2003 (Core)) machine with OpenFOAM version 2.3.x through 9 (except 3 and 7) along with 20.06 and 21.12 running. So, it should be doable.