Writing the new solver

Submitted by elham.nasiri on
Riccardo Maione

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

Fri, 31 Oct 2014 - 15:25 Permalink
elham.nasiri

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

Mon, 10 Nov 2014 - 11:04 Permalink
j-kerbl

Hi Elham,

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

Cheers
Josef

Mon, 10 Nov 2014 - 11:44 Permalink
elham.nasiri

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

Mon, 10 Nov 2014 - 13:35 Permalink
elham.nasiri

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

Tue, 11 Nov 2014 - 07:04 Permalink
elham.nasiri

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

Best Wishes.

Sun, 11 Jan 2015 - 07:47 Permalink
Jing Lu

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

Thu, 15 Sep 2016 - 05:03 Permalink
keepfit

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

Tue, 22 Nov 2016 - 19:13 Permalink
ksbiefr

In reply to by keepfit

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

Wed, 16 Aug 2017 - 11:55 Permalink

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