Dear OpenLB team,
I got a paper in which they applied Smagorinsky and Fringe Region Technique in Cylinder2D. I tried to apply like this:
#include “fringe2D.h”
#include “fringe2D.hh”
//rest code
void prepareLattice…
//rest code
// Define the fringe region
Vector<T,2> extend( lengthX,lengthY );
Vector<T,2> origin;
IndicatorCuboid2D<T> fringeRegion(extend, origin);
superGeometry.rename(2,6,1,fringeRegion);
Define the reference state
AnalyticalConst2D<T,T> rhoF( 1 );
std::vector<T> velocity( 2,T( 0 ) );
AnalyticalConst2D<T,T> uF( velocity );
Create the Fringe2D functor
Fringe2D<T,DESCRIPTOR> fringe(uF, start, end, direction, lambdaMax, rise, fall);
Apply the fringe region in the collision step
sLattice.defineDynamics<FringeBGKdynamics>(fringeRegion, &fringe);
But this giving out error: cylinder2d.cpp:41:10: fatal error: fringe2D.h: No such file or directory
41 | #include “fringe2D.h”
What is the solution to this? Please help.