|
[Sponsors] |
February 19, 2022, 06:28 |
solidParticleTracking and melting
|
#1 |
New Member
Avinash Kumar Verma
Join Date: Jul 2021
Posts: 5
Rep Power: 5 |
Hello Foamers,
I am trying to couple LPT with interFoam, to simulate solid particle tracking and melting of solid particle as it is acted upon by a laser. I am using OpenFOAM-in-Box-18.06v1 so create the solver. I was looking at the tutorial by Aurelia Vellier http://www.tfd.chalmers.se/~hani/kur...LPT_120911.pdf but while implementing the code I am getting following error; Code:
solidParticleCloud.C:78:53: error: ‘class Foam::solidParticle::trackingData’ has no member named ‘cloud’ solidParticle* ptr1 = new solidParticle(mesh_, td.cloud().pos_, ^~~~~ solidParticleCloud.C:79:30: error: ‘class Foam::solidParticle::trackingData’ has no member named ‘cloud’ cellI, tetFaceI, tetPtI,td.cloud().dP_, td.cloud().UP_); ^~~~~ solidParticleCloud.C:79:46: error: ‘class Foam::solidParticle::trackingData’ has no member named ‘cloud’ cellI, tetFaceI, tetPtI,td.cloud().dP_, td.cloud().UP_); ^~~~~ solidParticleCloud.C: In member function ‘void Foam::solidParticleCloud::move(const dimensionedVector&)’: solidParticleCloud.C:98:30: error: ‘class Foam::solidParticle::trackingData’ has no member named ‘cloud’ if(mesh_.time().value()> td.cloud().tInjStart_ && mesh_.time().value()< td.cloud().tInjEnd_) ^~~~~ solidParticleCloud.C:98:77: error: ‘class Foam::solidParticle::trackingData’ has no member named ‘cloud’ _.time().value()> td.cloud().tInjStart_ && mesh_.time().value()< td.cloud().tInjEnd_) if anyone has done this sort of thing in later versions of openFoam. Please help me solve this issue. Thanks Avinash Kumar Verma Masters Student IIT Kanpur |
|
February 25, 2022, 12:04 |
|
#2 |
Member
Bas Nieuwboer
Join Date: Mar 2013
Posts: 34
Rep Power: 13 |
There are two options: use an old openfoam code or port this code to a more recent code.
I've quickly browsed through the code and saw it was made for openfoam 1.6 dev. I don't know what openfoam series this is exactly. You could try using it via openfoam 1.6 ext: https://openfoamwiki.net/index.php/I...enFOAM-1.6-ext Or via openfoam 1.7.0: https://openfoam.org/download/archive/page/7/ I am not sure, if either will compile on a modern machine, since the code is more than 10 years old. If you want to port the code to a more recent version, I would recommend you to look at what was added to this code based on the interfoam solver of 10 years old. To me, it looks like myCM.H and LPTtoVOF.H were added and the solidparticle class of openfoam 1.6 was used. You could do something similar in a current version of openfoam. I hope this helps you. It might be nice to provide your working code in the end. |
|
Tags |
melting openfoam, openfoam 1806, solidparticle |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Stefan Problem : Tin Melting : Moving Boundary | swparth | OpenFOAM | 0 | September 21, 2017 15:53 |
Melting and Solidification | Mansoor_shad | FLUENT | 0 | April 23, 2017 14:37 |
Multiphase Ice slurry with melting model | mohibanwar | Main CFD Forum | 0 | March 5, 2016 02:44 |
Multiphase Ice slurry with melting model | mohibanwar | Fluent Multiphase | 0 | March 5, 2016 02:43 |
Simple Melting Problem | flex00 | FLUENT | 0 | March 15, 2013 06:10 |