请教关于添加自适应网格遇到错误foam fatal error: index 50000 out of range 0..49999
-
大家好,我参考openfoam自带的求解器,在求解器中添加自适应网格的功能。我的算例网格总数是50000,运行算例的时候,遇到下面的错误
以下是reactMinMax.H 17-30行17 const label tautableDim = 3; 18 19 forAll(p,i) 20 { 21 List<scalar> lookupCoordinates(tautableDim,0.0); 22 lookupCoordinates[0]=fH[i]; 23 lookupCoordinates[1]=pHI[i]; 24 lookupCoordinates[2]=THI[i]; 25 26 const List<scalar> &LOG_t_ign_temp = tignTable.lookUpBounded(lookupCoordinates,false); 27 tIgnHI[i] = min(max(1e-14,pow(10,LOG_t_ign_temp[0])),1e9); 28 29 } 30 tIgnHI.correctBoundaryConditions();
请教大家问题在哪呢