|
[Sponsors] |
March 13, 2012, 15:08 |
myKinematicCloud
|
#1 |
New Member
Gregory
Join Date: Nov 2010
Location: Dresden
Posts: 14
Rep Power: 15 |
Hi there,
I modified the class lagrangian/intermediate. I have a compilation problem in the function "move" that evolves the cloud: template<class CloudType> void Foam::KinematicCloud<CloudType>::evolveCloud() { //td typename parcelType::template TrackingData<KinematicCloud<CloudType> > td(*this); const scalar deltaT = mesh_.time().deltaTValue(); CloudType::move(td, deltaT); <- Error here } Error message upon compilation is as follows: blablabla... moveP.C:51:33: instantiated from here /opt/openfoam210/src/OpenFOAM/lnInclude/ILListIO.C:69:40: error: invalid conversion from ‘Foam: particle*’ to ‘Foam::KinematicParcel<Foam: particle>*’ [-fpermissive] make: *** [Make/linuxGccDPOpt/moveP.o] Error 1 Could someone bring me some valuable light on this error ? or any tip would be greatly appreciated. Thanks a lot |
|
March 15, 2012, 05:44 |
|
#2 |
New Member
Gregory
Join Date: Nov 2010
Location: Dresden
Posts: 14
Rep Power: 15 |
Ok I found the problem. I deleted the "Factory class iNew" in the constructor. That's why it stopped working
|
|
Thread Tools | Search this Thread |
Display Modes | |
|
|