Пример #1
0
 public FSI_ConvectionAtIB(int currentDim, int spatialDim, LevelSetTracker LsTrk, IncompressibleBoundaryCondMap _bcmap, Func <double[], double[]> getParticleParams, bool useMovingMesh)
 {
     m_LsTrk             = LsTrk;
     m_D                 = spatialDim;
     m_d                 = currentDim;
     m_getParticleParams = getParticleParams;
     m_UseMovingMesh     = useMovingMesh;
     NegFlux             = new LinearizedConvection(spatialDim, _bcmap, currentDim);
 }
Пример #2
0
        public ActiveConvectionAtIB(int _d, int _D, LevelSetTracker LsTrk, double _LFFA, IncompressibleBoundaryCondMap _bcmap, Func <double[], double, double[]> getParticleParams, double fluidDensity, bool UseMovingMesh)
        {
            m_LsTrk = LsTrk;
            m_D     = _D;
            m_d     = _d;
            LFFA    = _LFFA;
            this.m_getParticleParams = getParticleParams;
            //varMode = _varMode;
            fDensity        = fluidDensity;
            m_UseMovingMesh = UseMovingMesh;

            NegFlux = new LinearizedConvection(_D, _bcmap, _d);
            //NegFlux = new ConvectionInBulk_LLF(_D, _bcmap, _d, fluidDensity, 0, _LFFA, double.NaN, LsTrk);
            //NegFlux.SetParameter("A", LsTrk.GetSpeciesId("A"), null);
        }