← Back to team overview

yade-dev team mailing list archive

[Bug 672623] Re: NozzleFactory: miss density in the inertia calculation

 

Hi guys, I wrote NozzleFactory in a few hours and Kovt did some
modifications afterwards. I was about to generalize the factory concept
so that it could be easily subclassed (to support different factory
shapes etc), but never had time to do that. Kovt is now using edem (for
other interests than code quality) to run his simulations and seems
unlikely to come back to yade in near future. Sergei, you are therefore
welcome to fix things as you need.

-- 
NozzleFactory: miss density in the inertia calculation
https://bugs.launchpad.net/bugs/672623
You received this bug notification because you are a member of Yade
developers, which is subscribed to Yade.

Status in Yet Another Dynamic Engine: New

Bug description:
NozzleFactory.cpp line 79 should be:

state->inertia=(2./5.)*vol*r*r*material->density*Vector3r::Ones();

Furthermore, NozzleFactory.cpp line 64: hardcoded velocity - seems not good idea...

On the future: 
1. can I commits such bugs by myself or better to make bug reports?





References