Skip to content

Re: DynSmagorinskyBGKdynamics – Error

Due to recent bot attacks we have changed the sign-up process. If you want to participate in our forum please send a message via our contact form.

Forums OpenLB General Topics DynSmagorinskyBGKdynamics – Error Re: DynSmagorinskyBGKdynamics – Error

#2393

Hi Mathias,rnrnMy phrase have been modified because it was incorrect.

Quote:
It should be noted that the smagoConstIsAt attribut have been defined as const static int (before was const static int)

rnrnThe Lattice<T>::ExternalField::smagoConstIsAt returns a const static int not a const static T. Thus, I changed the type of return of the private attribute smagoConstIsAt in the class DynSmagorinskyBGKdynamics.rnrnThe collide method of the class DynSmagorinskyBGKdynamics seem to obtain the Smagorinsky parameter with the *cell.getExternal(Lattice<T>::ExternalField::smagoConstIsAt). However, I do not see where this parameter it is changed by the collide method of the class. It is changed by other method of the class?rnrnBest regards,rnAlejandro