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

myKinematicCloud

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 13, 2012, 15:08
Default myKinematicCloud
  #1
New Member
 
Gregory
Join Date: Nov 2010
Location: Dresden
Posts: 14
Rep Power: 15
catapult is on a distinguished road
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
catapult is offline   Reply With Quote

Old   March 15, 2012, 05:44
Default
  #2
New Member
 
Gregory
Join Date: Nov 2010
Location: Dresden
Posts: 14
Rep Power: 15
catapult is on a distinguished road
Ok I found the problem. I deleted the "Factory class iNew" in the constructor. That's why it stopped working
catapult is offline   Reply With Quote

Reply

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



All times are GMT -4. The time now is 19:46.