CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Programming & Development

solidParticleTracking and melting

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 19, 2022, 05:28
Default solidParticleTracking and melting
  #1
New Member
 
Avinash Kumar Verma
Join Date: Jul 2021
Posts: 5
Rep Power: 3
avinashv20 is on a distinguished road
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
avinashv20 is offline   Reply With Quote

Old   February 25, 2022, 11:04
Default
  #2
Member
 
Bas Nieuwboer
Join Date: Mar 2013
Posts: 32
Rep Power: 11
bjnieuwboer is on a distinguished road
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.
bjnieuwboer is offline   Reply With Quote

Reply

Tags
melting openfoam, openfoam 1806, solidparticle

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Stefan Problem : Tin Melting : Moving Boundary swparth OpenFOAM 0 September 21, 2017 14:53
Melting and Solidification Mansoor_shad FLUENT 0 April 23, 2017 13:37
Multiphase Ice slurry with melting model mohibanwar Main CFD Forum 0 March 5, 2016 01:44
Multiphase Ice slurry with melting model mohibanwar Fluent Multiphase 0 March 5, 2016 01:43
Simple Melting Problem flex00 FLUENT 0 March 15, 2013 05:10


All times are GMT -4. The time now is 17:24.