Writing the new solver

Submitted by elham.nasiri on Sat, 10/25/2014 - 13:58

Hello Dear all
I need to write the solver for coupling interFoam and liggghts. Can I replace the CFD files of cfdemSolverPiso with the files of interfoam solver and change the code of cfdemSolverPiso?
Please let me know the stages of writing new solver.

Thanks
Elham

Riccardo Maione's picture

Riccardo Maione | Fri, 10/31/2014 - 15:25

Hello elham,

I didn't get what you plan to do, what do you mean by replace the CFD files of cfdemSolverPiso with the files of interfoam?
however, to write a solver the first thing to do is to know the equations you want in your system and the type of solver you want to implement.

Best regards

elham.nasiri | Mon, 11/10/2014 - 11:04

Hi Riccardo
Thanks for your reply.
I writed a solver (cfdemSolverinterFoam), modified the createFields.H file and removed the .dep file and linux64GccDPOpt folder before wmake-ing but the result of wmakeing is:

make: *** No rule to make target `cfdemSolverinterFoam.dep', needed by `Make/linux64GccDPOpt/dependencies'. Stop.

I don't know the reason of this message!
please help me.

Thanks
Elham

j-kerbl's picture

j-kerbl | Mon, 11/10/2014 - 11:44

Hi Elham,

did you modify your options and files files in the Make directory?

Cheers
Josef

elham.nasiri | Mon, 11/10/2014 - 13:35

Hi Josef
Yes, I modified these files!
I changed the name of solver In the files file and replaced only singlephaseTransportModel with twoPhaseTransportModel in the options file.
is it ok?

Regards
Elham

j-kerbl's picture

j-kerbl | Mon, 11/10/2014 - 15:06

Hi Elham,

maybe a
wclean
rmdepall
might help!

Cheers

elham.nasiri | Tue, 11/11/2014 - 07:04

Hi Josef
Good time,
I entered these scripts but the result was same:
make: *** No rule to make target `cfdemSolverinterFoam.dep', needed by `Make/linux64GccDPOpt/dependencies'. Stop.

I guess the problem is other thing because the dependencies text file in linux64GccDPOpt folder and the cfdemSolverinterFoam.dep file did not created !?

Best Regards
Elham

naren | Fri, 01/09/2015 - 05:06

Hi Elham,

Is your solver (interfoam with liggghts) working now?

Regards,

elham.nasiri | Sun, 01/11/2015 - 07:47

Hi naren,
I wrote a new solver but don't working very good yet!

Best Wishes.

sdzahedi@yahoo.com | Tue, 08/16/2016 - 22:26

Hi Guys,
anyone succeed to couple InterFoam or other OpenFoam solver with LIGGGHTS?

Thanks

Jing Lu | Thu, 09/15/2016 - 05:03

Hi Guys,

Please read this post for the work done by Goniva and his group. You can find a very nicely written master thesis that can be followed to create a interfoam-liggghts solver.
I have implemented this and done some successful tests. Issues on grid-particle size ratio is also discussed. Please check below if you are interested.
Extended CFD–DEM for free-surface flow with multi-size granules. DOI: 10.1002/nag.2387

keepfit | Tue, 11/22/2016 - 19:13

I have been playing CFDEM to solver gas-liquid and solid particles interaction for a while, all you need to do is :
1. adding VOF method to the original cfdemPisoSolver
2. modification of the original OpenFOAM VOF method which takes into account the existing of particles in a CFD cell, i.e. the volume fraction occupied by particles affects the alpha0 and alpha1

good luck.

If you have any question u can also PM to me

ksbiefr | Wed, 08/16/2017 - 11:55

Dear,

Your work seem very interesting to me because i am also working on gas-liquid and solid particles interaction. But i am kind of stuck between CFD-DEM COUPLED TO VOF method.
Could you please guide me how you develop the solver (CFD-DEM COUPLED TO VOF).
Did you published any stuff please share it.
ksbiefr (at) gmail (dot) com

Regards,
Khurram