/*==================================================================================== ! Purpose(s): ! ! Contain(s): ! ! Author(s): Javier Lopez Lara (jav.lopez@unican.es) ! Gabriel Barajas (barajasg@unican.es) !====================================================================================*/ const double realize = 2.0; const double PI = 3.1415926535897932384626433832795; const double Kappa=0.41L; // Von Karman constant (logarithmic law profile for the streamwise velocity). const double OBSTACLE=1e-6; // Values of AC less than this one are considered obstacles. const double E = 9.0L; // For small walls (CalcFricVel). enum EPorosityModel {pmNone=0, pmLinearFriction=1, pmNonlinearFriction=2}; enum EBoundaryConditions {bcRigidFreeSlip=1, bcRigidNoSlip=2, bcContinuativeOutflow=3, bcPeriodic=4, bcAppliedPressure=5, bcSpecInflowOutFlow=6}; enum ECellType {ctCellFullOfFluid=0, ctRightFreeSurface=1, ctLeftFreeSurface=2, ctTopFreeSurface=3, ctBottomFreeSurface=4, ctIsolatedCell=5, ctEmptyCell=6}; enum EWavemakerType {wtSourceRegion=100}; enum ESourceType {stStokesIIOrder=4, stSolitary=5, stStokesVOrder=14, stCNoidal=24, stLinear=34, stIrregular=44}; enum EKEModel {keNoTurbulence=0, keLinearEddyVisc=1, ke1EqKLModel=2, keReynoldsTensor=3, keNonLinearEddyVisc=4}; enum ESpongeType {stNoSponge=0, stSpongeAtRightBoundary=1, stSpongeAtLeftBoundary=2, stSpongeAtBothBoundaries=3, stSpongeBetweenTwoBoundaries=4};