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

coupling of LPT and VOF in interfoam

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 2, 2020, 10:07
Default coupling of LPT and VOF in interfoam
  #1
wqd
New Member
 
Qingdong Wang
Join Date: Mar 2020
Posts: 2
Rep Power: 0
wqd is on a distinguished road
Hey, OpenFoamers,

i want to do the coupling of LPT and VOF in interfoam in OpenFoam 7.0. I followed the tutorials by Chalmers(based on OpenFoam 4.0, I think) but I get an error

Code:
solidParticleCloud.C: In member function 'void Foam::solidParticleCloud::inject(Foam::solidParticle::trackingData&)':
solidParticleCloud.C:79:29: error: 'class Foam::solidParticle::trackingData' has no member named 'cloud'
     mesh_.findCellFacePt(td.cloud().posP1_, cellI, tetFaceI, tetPtI);
                             ^~~~~
solidParticleCloud.C:81:53: error: 'class Foam::solidParticle::trackingData' has no member named 'cloud'
     solidParticle* ptr1= new solidParticle(mesh_,td.cloud().posP1_,cellI,
                                                     ^~~~~
solidParticleCloud.C:82:28: error: 'class Foam::solidParticle::trackingData' has no member named 'cloud'
      tetFaceI, tetPtI,  td.cloud().dP1_,td.cloud().UP1_);
                            ^~~~~
solidParticleCloud.C:82:44: error: 'class Foam::solidParticle::trackingData' has no member named 'cloud'
      tetFaceI, tetPtI,  td.cloud().dP1_,td.cloud().UP1_);
                                            ^~~~~
solidParticleCloud.C:85:29: error: 'class Foam::solidParticle::trackingData' has no member named 'cloud'
     mesh_.findCellFacePt(td.cloud().posP2_, cellI, tetFaceI, tetPtI);
                             ^~~~~
solidParticleCloud.C:87:53: error: 'class Foam::solidParticle::trackingData' has no member named 'cloud'
     solidParticle* ptr2= new solidParticle(mesh_,td.cloud().posP2_,cellI,
                                                     ^~~~~
solidParticleCloud.C:88:42: error: 'class Foam::solidParticle::trackingData' has no member named 'cloud'
                    tetFaceI, tetPtI,  td.cloud().dP2_,td.cloud().UP2_);
                                          ^~~~~
solidParticleCloud.C:88:58: error: 'class Foam::solidParticle::trackingData' has no member named 'cloud'
                    tetFaceI, tetPtI,  td.cloud().dP2_,td.cloud().UP2_);
                                                          ^~~~~
solidParticleCloud.C: In member function 'void Foam::solidParticleCloud::move(const dimensionedVector&)':
solidParticleCloud.C:106:33: error: 'class Foam::solidParticle::trackingData' has no member named 'cloud'
     if(mesh_.time().value()> td.cloud().tInjStart &&
                                 ^~~~~
solidParticleCloud.C:107:27: error: 'class Foam::solidParticle::trackingData' has no member named 'cloud'
  mesh_.time().value()< td.cloud().tInjEnd )
does someone have a hit for this?
wqd is offline   Reply With Quote

Old   May 11, 2020, 04:39
Default
  #2
wqd
New Member
 
Qingdong Wang
Join Date: Mar 2020
Posts: 2
Rep Power: 0
wqd is on a distinguished road
can someone explain the UEqn in MPPICInterfoam?
wqd is offline   Reply With Quote

Old   May 11, 2020, 19:48
Default
  #3
HPE
Senior Member
 
HPE's Avatar
 
Herpes Free Engineer
Join Date: Sep 2019
Location: The Home Under The Ground with the Lost Boys
Posts: 931
Rep Power: 13
HPE is on a distinguished road
`UEqn` is the de facto name for the system of linear algebraic equations constructed for the velocity field in OpenFOAM. So, it is like `A x = b` matrix system, where you try to invert `A` to the right hand side, so that you can find the unknown `x` field, which is the velocity field in`UEqn`.
HPE is offline   Reply With Quote

Reply

Tags
coupling lpt, lpt, vof


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



All times are GMT -4. The time now is 14:36.