Ejemplo n.º 1
0
        public LinearizedHeatConvection(int SpatDim, ThermalBoundaryCondMap _bcmap)
        {
            m_SpatialDimension = SpatDim;
            m_bcmap            = _bcmap;

            tempFunction = new Func <double[], double, double> [GridCommons.FIRST_PERIODIC_BC_TAG, SpatDim];
            tempFunction.SetColumn(m_bcmap.bndFunction[VariableNames.Temperature], 0);
        }
Ejemplo n.º 2
0
        public swipConductivity(double _penaltyBase, int D, ThermalBoundaryCondMap bcmap)
        {
            this.m_penalty_base = _penaltyBase;
            this.m_D            = D;

            tempFunction = D.ForLoop(d => bcmap.bndFunction[VariableNames.Temperature]);
            EdgeTag2Type = bcmap.EdgeTag2Type;
        }
Ejemplo n.º 3
0
        public LinearizedHeatConvection(int SpatDim, ThermalBoundaryCondMap _bcmap)
        {
            m_SpatialDimension = SpatDim;
            m_bcmap            = _bcmap;

            //VelFunction = new Func<double[], double, double>[GridCommons.FIRST_PERIODIC_BC_TAG, SpatDim];
            //for(int d = 0; d < m_SpatialDimension; d++)
            //    VelFunction.SetColumn(m_bcmap.bndFunction[VariableNames.Velocity_d(d)], d);

            TempFunction = m_bcmap.bndFunction[VariableNames.Temperature];
        }