From 023340c3615c5bb92bb3959848c09590137657b1 Mon Sep 17 00:00:00 2001 From: Charles Mader Date: Wed, 29 May 2019 13:22:40 -0500 Subject: [PATCH 01/21] initial updates for petsc-3.10 --- src/adjoint/adjointUtils.F90 | 2 +- src/modules/precision.F90 | 4 +- src/overset/zipperMesh.F90 | 2 +- src/partitioning/gridChecking.F90 | 26 +++---- src/partitioning/loadBalance.F90 | 46 +++++------ src/partitioning/readCGNSGrid.F90 | 26 +++---- src/preprocessing/pointMatchedCommPattern.F90 | 76 +++++++++---------- src/preprocessing/preprocessingAPI.F90 | 2 +- src/solver/agmg.F90 | 3 +- src/utils/utils.F90 | 2 +- 10 files changed, 96 insertions(+), 93 deletions(-) diff --git a/src/adjoint/adjointUtils.F90 b/src/adjoint/adjointUtils.F90 index b8bfd5cc1..65fe1f77c 100644 --- a/src/adjoint/adjointUtils.F90 +++ b/src/adjoint/adjointUtils.F90 @@ -714,7 +714,7 @@ subroutine allocDerivativeValues(level) use inputDiscretization, only : useApproxWallDistance use inputPhysics, only : wallDistanceNeeded use communication, only : adflow_comm_world - use wallDistanceData, only : xSurfVec, xSurfVecd, PETSC_DETERMINE + use wallDistanceData, only : xSurfVec, xSurfVecd!, PETSC_DETERMINE use BCPointers_b use adjointVars, only : derivVarsAllocated use utils, only : EChk, setPointers, getDirAngle diff --git a/src/modules/precision.F90 b/src/modules/precision.F90 index 8dde1dca2..c8bb053da 100644 --- a/src/modules/precision.F90 +++ b/src/modules/precision.F90 @@ -14,10 +14,12 @@ module precision ! omitted the default integer and double precision are used. ! ! + use mpi implicit none save -#include "mpif.h" +!#include "mpif.h" + ! ! Definition of the integer type used in the entire code. There ! might be a more elegant solution to do this, but be sure that diff --git a/src/overset/zipperMesh.F90 b/src/overset/zipperMesh.F90 index cffff3c63..2444676fd 100644 --- a/src/overset/zipperMesh.F90 +++ b/src/overset/zipperMesh.F90 @@ -490,7 +490,7 @@ subroutine createZipperMesh(zipperFamList, nZipFam) #if PETSC_VERSION_GE(3,8,0) call VecScatterCreate(BCFamExchange(iBCGroup, sps)%nodeValLocal, IS1, & - zipper%localVal, PETSC_NULL_VEC, zipper%scatter, ierr) + zipper%localVal, PETSC_NULL_IS, zipper%scatter, ierr) #else call VecScatterCreate(BCFamExchange(iBCGroup, sps)%nodeValLocal, IS1, & zipper%localVal, PETSC_NULL_OBJECT, zipper%scatter, ierr) diff --git a/src/partitioning/gridChecking.F90 b/src/partitioning/gridChecking.F90 index 153d8edc4..2c10717a1 100644 --- a/src/partitioning/gridChecking.F90 +++ b/src/partitioning/gridChecking.F90 @@ -445,7 +445,7 @@ subroutine check1to1Subfaces integer(kind=intType) :: nMessagesSend, nMessagesReceive integer(kind=intType) :: nBad, nBadGlobal - integer(kind=intType), dimension(3,3) :: tMat + integer(kind=intType), dimension(3,3) :: trMat integer(kind=intType), dimension(0:nProc) :: nFSend, nCoor integer(kind=intType), dimension(nProc) :: nFCount, nCCount @@ -585,17 +585,17 @@ subroutine check1to1Subfaces ll1 = l1(ll); ll2 = L2(ll); ll3 = l3(ll) - tMat(1,1) = sign(1_intType,ll1) * delta(ll1,1_intType) - tMat(1,2) = sign(1_intType,ll1) * delta(ll1,2_intType) - tMat(1,3) = sign(1_intType,ll1) * delta(ll1,3_intType) + trMat(1,1) = sign(1_intType,ll1) * delta(ll1,1_intType) + trMat(1,2) = sign(1_intType,ll1) * delta(ll1,2_intType) + trMat(1,3) = sign(1_intType,ll1) * delta(ll1,3_intType) - tMat(2,1) = sign(1_intType,ll2) * delta(ll2,1_intType) - tMat(2,2) = sign(1_intType,ll2) * delta(ll2,2_intType) - tMat(2,3) = sign(1_intType,ll2) * delta(ll2,3_intType) + trMat(2,1) = sign(1_intType,ll2) * delta(ll2,1_intType) + trMat(2,2) = sign(1_intType,ll2) * delta(ll2,2_intType) + trMat(2,3) = sign(1_intType,ll2) * delta(ll2,3_intType) - tMat(3,1) = sign(1_intType,ll3) * delta(ll3,1_intType) - tMat(3,2) = sign(1_intType,ll3) * delta(ll3,2_intType) - tMat(3,3) = sign(1_intType,ll3) * delta(ll3,3_intType) + trMat(3,1) = sign(1_intType,ll3) * delta(ll3,1_intType) + trMat(3,2) = sign(1_intType,ll3) * delta(ll3,2_intType) + trMat(3,3) = sign(1_intType,ll3) * delta(ll3,3_intType) ! Store the coordinates in realBuf by looping over the ! points of the subface. @@ -613,11 +613,11 @@ subroutine check1to1Subfaces ll3 = k - dknBeg(ll) ic = inBeg(ll) & - + tMat(1,1)*ll1 + tMat(1,2)*ll2 + tMat(1,3)*ll3 + + trMat(1,1)*ll1 + trMat(1,2)*ll2 + trMat(1,3)*ll3 jc = jnBeg(ll) & - + tMat(2,1)*ll1 + tMat(2,2)*ll2 + tMat(2,3)*ll3 + + trMat(2,1)*ll1 + trMat(2,2)*ll2 + trMat(2,3)*ll3 kc = knBeg(ll) & - + tMat(3,1)*ll1 + tMat(3,2)*ll2 + tMat(3,3)*ll3 + + trMat(3,1)*ll1 + trMat(3,2)*ll2 + trMat(3,3)*ll3 ! Store the coordinates in the buffer. diff --git a/src/partitioning/loadBalance.F90 b/src/partitioning/loadBalance.F90 index 1bdc06e11..48a8bedae 100644 --- a/src/partitioning/loadBalance.F90 +++ b/src/partitioning/loadBalance.F90 @@ -1809,7 +1809,7 @@ subroutine externalFacesSubblock(cgnsID, ii, jj, nSubPerCGNS, & integer(kind=intType) :: diBeg, diEnd, djBeg, djEnd integer(kind=intType) :: dkBeg, dkEnd - integer(kind=intType), dimension(3,3) :: tMat + integer(kind=intType), dimension(3,3) :: trMat integer(kind=intType), dimension(:,:,:), pointer :: ranges @@ -1922,17 +1922,17 @@ subroutine externalFacesSubblock(cgnsID, ii, jj, nSubPerCGNS, & L2 = cgnsDoms(cgnsID)%conn1to1(j)%l2 l3 = cgnsDoms(cgnsID)%conn1to1(j)%l3 - tMat(1,1) = sign(1_intType,l1) * delta(l1,1_intType) - tMat(2,1) = sign(1_intType,l1) * delta(l1,2_intType) - tMat(3,1) = sign(1_intType,l1) * delta(l1,3_intType) + trMat(1,1) = sign(1_intType,l1) * delta(l1,1_intType) + trMat(2,1) = sign(1_intType,l1) * delta(l1,2_intType) + trMat(3,1) = sign(1_intType,l1) * delta(l1,3_intType) - tMat(1,2) = sign(1_intType,l2) * delta(l2,1_intType) - tMat(2,2) = sign(1_intType,l2) * delta(l2,2_intType) - tMat(3,2) = sign(1_intType,l2) * delta(l2,3_intType) + trMat(1,2) = sign(1_intType,l2) * delta(l2,1_intType) + trMat(2,2) = sign(1_intType,l2) * delta(l2,2_intType) + trMat(3,2) = sign(1_intType,l2) * delta(l2,3_intType) - tMat(1,3) = sign(1_intType,l3) * delta(l3,1_intType) - tMat(2,3) = sign(1_intType,l3) * delta(l3,2_intType) - tMat(3,3) = sign(1_intType,l3) * delta(l3,3_intType) + trMat(1,3) = sign(1_intType,l3) * delta(l3,1_intType) + trMat(2,3) = sign(1_intType,l3) * delta(l3,2_intType) + trMat(3,3) = sign(1_intType,l3) * delta(l3,3_intType) ! Determine the corresponding donor range of the subface ! iBeg, iEnd; jBeg, jEnd; kBeg, kEnd. @@ -1942,22 +1942,22 @@ subroutine externalFacesSubblock(cgnsID, ii, jj, nSubPerCGNS, & l3 = kBeg - cgnsDoms(cgnsID)%conn1to1(j)%kBeg diBeg = cgnsDoms(cgnsID)%conn1to1(j)%diBeg & - + tMat(1,1)*l1 + tMat(1,2)*l2 + tMat(1,3)*l3 + + trMat(1,1)*l1 + trMat(1,2)*l2 + trMat(1,3)*l3 djBeg = cgnsDoms(cgnsID)%conn1to1(j)%djBeg & - + tMat(2,1)*l1 + tMat(2,2)*l2 + tMat(2,3)*l3 + + trMat(2,1)*l1 + trMat(2,2)*l2 + trMat(2,3)*l3 dkBeg = cgnsDoms(cgnsID)%conn1to1(j)%dkBeg & - + tMat(3,1)*l1 + tMat(3,2)*l2 + tMat(3,3)*l3 + + trMat(3,1)*l1 + trMat(3,2)*l2 + trMat(3,3)*l3 l1 = iEnd - cgnsDoms(cgnsID)%conn1to1(j)%iBeg L2 = jEnd - cgnsDoms(cgnsID)%conn1to1(j)%jBeg l3 = kEnd - cgnsDoms(cgnsID)%conn1to1(j)%kBeg diEnd = cgnsDoms(cgnsID)%conn1to1(j)%diBeg & - + tMat(1,1)*l1 + tMat(1,2)*l2 + tMat(1,3)*l3 + + trMat(1,1)*l1 + trMat(1,2)*l2 + trMat(1,3)*l3 djEnd = cgnsDoms(cgnsID)%conn1to1(j)%djBeg & - + tMat(2,1)*l1 + tMat(2,2)*l2 + tMat(2,3)*l3 + + trMat(2,1)*l1 + trMat(2,2)*l2 + trMat(2,3)*l3 dkEnd = cgnsDoms(cgnsID)%conn1to1(j)%dkBeg & - + tMat(3,1)*l1 + tMat(3,2)*l2 + tMat(3,3)*l3 + + trMat(3,1)*l1 + trMat(3,2)*l2 + trMat(3,3)*l3 ! Make sure that the donor indices are positive running ! indices. If they must be swapped, the corresponding @@ -2067,7 +2067,7 @@ subroutine externalFacesSubblock(cgnsID, ii, jj, nSubPerCGNS, & ! Transform the donor range in the original donor block ! back the a subface range in the original cgns block. - ! The inverse of the transformation matrix tMat is + ! The inverse of the transformation matrix trMat is ! the transpose. l1 = iBeg - cgnsDoms(cgnsID)%conn1to1(j)%diBeg @@ -2075,22 +2075,22 @@ subroutine externalFacesSubblock(cgnsID, ii, jj, nSubPerCGNS, & l3 = kBeg - cgnsDoms(cgnsID)%conn1to1(j)%dkBeg iBeg = cgnsDoms(cgnsID)%conn1to1(j)%iBeg & - + tMat(1,1)*l1 + tMat(2,1)*l2 + tMat(3,1)*l3 + + trMat(1,1)*l1 + trMat(2,1)*l2 + trMat(3,1)*l3 jBeg = cgnsDoms(cgnsID)%conn1to1(j)%jBeg & - + tMat(1,2)*l1 + tMat(2,2)*l2 + tMat(3,2)*l3 + + trMat(1,2)*l1 + trMat(2,2)*l2 + trMat(3,2)*l3 kBeg = cgnsDoms(cgnsID)%conn1to1(j)%kBeg & - + tMat(1,3)*l1 + tMat(2,3)*l2 + tMat(3,3)*l3 + + trMat(1,3)*l1 + trMat(2,3)*l2 + trMat(3,3)*l3 l1 = iEnd - cgnsDoms(cgnsID)%conn1to1(j)%diBeg L2 = jEnd - cgnsDoms(cgnsID)%conn1to1(j)%djBeg l3 = kEnd - cgnsDoms(cgnsID)%conn1to1(j)%dkBeg iEnd = cgnsDoms(cgnsID)%conn1to1(j)%iBeg & - + tMat(1,1)*l1 + tMat(2,1)*l2 + tMat(3,1)*l3 + + trMat(1,1)*l1 + trMat(2,1)*l2 + trMat(3,1)*l3 jEnd = cgnsDoms(cgnsID)%conn1to1(j)%jBeg & - + tMat(1,2)*l1 + tMat(2,2)*l2 + tMat(3,2)*l3 + + trMat(1,2)*l1 + trMat(2,2)*l2 + trMat(3,2)*l3 kEnd = cgnsDoms(cgnsID)%conn1to1(j)%kBeg & - + tMat(1,3)*l1 + tMat(2,3)*l2 + tMat(3,3)*l3 + + trMat(1,3)*l1 + trMat(2,3)*l2 + trMat(3,3)*l3 ! Store the subface range of the new block, i.e. ! An offset must be subtracted. diff --git a/src/partitioning/readCGNSGrid.F90 b/src/partitioning/readCGNSGrid.F90 index 16892889f..d3ce6a479 100644 --- a/src/partitioning/readCGNSGrid.F90 +++ b/src/partitioning/readCGNSGrid.F90 @@ -1279,7 +1279,7 @@ subroutine checkTransform(transform, nZone, n1to1, printWarning) integer(kind=intType), dimension(3) :: haloDir, donorDir integer(kind=intType), dimension(3,2) :: zoneRange, donorRange - integer(kind=intType), dimension(3,3) :: tMat + integer(kind=intType), dimension(3,3) :: trMat character(len=maxCGNSNameLen) :: zoneName, connectName character(len=2*maxStringLen) :: errorMessage @@ -1412,17 +1412,17 @@ subroutine checkTransform(transform, nZone, n1to1, printWarning) L2 = transform(2) l3 = transform(3) - tMat(1,1) = sign(1_intType,l1) * delta(l1,1_intType) - tMat(2,1) = sign(1_intType,l1) * delta(l1,2_intType) - tMat(3,1) = sign(1_intType,l1) * delta(l1,3_intType) + trMat(1,1) = sign(1_intType,l1) * delta(l1,1_intType) + trMat(2,1) = sign(1_intType,l1) * delta(l1,2_intType) + trMat(3,1) = sign(1_intType,l1) * delta(l1,3_intType) - tMat(1,2) = sign(1_intType,l2) * delta(l2,1_intType) - tMat(2,2) = sign(1_intType,l2) * delta(l2,2_intType) - tMat(3,2) = sign(1_intType,l2) * delta(l2,3_intType) + trMat(1,2) = sign(1_intType,l2) * delta(l2,1_intType) + trMat(2,2) = sign(1_intType,l2) * delta(l2,2_intType) + trMat(3,2) = sign(1_intType,l2) * delta(l2,3_intType) - tMat(1,3) = sign(1_intType,l3) * delta(l3,1_intType) - tMat(2,3) = sign(1_intType,l3) * delta(l3,2_intType) - tMat(3,3) = sign(1_intType,l3) * delta(l3,3_intType) + trMat(1,3) = sign(1_intType,l3) * delta(l3,1_intType) + trMat(2,3) = sign(1_intType,l3) * delta(l3,2_intType) + trMat(3,3) = sign(1_intType,l3) * delta(l3,3_intType) ! Apply the transformation matrix to haloDir. @@ -1430,9 +1430,9 @@ subroutine checkTransform(transform, nZone, n1to1, printWarning) L2 = haloDir(2) l3 = haloDir(3) - haloDir(1) = tMat(1,1)*l1 + tMat(1,2)*l2 + tMat(1,3)*l3 - haloDir(2) = tMat(2,1)*l1 + tMat(2,2)*l2 + tMat(2,3)*l3 - haloDir(3) = tMat(3,1)*l1 + tMat(3,2)*l2 + tMat(3,3)*l3 + haloDir(1) = trMat(1,1)*l1 + trMat(1,2)*l2 + trMat(1,3)*l3 + haloDir(2) = trMat(2,1)*l1 + trMat(2,2)*l2 + trMat(2,3)*l3 + haloDir(3) = trMat(3,1)*l1 + trMat(3,2)*l2 + trMat(3,3)*l3 ! If the transformation matrix is correct haloDir == donorDir. ! If this is not the case, there are two possibilities. Either diff --git a/src/preprocessing/pointMatchedCommPattern.F90 b/src/preprocessing/pointMatchedCommPattern.F90 index e1dca42a1..8db6875e3 100644 --- a/src/preprocessing/pointMatchedCommPattern.F90 +++ b/src/preprocessing/pointMatchedCommPattern.F90 @@ -827,7 +827,7 @@ subroutine determineFaceHalos(level) integer(kind=intType), dimension(3) :: myOffset, donorOffset integer(kind=intType), dimension(3) :: step - integer(kind=intType), dimension(3,3) :: tMat + integer(kind=intType), dimension(3,3) :: trMat integer(kind=intType), dimension(3,2) :: myCellRange integer(kind=intType), dimension(3,2) :: myNodeRange integer(kind=intType), dimension(3,2) :: donorCellRange @@ -1011,29 +1011,29 @@ subroutine determineFaceHalos(level) ! Determine the complete transformation matrix from the ! given shorthand. - tMat(1,1) = sign(1_intType,l1(mm)) * delta(l1(mm),1_intType) - tMat(2,1) = sign(1_intType,l1(mm)) * delta(l1(mm),2_intType) - tMat(3,1) = sign(1_intType,l1(mm)) * delta(l1(mm),3_intType) + trMat(1,1) = sign(1_intType,l1(mm)) * delta(l1(mm),1_intType) + trMat(2,1) = sign(1_intType,l1(mm)) * delta(l1(mm),2_intType) + trMat(3,1) = sign(1_intType,l1(mm)) * delta(l1(mm),3_intType) - tMat(1,2) = sign(1_intType,l2(mm)) * delta(l2(mm),1_intType) - tMat(2,2) = sign(1_intType,l2(mm)) * delta(l2(mm),2_intType) - tMat(3,2) = sign(1_intType,l2(mm)) * delta(l2(mm),3_intType) + trMat(1,2) = sign(1_intType,l2(mm)) * delta(l2(mm),1_intType) + trMat(2,2) = sign(1_intType,l2(mm)) * delta(l2(mm),2_intType) + trMat(3,2) = sign(1_intType,l2(mm)) * delta(l2(mm),3_intType) - tMat(1,3) = sign(1_intType,l3(mm)) * delta(l3(mm),1_intType) - tMat(2,3) = sign(1_intType,l3(mm)) * delta(l3(mm),2_intType) - tMat(3,3) = sign(1_intType,l3(mm)) * delta(l3(mm),3_intType) + trMat(1,3) = sign(1_intType,l3(mm)) * delta(l3(mm),1_intType) + trMat(2,3) = sign(1_intType,l3(mm)) * delta(l3(mm),2_intType) + trMat(3,3) = sign(1_intType,l3(mm)) * delta(l3(mm),3_intType) ! Determine the offset of the donor block. - donorOffset(1) = tMat(1,1)*myOffset(1) & - + tMat(1,2)*myOffset(2) & - + tMat(1,3)*myOffset(3) - donorOffset(2) = tMat(2,1)*myOffset(1) & - + tMat(2,2)*myOffset(2) & - + tMat(2,3)*myOffset(3) - donorOffset(3) = tMat(3,1)*myOffset(1) & - + tMat(3,2)*myOffset(2) & - + tMat(3,3)*myOffset(3) + donorOffset(1) = trMat(1,1)*myOffset(1) & + + trMat(1,2)*myOffset(2) & + + trMat(1,3)*myOffset(3) + donorOffset(2) = trMat(2,1)*myOffset(1) & + + trMat(2,2)*myOffset(2) & + + trMat(2,3)*myOffset(3) + donorOffset(3) = trMat(3,1)*myOffset(1) & + + trMat(3,2)*myOffset(2) & + + trMat(3,3)*myOffset(3) ! ! First treat the nodes on the subface. ! @@ -1052,11 +1052,11 @@ subroutine determineFaceHalos(level) kk = k - myNodeRange(3,1) iD = donorOffset(1) + dinBeg(mm) & - + tMat(1,1)*ii + tMat(1,2)*jj + tMat(1,3)*kk + + trMat(1,1)*ii + trMat(1,2)*jj + trMat(1,3)*kk jD = donorOffset(2) + djnBeg(mm) & - + tMat(2,1)*ii + tMat(2,2)*jj + tMat(2,3)*kk + + trMat(2,1)*ii + trMat(2,2)*jj + trMat(2,3)*kk kD = donorOffset(3) + dknBeg(mm) & - + tMat(3,1)*ii + tMat(3,2)*jj + tMat(3,3)*kk + + trMat(3,1)*ii + trMat(3,2)*jj + trMat(3,3)*kk ! Determine the indices of my nodal halo node. @@ -1194,11 +1194,11 @@ subroutine determineFaceHalos(level) kk = k - myCellRange(3,1) iD = donorCellRange(1,1) & - + tMat(1,1)*ii + tMat(1,2)*jj + tMat(1,3)*kk + + trMat(1,1)*ii + trMat(1,2)*jj + trMat(1,3)*kk jD = donorCellRange(2,1) & - + tMat(2,1)*ii + tMat(2,2)*jj + tMat(2,3)*kk + + trMat(2,1)*ii + trMat(2,2)*jj + trMat(2,3)*kk kD = donorCellRange(3,1) & - + tMat(3,1)*ii + tMat(3,2)*jj + tMat(3,3)*kk + + trMat(3,1)*ii + trMat(3,2)*jj + trMat(3,3)*kk ! Update the counter iicell1st and store its value a ! bit easier in ii and set entryList accordingly. @@ -2875,7 +2875,7 @@ subroutine fillSendBuf(sendBuf, proc, entityHalo, transform, & integer(kind=intType) :: i, ii, jj, m integer(kind=intType) :: l1, l2, l3 - integer(kind=intType), dimension(3,3) :: tMat + integer(kind=intType), dimension(3,3) :: trMat ! Initialize m to 0. @@ -2899,17 +2899,17 @@ subroutine fillSendBuf(sendBuf, proc, entityHalo, transform, & l2 = transform(jj,2) l3 = transform(jj,3) - tMat(1,1) = sign(1_intType,l1) * delta(l1,1_intType) - tMat(2,1) = sign(1_intType,l1) * delta(l1,2_intType) - tMat(3,1) = sign(1_intType,l1) * delta(l1,3_intType) + trMat(1,1) = sign(1_intType,l1) * delta(l1,1_intType) + trMat(2,1) = sign(1_intType,l1) * delta(l1,2_intType) + trMat(3,1) = sign(1_intType,l1) * delta(l1,3_intType) - tMat(1,2) = sign(1_intType,l2) * delta(l2,1_intType) - tMat(2,2) = sign(1_intType,l2) * delta(l2,2_intType) - tMat(3,2) = sign(1_intType,l2) * delta(l2,3_intType) + trMat(1,2) = sign(1_intType,l2) * delta(l2,1_intType) + trMat(2,2) = sign(1_intType,l2) * delta(l2,2_intType) + trMat(3,2) = sign(1_intType,l2) * delta(l2,3_intType) - tMat(1,3) = sign(1_intType,l3) * delta(l3,1_intType) - tMat(2,3) = sign(1_intType,l3) * delta(l3,2_intType) - tMat(3,3) = sign(1_intType,l3) * delta(l3,3_intType) + trMat(1,3) = sign(1_intType,l3) * delta(l3,1_intType) + trMat(2,3) = sign(1_intType,l3) * delta(l3,2_intType) + trMat(3,3) = sign(1_intType,l3) * delta(l3,3_intType) ! Store the direction from the direct to the indirect ! halo in l1, l2 and l3 @@ -2929,9 +2929,9 @@ subroutine fillSendBuf(sendBuf, proc, entityHalo, transform, & m = m+1; sendBuf(m) = entityHalo(jj)%dJ m = m+1; sendBuf(m) = entityHalo(jj)%dK - m = m+1; sendBuf(m) = tMat(1,1)*l1 + tMat(1,2)*l2 + tMat(1,3)*l3 - m = m+1; sendBuf(m) = tMat(2,1)*l1 + tMat(2,2)*l2 + tMat(2,3)*l3 - m = m+1; sendBuf(m) = tMat(3,1)*l1 + tMat(3,2)*l2 + tMat(3,3)*l3 + m = m+1; sendBuf(m) = trMat(1,1)*l1 + trMat(1,2)*l2 + trMat(1,3)*l3 + m = m+1; sendBuf(m) = trMat(2,1)*l1 + trMat(2,2)*l2 + trMat(2,3)*l3 + m = m+1; sendBuf(m) = trMat(3,1)*l1 + trMat(3,2)*l2 + trMat(3,3)*l3 enddo diff --git a/src/preprocessing/preprocessingAPI.F90 b/src/preprocessing/preprocessingAPI.F90 index fbfe618c9..61ee85bc3 100644 --- a/src/preprocessing/preprocessingAPI.F90 +++ b/src/preprocessing/preprocessingAPI.F90 @@ -1697,7 +1697,7 @@ subroutine createNodeScatterForFamilies(famList, exch, sps, localIndices) ! 3. Node-based output for tecplot files. use constants use communication, only : adflow_comm_world, myid, nProc - use surfaceFamilies, only : familyExchange, IS1, IS2, PETSC_COPY_VALUES, PETSC_DETERMINE + use surfaceFamilies, only : familyExchange, IS1, IS2!, PETSC_COPY_VALUES, PETSC_DETERMINE use utils, only : pointReduce, eChk use surfaceUtils implicit none diff --git a/src/solver/agmg.F90 b/src/solver/agmg.F90 index 1c852e7f3..1fd55ffcd 100644 --- a/src/solver/agmg.F90 +++ b/src/solver/agmg.F90 @@ -314,7 +314,8 @@ subroutine setupAGMG(inputMat, nCell, blockSize) call EChk(ierr,__FILE__,__LINE__) ! Create the scatter - call VecScatterCreate(indexVec, IS1, recvVec, PETSC_NULL_OBJECT, scat, ierr) + !call VecScatterCreate(indexVec, IS1, recvVec, PETSC_NULL_OBJECT, scat, ierr) + call VecScatterCreate(indexVec, IS1, recvVec, PETSC_NULL_IS, scat, ierr) call EChk(ierr,__FILE__,__LINE__) ! Do the actual scatter diff --git a/src/utils/utils.F90 b/src/utils/utils.F90 index a01ec4d8e..3f3576883 100644 --- a/src/utils/utils.F90 +++ b/src/utils/utils.F90 @@ -5717,7 +5717,7 @@ subroutine EChk(ierr, file, line) write(*,901) "Error at line: ",line," in file: ",file print *,'-----------------------------------------------------------------' #endif - call MPI_Abort(adflow_comm_world,ierr) + call MPI_Abort(adflow_comm_world,1,ierr) stop ! Just in case #else stop From 67b32a92be9869debf34225c9315db9d3ce0f046 Mon Sep 17 00:00:00 2001 From: camader Date: Sun, 4 Aug 2019 22:03:20 -0300 Subject: [PATCH 02/21] mpi syntax fixes to work with updated mpi versions --- src/ADT/adtSearch.F90 | 6 ++++-- src/utils/utils.F90 | 13 +++++++------ 2 files changed, 11 insertions(+), 8 deletions(-) diff --git a/src/ADT/adtSearch.F90 b/src/ADT/adtSearch.F90 index 2dd7aeb7d..a36e091ee 100644 --- a/src/ADT/adtSearch.F90 +++ b/src/ADT/adtSearch.F90 @@ -1660,9 +1660,11 @@ subroutine search(nCoor, coor, procID, & ! Complete the nonblocking sends of the interpolated data. - nProcRecvCur = 2*nProcRecvCur + !nProcRecvCur = 2*nProcRecvCur do i=1,nProcRecvCur - call mpi_waitany(nProcRecvCur, sendRecvRequest, sizeMessage, & + call mpi_waitany(nProcRecvCur, sendRecvRequest(1,:), sizeMessage, & + mpiStatus, ierr) + call mpi_waitany(nProcRecvCur, sendRecvRequest(2,:), sizeMessage, & mpiStatus, ierr) enddo diff --git a/src/utils/utils.F90 b/src/utils/utils.F90 index 3f3576883..249d71b97 100644 --- a/src/utils/utils.F90 +++ b/src/utils/utils.F90 @@ -5690,7 +5690,7 @@ subroutine returnFail(routineName, errorMessage) end subroutine returnFail - subroutine EChk(ierr, file, line) + subroutine EChk(errorcode, file, line) ! Check if ierr that resulted from a petsc or MPI call is in fact an ! error. @@ -5698,26 +5698,27 @@ subroutine EChk(ierr, file, line) use communication, only : adflow_comm_world, myid implicit none - integer(kind=intType),intent(in) :: ierr + integer(kind=intType),intent(in) :: errorcode character*(*),intent(in) :: file integer(kind=intType),intent(in) :: line + integer::ierr - if (ierr == 0) then + if (errorcode == 0) then return ! No error, return immediately else #ifndef USE_TAPENADE #ifndef USE_COMPLEX print *,'---------------------------------------------------------------------------' - write(*,900) "PETSc or MPI Error. Error Code ",ierr,". Detected on Proc ",myid + write(*,900) "PETSc or MPI Error. Error Code ",errorcode,". Detected on Proc ",myid write(*,901) "Error at line: ",line," in file: ",file print *,'---------------------------------------------------------------------------' #else print *,'-----------------------------------------------------------------' - write(*,900) "PETSc or MPI Error. Error Code ",ierr,". Detected on Proc ",myid + write(*,900) "PETSc or MPI Error. Error Code ",errorcode,". Detected on Proc ",myid write(*,901) "Error at line: ",line," in file: ",file print *,'-----------------------------------------------------------------' #endif - call MPI_Abort(adflow_comm_world,1,ierr) + call MPI_Abort(adflow_comm_world,errorcode,ierr) stop ! Just in case #else stop From a1363f8a59d1724050f1e9c0466f19732c8d386c Mon Sep 17 00:00:00 2001 From: Ben Brelje Date: Thu, 7 Nov 2019 09:37:55 -0500 Subject: [PATCH 03/21] Update mpi module use statement in complex build --- src_cs/modules/precision.F90 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src_cs/modules/precision.F90 b/src_cs/modules/precision.F90 index 5a0fe8415..8398559ae 100644 --- a/src_cs/modules/precision.F90 +++ b/src_cs/modules/precision.F90 @@ -16,9 +16,10 @@ module precision ! use complexify + use mpi implicit none save -#include "mpif.h" +!#include "mpif.h" ! ! Definition of the integer type used in the entire code. There ! might be a more elegant solution to do this, but be sure that From 8cf827b34b6383125b6a477dbb7f3403fa133336 Mon Sep 17 00:00:00 2001 From: Neil Wu Date: Sun, 9 Feb 2020 19:53:30 +0000 Subject: [PATCH 04/21] minor change to fix comment out of place warning during compile --- src/inputParam/inputParamRoutines.F90 | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/inputParam/inputParamRoutines.F90 b/src/inputParam/inputParamRoutines.F90 index a18b39b8c..95ae3bd6a 100644 --- a/src/inputParam/inputParamRoutines.F90 +++ b/src/inputParam/inputParamRoutines.F90 @@ -3817,10 +3817,12 @@ subroutine setDefaultValues #ifdef USE_SINGLE_PRECISION precisionGrid = precisionSingle ! Default IO precision depends precisionSol = precisionSingle ! on the default floating -#else ! point type used. Note that + ! point type used. Note that +#else precisionGrid = precisionDouble ! for quadrupole precision the precisionSol = precisionDouble ! IO takes place in double -#endif ! precision. + ! precision. +#endif ! Surface solution defaults to single precision precisionSurfGrid = precisionSingle From a445b6f4edcc3bbebde1ebdb1eec1d6e2d8a82ae Mon Sep 17 00:00:00 2001 From: Ben Brelje Date: Fri, 8 Nov 2019 04:55:35 +0000 Subject: [PATCH 05/21] Fix ADflow MPI3 failure and adjust tol for Test6 --- python/reg_tests/commonUtils.py | 2 +- python/reg_tests/mdo_regression_compare.py | 110 ++++++ python/reg_tests/mdo_regression_helper.py | 411 ++++++++++----------- python/reg_tests/ref/adflow_test6_reg.ref | 2 +- python/reg_tests/run_reg_tests.py | 15 +- 5 files changed, 324 insertions(+), 216 deletions(-) create mode 100644 python/reg_tests/mdo_regression_compare.py diff --git a/python/reg_tests/commonUtils.py b/python/reg_tests/commonUtils.py index efc1b1c5b..a86bcf224 100644 --- a/python/reg_tests/commonUtils.py +++ b/python/reg_tests/commonUtils.py @@ -367,7 +367,7 @@ def standardTest(CFDSolver, ap, solve): reg_par_write_norm(resDot, 1e-10, 1e-10) parPrint('dFuncs/dw * wDot') - reg_root_write_dict(funcsDot, 1e-10, 1e-10) + reg_root_write_dict(funcsDot, 1e-9, 1e-9) parPrint('||dF/dw * wDot||') reg_par_write_norm(fDot, 1e-10, 1e-10) diff --git a/python/reg_tests/mdo_regression_compare.py b/python/reg_tests/mdo_regression_compare.py new file mode 100644 index 000000000..ba0e01399 --- /dev/null +++ b/python/reg_tests/mdo_regression_compare.py @@ -0,0 +1,110 @@ +from __future__ import print_function +# This file contains two functions to help regression testing. The +# first is used to format float values with a specified absolute and +# relative tolerance. This information is used by the second function +# when it takes in two such formatted strings and decides if they are +# sufficiently close to be considered equal. +import os +import sys +REG_FILES_MATCH = 0 +REG_FILES_DO_NOT_MATCH = 1 +REG_ERROR = -1 + +def _reg_str_comp(str1, str2): + '''Compare the float values in str1 and str2 and determine if they + are equal. Returns True if they are the "same", False if different''' + + aux1 = str1.split() + aux2 = str2.split() + + if not aux1[0] == aux2[0] == '@value': + # This line does not need to be compared + return True + + # Extract required tolerances and values + rel_tol = float(aux1[2]) + abs_tol = float(aux1[3]) + val1 = float(aux1[1]) + val2 = float(aux2[1]) + + rel_err = 0 + if val2 != 0: + rel_err = abs((val1-val2)/val2) + else: + rel_err = abs((val1-val2)/(val2 + 1e-16)) + + abs_err = abs(val1-val2) + + if abs_err < abs_tol or rel_err < rel_tol: + return True + else: + return False + + +def reg_file_comp(ref_file, comp_file): + '''Compare the reference file 'ref_file' with 'comp_file'. The + order of these two files matter. The ref_file MUST be given + first. Only values specified by reg_write() are compared. All + other lines are ignored. Floating point values are compared based + on rel_tol and abs_tol''' + + all_ref_lines = [] + ref_values = [] + comp_values = [] + try: + f = open(ref_file, 'r') + except IOError: + print('File %s was not found. Cannot do comparison.'% ref_file) + return REG_ERROR + for line in f.readlines(): + all_ref_lines.append(line) + if line[0:6] == '@value': + ref_values.append(line) + + f.close() + + try: + f = open(comp_file, 'r') + except IOError: + print('File %s was not found. Cannot do comparison.'% comp_file) + return REG_ERROR + + for line in f.readlines(): + if line[0:6] == '@value': + comp_values.append(line) + + f.close() + + # Copy the comp_file to compe_file.orig + os.system('cp %s %s.orig'% (comp_file, comp_file)) + + # We must check that we have the same number of @value's to compare: + if len(ref_values) != len(comp_values): + print('Error: number of @value lines in file not the same!') + return REG_FILES_DO_NOT_MATCH + + # Open the (new) comp_file: + f = open(comp_file,'w') + + # Loop over all the ref_lines, for value lines, do the + # comparison. If comparison is ok, write the ref line, otherwise + # write orig line. + + j = 0 + res = REG_FILES_MATCH + for i in range(len(all_ref_lines)): + line = all_ref_lines[i] + if line[0:6] == '@value': + if _reg_str_comp(line, comp_values[j]) is False: + f.write(comp_values[j]) + res = REG_FILES_DO_NOT_MATCH + else: + f.write(line) + + j += 1 + else: + f.write(line) + + f.close() + + return res diff --git a/python/reg_tests/mdo_regression_helper.py b/python/reg_tests/mdo_regression_helper.py index 9c81fa23e..d00e79048 100644 --- a/python/reg_tests/mdo_regression_helper.py +++ b/python/reg_tests/mdo_regression_helper.py @@ -1,206 +1,205 @@ -from __future__ import print_function -# This file contains two functions to help regression testing. The -# first is used to format float values with a specified absolute and -# relative tolerance. This information is used by the second function -# when it takes in two such formatted strings and decides if they are -# sufficiently close to be considered equal. -import numpy, os -from mpi4py import MPI -import sys -REG_FILES_MATCH = 0 -REG_FILES_DO_NOT_MATCH = 1 -REG_ERROR = -1 - -def printHeader(testName): - if MPI.COMM_WORLD.rank == 0: - print('+' + '-'*78 + '+') - print('| Test Name: ' + '%-66s'%testName + '|') - print('+' + '-'*78 + '+') - - -def reg_write(values, rel_tol=1e-12, abs_tol=1e-12): - '''Write values in special value format''' - values = numpy.atleast_1d(values) - values = values.flatten() - for val in values: - s = '@value %20.13e %g %g'% (val, rel_tol, abs_tol) - print(s) - - return - -def reg_par_write(values, rel_tol=1e-12, abs_tol=1e-12): - """Write value(values) from parallel process in sorted order""" - values = MPI.COMM_WORLD.gather(values) - if MPI.COMM_WORLD.rank == 0: - for i in xrange(len(values)): - print ('Value(s) on processor: %d'%i) - reg_write(values[i], rel_tol, abs_tol) - -def reg_root_write(values, rel_tol=1e-12, abs_tol=1e-12): - """Write values but only on the root proc""" - if MPI.COMM_WORLD.rank == 0: - reg_write(values, rel_tol, abs_tol) - -def reg_par_write_sum(values, rel_tol=1e-12, abs_tol=1e-12): - """Write the sum of sum of the values from all processors.""" - reducedSum = MPI.COMM_WORLD.reduce(numpy.sum(values)) - if MPI.COMM_WORLD.rank == 0: - reg_write(reducedSum, rel_tol, abs_tol) - -def reg_par_write_norm(values, rel_tol=1e-12, abs_tol=1e-12): - """Write the sum of sum of the values from all processors.""" - reducedSum = MPI.COMM_WORLD.reduce(numpy.sum(values**2)) - if MPI.COMM_WORLD.rank == 0: - reg_write(numpy.sqrt(reducedSum), rel_tol, abs_tol) - -def reg_write_dict(d, rel_tol=1e-12, abs_tol=1e-12): - """Write all values in a dictionary in sorted key order""" - for key in sorted(d.keys()): - print ('Dictionary Key: %s'%key) - if isinstance(d[key],dict): - reg_write_dict(d[key], rel_tol, abs_tol) - elif type(d[key]) == bool: - reg_write(int(d[key]), rel_tol, abs_tol) - else: - reg_write(d[key], rel_tol, abs_tol) - -def reg_root_write_dict(d, rel_tol=1e-12, abs_tol=1e-12): - """Only write from the root proc""" - if MPI.COMM_WORLD.rank == 0: - reg_write_dict(d, rel_tol, abs_tol) - -def _reg_str_comp(str1, str2): - '''Compare the float values in str1 and str2 and determine if they - are equal. Returns True if they are the "same", False if different''' - - aux1 = str1.split() - aux2 = str2.split() - - if not aux1[0] == aux2[0] == '@value': - # This line does not need to be compared - return True - - # Extract required tolerances and values - rel_tol = float(aux1[2]) - abs_tol = float(aux1[3]) - val1 = float(aux1[1]) - val2 = float(aux2[1]) - - rel_err = 0 - if val2 != 0: - rel_err = abs((val1-val2)/val2) - else: - rel_err = abs((val1-val2)/(val2 + 1e-16)) - - abs_err = abs(val1-val2) - - if abs_err < abs_tol or rel_err < rel_tol: - return True - else: - return False - - -def reg_file_comp(ref_file, comp_file): - '''Compare the reference file 'ref_file' with 'comp_file'. The - order of these two files matter. The ref_file MUST be given - first. Only values specified by reg_write() are compared. All - other lines are ignored. Floating point values are compared based - on rel_tol and abs_tol''' - - all_ref_lines = [] - ref_values = [] - comp_values = [] - try: - f = open(ref_file, 'r') - except IOError: - print('File %s was not found. Cannot do comparison.'% ref_file) - return REG_ERROR - for line in f.readlines(): - all_ref_lines.append(line) - if line[0:6] == '@value': - ref_values.append(line) - - f.close() - - try: - f = open(comp_file, 'r') - except IOError: - print('File %s was not found. Cannot do comparison.'% comp_file) - return REG_ERROR - - for line in f.readlines(): - if line[0:6] == '@value': - comp_values.append(line) - - f.close() - - # Copy the comp_file to compe_file.orig - os.system('cp %s %s.orig'% (comp_file, comp_file)) - - # We must check that we have the same number of @value's to compare: - if len(ref_values) != len(comp_values): - print('Error: number of @value lines in file not the same!') - return REG_FILES_DO_NOT_MATCH - - # Open the (new) comp_file: - f = open(comp_file,'w') - - # Loop over all the ref_lines, for value lines, do the - # comparison. If comparison is ok, write the ref line, otherwise - # write orig line. - - j = 0 - res = REG_FILES_MATCH - for i in range(len(all_ref_lines)): - line = all_ref_lines[i] - if line[0:6] == '@value': - if _reg_str_comp(line, comp_values[j]) is False: - f.write(comp_values[j]) - res = REG_FILES_DO_NOT_MATCH - else: - f.write(line) - - j += 1 - else: - f.write(line) - - f.close() - - return res - -if __name__ == '__main__': - if len(sys.argv) == 1: - print('Single int write:') - reg_write(1) - - print('Single float write:') - reg_write(3.14159) - - print('List write:') - reg_write([1.0, 3.5, 6.0], 1e-8, 1e-10) - - print('1D Numpy array write') - vals = numpy.linspace(0, numpy.pi, 5) - reg_write(vals, 1e-12, 1e-12) - - print('2D Numpy array write:') - vals = numpy.linspace(0, 9.876, 4).reshape((2, 2)) - reg_write(vals) - - str1 = "@value 3.141592653589793 1e-12 1e-12" - str2 = "@value 3.141592653589999 1e-12 1e-12" - - print('This comp should be True: ', _reg_str_comp(str1, str2)) - - str1 = "@value 3.141592653589793 1e-12 1e-12" - str2 = "@value 3.141592999999999 1e-12 1e-12" - - print('This comp should be False: ', _reg_str_comp(str1, str2)) - - else: - res = reg_file_comp(sys.argv[1], sys.argv[2]) - if res == 0: - print ('Success!') - elif res == 1: - print ('Failure!') - +from __future__ import print_function +# This file contains two functions to help regression testing. The +# first is used to format float values with a specified absolute and +# relative tolerance. This information is used by the second function +# when it takes in two such formatted strings and decides if they are +# sufficiently close to be considered equal. +import numpy, os +from mpi4py import MPI +import sys +REG_FILES_MATCH = 0 +REG_FILES_DO_NOT_MATCH = 1 +REG_ERROR = -1 + +def printHeader(testName): + if MPI.COMM_WORLD.rank == 0: + print('+' + '-'*78 + '+') + print('| Test Name: ' + '%-66s'%testName + '|') + print('+' + '-'*78 + '+') + + +def reg_write(values, rel_tol=1e-12, abs_tol=1e-12): + '''Write values in special value format''' + values = numpy.atleast_1d(values) + values = values.flatten() + for val in values: + s = '@value %20.13e %g %g'% (val, rel_tol, abs_tol) + print(s) + + return + +def reg_par_write(values, rel_tol=1e-12, abs_tol=1e-12): + """Write value(values) from parallel process in sorted order""" + values = MPI.COMM_WORLD.gather(values) + if MPI.COMM_WORLD.rank == 0: + for i in xrange(len(values)): + print ('Value(s) on processor: %d'%i) + reg_write(values[i], rel_tol, abs_tol) + +def reg_root_write(values, rel_tol=1e-12, abs_tol=1e-12): + """Write values but only on the root proc""" + if MPI.COMM_WORLD.rank == 0: + reg_write(values, rel_tol, abs_tol) + +def reg_par_write_sum(values, rel_tol=1e-12, abs_tol=1e-12): + """Write the sum of sum of the values from all processors.""" + reducedSum = MPI.COMM_WORLD.reduce(numpy.sum(values)) + if MPI.COMM_WORLD.rank == 0: + reg_write(reducedSum, rel_tol, abs_tol) + +def reg_par_write_norm(values, rel_tol=1e-12, abs_tol=1e-12): + """Write the sum of sum of the values from all processors.""" + reducedSum = MPI.COMM_WORLD.reduce(numpy.sum(values**2)) + if MPI.COMM_WORLD.rank == 0: + reg_write(numpy.sqrt(reducedSum), rel_tol, abs_tol) + +def reg_write_dict(d, rel_tol=1e-12, abs_tol=1e-12): + """Write all values in a dictionary in sorted key order""" + for key in sorted(d.keys()): + print ('Dictionary Key: %s'%key) + if isinstance(d[key],dict): + reg_write_dict(d[key], rel_tol, abs_tol) + elif type(d[key]) == bool: + reg_write(int(d[key]), rel_tol, abs_tol) + else: + reg_write(d[key], rel_tol, abs_tol) + +def reg_root_write_dict(d, rel_tol=1e-12, abs_tol=1e-12): + """Only write from the root proc""" + if MPI.COMM_WORLD.rank == 0: + reg_write_dict(d, rel_tol, abs_tol) + +def _reg_str_comp(str1, str2): + '''Compare the float values in str1 and str2 and determine if they + are equal. Returns True if they are the "same", False if different''' + + aux1 = str1.split() + aux2 = str2.split() + + if not aux1[0] == aux2[0] == '@value': + # This line does not need to be compared + return True + + # Extract required tolerances and values + rel_tol = float(aux1[2]) + abs_tol = float(aux1[3]) + val1 = float(aux1[1]) + val2 = float(aux2[1]) + + rel_err = 0 + if val2 != 0: + rel_err = abs((val1-val2)/val2) + else: + rel_err = abs((val1-val2)/(val2 + 1e-16)) + + abs_err = abs(val1-val2) + + if abs_err < abs_tol or rel_err < rel_tol: + return True + else: + return False + + +def reg_file_comp(ref_file, comp_file): + '''Compare the reference file 'ref_file' with 'comp_file'. The + order of these two files matter. The ref_file MUST be given + first. Only values specified by reg_write() are compared. All + other lines are ignored. Floating point values are compared based + on rel_tol and abs_tol''' + + all_ref_lines = [] + ref_values = [] + comp_values = [] + try: + f = open(ref_file, 'r') + except IOError: + print('File %s was not found. Cannot do comparison.'% ref_file) + return REG_ERROR + for line in f.readlines(): + all_ref_lines.append(line) + if line[0:6] == '@value': + ref_values.append(line) + + f.close() + + try: + f = open(comp_file, 'r') + except IOError: + print('File %s was not found. Cannot do comparison.'% comp_file) + return REG_ERROR + + for line in f.readlines(): + if line[0:6] == '@value': + comp_values.append(line) + + f.close() + + # Copy the comp_file to compe_file.orig + os.system('cp %s %s.orig'% (comp_file, comp_file)) + + # We must check that we have the same number of @value's to compare: + if len(ref_values) != len(comp_values): + print('Error: number of @value lines in file not the same!') + return REG_FILES_DO_NOT_MATCH + + # Open the (new) comp_file: + f = open(comp_file,'w') + + # Loop over all the ref_lines, for value lines, do the + # comparison. If comparison is ok, write the ref line, otherwise + # write orig line. + + j = 0 + res = REG_FILES_MATCH + for i in range(len(all_ref_lines)): + line = all_ref_lines[i] + if line[0:6] == '@value': + if _reg_str_comp(line, comp_values[j]) is False: + f.write(comp_values[j]) + res = REG_FILES_DO_NOT_MATCH + else: + f.write(line) + + j += 1 + else: + f.write(line) + + f.close() + + return res + +if __name__ == '__main__': + if len(sys.argv) == 1: + print('Single int write:') + reg_write(1) + + print('Single float write:') + reg_write(3.14159) + + print('List write:') + reg_write([1.0, 3.5, 6.0], 1e-8, 1e-10) + + print('1D Numpy array write') + vals = numpy.linspace(0, numpy.pi, 5) + reg_write(vals, 1e-12, 1e-12) + + print('2D Numpy array write:') + vals = numpy.linspace(0, 9.876, 4).reshape((2, 2)) + reg_write(vals) + + str1 = "@value 3.141592653589793 1e-12 1e-12" + str2 = "@value 3.141592653589999 1e-12 1e-12" + + print('This comp should be True: ', _reg_str_comp(str1, str2)) + + str1 = "@value 3.141592653589793 1e-12 1e-12" + str2 = "@value 3.141592999999999 1e-12 1e-12" + + print('This comp should be False: ', _reg_str_comp(str1, str2)) + + else: + res = reg_file_comp(sys.argv[1], sys.argv[2]) + if res == 0: + print ('Success!') + elif res == 1: + print ('Failure!') \ No newline at end of file diff --git a/python/reg_tests/ref/adflow_test6_reg.ref b/python/reg_tests/ref/adflow_test6_reg.ref index b34c66f61..d24054a0c 100644 --- a/python/reg_tests/ref/adflow_test6_reg.ref +++ b/python/reg_tests/ref/adflow_test6_reg.ref @@ -305,7 +305,7 @@ Dictionary Key: lift Dictionary Key: mx @value -1.5697062202258e+05 1e-10 1e-10 Dictionary Key: my -@value 4.2675900979361e+02 1e-10 1e-10 +@value 4.2675900979361e+02 1e-9 1e-9 Dictionary Key: mz @value 1.2857041112516e+05 1e-10 1e-10 Dictionary Key: sepsensor diff --git a/python/reg_tests/run_reg_tests.py b/python/reg_tests/run_reg_tests.py index 12e402161..bf709673a 100644 --- a/python/reg_tests/run_reg_tests.py +++ b/python/reg_tests/run_reg_tests.py @@ -1,13 +1,13 @@ from __future__ import print_function # ============================================================================= -# Standard Python modules +# Standard Python modules # ============================================================================= import os, sys, argparse, glob # ============================================================================= # Extension modules # ============================================================================= -import mdo_regression_helper as reg +import mdo_regression_compare as reg # define scripts to run: module_name = 'adflow' @@ -23,7 +23,7 @@ parser.add_argument("--diff_cmd",default='xxdiff', help='Command to run for displaying diff. Default: xxdiff') -parser.add_argument("--diff", action='store_true', default=False, +parser.add_argument("--diff", action='store_true', default=False, help='Display error diffs for each test.') parser.add_argument("--mpiexec",default='mpirun', @@ -32,7 +32,7 @@ parser.add_argument('--test', metavar='test', type=int, nargs='+', help='tests to run') -parser.add_argument("--solve", action='store_true', default=False, +parser.add_argument("--solve", action='store_true', default=False, help="Force solving on tests that use restart files.") args = parser.parse_args() @@ -61,7 +61,7 @@ print('Running reference for test%d'%iTest) os.system('%s -np %d python tests/test%d.py %s > ref/%s_test%d_reg.ref 2>&1'%( args.mpiexec, args.procs, iTest, solveStr, module_name, iTest)) - + # If we're training, we done (no comparison) sys.exit(0) else: @@ -104,7 +104,6 @@ os.system('cat %s >> adflow_reg.ref'%(refFile)) os.system('cat %s >> adflow_reg'%(curFile)) os.system('cat %s.orig >> adflow_reg.orig'%(curFile)) - -# Exit with code equal to the number of failures -sys.exit(masterRes) +# Exit with code equal to the number of failures +sys.exit(masterRes) \ No newline at end of file From 78df0f56ad10ad3c1bda48dce502cfb246cfe041 Mon Sep 17 00:00:00 2001 From: Neil Wu Date: Sat, 8 Feb 2020 18:39:20 +0000 Subject: [PATCH 06/21] deleted unused complex solve script for tests --- python/reg_tests/solve_script_cs.py | 953 ---------------------------- 1 file changed, 953 deletions(-) delete mode 100644 python/reg_tests/solve_script_cs.py diff --git a/python/reg_tests/solve_script_cs.py b/python/reg_tests/solve_script_cs.py deleted file mode 100644 index 6ad1182b3..000000000 --- a/python/reg_tests/solve_script_cs.py +++ /dev/null @@ -1,953 +0,0 @@ -############################################################ -# DO NOT USE THIS SCRIPT AS A REFERENCE FOR HOW TO USE ADFLOW -# THIS SCRIPT USES PRIVATE INTERNAL FUNCTIONALITY THAT IS -# SUBJECT TO CHANGE!! -############################################################ -import sys, os, copy -from mpi4py import MPI -from mdo_regression_helper import * -from baseclasses import AeroProblem -from pygeo import DVGeometry -import pyspline - -# ################################################################### -# DO NOT USE THIS IMPORT STRATEGY! THIS IS ONLY USED FOR REGRESSION -# SCRIPTS ONLY. Use 'from adflow import ADFLOW' for regular scripts. -sys.path.append(os.path.abspath('../../')) -if 'complex' in sys.argv: - from python.pyADflow_C import ADFLOW_C as ADFLOW - from pywarp import MBMesh_C as MBMesh -else: - from pywarp import MBMesh - from python.pyADflow import ADFLOW - - -# ################################################################### - -# First thing we will do is define a complete set of default options -# that will be reused as we do differnt tests. These are the default -# options as Dec 8, 2014. - -defOpts = { - # Common Paramters - 'gridfile': 'default.cgns', - 'restartfile':None, - - # Output Parameters - 'storerindlayer': True, - 'outputdirectory': './', - 'writesymmetry': True, - 'writefarfield': False, - 'writesurfacesolution':True, - 'writevolumesolution':True, - 'solutionprecision':'single', - 'gridprecision':'double', - 'isosurface': {}, - 'isovariables': [], - 'viscoussurfacevelocities': True, - - # Physics Paramters - 'discretization': 'central plus scalar dissipation', - 'coarsediscretization': 'central plus scalar dissipation', - 'limiter': 'vanalbeda', - 'smoother': 'runge kutta', - 'equationtype': 'euler', - 'equationmode': 'steady', - 'flowtype': 'external', - 'turbulencemodel': 'sa', - 'turbulenceorder': 'first order', - 'usewallfunctions': False, - 'useapproxwalldistance': True, - 'eulerwalltreatment': 'linear pressure extrapolation', - 'dissipationscalingexponent': 0.67, - 'vis4': 0.0156, - 'vis2': 0.25, - 'vis2coarse': 0.5, - 'restrictionrelaxation': .80, - 'liftindex': 2, - 'lowspeedpreconditioner': False, - 'turbresscale': 10000.0, - - # Common Paramters - 'ncycles': 500, - 'ncyclescoarse': 500, - 'nsubiterturb': 1, - 'nsubiter': 1, - 'cfl': 1.7, - 'cflcoarse': 1.0, - 'mgcycle': '3w', - 'mgstartlevel': -1, - 'resaveraging':'alternateresaveraging', - 'smoothparameter': 1.5, - 'cfllimit': 1.5, - - # Unsteady Paramters - 'timeintegrationscheme': 'bdf', - 'timeaccuracy': 2, - 'ntimestepscoarse': 48, - 'ntimestepsfine': 400, - 'deltat': .010, - - # Time Spectral Paramters - 'timeintervals': 1, - 'alphamode': False, - 'betamode': False, - 'machmode': False, - 'pmode': False, - 'qmode': False, - 'rmode': False, - 'altitudemode': False, - 'windaxis': False, - 'tsstability': False, - - # Convergence Paramters - 'l2convergence': 1e-6, - 'l2convergencerel': 1e-16, - 'l2convergencecoarse': 1e-2, - 'maxl2deviationfactor': 1.0, - - # Newton-Krylov Paramters - 'usenksolver': False, - 'nkswitchtol': 2.5e-4, - 'nksubspacesize': 60, - 'nklinearsolvetol': 0.3, - 'nkuseew': True, - 'nkadpc': False, - 'nkviscpc': False, - 'nkasmoverlap': 1, - 'nkpcilufill': 2, - 'nkjacobianlag': 20, - 'rkreset': False, - 'nrkreset': 5, - 'applypcsubspacesize': 10, - 'nkinnerpreconits': 1, - 'nkouterpreconits': 1, - 'nkls': 'cubic', - - # Load Balance/partitioning parameters - 'blocksplitting': True, - 'loadimbalance': 0.1, - 'loadbalanceiter': 10, - 'partitiononly': False, - - # Misc Paramters - 'autosolveretry': False, - 'autoadjointretry': False, - 'numbersolutions': True, - 'printiterations': True, - 'printtiming': True, - 'setmonitor': True, - 'printwarnings': True, - 'monitorvariables': ['cpu','resrho','cl', 'cd'], - 'surfacevariables': ['cp','vx', 'vy','vz', 'mach'], - 'volumevariables': ['resrho'], - - # Multidisciplinary Coupling Parameters: - 'forcesastractions': True, - - # Adjoint Paramters - 'adjointl2convergence': 1e-6, - 'adjointl2convergencerel': 1e-16, - 'adjointl2convergenceabs': 1e-16, - 'adjointdivtol': 1e5, - 'approxpc': True, - 'adpc': False, - 'viscpc':False, - 'usediagtspc': True, - 'restartadjoint': True, - 'adjointsolver': 'gmres', - 'adjointmaxiter': 500, - 'adjointsubspacesize' : 100, - 'adjointmonitorstep': 10, - 'dissipationlumpingparameter': 6.0, - 'preconditionerside': 'right', - 'matrixordering': 'rcm', - 'globalpreconditioner': 'additive schwartz', - 'localpreconditioner' : 'ilu', - 'ilufill': 2, - 'asmoverlap' : 1, - 'innerpreconits': 1, - 'outerpreconits': 3, - 'applyadjointpcsubspacesize': 20, - 'frozenturbulence': True, - 'usematrixfreedrdw': False, - - # ADjoint debugger - 'firstrun': True, - 'verifystate': True, - 'verifyspatial': True, - 'verifyextra': True, -} - -def printHeader(testName): - if MPI.COMM_WORLD.rank == 0: - print '+' + '-'*78 + '+' - print '| Test Name: ' + '%-66s'%testName + '|' - print '+' + '-'*78 + '+' -h = 1e-40 - - - -def test1(): - # **************************************************************************** - printHeader('MDO tutorial Euler Aerodynamic Variables') - # **************************************************************************** - aeroOptions = copy.deepcopy(defOpts) - - # Now set the options that need to be overwritten for this example: - aeroOptions.update( - {'gridfile': '../inputFiles/mdo_tutorial_euler.cgns', - 'mgcycle':'2w', - 'cfl':1.5, - 'cflcoarse':1.25, - 'ncyclescoarse':250, - 'ncycles':400, - 'monitorvariables':['resrho','cl','cd','cmz','totalr'], - 'usenksolver':True, - 'l2convergence':1e-15, - 'l2convergencecoarse':1e-2, - 'nkswitchtol':1e-2, - 'adjointl2convergence': 1e-15, - 'nkls':'non monotone', - } - ) - - # Setup aeroproblem, cfdsolver - ap = AeroProblem(name='mdo_tutorial', alpha=1.8+h*1j, mach=0.80, - altitude=10000.0, areaRef=45.5, chordRef=3.25, - evalFuncs=['cd','lift','cmz']) - ap.addDV('alpha') - ap.addDV('mach') - ap.addDV('altitude') - CFDSolver = ADFLOW(options=aeroOptions, debug=True) - - if not 'complex' in sys.argv: - # Solve system - CFDSolver(ap, writeSolution=False) - funcs = {} - CFDSolver.evalFunctions(ap, funcs) - # Solve sensitivities - funcsSens = {} - CFDSolver.evalFunctionsSens(ap, funcsSens) - - # Write values and derivatives out: - if MPI.COMM_WORLD.rank == 0: - for key in ['cd','cmz','lift']: - print 'funcs[%s]:'%key - reg_write(funcs['mdo_tutorial_%s'%key],1e-10,1e-10) - # Now write the derivatives in the same order the CS will do them: - print ('Alpha Derivatives:') - reg_write(funcsSens['mdo_tutorial_cd']['alpha_mdo_tutorial'], 1e-10,1e-10) - reg_write(funcsSens['mdo_tutorial_cmz']['alpha_mdo_tutorial'], 1e-10,1e-10) - reg_write(funcsSens['mdo_tutorial_lift']['alpha_mdo_tutorial'], 1e-10,1e-10) - - print ('Mach Derivatives:') - reg_write(funcsSens['mdo_tutorial_cd']['mach_mdo_tutorial'], 1e-10,1e-10) - reg_write(funcsSens['mdo_tutorial_cmz']['mach_mdo_tutorial'], 1e-10,1e-10) - reg_write(funcsSens['mdo_tutorial_lift']['mach_mdo_tutorial'], 1e-10,1e-10) - - print ('Altitude Derivatives:') - reg_write(funcsSens['mdo_tutorial_cd']['altitude_mdo_tutorial'], 1e-8,1e-8) - reg_write(funcsSens['mdo_tutorial_cmz']['altitude_mdo_tutorial'], 1e-8,1e-8) - reg_write(funcsSens['mdo_tutorial_lift']['altitude_mdo_tutorial'], 1e-8,1e-8) - - else: - # For the complex....we just do successive perturbation - for ii in range(3): - ap.alpha = 1.8 - ap.mach = 0.80 - ap.altitude = 10000.0 - if ii == 0: - ap.alpha += h*1j - elif ii == 1: - ap.mach += h*1j - else: - ap.altitude += h*1j - - CFDSolver.resetFlow(ap) - CFDSolver(ap, writeSolution=False) - funcs = {} - CFDSolver.evalFunctions(ap, funcs) - - if MPI.COMM_WORLD.rank == 0: - if ii == 0: - for key in ['cd','cmz','lift']: - print 'funcs[%s]:'%key - reg_write(numpy.real(funcs['mdo_tutorial_%s'%key]),1e-10,1e-10) - - if ii == 0: - print ('Alpha Derivatives:') - for key in ['cd','cmz','lift']: - deriv = numpy.imag(funcs['mdo_tutorial_%s'%key])/h - reg_write(deriv,1e-10,1e-10) - - elif ii == 1: - print ('Mach Derivatives:') - for key in ['cd','cmz','lift']: - deriv = numpy.imag(funcs['mdo_tutorial_%s'%key])/h - reg_write(deriv,1e-10,1e-10) - - elif ii == 2: - print ('Altitude Derivatives:') - for key in ['cd','cmz','lift']: - deriv = numpy.imag(funcs['mdo_tutorial_%s'%key])/h - reg_write(deriv,1e-8,1e-8) - - - - del CFDSolver - -def test2(): - # **************************************************************************** - printHeader('MDO tutorial Euler Geometric Variables') - # **************************************************************************** - aeroOptions = copy.deepcopy(defOpts) - - # Now set the options that need to be overwritten for this example: - aeroOptions.update( - {'gridfile': '../inputFiles/mdo_tutorial_euler.cgns', - 'mgcycle':'2w', - 'cfl':1.5, - 'cflcoarse':1.25, - 'ncyclescoarse':250, - 'ncycles':400, - 'monitorvariables':['resrho','cl','cd','cmz','totalr'], - 'usenksolver':True, - 'l2convergence':1e-15, - 'l2convergencecoarse':1e-2, - 'nkswitchtol':1e-2, - 'adjointl2convergence': 1e-15, - 'nkls':'non monotone', - } - ) - - # Setup aeroproblem, cfdsolver - ap = AeroProblem(name='mdo_tutorial', alpha=1.8, mach=0.80, - altitude=10000.0, areaRef=45.5, chordRef=3.25, - evalFuncs=['cl','cmz','drag']) - - CFDSolver = ADFLOW(options=aeroOptions) - if 'complex' in sys.argv: - DVGeo = DVGeometry('../inputFiles/mdo_tutorial_ffd.fmt', complex=True) - else: - DVGeo = DVGeometry('../inputFiles/mdo_tutorial_ffd.fmt', complex=False) - - nTwist = 2 - DVGeo.addRefAxis('wing', pyspline.Curve(x=numpy.linspace(5.0/4.0, 1.5/4.0+7.5, nTwist), - y=numpy.zeros(nTwist), - z=numpy.linspace(0,14, nTwist), k=2)) - def twist(val, geo): - for i in xrange(nTwist): - geo.rot_z['wing'].coef[i] = val[i] - - def span(val, geo): - # Span - C = geo.extractCoef('wing') - s = geo.extractS('wing') - for i in xrange(len(C)-1): - C[-1, 2] = C[-1, 2] + val[0] - geo.restoreCoef(C, 'wing') - - DVGeo.addGeoDVGlobal('twist', [0]*nTwist, twist, lower=-10, upper=10, scale=1.0) - DVGeo.addGeoDVGlobal('span', [0], span, lower=-10, upper=10, scale=1.0) - DVGeo.addGeoDVLocal('shape', lower=-0.5, upper=0.5, axis='y', scale=10.0) - mesh = MBMesh(options={'gridFile':'../inputFiles/mdo_tutorial_euler.cgns'}) - CFDSolver.setMesh(mesh) - CFDSolver.setDVGeo(DVGeo) - #Aeroproblem must be set before we can call DVGeo.setDesignVars - CFDSolver.setAeroProblem(ap) - if not 'complex' in sys.argv: - # Solve system - CFDSolver(ap, writeSolution=False) - funcs = {} - CFDSolver.evalFunctions(ap, funcs) - # Solve sensitivities - funcsSens = {} - CFDSolver.evalFunctionsSens(ap, funcsSens) - - # Write values and derivatives out: - if MPI.COMM_WORLD.rank == 0: - for key in ['cl','cmz','drag']: - print 'funcs[%s]:'%key - reg_write(funcs['mdo_tutorial_%s'%key],1e-10,1e-10) - # Now write the derivatives in the same order the CS will do them: - print ('Twist[0] Derivatives:') - reg_write(funcsSens['mdo_tutorial_cl']['twist'][0][0], 1e-10,1e-10) - reg_write(funcsSens['mdo_tutorial_cmz']['twist'][0][0], 1e-10,1e-10) - reg_write(funcsSens['mdo_tutorial_drag']['twist'][0][0], 1e-10,1e-10) - - print ('Span Derivatives:') - reg_write(funcsSens['mdo_tutorial_cl']['span'][0], 1e-10,1e-10) - reg_write(funcsSens['mdo_tutorial_cmz']['span'][0], 1e-10,1e-10) - reg_write(funcsSens['mdo_tutorial_drag']['span'][0], 1e-10,1e-10) - - print ('shape[13] Derivatives:') - reg_write(funcsSens['mdo_tutorial_cl']['shape'][0][13], 1e-10,1e-10) - reg_write(funcsSens['mdo_tutorial_cmz']['shape'][0][13], 1e-10,1e-10) - reg_write(funcsSens['mdo_tutorial_drag']['shape'][0][13], 1e-10,1e-10) - else: - # For the complex....we just do successive perturbation - for ii in range(3): - xRef = {'twist':[0.0, 0.0], 'span':[0.0], 'shape':numpy.zeros(72, dtype='D')} - if ii == 0: - xRef['twist'][0] += h*1j - elif ii == 1: - xRef['span'][0] += h*1j - else: - xRef['shape'][13] += h*1j - - CFDSolver.resetFlow(ap) - DVGeo.setDesignVars(xRef) - CFDSolver(ap, writeSolution=False) - funcs = {} - CFDSolver.evalFunctions(ap, funcs) - - if MPI.COMM_WORLD.rank == 0: - if ii == 0: - for key in ['cl','cmz','drag']: - print 'funcs[%s]:'%key - reg_write(numpy.real(funcs['mdo_tutorial_%s'%key]),1e-10,1e-10) - - if ii == 0: - print ('Twist[0] Derivatives:') - elif ii == 1: - print ('Span Derivatives:') - elif ii == 2: - print ('shape[13] Derivatives:') - - for key in ['cl','cmz','drag']: - deriv = numpy.imag(funcs['mdo_tutorial_%s'%key])/h - reg_write(deriv,1e-10,1e-10) - del CFDSolver - del mesh - -# Notes for the Viscous Derivatives: - -def test3(): - # **************************************************************************** - printHeader('MDO tutorial Viscous Aerodynamic Variables') - # **************************************************************************** - aeroOptions = copy.deepcopy(defOpts) - - # Now set the options that need to be overwritten for this example: - aeroOptions.update( - {'gridfile': '../inputFiles/mdo_tutorial_rans.cgns', - 'mgcycle':'2w', - 'equationtype':'Laminar NS', - 'cfl':1.5, - 'cflcoarse':1.25, - 'ncyclescoarse':250, - 'ncycles':500, - 'monitorvariables':['resrho','resturb','cl','cd','cmz','yplus','totalr'], - 'usenksolver':True, - 'l2convergence':1e-16, - 'l2convergencecoarse':1e-2, - 'nkswitchtol':1e-2, - 'adjointl2convergence': 1e-15, - 'nkls':'non monotone', - } - ) - - # Setup aeroproblem, cfdsolver - ap = AeroProblem(name='mdo_tutorial', alpha=1.8, mach=0.50, - reynolds=50000.0, reynoldsLength=3.25, T=293.15, - areaRef=45.5, chordRef=3.25, evalFuncs=['cd','cmz','lift']) - ap.addDV('alpha') - ap.addDV('mach') - - CFDSolver = ADFLOW(options=aeroOptions) - - if not 'complex' in sys.argv: - # Solve system - CFDSolver(ap, writeSolution=False) - funcs = {} - CFDSolver.evalFunctions(ap, funcs) - # Solve sensitivities - funcsSens = {} - CFDSolver.evalFunctionsSens(ap, funcsSens) - - # Write values and derivatives out: - if MPI.COMM_WORLD.rank == 0: - for key in ['cd','cmz','lift']: - print 'funcs[%s]:'%key - reg_write(funcs['mdo_tutorial_%s'%key],1e-10,1e-10) - # Now write the derivatives in the same order the CS will do them: - print ('Alpha Derivatives:') - reg_write(funcsSens['mdo_tutorial_cd']['alpha_mdo_tutorial'], 1e-10,1e-10) - reg_write(funcsSens['mdo_tutorial_cmz']['alpha_mdo_tutorial'], 1e-10,1e-10) - reg_write(funcsSens['mdo_tutorial_lift']['alpha_mdo_tutorial'], 1e-10,1e-10) - - print ('Mach Derivatives:') - reg_write(funcsSens['mdo_tutorial_cd']['mach_mdo_tutorial'], 1e-10,1e-10) - reg_write(funcsSens['mdo_tutorial_cmz']['mach_mdo_tutorial'], 1e-10,1e-10) - reg_write(funcsSens['mdo_tutorial_lift']['mach_mdo_tutorial'], 1e-10,1e-10) - - else: - # For the complex....we just do successive perturbation - for ii in range(2): - ap.alpha = 1.8 - ap.mach = 0.50 - - if ii == 0: - ap.alpha += h*1j - elif ii == 1: - ap.mach += h*1j - - CFDSolver.resetFlow(ap) - CFDSolver(ap, writeSolution=False) - funcs = {} - CFDSolver.evalFunctions(ap, funcs) - - if MPI.COMM_WORLD.rank == 0: - if ii == 0: - for key in ['cd','cmz','lift']: - print 'funcs[%s]:'%key - reg_write(numpy.real(funcs['mdo_tutorial_%s'%key]),1e-10,1e-10) - - if ii == 0: - print ('Alpha Derivatives:') - elif ii == 1: - print ('Mach Derivatives:') - - for key in ['cd','cmz','lift']: - deriv = numpy.imag(funcs['mdo_tutorial_%s'%key])/h - reg_write(deriv,1e-10,1e-10) - - del CFDSolver - -def test4(): - # **************************************************************************** - printHeader('MDO tutorial Viscous Geometric Variables') - # **************************************************************************** - aeroOptions = copy.deepcopy(defOpts) - - # Now set the options that need to be overwritten for this example: - aeroOptions.update( - {'gridfile': '../inputFiles/mdo_tutorial_rans.cgns', - 'mgcycle':'2w', - 'equationtype':'Laminar NS', - 'cfl':1.5, - 'cflcoarse':1.25, - 'ncyclescoarse':250, - 'ncycles':500, - 'monitorvariables':['resrho','resturb','cl','cd','cmz','yplus','totalr'], - 'usenksolver':True, - 'l2convergence':1e-16, - 'l2convergencecoarse':1e-2, - 'nkswitchtol':1e-2, - 'adjointl2convergence': 1e-15, - 'nkls':'non monotone', - } - ) - - # Setup aeroproblem, cfdsolver - ap = AeroProblem(name='mdo_tutorial', alpha=1.8, mach=0.50, - reynolds=50000.0, reynoldsLength=3.25, T=293.15, - areaRef=45.5, chordRef=3.25, evalFuncs=['cl','cmz','drag']) - - CFDSolver = ADFLOW(options=aeroOptions) - if 'complex' in sys.argv: - DVGeo = DVGeometry('../inputFiles/mdo_tutorial_ffd.fmt', complex=True) - else: - DVGeo = DVGeometry('../inputFiles/mdo_tutorial_ffd.fmt', complex=False) - - nTwist = 2 - DVGeo.addRefAxis('wing', pyspline.Curve(x=numpy.linspace(5.0/4.0, 1.5/4.0+7.5, nTwist), - y=numpy.zeros(nTwist), - z=numpy.linspace(0,14, nTwist), k=2)) - def twist(val, geo): - for i in xrange(nTwist): - geo.rot_z['wing'].coef[i] = val[i] - - def span(val, geo): - # Span - C = geo.extractCoef('wing') - s = geo.extractS('wing') - for i in xrange(len(C)-1): - C[-1, 2] = C[-1, 2] + val[0] - geo.restoreCoef(C, 'wing') - - DVGeo.addGeoDVGlobal('twist', [0]*nTwist, twist, lower=-10, upper=10, scale=1.0) - DVGeo.addGeoDVGlobal('span', [0], span, lower=-10, upper=10, scale=1.0) - DVGeo.addGeoDVLocal('shape', lower=-0.5, upper=0.5, axis='y', scale=10.0) - mesh = MBMesh(options={'gridFile':'../inputFiles/mdo_tutorial_rans.cgns'}) - CFDSolver.setMesh(mesh) - CFDSolver.setDVGeo(DVGeo) - #Aeroproblem must be set before we can call DVGeo.setDesignVars - CFDSolver.setAeroProblem(ap) - if not 'complex' in sys.argv: - # Solve system - CFDSolver(ap, writeSolution=False) - funcs = {} - CFDSolver.evalFunctions(ap, funcs) - # Solve sensitivities - funcsSens = {} - CFDSolver.evalFunctionsSens(ap, funcsSens) - - # Write values and derivatives out: - if MPI.COMM_WORLD.rank == 0: - for key in ['cl','cmz','drag']: - print 'funcs[%s]:'%key - reg_write(funcs['mdo_tutorial_%s'%key],1e-10,1e-10) - # Now write the derivatives in the same order the CS will do them: - print ('Twist[0] Derivatives:') - reg_write(funcsSens['mdo_tutorial_cl']['twist'][0][0], 1e-10,1e-10) - reg_write(funcsSens['mdo_tutorial_cmz']['twist'][0][0], 1e-10,1e-10) - reg_write(funcsSens['mdo_tutorial_drag']['twist'][0][0], 1e-10,1e-10) - - print ('Span Derivatives:') - reg_write(funcsSens['mdo_tutorial_cl']['span'][0], 1e-10,1e-10) - reg_write(funcsSens['mdo_tutorial_cmz']['span'][0], 1e-10,1e-10) - reg_write(funcsSens['mdo_tutorial_drag']['span'][0], 1e-10,1e-10) - - print ('shape[13] Derivatives:') - reg_write(funcsSens['mdo_tutorial_cl']['shape'][0][13], 1e-10,1e-10) - reg_write(funcsSens['mdo_tutorial_cmz']['shape'][0][13], 1e-10,1e-10) - reg_write(funcsSens['mdo_tutorial_drag']['shape'][0][13], 1e-10,1e-10) - else: - # For the complex....we just do successive perturbation - for ii in range(3): - xRef = {'twist':[0.0, 0.0], 'span':[0.0], 'shape':numpy.zeros(72, dtype='D')} - if ii == 0: - xRef['twist'][0] += h*1j - elif ii == 1: - xRef['span'][0] += h*1j - else: - xRef['shape'][13] += h*1j - - CFDSolver.resetFlow(ap) - DVGeo.setDesignVars(xRef) - CFDSolver(ap, writeSolution=False) - funcs = {} - CFDSolver.evalFunctions(ap, funcs) - - if MPI.COMM_WORLD.rank == 0: - if ii == 0: - for key in ['cl','cmz','drag']: - print 'funcs[%s]:'%key - reg_write(numpy.real(funcs['mdo_tutorial_%s'%key]),1e-10,1e-10) - - if ii == 0: - print ('Twist[0] Derivatives:') - elif ii == 1: - print ('Span Derivatives:') - elif ii == 2: - print ('shape[13] Derivatives:') - - for key in ['cl','cmz','drag']: - deriv = numpy.imag(funcs['mdo_tutorial_%s'%key])/h - reg_write(deriv,1e-10,1e-10) - - del CFDSolver - del mesh - -# ----------- Most of this has been supersceeded. Derivatives are now -# ----------- accurate to 1e-10 across multiple compilers (gfortran/intel) - -# Notes for the RANS Derivatives: It appears that the CS derviative -# itself flucuates in the 10 to 11 digit or so even when the residual -# is bouncing around machine precision. This si the limit of what can -# be verified wtih CS. This is the reason for putting the check -# tolerance at 1e-8. However, the altidue derivatives seem to be quite -# a bit less accurate, but this thought to be caused by the fact that -# they so small in magniude. These are only requried to match to 1e-4. -# Note that the NKJacobian lag is set to 5 which is much lower than is -# norally used. The reason for this is with the RANS analysis, -# sometimes the CS derivative will "blow up -- increase by 6 or 7 -# orders of magnitude during the solution. It eventually comes back to -# the right order of magnitude, but it now quite inaccurate. It can -# also happen if the the nkswtich tol is too large. It is now 1e4 -# which seems to work ok. Futhermore, the intel compiler does a -# *TERRIBLE* job with accuracy with complex variables. It really is -# awful. When you are playing around with verifying derivatives it -# really is important to use -fp-model precise. For the verification, -# we can only reliably get about 8 digits since the actual values -# won't match much better than that. You should be able to get 10 -# digits+ if you are using the precise fp model. Also, the reason for -# doing the aerodynamic and geometric derivatives separately is that -# the when the nodes are embedded in the FFD there may be slight -# differences which will result in differences on the order of -# ~1e-12. This way, the aerodynamic derivatives can be tested -# independent of the goemetric ones. - - -def test5(): - # **************************************************************************** - printHeader('MDO tutorial RANS Aerodynamic Variables') - # **************************************************************************** - aeroOptions = copy.deepcopy(defOpts) - - # Now set the options that need to be overwritten for this example: - aeroOptions.update( - {'gridfile': '../inputFiles/mdo_tutorial_rans.cgns', - 'mgcycle':'2w', - 'equationtype':'RANS', - 'smoother':'dadi', - 'nsubiterturb':3, - 'nsubiter':3, - 'cfl':1.5, - 'cflcoarse':1.25, - 'ncyclescoarse':250, - 'ncycles':750, - 'monitorvariables':['resrho','resturb','cl','cd','cmz','yplus','totalr'], - 'usenksolver':True, - 'l2convergence':1e-17, - 'l2convergencecoarse':1e-2, - 'nkswitchtol':1e-4, - 'adjointl2convergence': 1e-16, - 'nkls': 'non monotone', - 'frozenturbulence':False, - 'nkjacobianlag':2, - } - ) - - # Setup aeroproblem, cfdsolver - ap = AeroProblem(name='mdo_tutorial', alpha=1.8, mach=0.80, - altitude=10000.0, areaRef=45.5, chordRef=3.25, evalFuncs=['cd','cmz','lift']) - ap.addDV('alpha') - ap.addDV('mach') - ap.addDV('altitude') - CFDSolver = ADFLOW(options=aeroOptions,debug=True) - - if not 'complex' in sys.argv: - # Solve system - CFDSolver(ap, writeSolution=False) - funcs = {} - CFDSolver.evalFunctions(ap, funcs) - # Solve sensitivities - funcsSens = {} - CFDSolver.evalFunctionsSens(ap, funcsSens) - - # Write values and derivatives out: - if MPI.COMM_WORLD.rank == 0: - for key in ['cd','cmz','lift']: - print 'funcs[%s]:'%key - reg_write(funcs['mdo_tutorial_%s'%key],1e-10,1e-10) - # Now write the derivatives in the same order the CS will do them: - print ('Alpha Derivatives:') - reg_write(funcsSens['mdo_tutorial_cd']['alpha_mdo_tutorial'], 1e-10,1e-10) - reg_write(funcsSens['mdo_tutorial_cmz']['alpha_mdo_tutorial'], 1e-10,1e-10) - reg_write(funcsSens['mdo_tutorial_lift']['alpha_mdo_tutorial'], 1e-10,1e-10) - - print ('Mach Derivatives:') - reg_write(funcsSens['mdo_tutorial_cd']['mach_mdo_tutorial'], 1e-10,1e-10) - reg_write(funcsSens['mdo_tutorial_cmz']['mach_mdo_tutorial'], 1e-10,1e-10) - reg_write(funcsSens['mdo_tutorial_lift']['mach_mdo_tutorial'], 1e-10,1e-10) - - print ('Altitude Derivatives:') - reg_write(funcsSens['mdo_tutorial_cd']['altitude_mdo_tutorial'], 1e-8,1e-8) - reg_write(funcsSens['mdo_tutorial_cmz']['altitude_mdo_tutorial'], 1e-8,1e-8) - reg_write(funcsSens['mdo_tutorial_lift']['altitude_mdo_tutorial'], 1e-8,1e-8) - - else: - # For the complex....we just do successive perturbation - for ii in range(3): - ap.alpha = 1.8 - ap.mach = 0.80 - ap.altitude = 10000.0 - if ii == 0: - ap.alpha += h*1j - elif ii == 1: - ap.mach += h*1j - else: - ap.altitude += h*1j - - CFDSolver.resetFlow(ap) - CFDSolver(ap, writeSolution=False) - funcs = {} - CFDSolver.evalFunctions(ap, funcs) - - if MPI.COMM_WORLD.rank == 0: - if ii == 0: - for key in ['cd','cmz','lift']: - print 'funcs[%s]:'%key - reg_write(numpy.real(funcs['mdo_tutorial_%s'%key]),1e-10,1e-10) - - if ii == 0: - print ('Alpha Derivatives:') - for key in ['cd','cmz','lift']: - deriv = numpy.imag(funcs['mdo_tutorial_%s'%key])/h - reg_write(deriv,1e-10,1e-10) - - elif ii == 1: - print ('Mach Derivatives:') - for key in ['cd','cmz','lift']: - deriv = numpy.imag(funcs['mdo_tutorial_%s'%key])/h - reg_write(deriv,1e-10,1e-10) - - else: - print ('AltitudeDerivatives:') - for key in ['cd','cmz','lift']: - deriv = numpy.imag(funcs['mdo_tutorial_%s'%key])/h - reg_write(deriv,1e-10,1e-10) - - - del CFDSolver - -def test6(): - # **************************************************************************** - printHeader('MDO tutorial RANS Geometric Variables') - # **************************************************************************** - aeroOptions = copy.deepcopy(defOpts) - - # Now set the options that need to be overwritten for this example: - aeroOptions.update( - {'gridfile': '../inputFiles/mdo_tutorial_rans.cgns', - 'mgcycle':'2w', - 'equationtype':'RANS', - 'smoother':'dadi', - 'nsubiterturb':3, - 'nsubiter':3, - 'cfl':1.5, - 'cflcoarse':1.25, - 'ncyclescoarse':250, - 'ncycles':750, - 'monitorvariables':['resrho','resturb','cl','cd','cmz','yplus','totalr'], - 'usenksolver':True, - 'l2convergence':1e-17, - 'l2convergencecoarse':1e-2, - 'nkswitchtol':1e-4, - 'adjointl2convergence': 1e-16, - 'nkls': 'non monotone', - 'frozenturbulence':False, - 'nkjacobianlag':2, - } - ) - - # Setup aeroproblem, cfdsolver - ap = AeroProblem(name='mdo_tutorial', alpha=1.8, mach=0.80, - altitude=10000.0, areaRef=45.5, chordRef=3.25, evalFuncs=['cl','cmz','drag']) - - ap.addDV('alpha') - ap.addDV('mach') - CFDSolver = ADFLOW(options=aeroOptions) - if 'complex' in sys.argv: - DVGeo = DVGeometry('../inputFiles/mdo_tutorial_ffd.fmt', complex=True) - else: - DVGeo = DVGeometry('../inputFiles/mdo_tutorial_ffd.fmt', complex=False) - - nTwist = 2 - DVGeo.addRefAxis('wing', pyspline.Curve(x=numpy.linspace(5.0/4.0, 1.5/4.0+7.5, nTwist), - y=numpy.zeros(nTwist), - z=numpy.linspace(0,14, nTwist), k=2)) - def twist(val, geo): - for i in xrange(nTwist): - geo.rot_z['wing'].coef[i] = val[i] - - def span(val, geo): - # Span - C = geo.extractCoef('wing') - s = geo.extractS('wing') - for i in xrange(len(C)-1): - C[-1, 2] = C[-1, 2] + val[0] - geo.restoreCoef(C, 'wing') - - DVGeo.addGeoDVGlobal('twist', [0]*nTwist, twist, lower=-10, upper=10, scale=1.0) - DVGeo.addGeoDVGlobal('span', [0], span, lower=-10, upper=10, scale=1.0) - DVGeo.addGeoDVLocal('shape', lower=-0.5, upper=0.5, axis='y', scale=10.0) - mesh = MBMesh(options={'gridFile':'../inputFiles/mdo_tutorial_rans.cgns'}) - CFDSolver.setMesh(mesh) - CFDSolver.setDVGeo(DVGeo) - #Aeroproblem must be set before we can call DVGeo.setDesignVars - CFDSolver.setAeroProblem(ap) - if not 'complex' in sys.argv: - # Solve system - CFDSolver(ap, writeSolution=False) - funcs = {} - CFDSolver.evalFunctions(ap, funcs) - # Solve sensitivities - funcsSens = {} - CFDSolver.evalFunctionsSens(ap, funcsSens) - - # Write values and derivatives out: - if MPI.COMM_WORLD.rank == 0: - for key in ['cl','cmz','drag']: - print 'funcs[%s]:'%key - reg_write(funcs['mdo_tutorial_%s'%key],1e-10,1e-10) - # Now write the derivatives in the same order the CS will do them: - print ('Twist[0] Derivatives:') - reg_write(funcsSens['mdo_tutorial_cl']['twist'][0][0], 1e-10,1e-10) - reg_write(funcsSens['mdo_tutorial_cmz']['twist'][0][0], 1e-10,1e-10) - reg_write(funcsSens['mdo_tutorial_drag']['twist'][0][0], 1e-10,1e-10) - - print ('Span Derivatives:') - reg_write(funcsSens['mdo_tutorial_cl']['span'][0], 1e-10,1e-10) - reg_write(funcsSens['mdo_tutorial_cmz']['span'][0], 1e-10,1e-10) - reg_write(funcsSens['mdo_tutorial_drag']['span'][0], 1e-10,1e-10) - - print ('shape[13] Derivatives:') - reg_write(funcsSens['mdo_tutorial_cl']['shape'][0][13], 1e-10,1e-10) - reg_write(funcsSens['mdo_tutorial_cmz']['shape'][0][13], 1e-10,1e-10) - reg_write(funcsSens['mdo_tutorial_drag']['shape'][0][13], 1e-10,1e-10) - - print ('mach Derivatives:') - reg_write(funcsSens['mdo_tutorial_cl']['mach_mdo_tutorial'], 1e-10,1e-10) - reg_write(funcsSens['mdo_tutorial_cmz']['mach_mdo_tutorial'], 1e-10,1e-10) - reg_write(funcsSens['mdo_tutorial_drag']['mach_mdo_tutorial'], 1e-10,1e-10) - - else: - # For the complex....we just do successive perturbation - for ii in range(4): - xRef = {'twist':[0.0, 0.0], 'span':[0.0], 'shape':numpy.zeros(72, dtype='D'), 'mach_mdo_tutorial':0.8} - if ii == 0: - xRef['twist'][0] += h*1j - elif ii == 1: - xRef['span'][0] += h*1j - elif ii == 2: - xRef['shape'][13] += h*1j - else: - xRef['mach_mdo_tutorial']+=h*1j - - ap.setDesignVars(xRef) - CFDSolver.resetFlow(ap) - DVGeo.setDesignVars(xRef) - CFDSolver(ap, writeSolution=False) - funcs = {} - CFDSolver.evalFunctions(ap, funcs) - - if MPI.COMM_WORLD.rank == 0: - if ii == 0: - for key in ['cl','cmz','drag']: - print 'funcs[%s]:'%key - reg_write(numpy.real(funcs['mdo_tutorial_%s'%key]),1e-10,1e-10) - - if ii == 0: - print ('Twist[0] Derivatives:') - elif ii == 1: - print ('Span Derivatives:') - elif ii == 2: - print ('shape[13] Derivatives:') - elif ii == 3: - print ('mach Derivatives:') - - for key in ['cl','cmz','drag']: - deriv = numpy.imag(funcs['mdo_tutorial_%s'%key])/h - reg_write(deriv,1e-10,1e-10) - - del CFDSolver - del mesh - -if __name__ == '__main__': - if len(sys.argv) == 1 or (len(sys.argv) == 2 and 'complex' in sys.argv): - test1() - test2() - test3() - test4() - test5() - test6() - else: - # Run individual ones - if 'test1' in sys.argv: - test1() - if 'test2' in sys.argv: - test2() - if 'test3' in sys.argv: - test3() - if 'test4' in sys.argv: - test4() - if 'test5' in sys.argv: - test5() - if 'test6' in sys.argv: - test6() - - From 898e5ef109fe2a589f3d274720b7d4b7faeaa467 Mon Sep 17 00:00:00 2001 From: Neil Wu Date: Sat, 8 Feb 2020 18:54:46 +0000 Subject: [PATCH 07/21] removed unused imports in complex tests --- python/reg_tests/tests_cs/test1.py | 4 ---- python/reg_tests/tests_cs/test3.py | 4 ---- python/reg_tests/tests_cs/test5.py | 4 ---- 3 files changed, 12 deletions(-) diff --git a/python/reg_tests/tests_cs/test1.py b/python/reg_tests/tests_cs/test1.py index 11ddf77e0..88b70baa8 100644 --- a/python/reg_tests/tests_cs/test1.py +++ b/python/reg_tests/tests_cs/test1.py @@ -7,8 +7,6 @@ from mpi4py import MPI from baseclasses import AeroProblem -from pygeo import DVGeometry -import pyspline from mdo_regression_helper import * from commonUtils import * @@ -20,10 +18,8 @@ if 'complex' in sys.argv: from python.pyADflow_C import ADFLOW_C as ADFLOW - from pywarp import MBMesh_C as MBMesh else: from python.pyADflow import ADFLOW - from pywarp import MBMesh # ################################################################### printHeader('MDO tutorial Euler Mesh - Python functionality testing') diff --git a/python/reg_tests/tests_cs/test3.py b/python/reg_tests/tests_cs/test3.py index 959f9fa99..775789af8 100644 --- a/python/reg_tests/tests_cs/test3.py +++ b/python/reg_tests/tests_cs/test3.py @@ -7,8 +7,6 @@ from mpi4py import MPI from baseclasses import AeroProblem -from pygeo import DVGeometry -import pyspline from mdo_regression_helper import * from commonUtils import * @@ -20,10 +18,8 @@ if 'complex' in sys.argv: from python.pyADflow_C import ADFLOW_C as ADFLOW - from pywarp import MBMesh_C as MBMesh else: from python.pyADflow import ADFLOW - from pywarp import MBMesh # ################################################################### printHeader('MDO tutorial Viscous Aerodynamic Variables') diff --git a/python/reg_tests/tests_cs/test5.py b/python/reg_tests/tests_cs/test5.py index afbd2f10a..81d1491ec 100644 --- a/python/reg_tests/tests_cs/test5.py +++ b/python/reg_tests/tests_cs/test5.py @@ -7,8 +7,6 @@ from mpi4py import MPI from baseclasses import AeroProblem -from pygeo import DVGeometry -import pyspline from mdo_regression_helper import * from commonUtils import * @@ -20,10 +18,8 @@ if 'complex' in sys.argv: from python.pyADflow_C import ADFLOW_C as ADFLOW - from pywarp import MBMesh_C as MBMesh else: from python.pyADflow import ADFLOW - from pywarp import MBMesh # ################################################################### # **************************************************************************** From 8ab4ffd6e7d1376ac704d1367279eb322d70d719 Mon Sep 17 00:00:00 2001 From: Neil Wu Date: Sat, 8 Feb 2020 19:05:26 +0000 Subject: [PATCH 08/21] updated toAdd tests to use pywarp (there are no ref values to update) --- python/reg_tests/tests/toAdd/test18.py | 4 ++-- python/reg_tests/tests/toAdd/test19.py | 4 ++-- python/reg_tests/tests/toAdd/test20.py | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/python/reg_tests/tests/toAdd/test18.py b/python/reg_tests/tests/toAdd/test18.py index 60a993bde..297c80c99 100644 --- a/python/reg_tests/tests/toAdd/test18.py +++ b/python/reg_tests/tests/toAdd/test18.py @@ -6,7 +6,7 @@ import sys, os, copy from mpi4py import MPI from baseclasses import AeroProblem -from pywarp import MBMesh +from idwarp import USMesh from mdo_regression_helper import * from commonUtils import * @@ -66,7 +66,7 @@ 'skew_exp': 0.0, 'useRotationCorrection': False, } -mesh = MBMesh(options = optMesh) +mesh = USMesh(options = optMesh) options.update( {'gridfile': '../inputFiles/naca0012_rans-L2.cgns', diff --git a/python/reg_tests/tests/toAdd/test19.py b/python/reg_tests/tests/toAdd/test19.py index c210c413d..af97fb8de 100644 --- a/python/reg_tests/tests/toAdd/test19.py +++ b/python/reg_tests/tests/toAdd/test19.py @@ -6,7 +6,7 @@ import sys, os, copy from mpi4py import MPI from baseclasses import AeroProblem -from pywarp import MBMesh +from idwarp import USMesh from mdo_regression_helper import * from commonUtils import * @@ -66,7 +66,7 @@ 'skew_exp': 0.0, 'useRotationCorrection': False, } -mesh = MBMesh(options = optMesh) +mesh = USMesh(options = optMesh) options.update( {'gridfile': '../inputFiles/naca0012_rans-L2.cgns', diff --git a/python/reg_tests/tests/toAdd/test20.py b/python/reg_tests/tests/toAdd/test20.py index 8941e9c2c..2214737f2 100644 --- a/python/reg_tests/tests/toAdd/test20.py +++ b/python/reg_tests/tests/toAdd/test20.py @@ -6,7 +6,7 @@ import sys, os, copy from mpi4py import MPI from baseclasses import AeroProblem -from pywarp import MBMesh +from idwarp import USMesh from mdo_regression_helper import * from commonUtils import * @@ -66,7 +66,7 @@ 'skew_exp': 0.0, 'useRotationCorrection': False, } -mesh = MBMesh(options = optMesh) +mesh = USMesh(options = optMesh) options.update( {'gridfile': '../inputFiles/naca0012_rans-L2.cgns', From 846990ff4d2e990451e809a6dd8b209dd72ef809 Mon Sep 17 00:00:00 2001 From: Neil Wu Date: Sat, 8 Feb 2020 19:07:10 +0000 Subject: [PATCH 09/21] added new tests, which are test 2,4,6 but with idwarp --- python/reg_tests/tests_cs/test7.py | 150 ++++++++++++++++++++++++++ python/reg_tests/tests_cs/test8.py | 150 ++++++++++++++++++++++++++ python/reg_tests/tests_cs/test9.py | 166 +++++++++++++++++++++++++++++ 3 files changed, 466 insertions(+) create mode 100644 python/reg_tests/tests_cs/test7.py create mode 100644 python/reg_tests/tests_cs/test8.py create mode 100644 python/reg_tests/tests_cs/test9.py diff --git a/python/reg_tests/tests_cs/test7.py b/python/reg_tests/tests_cs/test7.py new file mode 100644 index 000000000..c0f316701 --- /dev/null +++ b/python/reg_tests/tests_cs/test7.py @@ -0,0 +1,150 @@ +############################################################ +# DO NOT USE THIS SCRIPT AS A REFERENCE FOR HOW TO USE ADFLOW +# THIS SCRIPT USES PRIVATE INTERNAL FUNCTIONALITY THAT IS +# SUBJECT TO CHANGE!! +############################################################ +import sys, os, copy +from mpi4py import MPI + +from baseclasses import AeroProblem +from pygeo import DVGeometry +import pyspline + +from mdo_regression_helper import * +from commonUtils import * + +# ################################################################### +# DO NOT USE THIS IMPORT STRATEGY! THIS IS ONLY USED FOR REGRESSION +# SCRIPTS ONLY. Use 'from adflow import ADFLOW' for regular scripts. +sys.path.append(os.path.abspath('../../')) + +if 'complex' in sys.argv: + from python.pyADflow_C import ADFLOW_C as ADFLOW + from idwarp import USMesh_C as USMesh +else: + from python.pyADflow import ADFLOW + from idwarp import USMesh +# ################################################################### + +# **************************************************************************** +printHeader('MDO tutorial Euler Geometric Variables with IDWarp') +# **************************************************************************** +aeroOptions = copy.deepcopy(adflowDefOpts) + +# Now set the options that need to be overwritten for this example: +aeroOptions.update( + {'gridfile': '../inputFiles/mdo_tutorial_euler.cgns', + 'mgcycle':'2w', + 'cfl':1.5, + 'cflcoarse':1.25, + 'ncyclescoarse':250, + 'ncycles':400, + 'monitorvariables':['resrho','cl','cd','cmz','totalr'], + 'usenksolver':True, + 'l2convergence':1e-15, + 'l2convergencecoarse':1e-2, + 'nkswitchtol':1e-2, + 'adjointl2convergence': 1e-15, + 'nkls':'non monotone', + 'blocksplitting': True + } +) +h = 1e-40 + +# Setup aeroproblem, cfdsolver +ap = AeroProblem(name='mdo_tutorial', alpha=1.8, mach=0.80, R=287.87, + altitude=10000.0, areaRef=45.5, chordRef=3.25, + evalFuncs=['cl','cmz','drag']) + +CFDSolver = ADFLOW(options=aeroOptions) +if 'complex' in sys.argv: + DVGeo = DVGeometry('../inputFiles/mdo_tutorial_ffd.fmt', complex=True) +else: + DVGeo = DVGeometry('../inputFiles/mdo_tutorial_ffd.fmt', complex=False) + +nTwist = 2 +DVGeo.addRefAxis('wing', pyspline.Curve(x=numpy.linspace(5.0/4.0, 1.5/4.0+7.5, nTwist), + y=numpy.zeros(nTwist), + z=numpy.linspace(0,14, nTwist), k=2)) +def twist(val, geo): + for i in xrange(nTwist): + geo.rot_z['wing'].coef[i] = val[i] + +def span(val, geo): + # Span + C = geo.extractCoef('wing') + s = geo.extractS('wing') + for i in xrange(len(C)-1): + C[-1, 2] = C[-1, 2] + val[0] + geo.restoreCoef(C, 'wing') + +DVGeo.addGeoDVGlobal('twist', [0]*nTwist, twist, lower=-10, upper=10, scale=1.0) +DVGeo.addGeoDVGlobal('span', [0], span, lower=-10, upper=10, scale=1.0) +DVGeo.addGeoDVLocal('shape', lower=-0.5, upper=0.5, axis='y', scale=10.0) +mesh = USMesh(options={'gridFile':'../inputFiles/mdo_tutorial_euler.cgns'}) +CFDSolver.setMesh(mesh) +CFDSolver.setDVGeo(DVGeo) +#Aeroproblem must be set before we can call DVGeo.setDesignVars +CFDSolver.setAeroProblem(ap) +if not 'complex' in sys.argv: + # Solve system + CFDSolver(ap, writeSolution=False) + funcs = {} + CFDSolver.evalFunctions(ap, funcs) + # Solve sensitivities + funcsSens = {} + CFDSolver.evalFunctionsSens(ap, funcsSens) + + # Write values and derivatives out: + if MPI.COMM_WORLD.rank == 0: + for key in ['cl','cmz','drag']: + print 'funcs[%s]:'%key + reg_write(funcs['mdo_tutorial_%s'%key],1e-10,1e-10) + # Now write the derivatives in the same order the CS will do them: + print ('Twist[0] Derivatives:') + reg_write(funcsSens['mdo_tutorial_cl']['twist'][0][0], 1e-10,1e-10) + reg_write(funcsSens['mdo_tutorial_cmz']['twist'][0][0], 1e-10,1e-10) + reg_write(funcsSens['mdo_tutorial_drag']['twist'][0][0], 1e-10,1e-10) + + print ('Span Derivatives:') + reg_write(funcsSens['mdo_tutorial_cl']['span'][0], 1e-10,1e-10) + reg_write(funcsSens['mdo_tutorial_cmz']['span'][0], 1e-10,1e-10) + reg_write(funcsSens['mdo_tutorial_drag']['span'][0], 1e-10,1e-10) + + print ('shape[13] Derivatives:') + reg_write(funcsSens['mdo_tutorial_cl']['shape'][0][13], 1e-10,1e-10) + reg_write(funcsSens['mdo_tutorial_cmz']['shape'][0][13], 1e-10,1e-10) + reg_write(funcsSens['mdo_tutorial_drag']['shape'][0][13], 1e-10,1e-10) +else: + # For the complex....we just do successive perturbation + for ii in range(3): + xRef = {'twist':[0.0, 0.0], 'span':[0.0], 'shape':numpy.zeros(72, dtype='D')} + if ii == 0: + xRef['twist'][0] += h*1j + elif ii == 1: + xRef['span'][0] += h*1j + else: + xRef['shape'][13] += h*1j + + CFDSolver.resetFlow(ap) + DVGeo.setDesignVars(xRef) + CFDSolver(ap, writeSolution=False) + funcs = {} + CFDSolver.evalFunctions(ap, funcs) + + if MPI.COMM_WORLD.rank == 0: + if ii == 0: + for key in ['cl','cmz','drag']: + print 'funcs[%s]:'%key + reg_write(numpy.real(funcs['mdo_tutorial_%s'%key]),1e-10,1e-10) + + if ii == 0: + print ('Twist[0] Derivatives:') + elif ii == 1: + print ('Span Derivatives:') + elif ii == 2: + print ('shape[13] Derivatives:') + + for key in ['cl','cmz','drag']: + deriv = numpy.imag(funcs['mdo_tutorial_%s'%key])/h + reg_write(deriv,1e-10,1e-10) diff --git a/python/reg_tests/tests_cs/test8.py b/python/reg_tests/tests_cs/test8.py new file mode 100644 index 000000000..dbddd359f --- /dev/null +++ b/python/reg_tests/tests_cs/test8.py @@ -0,0 +1,150 @@ +############################################################ +# DO NOT USE THIS SCRIPT AS A REFERENCE FOR HOW TO USE ADFLOW +# THIS SCRIPT USES PRIVATE INTERNAL FUNCTIONALITY THAT IS +# SUBJECT TO CHANGE!! +############################################################ +import sys, os, copy +from mpi4py import MPI + +from baseclasses import AeroProblem +from pygeo import DVGeometry +import pyspline + +from mdo_regression_helper import * +from commonUtils import * + +# ################################################################### +# DO NOT USE THIS IMPORT STRATEGY! THIS IS ONLY USED FOR REGRESSION +# SCRIPTS ONLY. Use 'from adflow import ADFLOW' for regular scripts. +sys.path.append(os.path.abspath('../../')) + +if 'complex' in sys.argv: + from python.pyADflow_C import ADFLOW_C as ADFLOW + from idwarp import USMesh_C as USMesh +else: + from python.pyADflow import ADFLOW + from idwarp import USMesh +# ################################################################### + +# **************************************************************************** +printHeader('MDO tutorial Viscous Geometric Variables with IDWarp') +# **************************************************************************** +aeroOptions = copy.deepcopy(adflowDefOpts) + +# Now set the options that need to be overwritten for this example: +aeroOptions.update( + {'gridfile': '../inputFiles/mdo_tutorial_rans.cgns', + 'mgcycle':'2w', + 'equationtype':'Laminar NS', + 'cfl':1.5, + 'cflcoarse':1.25, + 'ncyclescoarse':250, + 'ncycles':500, + 'monitorvariables':['resrho','resturb','cl','cd','cmz','yplus','totalr'], + 'usenksolver':True, + 'l2convergence':1e-16, + 'l2convergencecoarse':1e-2, + 'nkswitchtol':1e-2, + 'adjointl2convergence': 1e-15, + 'nkls':'non monotone', + 'blocksplitting': True + } +) +h = 1e-40 +# Setup aeroproblem, cfdsolver +ap = AeroProblem(name='mdo_tutorial', alpha=1.8, mach=0.50, R=287.87, + reynolds=50000.0, reynoldsLength=3.25, T=293.15, + areaRef=45.5, chordRef=3.25, evalFuncs=['cl','cmz','drag']) + +CFDSolver = ADFLOW(options=aeroOptions) +if 'complex' in sys.argv: + DVGeo = DVGeometry('../inputFiles/mdo_tutorial_ffd.fmt', complex=True) +else: + DVGeo = DVGeometry('../inputFiles/mdo_tutorial_ffd.fmt', complex=False) + +nTwist = 2 +DVGeo.addRefAxis('wing', pyspline.Curve(x=numpy.linspace(5.0/4.0, 1.5/4.0+7.5, nTwist), + y=numpy.zeros(nTwist), + z=numpy.linspace(0,14, nTwist), k=2)) +def twist(val, geo): + for i in xrange(nTwist): + geo.rot_z['wing'].coef[i] = val[i] + +def span(val, geo): + # Span + C = geo.extractCoef('wing') + s = geo.extractS('wing') + for i in xrange(len(C)-1): + C[-1, 2] = C[-1, 2] + val[0] + geo.restoreCoef(C, 'wing') + +DVGeo.addGeoDVGlobal('twist', [0]*nTwist, twist, lower=-10, upper=10, scale=1.0) +DVGeo.addGeoDVGlobal('span', [0], span, lower=-10, upper=10, scale=1.0) +DVGeo.addGeoDVLocal('shape', lower=-0.5, upper=0.5, axis='y', scale=10.0) +mesh = USMesh(options={'gridFile':'../inputFiles/mdo_tutorial_rans.cgns'}) +CFDSolver.setMesh(mesh) +CFDSolver.setDVGeo(DVGeo) +#Aeroproblem must be set before we can call DVGeo.setDesignVars +CFDSolver.setAeroProblem(ap) +if not 'complex' in sys.argv: + # Solve system + CFDSolver(ap, writeSolution=False) + funcs = {} + CFDSolver.evalFunctions(ap, funcs) + # Solve sensitivities + funcsSens = {} + CFDSolver.evalFunctionsSens(ap, funcsSens) + + # Write values and derivatives out: + if MPI.COMM_WORLD.rank == 0: + for key in ['cl','cmz','drag']: + print 'funcs[%s]:'%key + reg_write(funcs['mdo_tutorial_%s'%key],1e-10,1e-10) + # Now write the derivatives in the same order the CS will do them: + print ('Twist[0] Derivatives:') + reg_write(funcsSens['mdo_tutorial_cl']['twist'][0][0], 1e-10,1e-10) + reg_write(funcsSens['mdo_tutorial_cmz']['twist'][0][0], 1e-10,1e-10) + reg_write(funcsSens['mdo_tutorial_drag']['twist'][0][0], 1e-10,1e-10) + + print ('Span Derivatives:') + reg_write(funcsSens['mdo_tutorial_cl']['span'][0], 1e-10,1e-10) + reg_write(funcsSens['mdo_tutorial_cmz']['span'][0], 1e-10,1e-10) + reg_write(funcsSens['mdo_tutorial_drag']['span'][0], 1e-10,1e-10) + + print ('shape[13] Derivatives:') + reg_write(funcsSens['mdo_tutorial_cl']['shape'][0][13], 1e-10,1e-10) + reg_write(funcsSens['mdo_tutorial_cmz']['shape'][0][13], 1e-10,1e-10) + reg_write(funcsSens['mdo_tutorial_drag']['shape'][0][13], 1e-10,1e-10) +else: + # For the complex....we just do successive perturbation + for ii in range(3): + xRef = {'twist':[0.0, 0.0], 'span':[0.0], 'shape':numpy.zeros(72, dtype='D')} + if ii == 0: + xRef['twist'][0] += h*1j + elif ii == 1: + xRef['span'][0] += h*1j + else: + xRef['shape'][13] += h*1j + + CFDSolver.resetFlow(ap) + DVGeo.setDesignVars(xRef) + CFDSolver(ap, writeSolution=False) + funcs = {} + CFDSolver.evalFunctions(ap, funcs) + + if MPI.COMM_WORLD.rank == 0: + if ii == 0: + for key in ['cl','cmz','drag']: + print 'funcs[%s]:'%key + reg_write(numpy.real(funcs['mdo_tutorial_%s'%key]),1e-10,1e-10) + + if ii == 0: + print ('Twist[0] Derivatives:') + elif ii == 1: + print ('Span Derivatives:') + elif ii == 2: + print ('shape[13] Derivatives:') + + for key in ['cl','cmz','drag']: + deriv = numpy.imag(funcs['mdo_tutorial_%s'%key])/h + reg_write(deriv,1e-10,1e-10) \ No newline at end of file diff --git a/python/reg_tests/tests_cs/test9.py b/python/reg_tests/tests_cs/test9.py new file mode 100644 index 000000000..c946ec5ef --- /dev/null +++ b/python/reg_tests/tests_cs/test9.py @@ -0,0 +1,166 @@ + ############################################################ +# DO NOT USE THIS SCRIPT AS A REFERENCE FOR HOW TO USE ADFLOW +# THIS SCRIPT USES PRIVATE INTERNAL FUNCTIONALITY THAT IS +# SUBJECT TO CHANGE!! +############################################################ +import sys, os, copy +from mpi4py import MPI + +from baseclasses import AeroProblem +from pygeo import DVGeometry +import pyspline + +from mdo_regression_helper import * +from commonUtils import * + +# ################################################################### +# DO NOT USE THIS IMPORT STRATEGY! THIS IS ONLY USED FOR REGRESSION +# SCRIPTS ONLY. Use 'from adflow import ADFLOW' for regular scripts. +sys.path.append(os.path.abspath('../../')) + +if 'complex' in sys.argv: + from python.pyADflow_C import ADFLOW_C as ADFLOW + from idwarp import USMesh_C as USMesh +else: + from python.pyADflow import ADFLOW + from idwarp import USMesh +# ################################################################### +# **************************************************************************** +printHeader('MDO tutorial RANS Geometric Variables with IDWarp') +# **************************************************************************** +aeroOptions = copy.deepcopy(adflowDefOpts) + +# Now set the options that need to be overwritten for this example: +aeroOptions.update( + {'gridfile': '../inputFiles/mdo_tutorial_rans.cgns', + 'mgcycle':'2w', + 'equationtype':'RANS', + 'smoother':'dadi', + 'nsubiterturb':3, + 'nsubiter':3, + 'cfl':1.5, + 'cflcoarse':1.25, + 'ncyclescoarse':250, + 'ncycles':750, + 'monitorvariables':['resrho','resturb','cl','cd','cmz','yplus','totalr'], + 'usenksolver':True, + 'l2convergence':1e-17, + 'l2convergencecoarse':1e-2, + 'nkswitchtol':1e-4, + 'adjointl2convergence': 1e-16, + 'nkls': 'non monotone', + 'frozenturbulence':False, + 'nkjacobianlag':2, + 'blocksplitting': True + } +) +h = 1e-40 +# Setup aeroproblem, cfdsolver +ap = AeroProblem(name='mdo_tutorial', alpha=1.8, mach=0.80, R=287.87, + altitude=10000.0, areaRef=45.5, chordRef=3.25, evalFuncs=['cl','cmz','drag']) + +ap.addDV('alpha') +ap.addDV('mach') +CFDSolver = ADFLOW(options=aeroOptions) +if 'complex' in sys.argv: + DVGeo = DVGeometry('../inputFiles/mdo_tutorial_ffd.fmt', complex=True) +else: + DVGeo = DVGeometry('../inputFiles/mdo_tutorial_ffd.fmt', complex=False) + +nTwist = 2 +DVGeo.addRefAxis('wing', pyspline.Curve(x=numpy.linspace(5.0/4.0, 1.5/4.0+7.5, nTwist), + y=numpy.zeros(nTwist), + z=numpy.linspace(0,14, nTwist), k=2)) +def twist(val, geo): + for i in xrange(nTwist): + geo.rot_z['wing'].coef[i] = val[i] + +def span(val, geo): + # Span + C = geo.extractCoef('wing') + s = geo.extractS('wing') + for i in xrange(len(C)-1): + C[-1, 2] = C[-1, 2] + val[0] + geo.restoreCoef(C, 'wing') + +DVGeo.addGeoDVGlobal('twist', [0]*nTwist, twist, lower=-10, upper=10, scale=1.0) +DVGeo.addGeoDVGlobal('span', [0], span, lower=-10, upper=10, scale=1.0) +DVGeo.addGeoDVLocal('shape', lower=-0.5, upper=0.5, axis='y', scale=10.0) +mesh = USMesh(options={'gridFile':'../inputFiles/mdo_tutorial_rans.cgns'}) +CFDSolver.setMesh(mesh) +CFDSolver.setDVGeo(DVGeo) +#Aeroproblem must be set before we can call DVGeo.setDesignVars +CFDSolver.setAeroProblem(ap) +if not 'complex' in sys.argv: + # Solve system + CFDSolver(ap, writeSolution=False) + funcs = {} + CFDSolver.evalFunctions(ap, funcs) + # Solve sensitivities + funcsSens = {} + CFDSolver.evalFunctionsSens(ap, funcsSens) + + # Write values and derivatives out: + if MPI.COMM_WORLD.rank == 0: + for key in ['cl','cmz','drag']: + print 'funcs[%s]:'%key + reg_write(funcs['mdo_tutorial_%s'%key],1e-10,1e-10) + # Now write the derivatives in the same order the CS will do them: + print ('Twist[0] Derivatives:') + reg_write(funcsSens['mdo_tutorial_cl']['twist'][0][0], 1e-10,1e-10) + reg_write(funcsSens['mdo_tutorial_cmz']['twist'][0][0], 1e-10,1e-10) + reg_write(funcsSens['mdo_tutorial_drag']['twist'][0][0], 1e-10,1e-10) + + print ('Span Derivatives:') + reg_write(funcsSens['mdo_tutorial_cl']['span'][0], 1e-10,1e-10) + reg_write(funcsSens['mdo_tutorial_cmz']['span'][0], 1e-10,1e-10) + reg_write(funcsSens['mdo_tutorial_drag']['span'][0], 1e-10,1e-10) + + print ('shape[13] Derivatives:') + reg_write(funcsSens['mdo_tutorial_cl']['shape'][0][13], 1e-10,1e-10) + reg_write(funcsSens['mdo_tutorial_cmz']['shape'][0][13], 1e-10,1e-10) + reg_write(funcsSens['mdo_tutorial_drag']['shape'][0][13], 1e-10,1e-10) + + print ('mach Derivatives:') + reg_write(funcsSens['mdo_tutorial_cl']['mach_mdo_tutorial'], 1e-10,1e-10) + reg_write(funcsSens['mdo_tutorial_cmz']['mach_mdo_tutorial'], 1e-10,1e-10) + reg_write(funcsSens['mdo_tutorial_drag']['mach_mdo_tutorial'], 1e-10,1e-10) + +else: + # For the complex....we just do successive perturbation + for ii in range(4): + xRef = {'twist':[0.0, 0.0], 'span':[0.0], 'shape':numpy.zeros(72, dtype='D'), 'mach_mdo_tutorial':0.8} + if ii == 0: + xRef['twist'][0] += h*1j + elif ii == 1: + xRef['span'][0] += h*1j + elif ii == 2: + xRef['shape'][13] += h*1j + else: + xRef['mach_mdo_tutorial']+=h*1j + + ap.setDesignVars(xRef) + CFDSolver.resetFlow(ap) + DVGeo.setDesignVars(xRef) + CFDSolver(ap, writeSolution=False) + funcs = {} + CFDSolver.evalFunctions(ap, funcs) + + if MPI.COMM_WORLD.rank == 0: + if ii == 0: + for key in ['cl','cmz','drag']: + print 'funcs[%s]:'%key + reg_write(numpy.real(funcs['mdo_tutorial_%s'%key]),1e-10,1e-10) + + if ii == 0: + print ('Twist[0] Derivatives:') + elif ii == 1: + print ('Span Derivatives:') + elif ii == 2: + print ('shape[13] Derivatives:') + elif ii == 3: + print ('mach Derivatives:') + + for key in ['cl','cmz','drag']: + deriv = numpy.imag(funcs['mdo_tutorial_%s'%key])/h + reg_write(deriv,1e-10,1e-10) \ No newline at end of file From 9981c46cf1643eb613ff5c3c716bca92280a1413 Mon Sep 17 00:00:00 2001 From: Neil Wu Date: Sat, 8 Feb 2020 19:37:41 +0000 Subject: [PATCH 10/21] updated test list for complex --- python/reg_tests/run_reg_tests_cs.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/reg_tests/run_reg_tests_cs.py b/python/reg_tests/run_reg_tests_cs.py index 188ca76c7..a5ac3362a 100644 --- a/python/reg_tests/run_reg_tests_cs.py +++ b/python/reg_tests/run_reg_tests_cs.py @@ -42,7 +42,7 @@ nTestMax = len(testFiles) if args.test is None: - tests = range(1, nTestMax+1) + tests = [1,3,5,7,8,9] else: tests = args.test From 95f42d74999b08d18da049c3aff64e72cafd22c6 Mon Sep 17 00:00:00 2001 From: Eirikur Jonsson Date: Sun, 9 Feb 2020 15:36:05 -0500 Subject: [PATCH 11/21] Adding reference files for new complex-step tests. --- python/reg_tests/ref_cs/adflow_test7_reg.ref | 695 ++++++++++++++ python/reg_tests/ref_cs/adflow_test8_reg.ref | 723 ++++++++++++++ python/reg_tests/ref_cs/adflow_test9_reg.ref | 938 +++++++++++++++++++ 3 files changed, 2356 insertions(+) create mode 100644 python/reg_tests/ref_cs/adflow_test7_reg.ref create mode 100644 python/reg_tests/ref_cs/adflow_test8_reg.ref create mode 100644 python/reg_tests/ref_cs/adflow_test9_reg.ref diff --git a/python/reg_tests/ref_cs/adflow_test7_reg.ref b/python/reg_tests/ref_cs/adflow_test7_reg.ref new file mode 100644 index 000000000..0dcd66336 --- /dev/null +++ b/python/reg_tests/ref_cs/adflow_test7_reg.ref @@ -0,0 +1,695 @@ ++------------------------------------------------------------------------------+ +| MDO tutorial Euler Geometric Variables with IDWarp | ++------------------------------------------------------------------------------+ +# +# ADflow, multiblock structured flow solver +# +# This code solves the 3D RANS, laminar NS or Euler equations +# on multiblock structured hexahedral grids. +# This is a parallel executable running on 4 processors. +# It has been compiled with the following options: +# - Optimized mode. +# - Size of standard integers: 4 bytes. +# - Size of standard floating point types: 8 bytes. +# - With cgns support +# - With support for signals. +# ++---------------------------------------+ +| All ADFLOW Options: | ++---------------------------------------+ +{'adjointdivtol': 100000.0, + 'adjointl2convergence': 1e-15, + 'adjointl2convergenceabs': 1e-16, + 'adjointl2convergencerel': 1e-16, + 'adjointmaxiter': 500, + 'adjointmonitorstep': 10, + 'adjointsolver': 'gmres', + 'adjointsubspacesize': 100, + 'adpc': False, + 'agmglevels': 1, + 'agmgnsmooth': 3, + 'alphafollowing': True, + 'alphamode': False, + 'altitudemode': False, + 'ankadpc': False, + 'ankasmoverlap': 1, + 'ankcfl0': 5.0, + 'ankcflcutback': 0.5, + 'ankcflexponent': 0.5, + 'ankcflfactor': 10.0, + 'ankcfllimit': 100000.0, + 'ankcflmin': 1.0, + 'ankconstcflstep': 0.4, + 'ankcoupledswitchtol': 1e-16, + 'ankinnerpreconits': 1, + 'ankjacobianlag': 20, + 'anklinearsolvetol': 0.5, + 'anklinresmax': 0.9, + 'ankmaxiter': 40, + 'anknsubiterturb': 1, + 'ankouterpreconits': 1, + 'ankpcilufill': 1, + 'ankpcupdatetol': 0.5, + 'ankphysicallstol': 0.2, + 'ankphysicallstolturb': 0.99, + 'anksecondordswitchtol': 1e-16, + 'ankstepfactor': 1.0, + 'ankstepmin': 0.01, + 'anksubspacesize': 5, + 'ankswitchtol': 0.01, + 'ankturbcflscale': 1.0, + 'ankturbkspdebug': False, + 'ankunsteadylstol': 1.0, + 'ankusefullvisc': True, + 'ankusematrixfree': True, + 'ankuseturbdadi': True, + 'applyadjointpcsubspacesize': 20, + 'applypcsubspacesize': 10, + 'approxpc': True, + 'asmoverlap': 1, + 'autoadjointretry': False, + 'autosolveretry': False, + 'backgroundvolscale': 1.0, + 'betamode': False, + 'blocksplitting': True, + 'cavitationnumber': 1.4, + 'cfl': 1.5, + 'cflcoarse': 1.25, + 'cfllimit': 1.5, + 'closedsurfacefamilies': None, + 'coarsediscretization': 'central plus scalar dissipation', + 'computecavitation': False, + 'coupledsolution': False, + 'cutcallback': None, + 'debugzipper': False, + 'deltat': 0.01, + 'designsurfacefamily': None, + 'discretization': 'central plus scalar dissipation', + 'dissipationlumpingparameter': 6.0, + 'dissipationscalingexponent': 0.67, + 'eddyvisinfratio': 0.009, + 'equationmode': 'steady', + 'equationtype': 'euler', + 'eulerwalltreatment': 'linear pressure extrapolation', + 'firstrun': True, + 'flowtype': 'external', + 'forcesastractions': True, + 'frozenturbulence': True, + 'globalpreconditioner': 'additive schwartz', + 'gridfile': '../inputFiles/mdo_tutorial_euler.cgns', + 'gridprecision': 'double', + 'gridprecisionsurface': 'single', + 'ilufill': 2, + 'infchangecorrection': False, + 'innerpreconits': 1, + 'isosurface': {}, + 'isovariables': [], + 'l2convergence': 1e-15, + 'l2convergencecoarse': 0.01, + 'l2convergencerel': 1e-16, + 'liftindex': 2, + 'limiter': 'vanalbeda', + 'loadbalanceiter': 10, + 'loadimbalance': 0.1, + 'localpreconditioner': 'ilu', + 'lowspeedpreconditioner': False, + 'machmode': False, + 'matrixordering': 'rcm', + 'maxl2deviationfactor': 1.0, + 'meshsurfacefamily': None, + 'mgcycle': '2w', + 'mgstartlevel': -1, + 'monitorvariables': ['resrho', 'cl', 'cd', 'cmz', 'totalr'], + 'ncycles': 400, + 'ncyclescoarse': 250, + 'nearwalldist': 0.1, + 'nkadpc': False, + 'nkasmoverlap': 1, + 'nkcfl0': 1000000000000.0, + 'nkfixedstep': 0.25, + 'nkinnerpreconits': 1, + 'nkjacobianlag': 20, + 'nklinearsolvetol': 0.3, + 'nkls': 'non monotone', + 'nkouterpreconits': 1, + 'nkpcilufill': 2, + 'nksubspacesize': 60, + 'nkswitchtol': 0.01, + 'nkuseew': True, + 'nkviscpc': False, + 'nrefine': 10, + 'nrkreset': 5, + 'nsavesurface': 1, + 'nsavevolume': 1, + 'nsubiter': 1, + 'nsubiterturb': 1, + 'ntimestepscoarse': 48, + 'ntimestepsfine': 400, + 'numbersolutions': True, + 'outerpreconits': 3, + 'outputdirectory': './', + 'outputsurfacefamily': 'allSurfaces', + 'overlapfactor': 0.9, + 'oversetloadbalance': True, + 'oversetpriority': {}, + 'oversetprojtol': 1e-12, + 'oversetupdatemode': 'frozen', + 'partitionlikenproc': -1, + 'partitiononly': False, + 'pmode': False, + 'preconditionerside': 'right', + 'printiterations': True, + 'printtiming': True, + 'printwarnings': True, + 'qmode': False, + 'resaveraging': 'alternateresaveraging', + 'restartadjoint': True, + 'restartfile': None, + 'restrictionrelaxation': 0.8, + 'rkreset': False, + 'rmode': False, + 'selfzipcutoff': 120.0, + 'sepsensoroffset': 0.0, + 'sepsensorsharpness': 10.0, + 'setmonitor': True, + 'skipafterfailedadjoint': True, + 'smoother': 'runge kutta', + 'smoothparameter': 1.5, + 'solutionprecision': 'double', + 'solutionprecisionsurface': 'single', + 'storerindlayer': True, + 'surfacevariables': ['cp', 'vx', 'vy', 'vz', 'mach'], + 'timeaccuracy': 2, + 'timeintegrationscheme': 'bdf', + 'timeintervals': 1, + 'timelimit': -1.0, + 'tsstability': False, + 'turbresscale': 10000.0, + 'turbulencemodel': 'sa', + 'turbulenceorder': 'first order', + 'turbulenceproduction': 'strain', + 'useale': True, + 'useanksolver': False, + 'useapproxwalldistance': True, + 'useblockettes': True, + 'usediagtspc': True, + 'useft2sa': True, + 'usegridmotion': False, + 'uselinresmonitor': False, + 'usematrixfreedrdw': True, + 'usenksolver': True, + 'useoversetwallscaling': False, + 'useqcr': False, + 'userotationsa': False, + 'usewallfunctions': False, + 'usezippermesh': True, + 'verifyextra': True, + 'verifyspatial': True, + 'verifystate': True, + 'vis2': 0.25, + 'vis2coarse': 0.5, + 'vis4': 0.0156, + 'viscoussurfacevelocities': True, + 'viscpc': False, + 'viscwalltreatment': 'constant pressure extrapolation', + 'volumevariables': [], + 'walldistcutoff': 1e+20, + 'windaxis': False, + 'writesurfacesolution': True, + 'writetecplotsurfacesolution': False, + 'writevolumesolution': True, + 'zippersurfacefamily': None} +-> Alpha... 0.000000 +# +# Warning +# Specified load imbalance tolerance 0.100 not achieved. +# I continue with 0.111 load imbalance for the cells and 0.097 for the faces +# +# +# Grid level: 1, Total number of cells: 12096 +# +# +# Grid level: 2, Total number of cells: 1512 +# ++--------------------------------------------------+ + CGNS Surface Families by Boundary Condition Type ++--------------------------------------------------+ +| Wall Types : wall +| Inflow Types : +| Outflow Types : +| Symmetry Types : sym +| Farfield Types : far +| Oveset Types : ++--------------------------------------------------+ ++--------------------------------------------------+ +| +| Initialization Times: +| +| Library Load Time : 0.015 sec +| Set Defaults Time : 0.000 sec +| Base class init Time : 0.001 sec +| Introductory Time : 0.006 sec +| Partitioning Time : 0.004 sec +| Preprocessing Time : 0.015 sec +| Family Setup Time : 0.000 sec +| Cut callback Time : 0.000 sec +| Overset Preprocessing Time : 0.000 sec +| Initialize Flow Time : 0.001 sec +| +| Total Init Time : 0.043 sec ++--------------------------------------------------+ ++---------------------------------------+ +| All IDWarp Options: | ++---------------------------------------+ +{'LdefFact': 1.0, + 'aExp': 3.0, + 'alpha': 0.25, + 'bExp': 5.0, + 'bucketSize': 8, + 'cornerAngle': 30.0, + 'errTol': 0.0005, + 'evalMode': 'fast', + 'fileType': 'cgns', + 'gridFile': '../inputFiles/mdo_tutorial_euler.cgns', + 'restartFile': None, + 'specifiedSurfaces': None, + 'symmTol': 1e-06, + 'symmetryPlanes': None, + 'symmetrySurfaces': None, + 'useRotations': True, + 'zeroCornerRotations': True} + -> Reading CGNS File: ../inputFiles/mdo_tutorial_euler.cgns + -> Number of Zones: 9 +#------------------------------# + Total Volume Nodes : 15795 +#------------------------------# ++-------------------- Symmetry Planes -------------------+ +| Point Normal | +| ( 0.000 0.000 0.000) ( 0.000 0.000 -1.000) | ++--------------------------------------------------------+ +#--------------------------------# + Unique Surface Nodes : 1031 +#--------------------------------# + Computing Denomenator Estimate... + Load Balancing... + Finished Mesh Initialization. ++----------------------------------------------------------------------+ +| Switching to Aero Problem: mdo_tutorial | ++----------------------------------------------------------------------+ + ++------------------------------------------------------------------------------+ +| pyADFLOW Warning: 'zipperSurfaceFamily' option was not given. Using all wall | +| boundary conditions for the zipper mesh. | ++------------------------------------------------------------------------------+ + +-> Alpha... 1.800000 +-> Alpha... 1.800000 ++---------------------------------------+ +| All Modified ADFLOW Options: | ++---------------------------------------+ +{'adjointl2convergence': 1e-15, + 'ankjacobianlag': 20, + 'anklinearsolvetol': 0.5, + 'ankpcilufill': 1, + 'anksubspacesize': 5, + 'ankswitchtol': 0.01, + 'cfl': 1.5, + 'cflcoarse': 1.25, + 'frozenturbulence': True, + 'gridfile': '../inputFiles/mdo_tutorial_euler.cgns', + 'l2convergence': 1e-15, + 'mgcycle': '2w', + 'monitorvariables': ['resrho', 'cl', 'cd', 'cmz', 'totalr'], + 'ncycles': 400, + 'ncyclescoarse': 250, + 'nkcfl0': 1000000000000.0, + 'nkls': 'non monotone', + 'nkswitchtol': 0.01, + 'solutionprecision': 'double', + 'turbresscale': 10000.0, + 'usenksolver': True, + 'volumevariables': []} +# +# Grid 2: Performing 250 iterations, unless converged earlier. Minimum required iteration before NK switch: 5. Switch to NK at totalR of: 0.00E+00 +# +#------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- +# Grid | Iter | Iter | Iter | CFL | Step | Lin | Res rho | C_lift | C_drag | C_Mz | totalRes | +# level | | Tot | Type | | | Res | | | | | | +#------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- + 2 0 0 None 0.00E+00 1.00 ---- 0.2441651827494440E+00 0.0000000000000000E+00 0.0000000000000000E+00 0.0000000000000000E+00 0.4324352516906080E+02 + 2 1 1 RK 0.12E+01 1.00 ---- 0.2051671375417487E+00 0.7869745414552191E-01 0.6957980836438823E-01 0.1250953922539432E+00 0.3555254343149107E+02 + 2 2 2 RK 0.12E+01 1.00 ---- 0.1558371004338248E+00 0.1350280038520890E+00 0.1190739738638129E+00 0.2141711419273488E+00 0.2716783665990805E+02 + 2 3 3 RK 0.12E+01 1.00 ---- 0.1018752563231494E+00 0.1659700527013706E+00 0.1453896414727912E+00 0.2649968161236312E+00 0.1945679396874092E+02 + 2 4 4 RK 0.12E+01 1.00 ---- 0.6015081545934409E-01 0.1727971340152872E+00 0.1494599859199048E+00 0.2803930302472207E+00 0.1439027981743551E+02 + 2 5 5 RK 0.12E+01 1.00 ---- 0.5591456982651165E-01 0.1625041743937765E+00 0.1374116687014955E+00 0.2699419001384433E+00 0.1302454190269391E+02 + 2 6 6 RK 0.12E+01 1.00 ---- 0.7928873350092570E-01 0.1450682934384830E+00 0.1175228648732352E+00 0.2475449827840002E+00 0.1454058972838882E+02 + 2 7 7 RK 0.12E+01 1.00 ---- 0.1027943178473328E+00 0.1279169998242734E+00 0.9682056178630964E-01 0.2240754614545775E+00 0.1731879249227929E+02 + 2 8 8 RK 0.12E+01 1.00 ---- 0.1191091482126777E+00 0.1159306985412380E+00 0.7956955521132407E-01 0.2068946287366862E+00 0.1995478436173976E+02 + 2 9 9 RK 0.12E+01 1.00 ---- 0.1242528159584618E+00 0.1114832501055059E+00 0.6715104026287708E-01 0.2000256551600609E+00 0.2101620591058886E+02 + 2 10 10 RK 0.12E+01 1.00 ---- 0.1156181485946164E+00 0.1147414577625181E+00 0.5921472461706818E-01 0.2042502813511456E+00 0.1963919660707959E+02 + 2 11 11 RK 0.12E+01 1.00 ---- 0.9549419931293784E-01 0.1241246452713598E+00 0.5467977577836484E-01 0.2174741793077420E+00 0.1612404708804311E+02 + 2 12 12 RK 0.12E+01 1.00 ---- 0.7348673570360502E-01 0.1368766149670216E+00 0.5237810273941833E-01 0.2357669391649399E+00 0.1222497621825667E+02 + 2 13 13 RK 0.12E+01 1.00 ---- 0.6290069400353204E-01 0.1498205358137914E+00 0.5143884968046623E-01 0.2547733394672028E+00 0.1047900673115674E+02 + 2 14 14 RK 0.12E+01 1.00 ---- 0.6449994467576638E-01 0.1601396700620144E+00 0.5137617010843350E-01 0.2705564857390955E+00 0.1097733580704460E+02 + 2 15 15 RK 0.12E+01 1.00 ---- 0.6579039616872022E-01 0.1662340443920022E+00 0.5195859636445094E-01 0.2808554508230104E+00 0.1122727207665618E+02 + 2 16 16 RK 0.12E+01 1.00 ---- 0.6144460987445227E-01 0.1680446049673016E+00 0.5301182266650196E-01 0.2854875617271107E+00 0.1027693657643825E+02 + 2 17 17 RK 0.12E+01 1.00 ---- 0.5388304915627784E-01 0.1668811919757387E+00 0.5428497288192759E-01 0.2860568479197869E+00 0.8742506706537338E+01 + 2 18 18 RK 0.12E+01 1.00 ---- 0.4715209852683234E-01 0.1649039883631162E+00 0.5540254431830704E-01 0.2853226100498241E+00 0.7540255849909367E+01 + 2 19 19 RK 0.12E+01 1.00 ---- 0.4352424311951309E-01 0.1641144743847188E+00 0.5594132543959997E-01 0.2859550060040247E+00 0.7044885409198084E+01 + 2 20 20 RK 0.12E+01 1.00 ---- 0.4277462402996791E-01 0.1656174813896795E+00 0.5557023002197813E-01 0.2895756409974887E+00 0.7008716178822616E+01 + 2 21 21 RK 0.12E+01 1.00 ---- 0.4353598169750610E-01 0.1695862866334794E+00 0.5415930652631798E-01 0.2965285292283628E+00 0.7097360556264110E+01 + 2 22 22 RK 0.12E+01 1.00 ---- 0.4455687498645292E-01 0.1754142429424376E+00 0.5182442540624354E-01 0.3060568479254994E+00 0.7163473328669140E+01 + 2 23 23 RK 0.12E+01 1.00 ---- 0.4511896920938258E-01 0.1822624738096568E+00 0.4889758836629532E-01 0.3169990726836373E+00 0.7172762163182248E+01 + 2 24 24 RK 0.12E+01 1.00 ---- 0.4497019683858523E-01 0.1892710833118887E+00 0.4583451164837148E-01 0.3281140475543677E+00 0.7117359243092685E+01 + 2 25 25 RK 0.12E+01 1.00 ---- 0.4417413643140760E-01 0.1957162618402122E+00 0.4309545492224777E-01 0.3383410283621978E+00 0.7004826068158263E+01 + 2 26 26 RK 0.12E+01 1.00 ---- 0.4294007178297789E-01 0.2011581351447183E+00 0.4102090901333626E-01 0.3470558420952122E+00 0.6848439580324352E+01 + 2 27 27 RK 0.12E+01 1.00 ---- 0.4151561058828483E-01 0.2055209509773815E+00 0.3975111967531256E-01 0.3541726564903125E+00 0.6659502040111520E+01 + 2 28 28 RK 0.12E+01 1.00 ---- 0.4019744433282132E-01 0.2090515763747380E+00 0.3920999258825702E-01 0.3600830785404552E+00 0.6462613174056081E+01 + 2 29 29 RK 0.12E+01 1.00 ---- 0.3929014810778206E-01 0.2121807630242148E+00 0.3915884931978351E-01 0.3654330446167121E+00 0.6305156375148575E+01 + 2 30 30 RK 0.12E+01 1.00 ---- 0.3894518651300821E-01 0.2153657496548674E+00 0.3929152643407087E-01 0.3708907864973386E+00 0.6228708731055296E+01 + 2 31 31 RK 0.12E+01 1.00 ---- 0.3902292276037650E-01 0.2189670743306483E+00 0.3933133597545795E-01 0.3769766242991054E+00 0.6226875385713424E+01 + 2 32 32 RK 0.12E+01 1.00 ---- 0.3917078124725468E-01 0.2231661530376102E+00 0.3909601464300573E-01 0.3839409789872515E+00 0.6242351733053777E+01 + 2 33 33 RK 0.12E+01 1.00 ---- 0.3905326225348597E-01 0.2279587304262681E+00 0.3851937209931333E-01 0.3917596119093121E+00 0.6209086589679546E+01 + 2 34 34 RK 0.12E+01 1.00 ---- 0.3849089191634662E-01 0.2331910055858964E+00 0.3763733277740829E-01 0.4001861151592693E+00 0.6089273124541114E+01 + 2 35 35 RK 0.12E+01 1.00 ---- 0.3746049649733723E-01 0.2386352398901821E+00 0.3655245658427765E-01 0.4088616648889049E+00 0.5879795022355146E+01 + 2 36 36 RK 0.12E+01 1.00 ---- 0.3599536169478898E-01 0.2440547265607677E+00 0.3539270875347202E-01 0.4174211594873106E+00 0.5592859056367294E+01 + 2 37 37 RK 0.12E+01 1.00 ---- 0.3412193328711038E-01 0.2492596148300782E+00 0.3427583045372853E-01 0.4255776377839435E+00 0.5238969259817557E+01 + 2 38 38 RK 0.12E+01 1.00 ---- 0.3186774690938361E-01 0.2541457426520952E+00 0.3328473844559914E-01 0.4331812317097457E+00 0.4825059938576298E+01 + 2 39 39 RK 0.12E+01 1.00 ---- 0.2930659553475300E-01 0.2586982409372089E+00 0.3245874129477446E-01 0.4402227319275507E+00 0.4363197263097047E+01 + 2 40 40 RK 0.12E+01 1.00 ---- 0.2658069352330615E-01 0.2629706161392177E+00 0.3179641517873835E-01 0.4467984857069739E+00 0.3876744560555485E+01 + 2 41 41 RK 0.12E+01 1.00 ---- 0.2387046637153425E-01 0.2670513076296648E+00 0.3126631458931385E-01 0.4530511608752709E+00 0.3396551615145510E+01 + 2 42 42 RK 0.12E+01 1.00 ---- 0.2133555835547761E-01 0.2710407694866167E+00 0.3082153714149870E-01 0.4591352911289841E+00 0.2951784946459227E+01 + 2 43 43 RK 0.12E+01 1.00 ---- 0.1908837822083808E-01 0.2750263251421466E+00 0.3041365797063661E-01 0.4651802393331061E+00 0.2565692950107470E+01 + 2 44 44 RK 0.12E+01 1.00 ---- 0.1719356290935973E-01 0.2790624350213526E+00 0.3000408882666208E-01 0.4712611052377816E+00 0.2254346755632754E+01 + 2 45 45 RK 0.12E+01 1.00 ---- 0.1570867848215942E-01 0.2831671167505667E+00 0.2957010541620565E-01 0.4773977859469489E+00 0.2031743018016219E+01 + 2 46 46 RK 0.12E+01 1.00 ---- 0.1468889740236494E-01 0.2873238600408421E+00 0.2910608630417769E-01 0.4835594296012510E+00 0.1909282478684729E+01 + 2 47 47 RK 0.12E+01 1.00 ---- 0.1416127661021152E-01 0.2914852368155994E+00 0.2862022539357686E-01 0.4896684161702827E+00 0.1888500316570481E+01 + 2 48 48 RK 0.12E+01 1.00 ---- 0.1408599628565179E-01 0.2955921023828821E+00 0.2812933379057735E-01 0.4956332554427970E+00 0.1952657117463154E+01 + 2 49 49 RK 0.12E+01 1.00 ---- 0.1434545538030645E-01 0.2995930814078274E+00 0.2765334773095602E-01 0.5013783811854355E+00 0.2069658895465575E+01 +#------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- +# Grid | Iter | Iter | Iter | CFL | Step | Lin | Res rho | C_lift | C_drag | C_Mz | totalRes | +# level | | Tot | Type | | | Res | | | | | | +#------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- + 2 50 50 RK 0.12E+01 1.00 ---- 0.1478404423339095E-01 0.3034467684913374E+00 0.2721003495115659E-01 0.5068439258628825E+00 0.2205707592341959E+01 + 2 51 51 RK 0.12E+01 1.00 ---- 0.1525540104911451E-01 0.3071314071544174E+00 0.2681215933584434E-01 0.5120008905973706E+00 0.2334383847508627E+01 + 2 52 52 RK 0.12E+01 1.00 ---- 0.1565291746304643E-01 0.3106471486658706E+00 0.2646628977795827E-01 0.5168543447094706E+00 0.2439710302214267E+01 + 2 53 53 RK 0.12E+01 1.00 ---- 0.1591824406983263E-01 0.3140127233386411E+00 0.2617294676022314E-01 0.5214381840382638E+00 0.2514878621266801E+01 + 2 54 54 RK 0.12E+01 1.00 ---- 0.1603425812760331E-01 0.3172573043438993E+00 0.2592792195572113E-01 0.5258020641153138E+00 0.2559880308496468E+01 + 2 55 55 RK 0.12E+01 1.00 ---- 0.1601664374088830E-01 0.3204119274182344E+00 0.2572416509832329E-01 0.5299975357686322E+00 0.2579532834568941E+01 + 2 56 56 RK 0.12E+01 1.00 ---- 0.1590090841012240E-01 0.3235020648685322E+00 0.2555353312519916E-01 0.5340665437522213E+00 0.2580434917667995E+01 + 2 57 57 RK 0.12E+01 1.00 ---- 0.1573285138683244E-01 0.3265441139250716E+00 0.2540823760355419E-01 0.5380364129928661E+00 0.2570280765819199E+01 + 2 58 58 RK 0.12E+01 1.00 ---- 0.1556082409204960E-01 0.3295434689861380E+00 0.2528192303888147E-01 0.5419169047158431E+00 0.2556594784869241E+01 + 2 59 59 RK 0.12E+01 1.00 ---- 0.1542098199356635E-01 0.3324918038226286E+00 0.2517039369147553E-01 0.5456947011279910E+00 0.2544748941639631E+01 + 2 60 60 RK 0.12E+01 1.00 ---- 0.1533787956435524E-01 0.3353733778888267E+00 0.2507146841608935E-01 0.5493443684754020E+00 0.2538554512160106E+01 + 2 61 61 RK 0.12E+01 1.00 ---- 0.1531956053896753E-01 0.3381699671689862E+00 0.2498443303145797E-01 0.5528362744149936E+00 0.2538972828126430E+01 + 2 62 62 RK 0.12E+01 1.00 ---- 0.1535893896377797E-01 0.3408661824053670E+00 0.2490942479695779E-01 0.5561461868277613E+00 0.2545164886473681E+01 + 2 63 63 RK 0.12E+01 1.00 ---- 0.1543577574277483E-01 0.3434528467478434E+00 0.2484686538220381E-01 0.5592611318074553E+00 0.2554644195166028E+01 + 2 64 64 RK 0.12E+01 1.00 ---- 0.1552675432405385E-01 0.3459278815752524E+00 0.2479686639081965E-01 0.5621803652120980E+00 0.2564216026930777E+01 + 2 65 65 RK 0.12E+01 1.00 ---- 0.1560700725589772E-01 0.3482960537244959E+00 0.2475908168293200E-01 0.5649148325218903E+00 0.2570395556459496E+01 + 2 66 66 RK 0.12E+01 1.00 ---- 0.1565320252495693E-01 0.3505666560821065E+00 0.2473259718625605E-01 0.5674830823653392E+00 0.2569992328767809E+01 + 2 67 67 RK 0.12E+01 1.00 ---- 0.1564919093533502E-01 0.3527504266465500E+00 0.2471599148526415E-01 0.5699062571277947E+00 0.2561012008780788E+01 + 2 68 68 RK 0.12E+01 1.00 ---- 0.1559325600437510E-01 0.3548571178889395E+00 0.2470746719772045E-01 0.5722039132594493E+00 0.2542961843348897E+01 + 2 69 69 RK 0.12E+01 1.00 ---- 0.1548478396114682E-01 0.3568947241450547E+00 0.2470498879897797E-01 0.5743924711291811E+00 0.2515345717770999E+01 + 2 70 70 RK 0.12E+01 1.00 ---- 0.1532389180999641E-01 0.3588685468278285E+00 0.2470646738495319E-01 0.5764836635966336E+00 0.2477831181092628E+01 + 2 71 71 RK 0.12E+01 1.00 ---- 0.1511354036082853E-01 0.3607806393631010E+00 0.2470990629367074E-01 0.5784834344214695E+00 0.2430558970175933E+01 + 2 72 72 RK 0.12E+01 1.00 ---- 0.1485570133045883E-01 0.3626313384113574E+00 0.2471351574590473E-01 0.5803948765425295E+00 0.2373693561278337E+01 + 2 73 73 RK 0.12E+01 1.00 ---- 0.1455521924176404E-01 0.3644204995704513E+00 0.2471585018120950E-01 0.5822206023143559E+00 0.2308029007533363E+01 + 2 74 74 RK 0.12E+01 1.00 ---- 0.1421763586014353E-01 0.3661477928735466E+00 0.2471586506196741E-01 0.5839629443422610E+00 0.2234634888334247E+01 + 2 75 75 RK 0.12E+01 1.00 ---- 0.1384840284945285E-01 0.3678135444478884E+00 0.2471291351422667E-01 0.5856252509343974E+00 0.2154697483036009E+01 + 2 76 76 RK 0.12E+01 1.00 ---- 0.1345206859339554E-01 0.3694203449941054E+00 0.2470673261704538E-01 0.5872140475640707E+00 0.2069322176141061E+01 + 2 77 77 RK 0.12E+01 1.00 ---- 0.1303339991182664E-01 0.3709703220294326E+00 0.2469720655744170E-01 0.5887354049479984E+00 0.1979730873964991E+01 + 2 78 78 RK 0.12E+01 1.00 ---- 0.1259731516306244E-01 0.3724651261699060E+00 0.2468438691776464E-01 0.5901944510806060E+00 0.1887171310201155E+01 + 2 79 79 RK 0.12E+01 1.00 ---- 0.1214656640197025E-01 0.3739064533440895E+00 0.2466846066098830E-01 0.5915960420435596E+00 0.1792555646508954E+01 + 2 80 80 RK 0.12E+01 1.00 ---- 0.1168385315267388E-01 0.3752960418341639E+00 0.2464968951063252E-01 0.5929446940689891E+00 0.1696779784405235E+01 + 2 81 81 RK 0.12E+01 1.00 ---- 0.1121154684091275E-01 0.3766354525051336E+00 0.2462836032805435E-01 0.5942442518639458E+00 0.1600644621138805E+01 + 2 82 82 RK 0.12E+01 1.00 ---- 0.1073213201896971E-01 0.3779259564237896E+00 0.2460476569934232E-01 0.5954977622987331E+00 0.1504961269360633E+01 + 2 83 83 RK 0.12E+01 1.00 ---- 0.1025182492249785E-01 0.3791683643732765E+00 0.2457918438727902E-01 0.5967072393526225E+00 0.1411017874971607E+01 + 2 84 84 RK 0.12E+01 1.00 ---- 0.9778342514686495E-02 0.3803628739851039E+00 0.2455188460927586E-01 0.5978734455103241E+00 0.1320293740235135E+01 + 2 85 85 RK 0.12E+01 1.00 ---- 0.9315126122565078E-02 0.3815091239066901E+00 0.2452311293878356E-01 0.5989959622193789E+00 0.1233646883904419E+01 + 2 86 86 RK 0.12E+01 1.00 ---- 0.8865330503279636E-02 0.3826063809147089E+00 0.2449309665952372E-01 0.6000735381373621E+00 0.1151855618319317E+01 + 2 87 87 RK 0.12E+01 1.00 ---- 0.8430899780874199E-02 0.3836537846245484E+00 0.2446204092325995E-01 0.6011045203294110E+00 0.1075407469181928E+01 + 2 88 88 RK 0.12E+01 1.00 ---- 0.8013780029190561E-02 0.3846505074120256E+00 0.2443012660193860E-01 0.6020872351547270E+00 0.1004699138444651E+01 + 2 89 89 RK 0.12E+01 1.00 ---- 0.7616336777797559E-02 0.3855959535652967E+00 0.2439751405937037E-01 0.6030203584218343E+00 0.9400999791988912E+00 + 2 90 90 RK 0.12E+01 1.00 ---- 0.7237547468566323E-02 0.3864898387572880E+00 0.2436435485828635E-01 0.6039030583143029E+00 0.8813977838157313E+00 + 2 91 91 RK 0.12E+01 1.00 ---- 0.6875470664897299E-02 0.3873322291574752E+00 0.2433079740620684E-01 0.6047350552024123E+00 0.8281535212450156E+00 + 2 92 92 RK 0.12E+01 1.00 ---- 0.6528512277590240E-02 0.3881235077038220E+00 0.2429698625245202E-01 0.6055165621680740E+00 0.7799362247176945E+00 + 2 93 93 RK 0.12E+01 1.00 ---- 0.6195564568406563E-02 0.3888642634574823E+00 0.2426306236989222E-01 0.6062480911714310E+00 0.7363713803999407E+00 + 2 94 94 RK 0.12E+01 1.00 ---- 0.5876692748924574E-02 0.3895551983338026E+00 0.2422916754465797E-01 0.6069303125302637E+00 0.6972286634858534E+00 + 2 95 95 RK 0.12E+01 1.00 ---- 0.5571868697847617E-02 0.3901971219046150E+00 0.2419542593074619E-01 0.6075639033905482E+00 0.6622385979214088E+00 + 2 96 96 RK 0.12E+01 1.00 ---- 0.5281038320868668E-02 0.3907908422961020E+00 0.2416194733861510E-01 0.6081494169110809E+00 0.6311043766140509E+00 + 2 97 97 RK 0.12E+01 1.00 ---- 0.5004100224201632E-02 0.3913371256323147E+00 0.2412883038114229E-01 0.6086872358104439E+00 0.6035007091874095E+00 + 2 98 98 RK 0.12E+01 1.00 ---- 0.4740963841991321E-02 0.3918366990384280E+00 0.2409616516587223E-01 0.6091776086828364E+00 0.5791027099683512E+00 + 2 99 99 RK 0.12E+01 1.00 ---- 0.4491581814867597E-02 0.3922902568983868E+00 0.2406404491081024E-01 0.6096206839482948E+00 0.5575995430017264E+00 +#------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- +# Grid | Iter | Iter | Iter | CFL | Step | Lin | Res rho | C_lift | C_drag | C_Mz | totalRes | +# level | | Tot | Type | | | Res | | | | | | +#------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- + 2 100 100 RK 0.12E+01 1.00 ---- 0.4255758691956360E-02 0.3926984996865798E+00 0.2403257401578437E-01 0.6100165678000853E+00 0.5386745343932262E+00 + 2 101 101 RK 0.12E+01 1.00 ---- 0.4033250173368656E-02 0.3930624792222623E+00 0.2400188245188661E-01 0.6103660215552975E+00 0.5220169861567937E+00 + 2 102 102 RK 0.12E+01 1.00 ---- 0.3823754939998052E-02 0.3933832281880205E+00 0.2397211309606512E-01 0.6106698119333981E+00 0.5073449425079157E+00 + 2 103 103 RK 0.12E+01 1.00 ---- 0.3627017631569979E-02 0.3936618578044652E+00 0.2394341930865433E-01 0.6109288675096244E+00 0.4944030432144778E+00 + 2 104 104 RK 0.12E+01 1.00 ---- 0.3442654275696031E-02 0.3938995915650629E+00 0.2391596196772925E-01 0.6111443201355988E+00 0.4829167375839605E+00 + 2 105 105 RK 0.12E+01 1.00 ---- 0.3270783605668150E-02 0.3940977459478600E+00 0.2388991243634577E-01 0.6113174878811718E+00 0.4726388618098922E+00 + 2 106 106 RK 0.12E+01 1.00 ---- 0.3111090991459848E-02 0.3942577557132331E+00 0.2386541807247588E-01 0.6114498530700524E+00 0.4633909490639977E+00 + 2 107 107 RK 0.12E+01 1.00 ---- 0.2962542318409085E-02 0.3943811273992724E+00 0.2384261376760533E-01 0.6115430166933397E+00 0.4549430345600827E+00 + 2 108 108 RK 0.12E+01 1.00 ---- 0.2824358494562043E-02 0.3944694461658335E+00 0.2382162022108800E-01 0.6115987110649388E+00 0.4471475767289488E+00 + 2 109 109 RK 0.12E+01 1.00 ---- 0.2696037416079682E-02 0.3945243267431872E+00 0.2380254790496669E-01 0.6116187402026830E+00 0.4398896886814616E+00 + 2 110 110 RK 0.12E+01 1.00 ---- 0.2577143425600591E-02 0.3945474009856895E+00 0.2378549629792417E-01 0.6116049490871073E+00 0.4330678387381797E+00 + 2 111 111 RK 0.12E+01 1.00 ---- 0.2467377432286377E-02 0.3945402977895227E+00 0.2377054572352718E-01 0.6115591680574395E+00 0.4266093638102752E+00 + 2 112 112 RK 0.12E+01 1.00 ---- 0.2366553928662958E-02 0.3945046268720078E+00 0.2375775031325007E-01 0.6114831794668376E+00 0.4204534949915877E+00 +# +# Going down to grid level 1 +# +# +# Grid 1: Performing 400 iterations, unless converged earlier. Minimum required iteration before NK switch: 5. Switch to NK at totalR of: 0.29E+01 +# +#------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- +# Grid | Iter | Iter | Iter | CFL | Step | Lin | Res rho | C_lift | C_drag | C_Mz | totalRes | +# level | | Tot | Type | | | Res | | | | | | +#------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- + 1 0 0 None 0.12E+01 1.00 ---- 0.1981030669317428E+00 0.3684067747622820E+00 0.2020421362147875E-01 0.5670359881520748E+00 0.9492984159197208E+02 + 1 1 1 RK 0.15E+01 1.00 ---- 0.2389768689217678E+00 0.3561917889945220E+00 0.2690384151161227E-01 0.5394961883100934E+00 0.1192833890318810E+03 + 1 2 2 RK 0.15E+01 1.00 ---- 0.1747148444090758E+00 0.3811840565569103E+00 0.3306639417021211E-01 0.5766636807882658E+00 0.9171654977287784E+02 + 1 3 3 RK 0.15E+01 1.00 ---- 0.1619413411867395E+00 0.4333024557672971E+00 0.3490578743460351E-01 0.6622723696162575E+00 0.8443842488308510E+02 + 1 4 4 RK 0.15E+01 1.00 ---- 0.1548151550173086E+00 0.4711436087356450E+00 0.2793732593076479E-01 0.7290723337830163E+00 0.7785030527228673E+02 + 1 5 5 RK 0.15E+01 1.00 ---- 0.1308448594696563E+00 0.4714105807595727E+00 0.1543383762569245E-01 0.7338096921842513E+00 0.6580959074982670E+02 + 1 6 6 RK 0.15E+01 1.00 ---- 0.1168772542802990E+00 0.4481999392772484E+00 0.7430467973920151E-02 0.6929832983242441E+00 0.5962090009458282E+02 + 1 7 7 RK 0.15E+01 1.00 ---- 0.1223461591494119E+00 0.4341261776170389E+00 0.1089325673973320E-01 0.6605352051405150E+00 0.6094144996881256E+02 + 1 8 8 RK 0.15E+01 1.00 ---- 0.1194370486878666E+00 0.4415687852714884E+00 0.2262483472617096E-01 0.6663041446236355E+00 0.5822324951841045E+02 + 1 9 9 RK 0.15E+01 1.00 ---- 0.1019512675686018E+00 0.4529780371936976E+00 0.3268081450999646E-01 0.6899408919040513E+00 0.4963336259104946E+02 + 1 10 10 RK 0.15E+01 1.00 ---- 0.8865786821801333E-01 0.4492925124796532E+00 0.3397818532456221E-01 0.6974531470222708E+00 0.4319839095754095E+02 + 1 11 11 RK 0.15E+01 1.00 ---- 0.8699183172051059E-01 0.4342580871920457E+00 0.2757594125246851E-01 0.6833985259322735E+00 0.4170562362741298E+02 + 1 12 12 RK 0.15E+01 1.00 ---- 0.8488899636773029E-01 0.4264583598611744E+00 0.1929655292791621E-01 0.6704441390697332E+00 0.4004711091925182E+02 + 1 13 13 RK 0.15E+01 1.00 ---- 0.7919589128837444E-01 0.4346189678949026E+00 0.1353562138652976E-01 0.6762976434691297E+00 0.3713264046433917E+02 + 1 14 14 RK 0.15E+01 1.00 ---- 0.7618547118444097E-01 0.4492886843242815E+00 0.1124517896779890E-01 0.6942865503966318E+00 0.3558908335769771E+02 + 1 15 15 RK 0.15E+01 1.00 ---- 0.7568852988871795E-01 0.4565287922693053E+00 0.1169781707087277E-01 0.7064806001373845E+00 0.3511878841200240E+02 + 1 16 16 RK 0.15E+01 1.00 ---- 0.7341490413462975E-01 0.4534272201869830E+00 0.1381858156145325E-01 0.7060277615679291E+00 0.3394897288514280E+02 + 1 17 17 RK 0.15E+01 1.00 ---- 0.6952360025677612E-01 0.4477349324232013E+00 0.1617222794399427E-01 0.7007850658176753E+00 0.3229149086449804E+02 + 1 18 18 RK 0.15E+01 1.00 ---- 0.6564942177090644E-01 0.4459833853627667E+00 0.1728309693991657E-01 0.6990312999604816E+00 0.3077699168836901E+02 + 1 19 19 RK 0.15E+01 1.00 ---- 0.6164414490532991E-01 0.4470199710894860E+00 0.1671772049969485E-01 0.6996481648531172E+00 0.2916163840625050E+02 + 1 20 20 RK 0.15E+01 1.00 ---- 0.5757660022012052E-01 0.4465361029092486E+00 0.1541762635032051E-01 0.6971937240052104E+00 0.2735007878241377E+02 + 1 21 21 RK 0.15E+01 1.00 ---- 0.5399809962376760E-01 0.4439850363491424E+00 0.1462337732544391E-01 0.6913065500982287E+00 0.2554757224660647E+02 + 1 22 22 RK 0.15E+01 1.00 ---- 0.5083780231232444E-01 0.4424206459236313E+00 0.1465608228900226E-01 0.6868480685156844E+00 0.2378074318543301E+02 + 1 23 23 RK 0.15E+01 1.00 ---- 0.4900477820768836E-01 0.4436216154460218E+00 0.1490778207886981E-01 0.6868846485471050E+00 0.2254810415403031E+02 + 1 24 24 RK 0.15E+01 1.00 ---- 0.5021584931210223E-01 0.4460613640527035E+00 0.1477151671083667E-01 0.6894263732006082E+00 0.2270960396873446E+02 + 1 25 25 RK 0.15E+01 1.00 ---- 0.5387234043635827E-01 0.4476830847819180E+00 0.1426318877972257E-01 0.6912972581410287E+00 0.2407261332527387E+02 + 1 26 26 RK 0.15E+01 1.00 ---- 0.5721227675229982E-01 0.4485706152369954E+00 0.1378823496525651E-01 0.6923425758356869E+00 0.2538388750462769E+02 + 1 27 27 RK 0.15E+01 1.00 ---- 0.5810315439647790E-01 0.4500671777565685E+00 0.1360190171820533E-01 0.6944521432747487E+00 0.2564014745913517E+02 + 1 28 28 RK 0.15E+01 1.00 ---- 0.5616909708167086E-01 0.4524399445887191E+00 0.1363532386681585E-01 0.6980663442390380E+00 0.2465686002177811E+02 + 1 29 29 RK 0.15E+01 1.00 ---- 0.5240678250654211E-01 0.4545663522551099E+00 0.1370232439079538E-01 0.7014895936769540E+00 0.2289347883931774E+02 + 1 30 30 RK 0.15E+01 1.00 ---- 0.4827209846255920E-01 0.4555783700818713E+00 0.1369885540683541E-01 0.7032888347241643E+00 0.2102306628525596E+02 + 1 31 31 RK 0.15E+01 1.00 ---- 0.4473662139022965E-01 0.4559649912809263E+00 0.1361895934588174E-01 0.7040983750597811E+00 0.1950424826970163E+02 + 1 32 32 RK 0.15E+01 1.00 ---- 0.4193506862364478E-01 0.4567668793634432E+00 0.1349576020207787E-01 0.7055354760564413E+00 0.1843438165491543E+02 + 1 33 33 RK 0.15E+01 1.00 ---- 0.3945534550985858E-01 0.4582828015328912E+00 0.1337480133243857E-01 0.7081611856971564E+00 0.1764678059587872E+02 + 1 34 34 RK 0.15E+01 1.00 ---- 0.3698820539892112E-01 0.4599308234437098E+00 0.1329985307952074E-01 0.7111090596551541E+00 0.1695253257988828E+02 + 1 35 35 RK 0.15E+01 1.00 ---- 0.3477430226478489E-01 0.4610747996435829E+00 0.1328572237378557E-01 0.7133110003241407E+00 0.1633694689547656E+02 + 1 36 36 RK 0.15E+01 1.00 ---- 0.3333313023747277E-01 0.4616009671683973E+00 0.1330965227654065E-01 0.7144918414267559E+00 0.1587718256701721E+02 + 1 37 37 RK 0.15E+01 1.00 ---- 0.3287194767870057E-01 0.4617729165740382E+00 0.1334528681543602E-01 0.7150402956792035E+00 0.1557007331107660E+02 + 1 38 38 RK 0.15E+01 1.00 ---- 0.3310053269135284E-01 0.4618473674706186E+00 0.1339678044685705E-01 0.7153911008679231E+00 0.1532965586139800E+02 + 1 39 39 RK 0.15E+01 1.00 ---- 0.3349722449141383E-01 0.4619393218122147E+00 0.1348872015745946E-01 0.7157398542429624E+00 0.1506845658981688E+02 + 1 40 40 RK 0.15E+01 1.00 ---- 0.3363339441974322E-01 0.4620588933038833E+00 0.1362927223989360E-01 0.7160802904692556E+00 0.1473175169226964E+02 + 1 41 41 RK 0.15E+01 1.00 ---- 0.3327512738805900E-01 0.4621233174539067E+00 0.1379726353805031E-01 0.7162655911147767E+00 0.1428064435190310E+02 + 1 42 42 RK 0.15E+01 1.00 ---- 0.3235683530592982E-01 0.4619895209250053E+00 0.1396627790117575E-01 0.7160866499005224E+00 0.1367737224704049E+02 + 1 43 43 RK 0.15E+01 1.00 ---- 0.3094449266079836E-01 0.4615843495416506E+00 0.1413168040198306E-01 0.7154550169751929E+00 0.1290796150679040E+02 + 1 44 44 RK 0.15E+01 1.00 ---- 0.2918626672011776E-01 0.4610154528716598E+00 0.1430999842107249E-01 0.7145480715496338E+00 0.1200134334408539E+02 + 1 45 45 RK 0.15E+01 1.00 ---- 0.2724329772697304E-01 0.4604994985398587E+00 0.1451760279450942E-01 0.7137003305939588E+00 0.1101745012713216E+02 + 1 46 46 RK 0.15E+01 1.00 ---- 0.2525575403893349E-01 0.4601654665044683E+00 0.1475488009551827E-01 0.7131186060901085E+00 0.1002834001250265E+02 + 1 47 47 RK 0.15E+01 1.00 ---- 0.2335773278638642E-01 0.4599576798841141E+00 0.1500812931419842E-01 0.7127378276707321E+00 0.9111947492228461E+01 + 1 48 48 RK 0.15E+01 1.00 ---- 0.2164659827458884E-01 0.4597345027066971E+00 0.1526176493645309E-01 0.7123604834089328E+00 0.8324076396275712E+01 + 1 49 49 RK 0.15E+01 1.00 ---- 0.2014753226384220E-01 0.4594290156549258E+00 0.1550867247884341E-01 0.7118919769104185E+00 0.7675659191723381E+01 +#------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- +# Grid | Iter | Iter | Iter | CFL | Step | Lin | Res rho | C_lift | C_drag | C_Mz | totalRes | +# level | | Tot | Type | | | Res | | | | | | +#------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- + 1 50 50 RK 0.15E+01 1.00 ---- 0.1881707555469103E-01 0.4590982942936933E+00 0.1575216574196897E-01 0.7114172482483895E+00 0.7136052271396763E+01 + 1 51 51 RK 0.15E+01 1.00 ---- 0.1759831634553906E-01 0.4588448504506342E+00 0.1600013353743766E-01 0.7110879002594066E+00 0.6665682893752136E+01 + 1 52 52 RK 0.15E+01 1.00 ---- 0.1645854572281171E-01 0.4587222423277381E+00 0.1625657036693948E-01 0.7109826226390659E+00 0.6239263896363942E+01 + 1 53 53 RK 0.15E+01 1.00 ---- 0.1539880991940858E-01 0.4587132096961129E+00 0.1651719899999239E-01 0.7110751470535192E+00 0.5852605586497313E+01 + 1 54 54 RK 0.15E+01 1.00 ---- 0.1445465062874659E-01 0.4587706766432332E+00 0.1677258856730767E-01 0.7112969559620894E+00 0.5522634272737881E+01 + 1 55 55 RK 0.15E+01 1.00 ---- 0.1367543502215979E-01 0.4588649385792405E+00 0.1701545751540735E-01 0.7116087513289063E+00 0.5275629774974905E+01 + 1 56 56 RK 0.15E+01 1.00 ---- 0.1307425967224841E-01 0.4590005255495800E+00 0.1724507640034071E-01 0.7120233656187315E+00 0.5117752522257935E+01 + 1 57 57 RK 0.15E+01 1.00 ---- 0.1260506097803682E-01 0.4592051348253600E+00 0.1746570566122732E-01 0.7125857110108681E+00 0.5020860068277105E+01 + 1 58 58 RK 0.15E+01 1.00 ---- 0.1219650739657570E-01 0.4595072784786153E+00 0.1768179067582008E-01 0.7133375421549916E+00 0.4941864569786145E+01 + 1 59 59 RK 0.15E+01 1.00 ---- 0.1180014156404503E-01 0.4599191864372328E+00 0.1789474754935805E-01 0.7142933581988939E+00 0.4848962949236927E+01 + 1 60 60 RK 0.15E+01 1.00 ---- 0.1141961606732509E-01 0.4604337406640436E+00 0.1810308580190510E-01 0.7154383684324939E+00 0.4736487768891951E+01 + 1 61 61 RK 0.15E+01 1.00 ---- 0.1110545019630887E-01 0.4610349009110472E+00 0.1830442729569901E-01 0.7167458752724620E+00 0.4623827112464182E+01 + 1 62 62 RK 0.15E+01 1.00 ---- 0.1092026207660131E-01 0.4617117923885417E+00 0.1849735344617467E-01 0.7181989199304577E+00 0.4540970581962099E+01 + 1 63 63 RK 0.15E+01 1.00 ---- 0.1088975933725679E-01 0.4624648603069209E+00 0.1868220823519653E-01 0.7197985386480666E+00 0.4506464314106086E+01 + 1 64 64 RK 0.15E+01 1.00 ---- 0.1098340617205029E-01 0.4633011183946980E+00 0.1886076207187204E-01 0.7215544473865867E+00 0.4516867139483701E+01 + 1 65 65 RK 0.15E+01 1.00 ---- 0.1112918169694297E-01 0.4642267517588094E+00 0.1903522773267161E-01 0.7234733472404916E+00 0.4550675298663319E+01 + 1 66 66 RK 0.15E+01 1.00 ---- 0.1124168974059590E-01 0.4652416260331717E+00 0.1920706994770987E-01 0.7255505700842764E+00 0.4578003470319047E+01 + 1 67 67 RK 0.15E+01 1.00 ---- 0.1125014932861369E-01 0.4663398517283704E+00 0.1937654610295517E-01 0.7277722904025378E+00 0.4572247036573380E+01 + 1 68 68 RK 0.15E+01 1.00 ---- 0.1111333683471111E-01 0.4675126814723385E+00 0.1954315141403169E-01 0.7301207852070903E+00 0.4516410763091253E+01 + 1 69 69 RK 0.15E+01 1.00 ---- 0.1082106719329166E-01 0.4687527208549074E+00 0.1970649793270411E-01 0.7325810918148673E+00 0.4404178105885046E+01 + 1 70 70 RK 0.15E+01 1.00 ---- 0.1038898496045181E-01 0.4700557267550678E+00 0.1986677880598813E-01 0.7351433330867443E+00 0.4238691353530508E+01 + 1 71 71 RK 0.15E+01 1.00 ---- 0.9850452222278368E-02 0.4714202811764615E+00 0.2002462737717305E-01 0.7378020684420666E+00 0.4030013261824529E+01 + 1 72 72 RK 0.15E+01 1.00 ---- 0.9248010425658799E-02 0.4728453194113338E+00 0.2018074612937210E-01 0.7405524453460121E+00 0.3792237956588224E+01 + 1 73 73 RK 0.15E+01 1.00 ---- 0.8624590817232722E-02 0.4743278272985829E+00 0.2033561145447279E-01 0.7433866376863738E+00 0.3540788469464666E+01 + 1 74 74 RK 0.15E+01 1.00 ---- 0.8016476594969270E-02 0.4758628934909215E+00 0.2048939295448220E-01 0.7462939397072080E+00 0.3289477626629921E+01 + 1 75 75 RK 0.15E+01 1.00 ---- 0.7449577604781637E-02 0.4774449674933646E+00 0.2064199025949379E-01 0.7492627907613546E+00 0.3049233569627898E+01 + 1 76 76 RK 0.15E+01 1.00 ---- 0.6939501804600996E-02 0.4790691487461492E+00 0.2079315635114985E-01 0.7522828582695719E+00 0.2828033864864706E+01 + 1 77 94 *NK ---- 1.00 0.230 0.2101154612872214E-02 0.5404096866729047E+00 0.1893879424591091E-01 0.8404902649185828E+00 0.1087530759172558E+01 + 1 78 107 NK ---- 1.00 0.213 0.4935073216581909E-03 0.5470853461490541E+00 0.1981713289813306E-01 0.8521263896438755E+00 0.2389873003829497E+00 + 1 79 129 NK ---- 1.00 0.070 0.4273567950717410E-04 0.5490453211639381E+00 0.2026215947712477E-01 0.8561402277042370E+00 0.2086400983430418E-01 + 1 80 156 NK ---- 1.00 0.019 0.8382035647491061E-06 0.5489342848328445E+00 0.2027044078575557E-01 0.8559914533774369E+00 0.4168152105865375E-03 + 1 81 195 NK ---- 1.00 0.002 0.1294354302888806E-08 0.5489343601981059E+00 0.2027071005381432E-01 0.8559921415150867E+00 0.6431623858283035E-06 + 1 82 252 NK ---- 1.00 0.000 0.3048123369685277E-13 0.5489343632066793E+00 0.2027070982803481E-01 0.8559921453733255E+00 0.1456296373907370E-10 + 1 83 305 NK ---- 1.00 0.000 0.1282562167215623E-14 0.5489343632065941E+00 0.2027070982803369E-01 0.8559921453732351E+00 0.7313546958905782E-12 + 1 84 336 NK ---- 1.00 0.008 0.1220946470713124E-14 0.5489343632065941E+00 0.2027070982803336E-01 0.8559921453732339E+00 0.7241676276802726E-12 + 1 85 339 NK ---- 1.00 0.603 0.1271794902309160E-14 0.5489343632065943E+00 0.2027070982803338E-01 0.8559921453732343E+00 0.7220971144879760E-12 + 1 86 342 NK ---- 1.00 0.555 0.1247540853906381E-14 0.5489343632065941E+00 0.2027070982803338E-01 0.8559921453732340E+00 0.6759562521048742E-12 + 1 87 345 NK ---- 1.00 0.597 0.1210475293161075E-14 0.5489343632065939E+00 0.2027070982803338E-01 0.8559921453732338E+00 0.6581399750794415E-12 + 1 88 348 NK ---- 1.00 0.604 0.1261394540794935E-14 0.5489343632065939E+00 0.2027070982803341E-01 0.8559921453732339E+00 0.6799880879167949E-12 + 1 89 351 NK ---- 1.00 0.560 0.1187327766282846E-14 0.5489343632065939E+00 0.2027070982803342E-01 0.8559921453732338E+00 0.6566526473884490E-12 + 1 90 354 NK ---- 1.00 0.656 0.1241874244454379E-14 0.5489343632065938E+00 0.2027070982803344E-01 0.8559921453732336E+00 0.6533201615524187E-12 + 1 91 358 NK ---- 0.50 0.679 0.1203753274646077E-14 0.5489343632065938E+00 0.2027070982803345E-01 0.8559921453732336E+00 0.6139873455364010E-12 + 1 92 361 NK ---- 1.00 0.603 0.1209413405236343E-14 0.5489343632065937E+00 0.2027070982803346E-01 0.8559921453732340E+00 0.6755322657058356E-12 + 1 93 364 NK ---- 1.00 0.605 0.1180150842822296E-14 0.5489343632065939E+00 0.2027070982803348E-01 0.8559921453732342E+00 0.6607955645408417E-12 + 1 94 367 NK ---- 1.00 0.651 0.1219046898714892E-14 0.5489343632065943E+00 0.2027070982803352E-01 0.8559921453732345E+00 0.6720017585490305E-12 + 1 95 370 NK ---- 1.00 0.595 0.1222784222227373E-14 0.5489343632065944E+00 0.2027070982803355E-01 0.8559921453732348E+00 0.6516668884413544E-12 + 1 96 373 NK ---- 1.00 0.675 0.1292279514185705E-14 0.5489343632065943E+00 0.2027070982803358E-01 0.8559921453732350E+00 0.6704032956008699E-12 + 1 97 377 *NK ---- 0.50 0.662 0.1229221419781790E-14 0.5489343632065945E+00 0.2027070982803360E-01 0.8559921453732350E+00 0.6387302399186782E-12 + 1 98 381 NK ---- 0.50 0.604 0.1162337682334617E-14 0.5489343632065947E+00 0.2027070982803364E-01 0.8559921453732355E+00 0.6196238772288589E-12 + 1 99 385 NK ---- 0.50 0.634 0.1143558290649244E-14 0.5489343632065948E+00 0.2027070982803366E-01 0.8559921453732360E+00 0.5990634974078134E-12 +#------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- +# Grid | Iter | Iter | Iter | CFL | Step | Lin | Res rho | C_lift | C_drag | C_Mz | totalRes | +# level | | Tot | Type | | | Res | | | | | | +#------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- + 1 100 388 NK ---- 1.00 0.604 0.1173313831801974E-14 0.5489343632065953E+00 0.2027070982803371E-01 0.8559921453732364E+00 0.6425380106654969E-12 + 1 101 392 NK ---- 0.50 0.600 0.1082465844305730E-14 0.5489343632065954E+00 0.2027070982803372E-01 0.8559921453732368E+00 0.5998606507919531E-12 + 1 102 396 NK ---- 0.50 0.663 0.1073211107737534E-14 0.5489343632065957E+00 0.2027070982803374E-01 0.8559921453732373E+00 0.5914320592842625E-12 + 1 103 400 NK ---- 0.50 0.625 0.1104072100506999E-14 0.5489343632065958E+00 0.2027070982803374E-01 0.8559921453732374E+00 0.5828100688517891E-12 ++-------------------------------------------------+ +| +| Solution Timings: +| +| Set AeroProblem Time : 0.002 sec +| Solution Time : 5.469 sec +| Write Solution Time : 0.000 sec +| Stability Parameter Time : 0.000 sec +| +| Total Call Time : 5.471 sec ++--------------------------------------------------+ +-> Alpha... 1.800000 ++---------------------------------------------------+ +| +| Function Timings: +| +| Function AeroProblem Time : 0.001 sec +| Function Evaluation Time : 0.000 sec +| User Function Evaluation Time : 0.000 sec +| +| Total Function Evaluation Time: 0.001 sec ++--------------------------------------------------+ +-> Alpha... 1.800000 +Solving adjoint: cl +-> Alpha... 1.800000 +Solving ADjoint Transpose with PETSc... + 0 KSP Residual norm 0.2406751577E+00 + 10 KSP Residual norm 0.1737876912E+00 + 20 KSP Residual norm 0.2037562298E-01 + 30 KSP Residual norm 0.4179924389E-03 + 40 KSP Residual norm 0.2361145654E-04 + 50 KSP Residual norm 0.5060252011E-06 + 60 KSP Residual norm 0.9307192231E-08 + 70 KSP Residual norm 0.3099663355E-09 + 80 KSP Residual norm 0.4643173301E-11 + 90 KSP Residual norm 0.1204345659E-12 + 100 KSP Residual norm 0.1826236393E-13 + 110 KSP Residual norm 0.5973484124E-15 +Solving ADjoint Transpose with PETSc time (s) = 0.00 + Norm of error = 0.4822E-14 Iterations = 113 + ------------------------------------------------ + PETSc solver converged after 113 iterations. + ------------------------------------------------ +Solving adjoint: cmz +-> Alpha... 1.800000 +Solving ADjoint Transpose with PETSc... + 0 KSP Residual norm 0.3613519546E+00 + 10 KSP Residual norm 0.2527085959E+00 + 20 KSP Residual norm 0.3178796709E-01 + 30 KSP Residual norm 0.6257042136E-03 + 40 KSP Residual norm 0.3117566383E-04 + 50 KSP Residual norm 0.8109933098E-06 + 60 KSP Residual norm 0.1425355913E-07 + 70 KSP Residual norm 0.4285937428E-09 + 80 KSP Residual norm 0.6865670358E-11 + 90 KSP Residual norm 0.1734695544E-12 + 100 KSP Residual norm 0.2525802667E-13 + 110 KSP Residual norm 0.1304793798E-14 +Solving ADjoint Transpose with PETSc time (s) = 0.00 + Norm of error = 0.7555E-14 Iterations = 115 + ------------------------------------------------ + PETSc solver converged after 115 iterations. + ------------------------------------------------ +Solving adjoint: drag +-> Alpha... 1.800000 +Solving ADjoint Transpose with PETSc... + 0 KSP Residual norm 0.1504428833E+05 + 10 KSP Residual norm 0.1049035676E+05 + 20 KSP Residual norm 0.7513192574E+03 + 30 KSP Residual norm 0.3605216838E+02 + 40 KSP Residual norm 0.1053937141E+01 + 50 KSP Residual norm 0.4384967275E-01 + 60 KSP Residual norm 0.1014242848E-02 + 70 KSP Residual norm 0.1769152495E-04 + 80 KSP Residual norm 0.2379106692E-06 + 90 KSP Residual norm 0.4648226005E-08 + 100 KSP Residual norm 0.9650827481E-09 + 110 KSP Residual norm 0.4035724296E-10 +Solving ADjoint Transpose with PETSc time (s) = 0.00 + Norm of error = 0.2399E-09 Iterations = 115 + ------------------------------------------------ + PETSc solver converged after 115 iterations. + ------------------------------------------------ ++--------------------------------------------------+ +| +| Adjoint Times: +| +| Adjoint Solve Time - cl : 4.384 sec +| Total Sensitivity Time - cl : 0.127 sec +| Adjoint Solve Time - cmz : 4.234 sec +| Total Sensitivity Time - cmz : 0.085 sec +| Adjoint Solve Time - drag : 4.276 sec +| Total Sensitivity Time - drag : 0.083 sec +| +| Complete Sensitivity Time : 13.188 sec ++--------------------------------------------------+ +funcs[cl]: +@value 5.4893436320660e-01 1e-10 1e-10 +funcs[cmz]: +@value 8.5599214537324e-01 1e-10 1e-10 +funcs[drag]: +@value 1.0949708750044e+04 1e-10 1e-10 +Twist[0] Derivatives: +@value -8.6847743840620e-02 1e-10 1e-10 +@value -1.1060573810491e-01 1e-10 1e-10 +@value -3.5556824140325e+03 1e-10 1e-10 +Span Derivatives: +@value 6.2797454632815e-02 1e-10 1e-10 +@value 9.6278083226014e-02 1e-10 1e-10 +@value 1.7481465265933e+03 1e-10 1e-10 +shape[13] Derivatives: +@value 6.8120940849070e-02 1e-10 1e-10 +@value 8.6551265752070e-02 1e-10 1e-10 +@value 5.0836741709344e+03 1e-10 1e-10 diff --git a/python/reg_tests/ref_cs/adflow_test8_reg.ref b/python/reg_tests/ref_cs/adflow_test8_reg.ref new file mode 100644 index 000000000..74db0ca9d --- /dev/null +++ b/python/reg_tests/ref_cs/adflow_test8_reg.ref @@ -0,0 +1,723 @@ ++------------------------------------------------------------------------------+ +| MDO tutorial Viscous Geometric Variables with IDWarp | ++------------------------------------------------------------------------------+ +# +# ADflow, multiblock structured flow solver +# +# This code solves the 3D RANS, laminar NS or Euler equations +# on multiblock structured hexahedral grids. +# This is a parallel executable running on 4 processors. +# It has been compiled with the following options: +# - Optimized mode. +# - Size of standard integers: 4 bytes. +# - Size of standard floating point types: 8 bytes. +# - With cgns support +# - With support for signals. +# ++---------------------------------------+ +| All ADFLOW Options: | ++---------------------------------------+ +{'adjointdivtol': 100000.0, + 'adjointl2convergence': 1e-15, + 'adjointl2convergenceabs': 1e-16, + 'adjointl2convergencerel': 1e-16, + 'adjointmaxiter': 500, + 'adjointmonitorstep': 10, + 'adjointsolver': 'gmres', + 'adjointsubspacesize': 100, + 'adpc': False, + 'agmglevels': 1, + 'agmgnsmooth': 3, + 'alphafollowing': True, + 'alphamode': False, + 'altitudemode': False, + 'ankadpc': False, + 'ankasmoverlap': 1, + 'ankcfl0': 5.0, + 'ankcflcutback': 0.5, + 'ankcflexponent': 0.5, + 'ankcflfactor': 10.0, + 'ankcfllimit': 100000.0, + 'ankcflmin': 1.0, + 'ankconstcflstep': 0.4, + 'ankcoupledswitchtol': 1e-16, + 'ankinnerpreconits': 1, + 'ankjacobianlag': 20, + 'anklinearsolvetol': 0.5, + 'anklinresmax': 0.9, + 'ankmaxiter': 40, + 'anknsubiterturb': 1, + 'ankouterpreconits': 1, + 'ankpcilufill': 1, + 'ankpcupdatetol': 0.5, + 'ankphysicallstol': 0.2, + 'ankphysicallstolturb': 0.99, + 'anksecondordswitchtol': 1e-16, + 'ankstepfactor': 1.0, + 'ankstepmin': 0.01, + 'anksubspacesize': 5, + 'ankswitchtol': 0.01, + 'ankturbcflscale': 1.0, + 'ankturbkspdebug': False, + 'ankunsteadylstol': 1.0, + 'ankusefullvisc': True, + 'ankusematrixfree': True, + 'ankuseturbdadi': True, + 'applyadjointpcsubspacesize': 20, + 'applypcsubspacesize': 10, + 'approxpc': True, + 'asmoverlap': 1, + 'autoadjointretry': False, + 'autosolveretry': False, + 'backgroundvolscale': 1.0, + 'betamode': False, + 'blocksplitting': True, + 'cavitationnumber': 1.4, + 'cfl': 1.5, + 'cflcoarse': 1.25, + 'cfllimit': 1.5, + 'closedsurfacefamilies': None, + 'coarsediscretization': 'central plus scalar dissipation', + 'computecavitation': False, + 'coupledsolution': False, + 'cutcallback': None, + 'debugzipper': False, + 'deltat': 0.01, + 'designsurfacefamily': None, + 'discretization': 'central plus scalar dissipation', + 'dissipationlumpingparameter': 6.0, + 'dissipationscalingexponent': 0.67, + 'eddyvisinfratio': 0.009, + 'equationmode': 'steady', + 'equationtype': 'Laminar NS', + 'eulerwalltreatment': 'linear pressure extrapolation', + 'firstrun': True, + 'flowtype': 'external', + 'forcesastractions': True, + 'frozenturbulence': True, + 'globalpreconditioner': 'additive schwartz', + 'gridfile': '../inputFiles/mdo_tutorial_rans.cgns', + 'gridprecision': 'double', + 'gridprecisionsurface': 'single', + 'ilufill': 2, + 'infchangecorrection': False, + 'innerpreconits': 1, + 'isosurface': {}, + 'isovariables': [], + 'l2convergence': 1e-16, + 'l2convergencecoarse': 0.01, + 'l2convergencerel': 1e-16, + 'liftindex': 2, + 'limiter': 'vanalbeda', + 'loadbalanceiter': 10, + 'loadimbalance': 0.1, + 'localpreconditioner': 'ilu', + 'lowspeedpreconditioner': False, + 'machmode': False, + 'matrixordering': 'rcm', + 'maxl2deviationfactor': 1.0, + 'meshsurfacefamily': None, + 'mgcycle': '2w', + 'mgstartlevel': -1, + 'monitorvariables': ['resrho', + 'resturb', + 'cl', + 'cd', + 'cmz', + 'yplus', + 'totalr'], + 'ncycles': 500, + 'ncyclescoarse': 250, + 'nearwalldist': 0.1, + 'nkadpc': False, + 'nkasmoverlap': 1, + 'nkcfl0': 1000000000000.0, + 'nkfixedstep': 0.25, + 'nkinnerpreconits': 1, + 'nkjacobianlag': 20, + 'nklinearsolvetol': 0.3, + 'nkls': 'non monotone', + 'nkouterpreconits': 1, + 'nkpcilufill': 2, + 'nksubspacesize': 60, + 'nkswitchtol': 0.01, + 'nkuseew': True, + 'nkviscpc': False, + 'nrefine': 10, + 'nrkreset': 5, + 'nsavesurface': 1, + 'nsavevolume': 1, + 'nsubiter': 1, + 'nsubiterturb': 1, + 'ntimestepscoarse': 48, + 'ntimestepsfine': 400, + 'numbersolutions': True, + 'outerpreconits': 3, + 'outputdirectory': './', + 'outputsurfacefamily': 'allSurfaces', + 'overlapfactor': 0.9, + 'oversetloadbalance': True, + 'oversetpriority': {}, + 'oversetprojtol': 1e-12, + 'oversetupdatemode': 'frozen', + 'partitionlikenproc': -1, + 'partitiononly': False, + 'pmode': False, + 'preconditionerside': 'right', + 'printiterations': True, + 'printtiming': True, + 'printwarnings': True, + 'qmode': False, + 'resaveraging': 'alternateresaveraging', + 'restartadjoint': True, + 'restartfile': None, + 'restrictionrelaxation': 0.8, + 'rkreset': False, + 'rmode': False, + 'selfzipcutoff': 120.0, + 'sepsensoroffset': 0.0, + 'sepsensorsharpness': 10.0, + 'setmonitor': True, + 'skipafterfailedadjoint': True, + 'smoother': 'runge kutta', + 'smoothparameter': 1.5, + 'solutionprecision': 'double', + 'solutionprecisionsurface': 'single', + 'storerindlayer': True, + 'surfacevariables': ['cp', 'vx', 'vy', 'vz', 'mach'], + 'timeaccuracy': 2, + 'timeintegrationscheme': 'bdf', + 'timeintervals': 1, + 'timelimit': -1.0, + 'tsstability': False, + 'turbresscale': 10000.0, + 'turbulencemodel': 'sa', + 'turbulenceorder': 'first order', + 'turbulenceproduction': 'strain', + 'useale': True, + 'useanksolver': False, + 'useapproxwalldistance': True, + 'useblockettes': True, + 'usediagtspc': True, + 'useft2sa': True, + 'usegridmotion': False, + 'uselinresmonitor': False, + 'usematrixfreedrdw': True, + 'usenksolver': True, + 'useoversetwallscaling': False, + 'useqcr': False, + 'userotationsa': False, + 'usewallfunctions': False, + 'usezippermesh': True, + 'verifyextra': True, + 'verifyspatial': True, + 'verifystate': True, + 'vis2': 0.25, + 'vis2coarse': 0.5, + 'vis4': 0.0156, + 'viscoussurfacevelocities': True, + 'viscpc': False, + 'viscwalltreatment': 'constant pressure extrapolation', + 'volumevariables': [], + 'walldistcutoff': 1e+20, + 'windaxis': False, + 'writesurfacesolution': True, + 'writetecplotsurfacesolution': False, + 'writevolumesolution': True, + 'zippersurfacefamily': None} +-> Alpha... 0.000000 +# +# Warning +# Conversion factor from grid units to meter not specified and some blocks +# do not have units. It is assumed that the grid is given in meters. +# +# +# Warning +# Specified load imbalance tolerance 0.100 not achieved. +# I continue with 0.111 load imbalance for the cells and 0.096 for the faces +# +# +# Grid level: 1, Total number of cells: 24192 +# +# +# Grid level: 2, Total number of cells: 3024 +# ++--------------------------------------------------+ + CGNS Surface Families by Boundary Condition Type ++--------------------------------------------------+ +| Wall Types : wall +| Inflow Types : +| Outflow Types : +| Symmetry Types : sym +| Farfield Types : far +| Oveset Types : ++--------------------------------------------------+ ++--------------------------------------------------+ +| +| Initialization Times: +| +| Library Load Time : 0.023 sec +| Set Defaults Time : 0.001 sec +| Base class init Time : 0.002 sec +| Introductory Time : 0.007 sec +| Partitioning Time : 0.008 sec +| Preprocessing Time : 0.028 sec +| Family Setup Time : 0.000 sec +| Cut callback Time : 0.000 sec +| Overset Preprocessing Time : 0.000 sec +| Initialize Flow Time : 0.002 sec +| +| Total Init Time : 0.072 sec ++--------------------------------------------------+ ++---------------------------------------+ +| All IDWarp Options: | ++---------------------------------------+ +{'LdefFact': 1.0, + 'aExp': 3.0, + 'alpha': 0.25, + 'bExp': 5.0, + 'bucketSize': 8, + 'cornerAngle': 30.0, + 'errTol': 0.0005, + 'evalMode': 'fast', + 'fileType': 'cgns', + 'gridFile': '../inputFiles/mdo_tutorial_rans.cgns', + 'restartFile': None, + 'specifiedSurfaces': None, + 'symmTol': 1e-06, + 'symmetryPlanes': None, + 'symmetrySurfaces': None, + 'useRotations': True, + 'zeroCornerRotations': True} + -> Reading CGNS File: ../inputFiles/mdo_tutorial_rans.cgns + -> Number of Zones: 9 +#------------------------------# + Total Volume Nodes : 30375 +#------------------------------# ++-------------------- Symmetry Planes -------------------+ +| Point Normal | +| ( 0.000 0.000 0.000) ( 0.000 0.000 -1.000) | ++--------------------------------------------------------+ +#--------------------------------# + Unique Surface Nodes : 1031 +#--------------------------------# + Computing Denomenator Estimate... + Load Balancing... + Finished Mesh Initialization. ++----------------------------------------------------------------------+ +| Switching to Aero Problem: mdo_tutorial | ++----------------------------------------------------------------------+ + ++------------------------------------------------------------------------------+ +| pyADFLOW Warning: 'zipperSurfaceFamily' option was not given. Using all wall | +| boundary conditions for the zipper mesh. | ++------------------------------------------------------------------------------+ + +-> Alpha... 1.800000 +-> Alpha... 1.800000 ++---------------------------------------+ +| All Modified ADFLOW Options: | ++---------------------------------------+ +{'adjointl2convergence': 1e-15, + 'ankjacobianlag': 20, + 'anklinearsolvetol': 0.5, + 'ankpcilufill': 1, + 'anksubspacesize': 5, + 'ankswitchtol': 0.01, + 'cfl': 1.5, + 'cflcoarse': 1.25, + 'equationtype': 'Laminar NS', + 'frozenturbulence': True, + 'gridfile': '../inputFiles/mdo_tutorial_rans.cgns', + 'l2convergence': 1e-16, + 'mgcycle': '2w', + 'monitorvariables': ['resrho', + 'resturb', + 'cl', + 'cd', + 'cmz', + 'yplus', + 'totalr'], + 'ncyclescoarse': 250, + 'nkcfl0': 1000000000000.0, + 'nkls': 'non monotone', + 'nkswitchtol': 0.01, + 'solutionprecision': 'double', + 'turbresscale': 10000.0, + 'usenksolver': True, + 'volumevariables': []} +# +# Grid 2: Performing 250 iterations, unless converged earlier. Minimum required iteration before NK switch: 5. Switch to NK at totalR of: 0.00E+00 +# +#------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- +# Grid | Iter | Iter | Iter | CFL | Step | Lin | Res rho | C_lift | C_drag | C_Mz | totalRes | +# level | | Tot | Type | | | Res | | | | | | +#------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- + 2 0 0 None 0.00E+00 1.00 ---- 0.9459002390765595E+03 0.6963717246958606E-01 0.7543283748748875E+01 0.4308071266134468E+00 0.2616009272663740E+06 + 2 1 1 RK 0.12E+01 1.00 ---- 0.6456926598463446E+03 0.1205303134979072E+00 0.4745984393376530E+01 0.4002779451477683E+00 0.1553575950187333E+06 + 2 2 2 RK 0.12E+01 1.00 ---- 0.4115771817859012E+03 0.1498798020633768E+00 0.2862392960004835E+01 0.3709020367942998E+00 0.9282300812812841E+05 + 2 3 3 RK 0.12E+01 1.00 ---- 0.2517994241815493E+03 0.1739552452094584E+00 0.1994709474425685E+01 0.3752984100919329E+00 0.5672395277109116E+05 + 2 4 4 RK 0.12E+01 1.00 ---- 0.1470961826541378E+03 0.1887949061237145E+00 0.1550853137814082E+01 0.3815289179148139E+00 0.3355562869873368E+05 + 2 5 5 RK 0.12E+01 1.00 ---- 0.8719778708609648E+02 0.1984566103842205E+00 0.1294083446435550E+01 0.3868510596091249E+00 0.1992928112967697E+05 + 2 6 6 RK 0.12E+01 1.00 ---- 0.5655079883279257E+02 0.2055384983129124E+00 0.1126250514511440E+01 0.3916426041128281E+00 0.1274770958686778E+05 + 2 7 7 RK 0.12E+01 1.00 ---- 0.4260330402813288E+02 0.2107650889159363E+00 0.1005316158547213E+01 0.3952947564393924E+00 0.9315537290231217E+04 + 2 8 8 RK 0.12E+01 1.00 ---- 0.3781664391689115E+02 0.2142403514061964E+00 0.9124074157509789E+00 0.3971632487895270E+00 0.7957956653951967E+04 + 2 9 9 RK 0.12E+01 1.00 ---- 0.3873476839622186E+02 0.2162122289282460E+00 0.8378028827032351E+00 0.3972335380872106E+00 0.8051970084811494E+04 + 2 10 10 RK 0.12E+01 1.00 ---- 0.4479749721529760E+02 0.2170024850136200E+00 0.7756467988763858E+00 0.3957598720962671E+00 0.9572674137809865E+04 + 2 11 11 RK 0.12E+01 1.00 ---- 0.5493666902286959E+02 0.2167821068723214E+00 0.7219622322384387E+00 0.3928352735707040E+00 0.1209743214004486E+05 + 2 12 12 RK 0.12E+01 1.00 ---- 0.6595761578976604E+02 0.2155957468568396E+00 0.6739045787175882E+00 0.3884302457736019E+00 0.1476959017422302E+05 + 2 13 13 RK 0.12E+01 1.00 ---- 0.7529601989136228E+02 0.2135592789801490E+00 0.6294596833479251E+00 0.3827119735404934E+00 0.1700776027256571E+05 + 2 14 14 RK 0.12E+01 1.00 ---- 0.8250416416513599E+02 0.2109709571868229E+00 0.5872437692644197E+00 0.3762071068662621E+00 0.1871699075582214E+05 + 2 15 15 RK 0.12E+01 1.00 ---- 0.8844531515782252E+02 0.2082536174098137E+00 0.5464031122910005E+00 0.3696920639482140E+00 0.2007484303539386E+05 + 2 16 16 RK 0.12E+01 1.00 ---- 0.9411698138316856E+02 0.2058089561513702E+00 0.5065125516383637E+00 0.3639191931111033E+00 0.2129241704949213E+05 + 2 17 17 RK 0.12E+01 1.00 ---- 0.9991574132933250E+02 0.2038747406608218E+00 0.4674647323676596E+00 0.3593474706004521E+00 0.2246671607629031E+05 + 2 18 18 RK 0.12E+01 1.00 ---- 0.1055471876438774E+03 0.2024689172987670E+00 0.4293666692347071E+00 0.3560236795979183E+00 0.2355052963431300E+05 + 2 19 19 RK 0.12E+01 1.00 ---- 0.1102949074555244E+03 0.2014479907580900E+00 0.3924304851122853E+00 0.3536833641465802E+00 0.2440974348539920E+05 + 2 20 20 RK 0.12E+01 1.00 ---- 0.1134094722399052E+03 0.2006088797700678E+00 0.3568785035361696E+00 0.3519148063516532E+00 0.2490644670594568E+05 + 2 21 21 RK 0.12E+01 1.00 ---- 0.1144372892560467E+03 0.1998133882794935E+00 0.3228923959442268E+00 0.3503711678041357E+00 0.2496306803000817E+05 + 2 22 22 RK 0.12E+01 1.00 ---- 0.1133565125014429E+03 0.1990380938012199E+00 0.2905961047585691E+00 0.3488702185251747E+00 0.2458475878228664E+05 + 2 23 23 RK 0.12E+01 1.00 ---- 0.1105168976945615E+03 0.1983573832243266E+00 0.2600622539679749E+00 0.3473943638899812E+00 0.2384599981829771E+05 + 2 24 24 RK 0.12E+01 1.00 ---- 0.1064739011420507E+03 0.1978968781957752E+00 0.2313349651482668E+00 0.3460492163296016E+00 0.2286075672629604E+05 + 2 25 25 RK 0.12E+01 1.00 ---- 0.1018022146924248E+03 0.1977994846440557E+00 0.2044663806647722E+00 0.3450209123139828E+00 0.2174890098225482E+05 + 2 26 26 RK 0.12E+01 1.00 ---- 0.9693821903293892E+02 0.1982029372320830E+00 0.1795585722404379E+00 0.3445364845863022E+00 0.2060640953398342E+05 + 2 27 27 RK 0.12E+01 1.00 ---- 0.9209962473124182E+02 0.1992326114046788E+00 0.1567925611341019E+00 0.3448378907543815E+00 0.1948843215075051E+05 + 2 28 28 RK 0.12E+01 1.00 ---- 0.8729915962420085E+02 0.2009960390954030E+00 0.1364255516396652E+00 0.3461560006273751E+00 0.1840900711399575E+05 + 2 29 29 RK 0.12E+01 1.00 ---- 0.8244617547465104E+02 0.2035721084092244E+00 0.1187526145570780E+00 0.3486799008627957E+00 0.1735856609476402E+05 + 2 30 30 RK 0.12E+01 1.00 ---- 0.7745551726630829E+02 0.2069987166796314E+00 0.1040485842227909E+00 0.3525204804108766E+00 0.1632168415326310E+05 + 2 31 31 RK 0.12E+01 1.00 ---- 0.7231424627501052E+02 0.2112605942933787E+00 0.9251633859162271E-01 0.3576828835990260E+00 0.1529175278274907E+05 + 2 32 32 RK 0.12E+01 1.00 ---- 0.6709606059371627E+02 0.2162856723887335E+00 0.8424165103913561E-01 0.3640571184315133E+00 0.1427455270634774E+05 + 2 33 33 RK 0.12E+01 1.00 ---- 0.6198336845231062E+02 0.2219570818459694E+00 0.7917063247384239E-01 0.3714358811277283E+00 0.1329506657184478E+05 + 2 34 34 RK 0.12E+01 1.00 ---- 0.5730388081720645E+02 0.2281195442834671E+00 0.7710062558581950E-01 0.3795368329291751E+00 0.1240622919150403E+05 + 2 35 35 RK 0.12E+01 1.00 ---- 0.5342828390286993E+02 0.2345881830531538E+00 0.7767987097841124E-01 0.3880330091795268E+00 0.1166170070408734E+05 + 2 36 36 RK 0.12E+01 1.00 ---- 0.5075499916289536E+02 0.2411435866900864E+00 0.8042149224693433E-01 0.3965781746334656E+00 0.1112663299190103E+05 + 2 37 37 RK 0.12E+01 1.00 ---- 0.4957851731134234E+02 0.2475744545627415E+00 0.8474040067698799E-01 0.4048680216843678E+00 0.1085808924987711E+05 + 2 38 38 RK 0.12E+01 1.00 ---- 0.4996627439789972E+02 0.2537491535336835E+00 0.9005722416959906E-01 0.4127393017841419E+00 0.1088650448611858E+05 + 2 39 39 RK 0.12E+01 1.00 ---- 0.5180908701354417E+02 0.2596621481918941E+00 0.9589559599498165E-01 0.4202160032598916E+00 0.1121747410999830E+05 + 2 40 40 RK 0.12E+01 1.00 ---- 0.5488655555787882E+02 0.2653934405645280E+00 0.1019105863875422E+00 0.4274330771981031E+00 0.1182785524540782E+05 + 2 41 41 RK 0.12E+01 1.00 ---- 0.5889160538159502E+02 0.2710374054050085E+00 0.1078665529716194E+00 0.4345328246163924E+00 0.1265852552942598E+05 + 2 42 42 RK 0.12E+01 1.00 ---- 0.6344643787502122E+02 0.2766232372090430E+00 0.1136090604009304E+00 0.4415472135863596E+00 0.1362031077006650E+05 + 2 43 43 RK 0.12E+01 1.00 ---- 0.6814408040649633E+02 0.2821188919310543E+00 0.1190360993766944E+00 0.4484145489397030E+00 0.1461221326313794E+05 + 2 44 44 RK 0.12E+01 1.00 ---- 0.7259850035928046E+02 0.2874577381263035E+00 0.1240712517163972E+00 0.4550198641075958E+00 0.1553962545626371E+05 + 2 45 45 RK 0.12E+01 1.00 ---- 0.7648341344997017E+02 0.2925557731914548E+00 0.1286524919274025E+00 0.4612341771435399E+00 0.1632601489921315E+05 + 2 46 46 RK 0.12E+01 1.00 ---- 0.7955129327899078E+02 0.2973160024663303E+00 0.1327276528986809E+00 0.4669217304059595E+00 0.1691708185848822E+05 + 2 47 47 RK 0.12E+01 1.00 ---- 0.8162495466525137E+02 0.3016557512958464E+00 0.1362620068935597E+00 0.4719717584100995E+00 0.1727730947277046E+05 + 2 48 48 RK 0.12E+01 1.00 ---- 0.8258423048904935E+02 0.3055135387406290E+00 0.1392410312295583E+00 0.4763168048772738E+00 0.1738585391207480E+05 + 2 49 49 RK 0.12E+01 1.00 ---- 0.8234984595562609E+02 0.3088420600957009E+00 0.1416653504487120E+00 0.4799135988118591E+00 0.1723181321651504E+05 +#------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- +# Grid | Iter | Iter | Iter | CFL | Step | Lin | Res rho | C_lift | C_drag | C_Mz | totalRes | +# level | | Tot | Type | | | Res | | | | | | +#------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- + 2 50 50 RK 0.12E+01 1.00 ---- 0.8087582147613566E+02 0.3116059780906298E+00 0.1435483197419871E+00 0.4827375051162843E+00 0.1681174613727202E+05 + 2 51 51 RK 0.12E+01 1.00 ---- 0.7815793715141395E+02 0.3137804074520942E+00 0.1449122314419366E+00 0.4847768779875560E+00 0.1613154801252980E+05 + 2 52 52 RK 0.12E+01 1.00 ---- 0.7425671238318267E+02 0.3153577085644515E+00 0.1457867156010988E+00 0.4860399167002193E+00 0.1521161224529853E+05 + 2 53 53 RK 0.12E+01 1.00 ---- 0.6933976701807781E+02 0.3163475643851679E+00 0.1462058032963566E+00 0.4865543993220011E+00 0.1409709014228430E+05 + 2 54 54 RK 0.12E+01 1.00 ---- 0.6374757151767280E+02 0.3167759476945577E+00 0.1462078624190604E+00 0.4863663561838194E+00 0.1287441066631674E+05 + 2 55 55 RK 0.12E+01 1.00 ---- 0.5809587081519955E+02 0.3166827003374120E+00 0.1458345764437665E+00 0.4855339449460222E+00 0.1169709902998845E+05 + 2 56 56 RK 0.12E+01 1.00 ---- 0.5337725024655293E+02 0.3161151718584909E+00 0.1451294984533446E+00 0.4841208066687264E+00 0.1080750498731599E+05 + 2 57 57 RK 0.12E+01 1.00 ---- 0.5088216811316030E+02 0.3151266133324839E+00 0.1441361569023168E+00 0.4821952822552059E+00 0.1050032236673760E+05 + 2 58 58 RK 0.12E+01 1.00 ---- 0.5172293842337254E+02 0.3137863499614812E+00 0.1428976994188193E+00 0.4798489993223323E+00 0.1098054037491834E+05 + 2 59 59 RK 0.12E+01 1.00 ---- 0.5608015935791505E+02 0.3121741867109886E+00 0.1414569876582708E+00 0.4771927300649844E+00 0.1220522270985715E+05 + 2 60 60 RK 0.12E+01 1.00 ---- 0.6312698063665652E+02 0.3103748307529394E+00 0.1398484897360593E+00 0.4743481834224896E+00 0.1394095224632426E+05 + 2 61 61 RK 0.12E+01 1.00 ---- 0.7162373874856522E+02 0.3084680715533516E+00 0.1381053666338069E+00 0.4714307672868593E+00 0.1591185396624075E+05 + 2 62 62 RK 0.12E+01 1.00 ---- 0.8042257342938454E+02 0.3065186523069746E+00 0.1362575218872291E+00 0.4685327919610343E+00 0.1788274239917930E+05 + 2 63 63 RK 0.12E+01 1.00 ---- 0.8860082765435033E+02 0.3045759677735594E+00 0.1343317493094294E+00 0.4657214929541794E+00 0.1966787737970247E+05 + 2 64 64 RK 0.12E+01 1.00 ---- 0.9550899001820612E+02 0.3026745999867065E+00 0.1323540936760517E+00 0.4630417807150701E+00 0.2114181291377941E+05 + 2 65 65 RK 0.12E+01 1.00 ---- 0.1006953191999059E+03 0.3008329062799774E+00 0.1303466716928910E+00 0.4605187285654397E+00 0.2221684720333033E+05 + 2 66 66 RK 0.12E+01 1.00 ---- 0.1038895278171833E+03 0.2990607141353397E+00 0.1283268407566154E+00 0.4581650058633797E+00 0.2284318477263639E+05 + 2 67 67 RK 0.12E+01 1.00 ---- 0.1049553578570807E+03 0.2973636125155635E+00 0.1263067004278302E+00 0.4559878738097718E+00 0.2299652640376090E+05 + 2 68 68 RK 0.12E+01 1.00 ---- 0.1038617263099922E+03 0.2957442937268397E+00 0.1242939644958043E+00 0.4539861369291764E+00 0.2267451650888347E+05 + 2 69 69 RK 0.12E+01 1.00 ---- 0.1006780852075995E+03 0.2942084665129580E+00 0.1222913778717443E+00 0.4521618734799494E+00 0.2189612252112994E+05 + 2 70 70 RK 0.12E+01 1.00 ---- 0.9561854418420305E+02 0.2927725299099685E+00 0.1202989776225283E+00 0.4505335162696656E+00 0.2071706109012499E+05 + 2 71 71 RK 0.12E+01 1.00 ---- 0.8903268434830525E+02 0.2914576858798398E+00 0.1183156305538033E+00 0.4491246412447233E+00 0.1922279892955450E+05 + 2 72 72 RK 0.12E+01 1.00 ---- 0.8141234575242220E+02 0.2902914494813272E+00 0.1163401636513900E+00 0.4479665024637139E+00 0.1752981641540601E+05 + 2 73 73 RK 0.12E+01 1.00 ---- 0.7338478164035050E+02 0.2893101711190464E+00 0.1143727319142325E+00 0.4471021911344136E+00 0.1578394694754423E+05 + 2 74 74 RK 0.12E+01 1.00 ---- 0.6568639307030107E+02 0.2885539245428410E+00 0.1124152743894820E+00 0.4465804826089167E+00 0.1415097935635545E+05 + 2 75 75 RK 0.12E+01 1.00 ---- 0.5912577823286171E+02 0.2880653598640197E+00 0.1104718016657460E+00 0.4464541174788992E+00 0.1280590623738315E+05 + 2 76 76 RK 0.12E+01 1.00 ---- 0.5447419498604051E+02 0.2878823228397588E+00 0.1085483441016655E+00 0.4467697915543106E+00 0.1190552190298685E+05 + 2 77 77 RK 0.12E+01 1.00 ---- 0.5227424962353408E+02 0.2880364364660653E+00 0.1066542520646268E+00 0.4475651113235878E+00 0.1154625452168890E+05 + 2 78 78 RK 0.12E+01 1.00 ---- 0.5259623180494551E+02 0.2885522599727093E+00 0.1048027538595643E+00 0.4488693670815950E+00 0.1171570011473684E+05 + 2 79 79 RK 0.12E+01 1.00 ---- 0.5498528686264500E+02 0.2894451734808834E+00 0.1030099101824072E+00 0.4507010847225283E+00 0.1229763488615145E+05 + 2 80 80 RK 0.12E+01 1.00 ---- 0.5868745991220263E+02 0.2907212830702586E+00 0.1012951359550616E+00 0.4530692708400126E+00 0.1312525786880830E+05 + 2 81 81 RK 0.12E+01 1.00 ---- 0.6291254403776333E+02 0.2923750616099317E+00 0.9967818401275506E-01 0.4559688006151453E+00 0.1403039656795728E+05 + 2 82 82 RK 0.12E+01 1.00 ---- 0.6698313777284467E+02 0.2943889194785976E+00 0.9817858990219711E-01 0.4593788240648748E+00 0.1486990262732972E+05 + 2 83 83 RK 0.12E+01 1.00 ---- 0.7038731692782878E+02 0.2967295289601574E+00 0.9681362789289302E-01 0.4632557278793110E+00 0.1553778426817560E+05 + 2 84 84 RK 0.12E+01 1.00 ---- 0.7280101668978507E+02 0.2993524900280459E+00 0.9559786990577310E-01 0.4675387618127775E+00 0.1597105028943139E+05 + 2 85 85 RK 0.12E+01 1.00 ---- 0.7405325454748653E+02 0.3022038998919408E+00 0.9454146415033605E-01 0.4721518445236965E+00 0.1613925185531870E+05 + 2 86 86 RK 0.12E+01 1.00 ---- 0.7410298029190962E+02 0.3052233716475283E+00 0.9364923617427504E-01 0.4770075994336069E+00 0.1604154794882963E+05 + 2 87 87 RK 0.12E+01 1.00 ---- 0.7299473256615731E+02 0.3083448909103537E+00 0.9292002740961081E-01 0.4820072695187365E+00 0.1569438488462976E+05 + 2 88 88 RK 0.12E+01 1.00 ---- 0.7083407528028559E+02 0.3115045248389507E+00 0.9234772845933703E-01 0.4870521886363164E+00 0.1512626792410879E+05 + 2 89 89 RK 0.12E+01 1.00 ---- 0.6777558377432072E+02 0.3146405686010218E+00 0.9192137829386829E-01 0.4920438826639404E+00 0.1437565272370935E+05 + 2 90 90 RK 0.12E+01 1.00 ---- 0.6401741641149543E+02 0.3176980345208852E+00 0.9162575735578055E-01 0.4968927003504698E+00 0.1348986465199732E+05 + 2 91 91 RK 0.12E+01 1.00 ---- 0.5979989611030778E+02 0.3206271032913203E+00 0.9144109995989128E-01 0.5015141128176439E+00 0.1252498714030665E+05 + 2 92 92 RK 0.12E+01 1.00 ---- 0.5540971710999762E+02 0.3233840503052307E+00 0.9134526360896085E-01 0.5058307427094596E+00 0.1154804048482401E+05 + 2 93 93 RK 0.12E+01 1.00 ---- 0.5116717351464307E+02 0.3259302392819202E+00 0.9131526055114604E-01 0.5097715402076125E+00 0.1063232762403512E+05 + 2 94 94 RK 0.12E+01 1.00 ---- 0.4739032163994365E+02 0.3282351824028752E+00 0.9132924624870115E-01 0.5132784461578539E+00 0.9846535586593121E+04 + 2 95 95 RK 0.12E+01 1.00 ---- 0.4431912715481921E+02 0.3302755974610135E+00 0.9136774656284688E-01 0.5163061428183209E+00 0.9234550522702317E+04 + 2 96 96 RK 0.12E+01 1.00 ---- 0.4204537460070968E+02 0.3320342804140574E+00 0.9141435555220392E-01 0.5188201158677637E+00 0.8802921801695313E+04 + 2 97 97 RK 0.12E+01 1.00 ---- 0.4049263502992016E+02 0.3335001436799725E+00 0.9145510753646824E-01 0.5207974269220953E+00 0.8520918863450781E+04 + 2 98 98 RK 0.12E+01 1.00 ---- 0.3947588003996319E+02 0.3346662012055278E+00 0.9147862531571047E-01 0.5222234039032250E+00 0.8340391363009727E+04 + 2 99 99 RK 0.12E+01 1.00 ---- 0.3878081082448784E+02 0.3355282235885578E+00 0.9147552400002282E-01 0.5230895037915528E+00 0.8213663011109204E+04 +#------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- +# Grid | Iter | Iter | Iter | CFL | Step | Lin | Res rho | C_lift | C_drag | C_Mz | totalRes | +# level | | Tot | Type | | | Res | | | | | | +#------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- + 2 100 100 RK 0.12E+01 1.00 ---- 0.3826090055799707E+02 0.3360854769249247E+00 0.9143872435090253E-01 0.5233949902696331E+00 0.8114183503212884E+04 + 2 101 101 RK 0.12E+01 1.00 ---- 0.3786822222272043E+02 0.3363397961818054E+00 0.9136296562682084E-01 0.5231449774332046E+00 0.8037108371927040E+04 + 2 102 102 RK 0.12E+01 1.00 ---- 0.3764263020162442E+02 0.3362947524566249E+00 0.9124504124161391E-01 0.5223486427772309E+00 0.7996416242454628E+04 + 2 103 103 RK 0.12E+01 1.00 ---- 0.3766254549338891E+02 0.3359562645618462E+00 0.9108346213371055E-01 0.5210206926774876E+00 0.8010839989839689E+04 + 2 104 104 RK 0.12E+01 1.00 ---- 0.3797971125943368E+02 0.3353328157175854E+00 0.9087941999868179E-01 0.5191810799355836E+00 0.8088133962315117E+04 + 2 105 105 RK 0.12E+01 1.00 ---- 0.3853990706569452E+02 0.3344362677129820E+00 0.9063558687532780E-01 0.5168566177202930E+00 0.8210073388936746E+04 + 2 106 106 RK 0.12E+01 1.00 ---- 0.3921170445030999E+02 0.3332823647866275E+00 0.9035581345169104E-01 0.5140811633788189E+00 0.8346311929556296E+04 + 2 107 107 RK 0.12E+01 1.00 ---- 0.3981476504585898E+02 0.3318900131993713E+00 0.9004475346912516E-01 0.5108942182062995E+00 0.8458127978668013E+04 + 2 108 108 RK 0.12E+01 1.00 ---- 0.4013479358841231E+02 0.3302818574202999E+00 0.8970745098943822E-01 0.5073418981675034E+00 0.8500773239213071E+04 + 2 109 109 RK 0.12E+01 1.00 ---- 0.4002049743459887E+02 0.3284838463034636E+00 0.8934898851221135E-01 0.5034759583916405E+00 0.8446806706368265E+04 + 2 110 110 RK 0.12E+01 1.00 ---- 0.3940492213911103E+02 0.3265241503922980E+00 0.8897406393837390E-01 0.4993518107669450E+00 0.8287501854677312E+04 + 2 111 111 RK 0.12E+01 1.00 ---- 0.3828240345225533E+02 0.3244324347538158E+00 0.8858667032199195E-01 0.4950267402522869E+00 0.8024153040593661E+04 + 2 112 112 RK 0.12E+01 1.00 ---- 0.3669148233806899E+02 0.3222401999177419E+00 0.8819042317546291E-01 0.4905606823921108E+00 0.7665235994169347E+04 + 2 113 113 RK 0.12E+01 1.00 ---- 0.3469860166670059E+02 0.3199787036804578E+00 0.8778832159740245E-01 0.4860131384550086E+00 0.7223878650346007E+04 + 2 114 114 RK 0.12E+01 1.00 ---- 0.3238221380851346E+02 0.3176779243841730E+00 0.8738267151027569E-01 0.4814411301832009E+00 0.6716294641766796E+04 + 2 115 115 RK 0.12E+01 1.00 ---- 0.2982988268929068E+02 0.3153669038385282E+00 0.8697508286489065E-01 0.4768997429428051E+00 0.6161077640908016E+04 + 2 116 116 RK 0.12E+01 1.00 ---- 0.2714019006302283E+02 0.3130729865057071E+00 0.8656633636972030E-01 0.4724407305158798E+00 0.5580516240173255E+04 + 2 117 117 RK 0.12E+01 1.00 ---- 0.2441987759724273E+02 0.3108218881280516E+00 0.8615621664287409E-01 0.4681125168904100E+00 0.4999223501593234E+04 + 2 118 118 RK 0.12E+01 1.00 ---- 0.2178880977010722E+02 0.3086368121577183E+00 0.8574349068266614E-01 0.4639582483692568E+00 0.4446156950735640E+04 + 2 119 119 RK 0.12E+01 1.00 ---- 0.1937931287685297E+02 0.3065381354316004E+00 0.8532609403252223E-01 0.4600155199704800E+00 0.3953520407477082E+04 + 2 120 120 RK 0.12E+01 1.00 ---- 0.1732578001489285E+02 0.3045431805170953E+00 0.8490104924534188E-01 0.4563156843970852E+00 0.3552555784529068E+04 + 2 121 121 RK 0.12E+01 1.00 ---- 0.1574285316403102E+02 0.3026663092419113E+00 0.8446474018078420E-01 0.4528845149625055E+00 0.3266150644106378E+04 + 2 122 122 RK 0.12E+01 1.00 ---- 0.1468791356663498E+02 0.3009188898613398E+00 0.8401296253752155E-01 0.4497417855982685E+00 0.3098781458723972E+04 + 2 123 123 RK 0.12E+01 1.00 ---- 0.1413145829970114E+02 0.2993102464301802E+00 0.8354106927165170E-01 0.4469032334717932E+00 0.3033075715944111E+04 + 2 124 124 RK 0.12E+01 1.00 ---- 0.1397257855391802E+02 0.2978477731138296E+00 0.8304443437330798E-01 0.4443806702779970E+00 0.3039197152778863E+04 + 2 125 125 RK 0.12E+01 1.00 ---- 0.1407598691400774E+02 0.2965374604683524E+00 0.8251890847402871E-01 0.4421831055125357E+00 0.3084443895740243E+04 + 2 126 126 RK 0.12E+01 1.00 ---- 0.1431671695178841E+02 0.2953830746125036E+00 0.8196082886616132E-01 0.4403151436079373E+00 0.3143332434096490E+04 + 2 127 127 RK 0.12E+01 1.00 ---- 0.1459436799112252E+02 0.2943863992401619E+00 0.8136731147694426E-01 0.4387775342709342E+00 0.3197408796335572E+04 + 2 128 128 RK 0.12E+01 1.00 ---- 0.1483485317363467E+02 0.2935464035840266E+00 0.8073640270268007E-01 0.4375658744181325E+00 0.3234339869022440E+04 + 2 129 129 RK 0.12E+01 1.00 ---- 0.1498751937396225E+02 0.2928601741085525E+00 0.8006716128384589E-01 0.4366721000146090E+00 0.3246720199765879E+04 + 2 130 130 RK 0.12E+01 1.00 ---- 0.1502200706291652E+02 0.2923235092977799E+00 0.7935971731320481E-01 0.4360854073253602E+00 0.3231075144776809E+04 + 2 131 131 RK 0.12E+01 1.00 ---- 0.1492720301958568E+02 0.2919305812806280E+00 0.7861535280023350E-01 0.4357915656789120E+00 0.3187405353166042E+04 + 2 132 132 RK 0.12E+01 1.00 ---- 0.1470984898208418E+02 0.2916740763021331E+00 0.7783663527405099E-01 0.4357732303024967E+00 0.3119122183581143E+04 + 2 133 133 RK 0.12E+01 1.00 ---- 0.1439100275234872E+02 0.2915459644948396E+00 0.7702734566799016E-01 0.4360111468181332E+00 0.3032291776689787E+04 + 2 134 134 RK 0.12E+01 1.00 ---- 0.1400330101299635E+02 0.2915359799352109E+00 0.7619197353775622E-01 0.4364814058693302E+00 0.2935046857041380E+04 + 2 135 135 RK 0.12E+01 1.00 ---- 0.1358728364691307E+02 0.2916323902273937E+00 0.7533573927689059E-01 0.4371569599147579E+00 0.2836754406288273E+04 + 2 136 136 RK 0.12E+01 1.00 ---- 0.1318556021630294E+02 0.2918226912998442E+00 0.7446461226590247E-01 0.4380089195269108E+00 0.2746579701324381E+04 + 2 137 137 RK 0.12E+01 1.00 ---- 0.1283593809142628E+02 0.2920943476759456E+00 0.7358518297008490E-01 0.4390078433131409E+00 0.2671962726756243E+04 + 2 138 138 RK 0.12E+01 1.00 ---- 0.1256396090493591E+02 0.2924341982004776E+00 0.7270425852338647E-01 0.4401228735694084E+00 0.2617017748138808E+04 + 2 139 139 RK 0.12E+01 1.00 ---- 0.1237688624322786E+02 0.2928288939224968E+00 0.7182869953140168E-01 0.4413226249387929E+00 0.2581482675137770E+04 + 2 140 140 RK 0.12E+01 1.00 ---- 0.1226126783078974E+02 0.2932654184220029E+00 0.7096533835650884E-01 0.4425762347152726E+00 0.2560660833666254E+04 + 2 141 141 RK 0.12E+01 1.00 ---- 0.1218663121866325E+02 0.2937313465734103E+00 0.7012087671862599E-01 0.4438538550810620E+00 0.2546633653489654E+04 + 2 142 142 RK 0.12E+01 1.00 ---- 0.1211365681903980E+02 0.2942141996106739E+00 0.6930162851015671E-01 0.4451258357596566E+00 0.2530206962569635E+04 + 2 143 143 RK 0.12E+01 1.00 ---- 0.1200656414212568E+02 0.2947021110100311E+00 0.6851340861276815E-01 0.4463638819775142E+00 0.2503724689360546E+04 + 2 144 144 RK 0.12E+01 1.00 ---- 0.1184034189389447E+02 0.2951839786875404E+00 0.6776148636347192E-01 0.4475416198900035E+00 0.2462375309245962E+04 + 2 145 145 RK 0.12E+01 1.00 ---- 0.1160442728023735E+02 0.2956494663864708E+00 0.6705062996978027E-01 0.4486347311550510E+00 0.2404637599029678E+04 + 2 146 146 RK 0.12E+01 1.00 ---- 0.1130599118811291E+02 0.2960890771460171E+00 0.6638497224999962E-01 0.4496212459101486E+00 0.2332964599335682E+04 + 2 147 147 RK 0.12E+01 1.00 ---- 0.1096630220466359E+02 0.2964943893338751E+00 0.6576810214486933E-01 0.4504821988875833E+00 0.2252671094164109E+04 + 2 148 148 RK 0.12E+01 1.00 ---- 0.1061673005228278E+02 0.2968577359931711E+00 0.6520294792097850E-01 0.4512011366484321E+00 0.2171073818450344E+04 + 2 149 149 RK 0.12E+01 1.00 ---- 0.1029357721175393E+02 0.2971720980122859E+00 0.6469190386553868E-01 0.4517640342742040E+00 0.2096419227510229E+04 +#------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- +# Grid | Iter | Iter | Iter | CFL | Step | Lin | Res rho | C_lift | C_drag | C_Mz | totalRes | +# level | | Tot | Type | | | Res | | | | | | +#------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- + 2 150 150 RK 0.12E+01 1.00 ---- 0.1003149523021236E+02 0.2974311795737458E+00 0.6423680632265139E-01 0.4521595361311206E+00 0.2036480889061491E+04 + 2 151 151 RK 0.12E+01 1.00 ---- 0.9856501959136487E+01 0.2976295566236114E+00 0.6383884646094816E-01 0.4523790798417720E+00 0.1997011409164310E+04 + 2 152 152 RK 0.12E+01 1.00 ---- 0.9779356898714868E+01 0.2977624297730080E+00 0.6349876260966175E-01 0.4524165407877148E+00 0.1980241151850729E+04 + 2 153 153 RK 0.12E+01 1.00 ---- 0.9792641093708253E+01 0.2978254655534512E+00 0.6321677588324175E-01 0.4522679025661242E+00 0.1984220350186846E+04 + 2 154 154 RK 0.12E+01 1.00 ---- 0.9872589152381710E+01 0.2978150504262202E+00 0.6299257164334295E-01 0.4519316613948504E+00 0.2003319978711272E+04 + 2 155 155 RK 0.12E+01 1.00 ---- 0.9984656819047531E+01 0.2977283725111591E+00 0.6282532561511135E-01 0.4514087067158685E+00 0.2029570220114791E+04 + 2 156 156 RK 0.12E+01 1.00 ---- 0.1009083549395985E+02 0.2975632158043836E+00 0.6271370874059438E-01 0.4507019431603636E+00 0.2054350810374408E+04 + 2 157 157 RK 0.12E+01 1.00 ---- 0.1015546923533106E+02 0.2973179701720372E+00 0.6265591197214052E-01 0.4498161478006937E+00 0.2069712046505281E+04 + 2 158 158 RK 0.12E+01 1.00 ---- 0.1014921890614733E+02 0.2969916267364540E+00 0.6264967110996258E-01 0.4487577712321169E+00 0.2069241236400872E+04 + 2 159 159 RK 0.12E+01 1.00 ---- 0.1005120975045815E+02 0.2965838530118293E+00 0.6269230969716288E-01 0.4475349126811059E+00 0.2048491242469208E+04 + 2 160 160 RK 0.12E+01 1.00 ---- 0.9849961032274919E+01 0.2960949802782041E+00 0.6278075892125232E-01 0.4461571509416858E+00 0.2005123912982403E+04 + 2 161 161 RK 0.12E+01 1.00 ---- 0.9543898884486794E+01 0.2955259227652623E+00 0.6291160255923313E-01 0.4446352325945251E+00 0.1938961835338677E+04 + 2 162 162 RK 0.12E+01 1.00 ---- 0.9141118955154571E+01 0.2948782389005900E+00 0.6308111013877139E-01 0.4429810268740597E+00 0.1851929306513632E+04 +# +# Going down to grid level 1 +# +# +# Grid 1: Performing 500 iterations, unless converged earlier. Minimum required iteration before NK switch: 5. Switch to NK at totalR of: 0.28E+05 +# +#------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- +# Grid | Iter | Iter | Iter | CFL | Step | Lin | Res rho | C_lift | C_drag | C_Mz | totalRes | +# level | | Tot | Type | | | Res | | | | | | +#------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- + 1 0 0 None 0.12E+01 1.00 ---- 0.1586313256573156E+02 0.2939942607246501E+00 0.1281949727435798E+00 0.4406895245099843E+00 0.1437924380255384E+05 + 1 1 3 *NK ---- 1.00 0.222 0.5142189766855275E+01 0.3196940029653019E+00 0.5504267906740360E-01 0.4693022982773481E+00 0.3234908451386211E+04 + 1 2 8 NK ---- 1.00 0.128 0.6865341386915301E+00 0.3013990505876191E+00 0.3679917202149487E-01 0.4462364939294670E+00 0.4199507695847792E+03 + 1 3 26 NK ---- 1.00 0.034 0.8206460411489845E-01 0.2738616305146131E+00 0.2864850804810562E-01 0.4041727069181774E+00 0.5282322339552466E+02 + 1 4 53 NK ---- 1.00 0.030 0.5240595003101217E-02 0.2409834461452255E+00 0.2846035320544210E-01 0.3533296272670269E+00 0.2995902461689894E+01 + 1 5 102 NK ---- 1.00 0.009 0.1265607565757947E-03 0.2375054069744054E+00 0.2847565767249133E-01 0.3485896729643380E+00 0.4455485690368813E-01 + 1 6 164 NK ---- 1.00 0.003 0.4990243340299523E-06 0.2374467231376681E+00 0.2847584465053921E-01 0.3485114682366966E+00 0.1615688822469274E-03 + 1 7 226 NK ---- 1.00 0.003 0.1108926869754373E-08 0.2374468225230207E+00 0.2847584721454815E-01 0.3485116187827155E+00 0.4430834642774636E-06 + 1 8 288 NK ---- 1.00 0.002 0.2808983346269444E-11 0.2374468221562276E+00 0.2847584721055046E-01 0.3485116182720855E+00 0.2020433716843102E-08 + 1 9 350 NK ---- 1.00 0.001 0.3959451808994194E-13 0.2374468221564884E+00 0.2847584721054982E-01 0.3485116182725267E+00 0.1644634637545028E-08 + 1 10 353 NK ---- 1.00 0.054 0.1218371320237621E-12 0.2374468221564881E+00 0.2847584721054985E-01 0.3485116182725264E+00 0.1452654532731657E-08 + 1 11 356 NK ---- 1.00 0.051 0.1018224032800136E-12 0.2374468221564874E+00 0.2847584721054982E-01 0.3485116182725256E+00 0.1492216924607950E-08 + 1 12 359 NK ---- 1.00 0.052 0.9988297505593048E-13 0.2374468221564871E+00 0.2847584721054988E-01 0.3485116182725252E+00 0.1454559005610303E-08 + 1 13 362 NK ---- 1.00 0.047 0.9814381655853505E-13 0.2374468221564872E+00 0.2847584721054988E-01 0.3485116182725254E+00 0.1446183447710353E-08 + 1 14 365 NK ---- 1.00 0.051 0.9328234002106222E-13 0.2374468221564870E+00 0.2847584721054990E-01 0.3485116182725251E+00 0.1434513937792078E-08 + 1 15 368 NK ---- 1.00 0.053 0.9692785779852405E-13 0.2374468221564870E+00 0.2847584721054989E-01 0.3485116182725251E+00 0.1435562976864968E-08 + 1 16 372 NK ---- 0.50 0.053 0.7195002033827174E-13 0.2374468221564867E+00 0.2847584721054990E-01 0.3485116182725247E+00 0.1236950722211223E-08 + 1 17 375 NK ---- 1.00 0.053 0.8761090771304339E-13 0.2374468221564860E+00 0.2847584721054985E-01 0.3485116182725238E+00 0.1401452738912336E-08 + 1 18 378 NK ---- 1.00 0.051 0.1002574547152654E-12 0.2374468221564858E+00 0.2847584721054990E-01 0.3485116182725234E+00 0.1390332421022030E-08 + 1 19 381 NK ---- 1.00 0.053 0.9588728974020983E-13 0.2374468221564857E+00 0.2847584721054988E-01 0.3485116182725231E+00 0.1373229468160568E-08 + 1 20 384 NK ---- 1.00 0.056 0.9632370543854515E-13 0.2374468221564855E+00 0.2847584721054985E-01 0.3485116182725232E+00 0.1403965497705518E-08 + 1 21 388 *NK ---- 0.50 0.040 0.7320416544942891E-13 0.2374468221564855E+00 0.2847584721054985E-01 0.3485116182725231E+00 0.1263277951391668E-08 + 1 22 391 NK ---- 1.00 0.038 0.8544481179520412E-13 0.2374468221564857E+00 0.2847584721054984E-01 0.3485116182725235E+00 0.1387218828598887E-08 + 1 23 395 NK ---- 0.50 0.042 0.6926360127626043E-13 0.2374468221564857E+00 0.2847584721054985E-01 0.3485116182725234E+00 0.1220174956561942E-08 + 1 24 399 NK ---- 0.50 0.039 0.6945400870110092E-13 0.2374468221564858E+00 0.2847584721054988E-01 0.3485116182725235E+00 0.1152422937517268E-08 + 1 25 402 NK ---- 1.00 0.037 0.8024077445995102E-13 0.2374468221564857E+00 0.2847584721054989E-01 0.3485116182725232E+00 0.1343775923770426E-08 + 1 26 406 NK ---- 0.50 0.040 0.6548811485407392E-13 0.2374468221564858E+00 0.2847584721054986E-01 0.3485116182725233E+00 0.1230488706150317E-08 + 1 27 409 NK ---- 1.00 0.037 0.8197628478047697E-13 0.2374468221564856E+00 0.2847584721054983E-01 0.3485116182725229E+00 0.1344130034258665E-08 + 1 28 413 NK ---- 0.50 0.041 0.6973889492334968E-13 0.2374468221564855E+00 0.2847584721054985E-01 0.3485116182725229E+00 0.1160851144864141E-08 + 1 29 417 NK ---- 0.50 0.039 0.7370249614508647E-13 0.2374468221564855E+00 0.2847584721054985E-01 0.3485116182725226E+00 0.1157933359434395E-08 + 1 30 420 NK ---- 1.00 0.038 0.7838370533790819E-13 0.2374468221564850E+00 0.2847584721054985E-01 0.3485116182725220E+00 0.1320469287896695E-08 + 1 31 424 NK ---- 0.50 0.040 0.7166163917891255E-13 0.2374468221564849E+00 0.2847584721054986E-01 0.3485116182725220E+00 0.1187684476977945E-08 + 1 32 428 NK ---- 0.50 0.039 0.7362178186276444E-13 0.2374468221564848E+00 0.2847584721054986E-01 0.3485116182725219E+00 0.1151340639918159E-08 + 1 33 432 NK ---- 0.50 0.037 0.7477629936514071E-13 0.2374468221564847E+00 0.2847584721054986E-01 0.3485116182725218E+00 0.1148432279953622E-08 + 1 34 436 NK ---- 0.50 0.036 0.7497909875075409E-13 0.2374468221564847E+00 0.2847584721054985E-01 0.3485116182725218E+00 0.1190087825416461E-08 + 1 35 439 NK ---- 1.00 0.036 0.7687425860308393E-13 0.2374468221564843E+00 0.2847584721054984E-01 0.3485116182725214E+00 0.1319156951762873E-08 + 1 36 443 NK ---- 0.50 0.042 0.6747809198287968E-13 0.2374468221564842E+00 0.2847584721054985E-01 0.3485116182725213E+00 0.1166765043021356E-08 + 1 37 447 NK ---- 0.50 0.040 0.6970856689662858E-13 0.2374468221564842E+00 0.2847584721054987E-01 0.3485116182725212E+00 0.1152835021111703E-08 + 1 38 451 NK ---- 0.50 0.037 0.7085728535511584E-13 0.2374468221564841E+00 0.2847584721054986E-01 0.3485116182725212E+00 0.1155015879397021E-08 + 1 39 455 NK ---- 0.50 0.036 0.7069763993014808E-13 0.2374468221564840E+00 0.2847584721054987E-01 0.3485116182725210E+00 0.1158264232498935E-08 + 1 40 458 NK ---- 1.00 0.037 0.7384623247749311E-13 0.2374468221564835E+00 0.2847584721054987E-01 0.3485116182725205E+00 0.1294083650030446E-08 + 1 41 462 *NK ---- 0.50 0.041 0.6548811776018485E-13 0.2374468221564835E+00 0.2847584721054988E-01 0.3485116182725204E+00 0.1218698172357886E-08 + 1 42 466 NK ---- 0.50 0.037 0.6957097923918727E-13 0.2374468221564833E+00 0.2847584721054990E-01 0.3485116182725204E+00 0.1171916896270985E-08 + 1 43 470 NK ---- 0.50 0.036 0.7075784938786034E-13 0.2374468221564832E+00 0.2847584721054989E-01 0.3485116182725204E+00 0.1149600100206164E-08 + 1 44 474 NK ---- 0.50 0.036 0.7240712884363323E-13 0.2374468221564831E+00 0.2847584721054990E-01 0.3485116182725202E+00 0.1217883322865200E-08 + 1 45 478 NK ---- 0.50 0.033 0.7323305135812221E-13 0.2374468221564830E+00 0.2847584721054989E-01 0.3485116182725200E+00 0.1182860561098952E-08 + 1 46 482 NK ---- 0.50 0.034 0.7183164016521906E-13 0.2374468221564829E+00 0.2847584721054990E-01 0.3485116182725199E+00 0.1151564669486776E-08 + 1 47 486 NK ---- 0.50 0.035 0.7131945278584403E-13 0.2374468221564828E+00 0.2847584721054993E-01 0.3485116182725199E+00 0.1171015670348168E-08 + 1 48 490 NK ---- 0.50 0.035 0.6958025616501917E-13 0.2374468221564827E+00 0.2847584721054992E-01 0.3485116182725198E+00 0.1177361298896988E-08 + 1 49 494 NK ---- 0.50 0.035 0.6822996083405254E-13 0.2374468221564826E+00 0.2847584721054993E-01 0.3485116182725196E+00 0.1143428676885972E-08 +#------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- +# Grid | Iter | Iter | Iter | CFL | Step | Lin | Res rho | C_lift | C_drag | C_Mz | totalRes | +# level | | Tot | Type | | | Res | | | | | | +#------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- + 1 50 498 NK ---- 0.50 0.036 0.6877098816554671E-13 0.2374468221564825E+00 0.2847584721054991E-01 0.3485116182725195E+00 0.1180864068032649E-08 + 1 51 502 NK ---- 0.50 0.034 0.7047283737432806E-13 0.2374468221564824E+00 0.2847584721054993E-01 0.3485116182725195E+00 0.1170495297708689E-08 ++-------------------------------------------------+ +| +| Solution Timings: +| +| Set AeroProblem Time : 0.003 sec +| Solution Time : 16.439 sec +| Write Solution Time : 0.000 sec +| Stability Parameter Time : 0.000 sec +| +| Total Call Time : 16.442 sec ++--------------------------------------------------+ +-> Alpha... 1.800000 ++---------------------------------------------------+ +| +| Function Timings: +| +| Function AeroProblem Time : 0.001 sec +| Function Evaluation Time : 0.000 sec +| User Function Evaluation Time : 0.000 sec +| +| Total Function Evaluation Time: 0.001 sec ++--------------------------------------------------+ +-> Alpha... 1.800000 +Solving adjoint: cl +-> Alpha... 1.800000 +Solving ADjoint Transpose with PETSc... + 0 KSP Residual norm 0.3290708197E+01 + 10 KSP Residual norm 0.5806540821E+00 + 20 KSP Residual norm 0.2811958383E-01 + 30 KSP Residual norm 0.1996146330E-02 + 40 KSP Residual norm 0.2671303924E-03 + 50 KSP Residual norm 0.6546779579E-04 + 60 KSP Residual norm 0.5328570354E-05 + 70 KSP Residual norm 0.3583735456E-06 + 80 KSP Residual norm 0.2963036772E-07 + 90 KSP Residual norm 0.4112039487E-08 + 100 KSP Residual norm 0.4259437467E-09 + 110 KSP Residual norm 0.9781669257E-10 + 120 KSP Residual norm 0.2486100739E-10 + 130 KSP Residual norm 0.2366951651E-11 + 140 KSP Residual norm 0.3420521222E-12 + 150 KSP Residual norm 0.3634661571E-13 + 160 KSP Residual norm 0.3817960600E-14 +Solving ADjoint Transpose with PETSc time (s) = 0.00 + Norm of error = 0.6505E-14 Iterations = 161 + ------------------------------------------------ + PETSc solver converged after 161 iterations. + ------------------------------------------------ +Solving adjoint: cmz +-> Alpha... 1.800000 +Solving ADjoint Transpose with PETSc... + 0 KSP Residual norm 0.4915027594E+01 + 10 KSP Residual norm 0.7550767784E+00 + 20 KSP Residual norm 0.3902103909E-01 + 30 KSP Residual norm 0.3020799068E-02 + 40 KSP Residual norm 0.3734200952E-03 + 50 KSP Residual norm 0.8280820279E-04 + 60 KSP Residual norm 0.5971011866E-05 + 70 KSP Residual norm 0.4837625734E-06 + 80 KSP Residual norm 0.4084192585E-07 + 90 KSP Residual norm 0.5371854616E-08 + 100 KSP Residual norm 0.6699836718E-09 + 110 KSP Residual norm 0.1488603255E-09 + 120 KSP Residual norm 0.2460474258E-10 + 130 KSP Residual norm 0.3233637064E-11 + 140 KSP Residual norm 0.5893979061E-12 + 150 KSP Residual norm 0.5400911245E-13 + 160 KSP Residual norm 0.6071935582E-14 +Solving ADjoint Transpose with PETSc time (s) = 0.00 + Norm of error = 0.8535E-14 Iterations = 162 + ------------------------------------------------ + PETSc solver converged after 162 iterations. + ------------------------------------------------ +Solving adjoint: drag +-> Alpha... 1.800000 +Solving ADjoint Transpose with PETSc... + 0 KSP Residual norm 0.2706128851E+04 + 10 KSP Residual norm 0.2695194586E+02 + 20 KSP Residual norm 0.2185638151E+01 + 30 KSP Residual norm 0.1035669835E+00 + 40 KSP Residual norm 0.7747575663E-02 + 50 KSP Residual norm 0.1068113449E-02 + 60 KSP Residual norm 0.1043706101E-03 + 70 KSP Residual norm 0.1019931885E-04 + 80 KSP Residual norm 0.9240103135E-06 + 90 KSP Residual norm 0.1029693971E-06 + 100 KSP Residual norm 0.1536011276E-07 + 110 KSP Residual norm 0.4778596233E-08 + 120 KSP Residual norm 0.8789134998E-09 + 130 KSP Residual norm 0.1054008833E-09 + 140 KSP Residual norm 0.1267043976E-10 +Solving ADjoint Transpose with PETSc time (s) = 0.00 + Norm of error = 0.2715E-11 Iterations = 147 + ------------------------------------------------ + PETSc solver converged after 147 iterations. + ------------------------------------------------ ++--------------------------------------------------+ +| +| Adjoint Times: +| +| Adjoint Solve Time - cl : 15.135 sec +| Total Sensitivity Time - cl : 0.220 sec +| Adjoint Solve Time - cmz : 14.948 sec +| Total Sensitivity Time - cmz : 0.177 sec +| Adjoint Solve Time - drag : 13.799 sec +| Total Sensitivity Time - drag : 0.188 sec +| +| Complete Sensitivity Time : 44.468 sec ++--------------------------------------------------+ +funcs[cl]: +@value 2.3744682215648e-01 1e-10 1e-10 +funcs[cmz]: +@value 3.4851161827252e-01 1e-10 1e-10 +funcs[drag]: +@value 3.1060271493750e+01 1e-10 1e-10 +Twist[0] Derivatives: +@value -5.0806096569125e-02 1e-10 1e-10 +@value -5.6834854407311e-02 1e-10 1e-10 +@value -1.4790229352929e+00 1e-10 1e-10 +Span Derivatives: +@value 2.2427766290681e-02 1e-10 1e-10 +@value 3.1533720396655e-02 1e-10 1e-10 +@value 2.3145344064934e+00 1e-10 1e-10 +shape[13] Derivatives: +@value 3.9470623257592e-02 1e-10 1e-10 +@value 4.6394333008086e-02 1e-10 1e-10 +@value 1.2665576606973e+00 1e-10 1e-10 diff --git a/python/reg_tests/ref_cs/adflow_test9_reg.ref b/python/reg_tests/ref_cs/adflow_test9_reg.ref new file mode 100644 index 000000000..bd47e7596 --- /dev/null +++ b/python/reg_tests/ref_cs/adflow_test9_reg.ref @@ -0,0 +1,938 @@ ++------------------------------------------------------------------------------+ +| MDO tutorial RANS Geometric Variables with IDWarp | ++------------------------------------------------------------------------------+ +# +# ADflow, multiblock structured flow solver +# +# This code solves the 3D RANS, laminar NS or Euler equations +# on multiblock structured hexahedral grids. +# This is a parallel executable running on 4 processors. +# It has been compiled with the following options: +# - Optimized mode. +# - Size of standard integers: 4 bytes. +# - Size of standard floating point types: 8 bytes. +# - With cgns support +# - With support for signals. +# ++---------------------------------------+ +| All ADFLOW Options: | ++---------------------------------------+ +{'adjointdivtol': 100000.0, + 'adjointl2convergence': 1e-16, + 'adjointl2convergenceabs': 1e-16, + 'adjointl2convergencerel': 1e-16, + 'adjointmaxiter': 500, + 'adjointmonitorstep': 10, + 'adjointsolver': 'gmres', + 'adjointsubspacesize': 100, + 'adpc': False, + 'agmglevels': 1, + 'agmgnsmooth': 3, + 'alphafollowing': True, + 'alphamode': False, + 'altitudemode': False, + 'ankadpc': False, + 'ankasmoverlap': 1, + 'ankcfl0': 5.0, + 'ankcflcutback': 0.5, + 'ankcflexponent': 0.5, + 'ankcflfactor': 10.0, + 'ankcfllimit': 100000.0, + 'ankcflmin': 1.0, + 'ankconstcflstep': 0.4, + 'ankcoupledswitchtol': 1e-16, + 'ankinnerpreconits': 1, + 'ankjacobianlag': 20, + 'anklinearsolvetol': 0.5, + 'anklinresmax': 0.9, + 'ankmaxiter': 40, + 'anknsubiterturb': 1, + 'ankouterpreconits': 1, + 'ankpcilufill': 1, + 'ankpcupdatetol': 0.5, + 'ankphysicallstol': 0.2, + 'ankphysicallstolturb': 0.99, + 'anksecondordswitchtol': 1e-16, + 'ankstepfactor': 1.0, + 'ankstepmin': 0.01, + 'anksubspacesize': 5, + 'ankswitchtol': 0.01, + 'ankturbcflscale': 1.0, + 'ankturbkspdebug': False, + 'ankunsteadylstol': 1.0, + 'ankusefullvisc': True, + 'ankusematrixfree': True, + 'ankuseturbdadi': True, + 'applyadjointpcsubspacesize': 20, + 'applypcsubspacesize': 10, + 'approxpc': True, + 'asmoverlap': 1, + 'autoadjointretry': False, + 'autosolveretry': False, + 'backgroundvolscale': 1.0, + 'betamode': False, + 'blocksplitting': True, + 'cavitationnumber': 1.4, + 'cfl': 1.5, + 'cflcoarse': 1.25, + 'cfllimit': 1.5, + 'closedsurfacefamilies': None, + 'coarsediscretization': 'central plus scalar dissipation', + 'computecavitation': False, + 'coupledsolution': False, + 'cutcallback': None, + 'debugzipper': False, + 'deltat': 0.01, + 'designsurfacefamily': None, + 'discretization': 'central plus scalar dissipation', + 'dissipationlumpingparameter': 6.0, + 'dissipationscalingexponent': 0.67, + 'eddyvisinfratio': 0.009, + 'equationmode': 'steady', + 'equationtype': 'RANS', + 'eulerwalltreatment': 'linear pressure extrapolation', + 'firstrun': True, + 'flowtype': 'external', + 'forcesastractions': True, + 'frozenturbulence': False, + 'globalpreconditioner': 'additive schwartz', + 'gridfile': '../inputFiles/mdo_tutorial_rans.cgns', + 'gridprecision': 'double', + 'gridprecisionsurface': 'single', + 'ilufill': 2, + 'infchangecorrection': False, + 'innerpreconits': 1, + 'isosurface': {}, + 'isovariables': [], + 'l2convergence': 1e-17, + 'l2convergencecoarse': 0.01, + 'l2convergencerel': 1e-16, + 'liftindex': 2, + 'limiter': 'vanalbeda', + 'loadbalanceiter': 10, + 'loadimbalance': 0.1, + 'localpreconditioner': 'ilu', + 'lowspeedpreconditioner': False, + 'machmode': False, + 'matrixordering': 'rcm', + 'maxl2deviationfactor': 1.0, + 'meshsurfacefamily': None, + 'mgcycle': '2w', + 'mgstartlevel': -1, + 'monitorvariables': ['resrho', + 'resturb', + 'cl', + 'cd', + 'cmz', + 'yplus', + 'totalr'], + 'ncycles': 750, + 'ncyclescoarse': 250, + 'nearwalldist': 0.1, + 'nkadpc': False, + 'nkasmoverlap': 1, + 'nkcfl0': 1000000000000.0, + 'nkfixedstep': 0.25, + 'nkinnerpreconits': 1, + 'nkjacobianlag': 2, + 'nklinearsolvetol': 0.3, + 'nkls': 'non monotone', + 'nkouterpreconits': 1, + 'nkpcilufill': 2, + 'nksubspacesize': 60, + 'nkswitchtol': 0.0001, + 'nkuseew': True, + 'nkviscpc': False, + 'nrefine': 10, + 'nrkreset': 5, + 'nsavesurface': 1, + 'nsavevolume': 1, + 'nsubiter': 3, + 'nsubiterturb': 3, + 'ntimestepscoarse': 48, + 'ntimestepsfine': 400, + 'numbersolutions': True, + 'outerpreconits': 3, + 'outputdirectory': './', + 'outputsurfacefamily': 'allSurfaces', + 'overlapfactor': 0.9, + 'oversetloadbalance': True, + 'oversetpriority': {}, + 'oversetprojtol': 1e-12, + 'oversetupdatemode': 'frozen', + 'partitionlikenproc': -1, + 'partitiononly': False, + 'pmode': False, + 'preconditionerside': 'right', + 'printiterations': True, + 'printtiming': True, + 'printwarnings': True, + 'qmode': False, + 'resaveraging': 'alternateresaveraging', + 'restartadjoint': True, + 'restartfile': None, + 'restrictionrelaxation': 0.8, + 'rkreset': False, + 'rmode': False, + 'selfzipcutoff': 120.0, + 'sepsensoroffset': 0.0, + 'sepsensorsharpness': 10.0, + 'setmonitor': True, + 'skipafterfailedadjoint': True, + 'smoother': 'dadi', + 'smoothparameter': 1.5, + 'solutionprecision': 'double', + 'solutionprecisionsurface': 'single', + 'storerindlayer': True, + 'surfacevariables': ['cp', 'vx', 'vy', 'vz', 'mach'], + 'timeaccuracy': 2, + 'timeintegrationscheme': 'bdf', + 'timeintervals': 1, + 'timelimit': -1.0, + 'tsstability': False, + 'turbresscale': 10000.0, + 'turbulencemodel': 'sa', + 'turbulenceorder': 'first order', + 'turbulenceproduction': 'strain', + 'useale': True, + 'useanksolver': False, + 'useapproxwalldistance': True, + 'useblockettes': True, + 'usediagtspc': True, + 'useft2sa': True, + 'usegridmotion': False, + 'uselinresmonitor': False, + 'usematrixfreedrdw': True, + 'usenksolver': True, + 'useoversetwallscaling': False, + 'useqcr': False, + 'userotationsa': False, + 'usewallfunctions': False, + 'usezippermesh': True, + 'verifyextra': True, + 'verifyspatial': True, + 'verifystate': True, + 'vis2': 0.25, + 'vis2coarse': 0.5, + 'vis4': 0.0156, + 'viscoussurfacevelocities': True, + 'viscpc': False, + 'viscwalltreatment': 'constant pressure extrapolation', + 'volumevariables': [], + 'walldistcutoff': 1e+20, + 'windaxis': False, + 'writesurfacesolution': True, + 'writetecplotsurfacesolution': False, + 'writevolumesolution': True, + 'zippersurfacefamily': None} +-> Alpha... 0.000000 +# +# Warning +# Conversion factor from grid units to meter not specified and some blocks +# do not have units. It is assumed that the grid is given in meters. +# +# +# Warning +# Specified load imbalance tolerance 0.100 not achieved. +# I continue with 0.111 load imbalance for the cells and 0.096 for the faces +# +# +# Grid level: 1, Total number of cells: 24192 +# +# +# Grid level: 2, Total number of cells: 3024 +# ++--------------------------------------------------+ + CGNS Surface Families by Boundary Condition Type ++--------------------------------------------------+ +| Wall Types : wall +| Inflow Types : +| Outflow Types : +| Symmetry Types : sym +| Farfield Types : far +| Oveset Types : ++--------------------------------------------------+ ++--------------------------------------------------+ +| +| Initialization Times: +| +| Library Load Time : 0.015 sec +| Set Defaults Time : 0.000 sec +| Base class init Time : 0.001 sec +| Introductory Time : 0.006 sec +| Partitioning Time : 0.008 sec +| Preprocessing Time : 0.097 sec +| Family Setup Time : 0.000 sec +| Cut callback Time : 0.000 sec +| Overset Preprocessing Time : 0.000 sec +| Initialize Flow Time : 0.002 sec +| +| Total Init Time : 0.130 sec ++--------------------------------------------------+ ++---------------------------------------+ +| All IDWarp Options: | ++---------------------------------------+ +{'LdefFact': 1.0, + 'aExp': 3.0, + 'alpha': 0.25, + 'bExp': 5.0, + 'bucketSize': 8, + 'cornerAngle': 30.0, + 'errTol': 0.0005, + 'evalMode': 'fast', + 'fileType': 'cgns', + 'gridFile': '../inputFiles/mdo_tutorial_rans.cgns', + 'restartFile': None, + 'specifiedSurfaces': None, + 'symmTol': 1e-06, + 'symmetryPlanes': None, + 'symmetrySurfaces': None, + 'useRotations': True, + 'zeroCornerRotations': True} + -> Reading CGNS File: ../inputFiles/mdo_tutorial_rans.cgns + -> Number of Zones: 9 +#------------------------------# + Total Volume Nodes : 30375 +#------------------------------# ++-------------------- Symmetry Planes -------------------+ +| Point Normal | +| ( 0.000 0.000 0.000) ( 0.000 0.000 -1.000) | ++--------------------------------------------------------+ +#--------------------------------# + Unique Surface Nodes : 1031 +#--------------------------------# + Computing Denomenator Estimate... + Load Balancing... + Finished Mesh Initialization. ++----------------------------------------------------------------------+ +| Switching to Aero Problem: mdo_tutorial | ++----------------------------------------------------------------------+ + ++------------------------------------------------------------------------------+ +| pyADFLOW Warning: 'zipperSurfaceFamily' option was not given. Using all wall | +| boundary conditions for the zipper mesh. | ++------------------------------------------------------------------------------+ + +-> Alpha... 1.800000 +-> Alpha... 1.800000 ++---------------------------------------+ +| All Modified ADFLOW Options: | ++---------------------------------------+ +{'adjointl2convergence': 1e-16, + 'ankjacobianlag': 20, + 'anklinearsolvetol': 0.5, + 'ankpcilufill': 1, + 'anksubspacesize': 5, + 'ankswitchtol': 0.01, + 'cfl': 1.5, + 'cflcoarse': 1.25, + 'equationtype': 'RANS', + 'gridfile': '../inputFiles/mdo_tutorial_rans.cgns', + 'l2convergence': 1e-17, + 'mgcycle': '2w', + 'monitorvariables': ['resrho', + 'resturb', + 'cl', + 'cd', + 'cmz', + 'yplus', + 'totalr'], + 'ncycles': 750, + 'ncyclescoarse': 250, + 'nkcfl0': 1000000000000.0, + 'nkjacobianlag': 2, + 'nkls': 'non monotone', + 'nkswitchtol': 0.0001, + 'nsubiter': 3, + 'nsubiterturb': 3, + 'smoother': 'dadi', + 'solutionprecision': 'double', + 'turbresscale': 10000.0, + 'usenksolver': True, + 'volumevariables': []} +# +# Grid 2: Performing 250 iterations, unless converged earlier. Minimum required iteration before NK switch: 5. Switch to NK at totalR of: 0.00E+00 +# +#--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- +# Grid | Iter | Iter | Iter | CFL | Step | Lin | Res rho | Res nuturb | C_lift | C_drag | C_Mz | totalRes | Y+_max | +# level | | Tot | Type | | | Res | | | | | | | | +#--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- + 2 0 0 None 0.00E+00 1.00 ---- 0.1513440382522495E+04 0.3815387282429771E-03 0.1578109260928783E-03 0.1709449927323409E-01 0.9762899498536157E-03 0.3481606255203524E+06 0.1748961152388304E+02 + 2 1 1 DADI 0.12E+01 1.00 ---- 0.1413269979672316E+04 0.6160338517953756E-04 0.7592759255894894E-01 0.9017973884215061E-01 0.1329116086486331E+00 0.3218434459578061E+06 0.1725613628342086E+02 + 2 2 2 DADI 0.12E+01 1.00 ---- 0.1251215883495068E+04 0.4258014882843232E-04 0.1385131800859735E+00 0.1528247754819996E+00 0.2402093874172950E+00 0.2863499641004335E+06 0.1713221822152456E+02 + 2 3 3 DADI 0.12E+01 1.00 ---- 0.1040653497454679E+04 0.3835728903571301E-04 0.1833805330478940E+00 0.2033360310266307E+00 0.3157308911033350E+00 0.2413594187243270E+06 0.1750081387953273E+02 + 2 4 4 DADI 0.12E+01 1.00 ---- 0.7978918611332916E+03 0.4273790817792443E-04 0.2089556718061979E+00 0.2397390511210034E+00 0.3577067812402132E+00 0.1896716240445063E+06 0.1768153917604683E+02 + 2 5 5 DADI 0.12E+01 1.00 ---- 0.5479719485544642E+03 0.5083573892897696E-04 0.2160498891995027E+00 0.2612684959382239E+00 0.3684178984009929E+00 0.1367955069458325E+06 0.1763996724636432E+02 + 2 6 6 DADI 0.12E+01 1.00 ---- 0.3452171387109681E+03 0.6134607905622877E-04 0.2075104963652457E+00 0.2685744778084600E+00 0.3532951133878486E+00 0.9481015256389983E+05 0.1737901901064474E+02 + 2 7 7 DADI 0.12E+01 1.00 ---- 0.2924653495693285E+03 0.1279858138386790E-03 0.1882693185262551E+00 0.2637731832513781E+00 0.3208265980393242E+00 0.8433511259918005E+05 0.1690475076434026E+02 + 2 8 8 DADI 0.12E+01 1.00 ---- 0.3867707551371265E+03 0.5657656284375996E-04 0.1645460019277004E+00 0.2500792822230572E+00 0.2813592713464550E+00 0.1060272649134927E+06 0.1628225543554247E+02 + 2 9 9 DADI 0.12E+01 1.00 ---- 0.4910945060730776E+03 0.2847769543774002E-04 0.1417372441271389E+00 0.2308241386864145E+00 0.2435479012028624E+00 0.1317003926419682E+06 0.1560967916042822E+02 + 2 10 10 DADI 0.12E+01 1.00 ---- 0.5476782650897244E+03 0.1459642213598886E-04 0.1242832618069314E+00 0.2099820537868423E+00 0.2145448480586855E+00 0.1456778761412016E+06 0.1537458475767562E+02 + 2 11 11 DADI 0.12E+01 1.00 ---- 0.5514300032943647E+03 0.2487460573029003E-04 0.1146046646629560E+00 0.1907753447206439E+00 0.1982734547882138E+00 0.1454988889875150E+06 0.1519967767157507E+02 + 2 12 12 DADI 0.12E+01 1.00 ---- 0.5085996684079399E+03 0.3405658702222285E-04 0.1128468752420446E+00 0.1750465298754876E+00 0.1949987435688841E+00 0.1324958687761958E+06 0.1508202945739748E+02 + 2 13 13 DADI 0.12E+01 1.00 ---- 0.4288435120371968E+03 0.3952955393166967E-04 0.1175335069244972E+00 0.1635575138669954E+00 0.2023620058761176E+00 0.1096550782617189E+06 0.1500427502144801E+02 + 2 14 14 DADI 0.12E+01 1.00 ---- 0.3273039836305222E+03 0.4173233887508852E-04 0.1262158134315262E+00 0.1565760020426087E+00 0.2164032218085852E+00 0.8169476899626822E+05 0.1494658919518209E+02 + 2 15 15 DADI 0.12E+01 1.00 ---- 0.2248886390337151E+03 0.7977083691420546E-04 0.1362436122014379E+00 0.1533009675007020E+00 0.2327923765171906E+00 0.5460987003844800E+05 0.1498683670408542E+02 + 2 16 16 DADI 0.12E+01 1.00 ---- 0.1486504308321434E+03 0.1457597071594512E-04 0.1453333414144813E+00 0.1525050464357408E+00 0.2478199092454405E+00 0.3564411878387390E+05 0.1511022861538267E+02 + 2 17 17 DADI 0.12E+01 1.00 ---- 0.1274595457569792E+03 0.2204659739531113E-04 0.1519757133246122E+00 0.1528564414917321E+00 0.2590460290720599E+00 0.3154328694580372E+05 0.1521415866650372E+02 + 2 18 18 DADI 0.12E+01 1.00 ---- 0.1413211565360431E+03 0.2685097190228494E-04 0.1556147021377359E+00 0.1531216017086056E+00 0.2656282236558799E+00 0.3536295484748290E+05 0.1530234780589676E+02 + 2 19 19 DADI 0.12E+01 1.00 ---- 0.1490549841406154E+03 0.2726176622475214E-04 0.1565695985610453E+00 0.1522026744333586E+00 0.2681196010910404E+00 0.3687956033487767E+05 0.1537767192149925E+02 + 2 20 20 DADI 0.12E+01 1.00 ---- 0.1429552444805034E+03 0.2513777684786186E-04 0.1557135675025471E+00 0.1494168001401203E+00 0.2679470615606285E+00 0.3478576253449872E+05 0.1544225417275893E+02 + 2 21 21 DADI 0.12E+01 1.00 ---- 0.1355187011139159E+03 0.2273685297524123E-04 0.1541555123873951E+00 0.1445527333857510E+00 0.2668754516967159E+00 0.3245595944170108E+05 0.1549719054526420E+02 + 2 22 22 DADI 0.12E+01 1.00 ---- 0.1432603738585954E+03 0.1445130489304525E-04 0.1529420673731016E+00 0.1377944991701938E+00 0.2665391355341679E+00 0.3408599916489672E+05 0.1554222163553249E+02 + 2 23 23 DADI 0.12E+01 1.00 ---- 0.1658517723282611E+03 0.1206521230052556E-04 0.1528084649847748E+00 0.1296228447552724E+00 0.2680434999508371E+00 0.3949013705244746E+05 0.1557674511273998E+02 + 2 24 24 DADI 0.12E+01 1.00 ---- 0.1896146688363087E+03 0.1225830760981552E-04 0.1540670158043224E+00 0.1206283796117379E+00 0.2718181871011532E+00 0.4512343259824693E+05 0.1559952011071329E+02 + 2 25 25 DADI 0.12E+01 1.00 ---- 0.2043440882632675E+03 0.1172756246121026E-04 0.1566584067104502E+00 0.1113682850516836E+00 0.2776919761295678E+00 0.4844329094504990E+05 0.1560903422449287E+02 + 2 26 26 DADI 0.12E+01 1.00 ---- 0.2067671141063947E+03 0.1206184163398152E-04 0.1602507447138357E+00 0.1022338494254841E+00 0.2850740612970221E+00 0.4870121790622389E+05 0.1560396838465346E+02 + 2 27 27 DADI 0.12E+01 1.00 ---- 0.1981302738083997E+03 0.1123944005437596E-04 0.1644212832588480E+00 0.9345770078278996E-01 0.2932334019448485E+00 0.4628087560813929E+05 0.1558361274538910E+02 + 2 28 28 DADI 0.12E+01 1.00 ---- 0.1822827185334750E+03 0.1104687687643332E-04 0.1687642129556503E+00 0.8515337925907848E-01 0.3014814304444299E+00 0.4218941438531298E+05 0.1554759954563206E+02 + 2 29 29 DADI 0.12E+01 1.00 ---- 0.1642235223272822E+03 0.1142297407373987E-04 0.1729828490947058E+00 0.7736963807920784E-01 0.3093289105443252E+00 0.3767107291106209E+05 0.1549609587076182E+02 + 2 30 30 DADI 0.12E+01 1.00 ---- 0.1485751737824307E+03 0.1278198680700076E-04 0.1769449259878181E+00 0.7005193742720774E-01 0.3165704282421729E+00 0.3381873064334073E+05 0.1542964560999738E+02 + 2 31 31 DADI 0.12E+01 1.00 ---- 0.1377157856347476E+03 0.1349915264991283E-04 0.1806696378755002E+00 0.6311521875125400E-01 0.3232569473985125E+00 0.3114479714286847E+05 0.1534900828805739E+02 + 2 32 32 DADI 0.12E+01 1.00 ---- 0.1310029408639535E+03 0.1271375085998060E-04 0.1842862122608492E+00 0.5647447823002703E-01 0.3296235780325397E+00 0.2944351758532154E+05 0.1525520963430287E+02 + 2 33 33 DADI 0.12E+01 1.00 ---- 0.1258381818715127E+03 0.1004440933745016E-04 0.1879742646385217E+00 0.5007296709139557E-01 0.3359844939871304E+00 0.2808198778798469E+05 0.1514930419968415E+02 + 2 34 34 DADI 0.12E+01 1.00 ---- 0.1198566796403822E+03 0.1077412993223079E-04 0.1919074631133183E+00 0.4390128606829299E-01 0.3426376217775000E+00 0.2651502457639849E+05 0.1503245466323475E+02 + 2 35 35 DADI 0.12E+01 1.00 ---- 0.1118638729262184E+03 0.1279378526287491E-04 0.1962118978622884E+00 0.3801173004946577E-01 0.3497956764844513E+00 0.2449648338019838E+05 0.1490604160525556E+02 + 2 36 36 DADI 0.12E+01 1.00 ---- 0.1017147243993281E+03 0.1170771171047885E-04 0.2009528911871251E+00 0.3252428771614720E-01 0.3575636053508615E+00 0.2204647655673879E+05 0.1477179140711450E+02 + 2 37 37 DADI 0.12E+01 1.00 ---- 0.9006013398031243E+02 0.1333413695340749E-04 0.2061318091869255E+00 0.2761718452859581E-01 0.3659372068659619E+00 0.1937742975497336E+05 0.1463179676452266E+02 + 2 38 38 DADI 0.12E+01 1.00 ---- 0.7857916853107699E+02 0.8112534102528934E-04 0.2116964252482118E+00 0.2350928682142532E-01 0.3748263994903686E+00 0.1691316318931948E+05 0.1448886149545368E+02 + 2 39 39 DADI 0.12E+01 1.00 ---- 0.7036921539639015E+02 0.1935092384760103E-04 0.2175692106598895E+00 0.2043162127906943E-01 0.3841067894363326E+00 0.1531453628284603E+05 0.1434602462133283E+02 + 2 40 40 DADI 0.12E+01 1.00 ---- 0.6933294513338764E+02 0.6887809040721123E-04 0.2236702346999687E+00 0.1860106504011983E-01 0.3936564664287314E+00 0.1528494864641237E+05 0.1420627141665814E+02 + 2 41 41 DADI 0.12E+01 1.00 ---- 0.7699982237088112E+02 0.1336622264941727E-04 0.2299210906582654E+00 0.1818843343536576E-01 0.4033638124122286E+00 0.1698063301334544E+05 0.1407215687493744E+02 + 2 42 42 DADI 0.12E+01 1.00 ---- 0.9072068741705638E+02 0.1217827642600196E-04 0.2362541256128747E+00 0.1928985086811767E-01 0.4131429617135446E+00 0.1982869563420194E+05 0.1394588033837888E+02 + 2 43 43 DADI 0.12E+01 1.00 ---- 0.1063605974980744E+03 0.1109164969804428E-04 0.2426300854916119E+00 0.2190070835841815E-01 0.4229634610412346E+00 0.2304555155392309E+05 0.1382865156427026E+02 + 2 44 44 DADI 0.12E+01 1.00 ---- 0.1204839097051814E+03 0.9969684210249844E-04 0.2490172539810063E+00 0.2589112855758608E-01 0.4328103529574115E+00 0.2597940428435666E+05 0.1372037276621396E+02 + 2 45 45 DADI 0.12E+01 1.00 ---- 0.1309134331052739E+03 0.9252481514473597E-05 0.2553884297982675E+00 0.3103893773241967E-01 0.4426726282377720E+00 0.2819937354879084E+05 0.1362002022399509E+02 + 2 46 46 DADI 0.12E+01 1.00 ---- 0.1365573985721313E+03 0.8659353145361991E-05 0.2617139723463259E+00 0.3705444363112162E-01 0.4525340953355076E+00 0.2947267268783268E+05 0.1352588967433823E+02 + 2 47 47 DADI 0.12E+01 1.00 ---- 0.1371701137700654E+03 0.1932088604515066E-04 0.2679606040667804E+00 0.4360291368181352E-01 0.4623659107348603E+00 0.2972709120917825E+05 0.1343585721392210E+02 + 2 48 48 DADI 0.12E+01 1.00 ---- 0.1331591222857429E+03 0.1655021660598367E-04 0.2740987451569553E+00 0.5032226113471738E-01 0.4721285984127971E+00 0.2902044593217731E+05 0.1334768661801482E+02 + 2 49 49 DADI 0.12E+01 1.00 ---- 0.1254340295956269E+03 0.9088094334615991E-05 0.2800918856928198E+00 0.5687540028336154E-01 0.4817545735533840E+00 0.2751627290755680E+05 0.1326994488896332E+02 +#--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- +# Grid | Iter | Iter | Iter | CFL | Step | Lin | Res rho | Res nuturb | C_lift | C_drag | C_Mz | totalRes | Y+_max | +# level | | Tot | Type | | | Res | | | | | | | | +#--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- + 2 50 50 DADI 0.12E+01 1.00 ---- 0.1151999642532922E+03 0.8767975861034124E-05 0.2859142014999593E+00 0.6296401677263287E-01 0.4911767802241532E+00 0.2544509201398161E+05 0.1322064412422270E+02 + 2 51 51 DADI 0.12E+01 1.00 ---- 0.1037691544602754E+03 0.8341019080051673E-05 0.2915503356667449E+00 0.6834388174340059E-01 0.5003358749922144E+00 0.2306666626078837E+05 0.1317360983931660E+02 + 2 52 52 DADI 0.12E+01 1.00 ---- 0.9236278141184249E+02 0.9229134323742890E-05 0.2970125361880332E+00 0.7284168753272281E-01 0.5092096346603168E+00 0.2062930105637453E+05 0.1312898680877569E+02 + 2 53 53 DADI 0.12E+01 1.00 ---- 0.8194561276569709E+02 0.9937319059008338E-05 0.3023442113680337E+00 0.7636429625275604E-01 0.5178211307804214E+00 0.1833740518198361E+05 0.1308700021590539E+02 + 2 54 54 DADI 0.12E+01 1.00 ---- 0.7312575769117019E+02 0.9231116264070523E-05 0.3075946631664089E+00 0.7889703874631013E-01 0.5262083808657642E+00 0.1633435717552304E+05 0.1304788305204102E+02 + 2 55 55 DADI 0.12E+01 1.00 ---- 0.6613637464979873E+02 0.8777040314459305E-05 0.3128112036630740E+00 0.8049570722008817E-01 0.5344195718632594E+00 0.1469763702596956E+05 0.1301178682581997E+02 + 2 56 56 DADI 0.12E+01 1.00 ---- 0.6090583256923541E+02 0.7348322690338506E-05 0.3180220987769446E+00 0.8127037154853314E-01 0.5424915684099290E+00 0.1344550641163932E+05 0.1297857142633702E+02 + 2 57 57 DADI 0.12E+01 1.00 ---- 0.5717459792954163E+02 0.6719133006610393E-05 0.3232317786297200E+00 0.8136089519594965E-01 0.5504373709365078E+00 0.1255006596200084E+05 0.1294831752637607E+02 + 2 58 58 DADI 0.12E+01 1.00 ---- 0.5459017244061525E+02 0.6645785642255801E-05 0.3284240136544586E+00 0.8091392996049025E-01 0.5582482382046523E+00 0.1194858647356562E+05 0.1292152900793120E+02 + 2 59 59 DADI 0.12E+01 1.00 ---- 0.5275859108520565E+02 0.6402428163480069E-05 0.3335653712713841E+00 0.8006250207016137E-01 0.5658948036694490E+00 0.1155197578177205E+05 0.1289866820566854E+02 + 2 60 60 DADI 0.12E+01 1.00 ---- 0.5128540022971795E+02 0.6312719693063482E-05 0.3386140368983661E+00 0.7891227845538143E-01 0.5733376949840534E+00 0.1126008890037069E+05 0.1287960917180132E+02 + 2 61 61 DADI 0.12E+01 1.00 ---- 0.4987270020972922E+02 0.6279858846871713E-05 0.3435293087134786E+00 0.7753444509967863E-01 0.5805382100985143E+00 0.1099233245870006E+05 0.1286417138039103E+02 + 2 62 62 DADI 0.12E+01 1.00 ---- 0.4839083107531899E+02 0.6379175885733620E-05 0.3482762925021741E+00 0.7596605890306343E-01 0.5874641153834759E+00 0.1070963205368224E+05 0.1286252748652872E+02 + 2 63 63 DADI 0.12E+01 1.00 ---- 0.4693527797872859E+02 0.6404086248575766E-05 0.3528321673784333E+00 0.7421714504161066E-01 0.5940966142322903E+00 0.1042915747952039E+05 0.1287432804317209E+02 + 2 64 64 DADI 0.12E+01 1.00 ---- 0.4581823884027202E+02 0.6470748679542715E-05 0.3571886134572402E+00 0.7228097377837142E-01 0.6004340967735673E+00 0.1022185346692607E+05 0.1288846933575705E+02 + 2 65 65 DADI 0.12E+01 1.00 ---- 0.4546209326188645E+02 0.6136209747958521E-05 0.3613509805206734E+00 0.7014604275598385E-01 0.6064941279882422E+00 0.1018598984576825E+05 0.1290431482633675E+02 + 2 66 66 DADI 0.12E+01 1.00 ---- 0.4620675128685901E+02 0.5602476336726063E-05 0.3653365501396652E+00 0.6780607477000851E-01 0.6123105509819867E+00 0.1040031507192572E+05 0.1292125418043598E+02 + 2 67 67 DADI 0.12E+01 1.00 ---- 0.4812065602734241E+02 0.5257721924647078E-05 0.3691720240277808E+00 0.6526678086497570E-01 0.6179289876989933E+00 0.1087916700572361E+05 0.1293870219152636E+02 + 2 68 68 DADI 0.12E+01 1.00 ---- 0.5095942917951206E+02 0.5439312718180292E-05 0.3728890552991312E+00 0.6254908507332818E-01 0.6234000200009198E+00 0.1156401472244136E+05 0.1295601185852089E+02 + 2 69 69 DADI 0.12E+01 1.00 ---- 0.5429437436871609E+02 0.5947566067493039E-05 0.3765183522024917E+00 0.5968777539911448E-01 0.6287710908531727E+00 0.1235493509706479E+05 0.1301404851029279E+02 + 2 70 70 DADI 0.12E+01 1.00 ---- 0.5767829473385623E+02 0.6237394626810192E-05 0.3800896271628759E+00 0.5672743828898306E-01 0.6340855717857391E+00 0.1314932283718180E+05 0.1311205552921885E+02 + 2 71 71 DADI 0.12E+01 1.00 ---- 0.6074515642080964E+02 0.5930854557816633E-05 0.3836290669726193E+00 0.5371672251619022E-01 0.6393792585407534E+00 0.1386424156191398E+05 0.1320211765369926E+02 + 2 72 72 DADI 0.12E+01 1.00 ---- 0.6323652463251453E+02 0.5389593261302667E-05 0.3871570670178841E+00 0.5070391569272654E-01 0.6446765728154218E+00 0.1444202656687340E+05 0.1328295993427056E+02 + 2 73 73 DADI 0.12E+01 1.00 ---- 0.6498838795024673E+02 0.4709463566969667E-05 0.3906879571059594E+00 0.4773180220096498E-01 0.6499899540605646E+00 0.1484645504257698E+05 0.1335363870469436E+02 + 2 74 74 DADI 0.12E+01 1.00 ---- 0.6590345115871226E+02 0.4510594544366623E-05 0.3942290631982888E+00 0.4483513496283426E-01 0.6553188257153213E+00 0.1505595962731451E+05 0.1341352850876111E+02 + 2 75 75 DADI 0.12E+01 1.00 ---- 0.6593308816724407E+02 0.4401198519503149E-05 0.3977810481728156E+00 0.4203871186596680E-01 0.6606499219658228E+00 0.1505932972820381E+05 0.1346245713808371E+02 + 2 76 76 DADI 0.12E+01 1.00 ---- 0.6506357318199186E+02 0.4373464139415499E-05 0.4013396783921061E+00 0.3935834810240517E-01 0.6659607932397804E+00 0.1485264936594157E+05 0.1350050812004386E+02 + 2 77 77 DADI 0.12E+01 1.00 ---- 0.6331001404603142E+02 0.4869788881968742E-05 0.4048994705854365E+00 0.3680334010883170E-01 0.6712267630149922E+00 0.1443832195399500E+05 0.1352783376353353E+02 + 2 78 78 DADI 0.12E+01 1.00 ---- 0.6072292586535966E+02 0.4100240427543330E-05 0.4084541380412964E+00 0.3437916228677419E-01 0.6764233255990639E+00 0.1382747121282457E+05 0.1354470164474830E+02 + 2 79 79 DADI 0.12E+01 1.00 ---- 0.5738605207009316E+02 0.3992180098709316E-05 0.4119973456231858E+00 0.3209099618796264E-01 0.6815285646555286E+00 0.1303964135753609E+05 0.1355141663717692E+02 + 2 80 80 DADI 0.12E+01 1.00 ---- 0.5342048328995296E+02 0.3967405448393023E-05 0.4155242821554338E+00 0.2994688982230009E-01 0.6865256406445771E+00 0.1210477516421086E+05 0.1354826171651833E+02 + 2 81 81 DADI 0.12E+01 1.00 ---- 0.4898526424693363E+02 0.4154752843892914E-05 0.4190301079709612E+00 0.2795950013012937E-01 0.6914008670300281E+00 0.1106365073088318E+05 0.1353546777151561E+02 + 2 82 82 DADI 0.12E+01 1.00 ---- 0.4428446435188177E+02 0.4372898464958495E-05 0.4225080739036489E+00 0.2614697611409672E-01 0.6961408826467888E+00 0.9969513971092088E+04 0.1351314222212224E+02 + 2 83 83 DADI 0.12E+01 1.00 ---- 0.3957545960649688E+02 0.6100872007593205E-05 0.4259491805460509E+00 0.2453277788177922E-01 0.7007314911995871E+00 0.8889250339879920E+04 0.1348149146667032E+02 + 2 84 84 DADI 0.12E+01 1.00 ---- 0.3518046985290248E+02 0.4933450731898690E-05 0.4293417844873171E+00 0.2314403627258911E-01 0.7051563369147431E+00 0.7905521017561893E+04 0.1344075074684378E+02 + 2 85 85 DADI 0.12E+01 1.00 ---- 0.3149446428006408E+02 0.6154407193703657E-05 0.4326723333285998E+00 0.2200914851464288E-01 0.7093976806368741E+00 0.7113485268376574E+04 0.1339129066021254E+02 + 2 86 86 DADI 0.12E+01 1.00 ---- 0.2894779484261958E+02 0.5102332380721037E-05 0.4359269700521970E+00 0.2115373711455880E-01 0.7134383755003896E+00 0.6606987802793681E+04 0.1333366300164769E+02 + 2 87 87 DADI 0.12E+01 1.00 ---- 0.2785838988992181E+02 0.1896926638650620E-04 0.4390922966143181E+00 0.2059830787923522E-01 0.7172630853896478E+00 0.6439573956504507E+04 0.1326861308724839E+02 + 2 88 88 DADI 0.12E+01 1.00 ---- 0.2824303965907054E+02 0.5923253037427555E-05 0.4421549206353638E+00 0.2035538316673367E-01 0.7208567928848877E+00 0.6589823578833385E+04 0.1319703015947199E+02 + 2 89 89 DADI 0.12E+01 1.00 ---- 0.2977335042513885E+02 0.5062778365987687E-05 0.4451022345988094E+00 0.2042739325270691E-01 0.7242062006287902E+00 0.6968544251957192E+04 0.1312010114925374E+02 + 2 90 90 DADI 0.12E+01 1.00 ---- 0.3193695454761428E+02 0.5372733416518485E-05 0.4479236328048256E+00 0.2080696179094031E-01 0.7273015537175462E+00 0.7459744633089282E+04 0.1303933256765133E+02 + 2 91 91 DADI 0.12E+01 1.00 ---- 0.3423878176541405E+02 0.4262084117797872E-05 0.4506110518719411E+00 0.2147582901245110E-01 0.7301369968514995E+00 0.7960788332240014E+04 0.1295638539744285E+02 + 2 92 92 DADI 0.12E+01 1.00 ---- 0.3630277002189944E+02 0.4018742305924348E-05 0.4531563283746339E+00 0.2240590578763786E-01 0.7327079686069878E+00 0.8397003264757939E+04 0.1287299733521563E+02 + 2 93 93 DADI 0.12E+01 1.00 ---- 0.3789209593896392E+02 0.3693455622638411E-05 0.4555526047356726E+00 0.2356170907641196E-01 0.7350124106741438E+00 0.8722992196327945E+04 0.1279088781445041E+02 + 2 94 94 DADI 0.12E+01 1.00 ---- 0.3888897627879649E+02 0.3183747332546447E-05 0.4577953163534371E+00 0.2490229066764525E-01 0.7370512020408777E+00 0.8917211643347944E+04 0.1271169354381182E+02 + 2 95 95 DADI 0.12E+01 1.00 ---- 0.3926768758009862E+02 0.2801209680987572E-05 0.4598824253777427E+00 0.2638405875354459E-01 0.7388280658146160E+00 0.8976443023849928E+04 0.1269566603747390E+02 + 2 96 96 DADI 0.12E+01 1.00 ---- 0.3907054108633322E+02 0.2608266948429677E-05 0.4618136232082228E+00 0.2796260181652627E-01 0.7403482529640283E+00 0.8911236856963136E+04 0.1267827040026315E+02 + 2 97 97 DADI 0.12E+01 1.00 ---- 0.3838712106066163E+02 0.2509235316858804E-05 0.4635903318568641E+00 0.2959595053633809E-01 0.7416184552802250E+00 0.8741803514302710E+04 0.1265808600696110E+02 + 2 98 98 DADI 0.12E+01 1.00 ---- 0.3733296191475443E+02 0.2379533785571446E-05 0.4652159836533143E+00 0.3124593381936407E-01 0.7426473440944557E+00 0.8493594763460063E+04 0.1263511423348601E+02 + 2 99 99 DADI 0.12E+01 1.00 ---- 0.3602682580304182E+02 0.2250086513194451E-05 0.4666948304170092E+00 0.3287851577142162E-01 0.7434439445855205E+00 0.8192511738597495E+04 0.1260919849100418E+02 +#--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- +# Grid | Iter | Iter | Iter | CFL | Step | Lin | Res rho | Res nuturb | C_lift | C_drag | C_Mz | totalRes | Y+_max | +# level | | Tot | Type | | | Res | | | | | | | | +#--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- + 2 100 100 DADI 0.12E+01 1.00 ---- 0.3457423033405951E+02 0.2169010186680213E-05 0.4680321354725646E+00 0.3446420428781044E-01 0.7440187733460164E+00 0.7861414950181378E+04 0.1258038965663325E+02 + 2 101 101 DADI 0.12E+01 1.00 ---- 0.3305656464475040E+02 0.2166414138185407E-05 0.4692325740136227E+00 0.3597800652295670E-01 0.7443820949403159E+00 0.7517728181977208E+04 0.1254881664772103E+02 + 2 102 102 DADI 0.12E+01 1.00 ---- 0.3152562088518009E+02 0.2218580992281209E-05 0.4702998904336473E+00 0.3739906164413621E-01 0.7445440421926296E+00 0.7172279629178835E+04 0.1251460251905291E+02 + 2 103 103 DADI 0.12E+01 1.00 ---- 0.3000546530644264E+02 0.2222961984403794E-05 0.4712363374540329E+00 0.3871012982370240E-01 0.7445138283957297E+00 0.6829739175113245E+04 0.1247793307774937E+02 + 2 104 104 DADI 0.12E+01 1.00 ---- 0.2849813250341903E+02 0.2265115228428293E-05 0.4720421884150439E+00 0.3989693351274577E-01 0.7442988113357427E+00 0.6489998845059695E+04 0.1243993958155008E+02 + 2 105 105 DADI 0.12E+01 1.00 ---- 0.2699384401257771E+02 0.2276021476834200E-05 0.4727166063224573E+00 0.4094735015531487E-01 0.7439054431231132E+00 0.6150508898458098E+04 0.1242115040092441E+02 + 2 106 106 DADI 0.12E+01 1.00 ---- 0.2548230708310323E+02 0.2345504056894589E-05 0.4732584299472147E+00 0.4185162776988714E-01 0.7433399644957607E+00 0.5808890657304617E+04 0.1240210126666449E+02 + 2 107 107 DADI 0.12E+01 1.00 ---- 0.2396103181765949E+02 0.2344729782045303E-05 0.4736668820731073E+00 0.4260204388970683E-01 0.7426091391024252E+00 0.5464732423060182E+04 0.1238280269854446E+02 + 2 108 108 DADI 0.12E+01 1.00 ---- 0.2244158920108153E+02 0.2292864230649543E-05 0.4739421064516878E+00 0.4319274438152318E-01 0.7417206663914385E+00 0.5120958463641445E+04 0.1236460459435914E+02 + 2 109 109 DADI 0.12E+01 1.00 ---- 0.2095491445969290E+02 0.2259685047272214E-05 0.4740858096320870E+00 0.4361987683338946E-01 0.7406836041514718E+00 0.4784951856397542E+04 0.1235286515987613E+02 + 2 110 110 DADI 0.12E+01 1.00 ---- 0.1954961612745742E+02 0.2237237629993394E-05 0.4741015721370749E+00 0.4388208144060708E-01 0.7395084969332737E+00 0.4468062698977772E+04 0.1234098596286355E+02 + 2 111 111 DADI 0.12E+01 1.00 ---- 0.1828824529992731E+02 0.2200554695609415E-05 0.4739950374933111E+00 0.4398061601376992E-01 0.7382075621399120E+00 0.4184652961852169E+04 0.1232895536571840E+02 + 2 112 112 DADI 0.12E+01 1.00 ---- 0.1724172880012188E+02 0.2203407296496656E-05 0.4737735004868054E+00 0.4391946737699506E-01 0.7367943326071313E+00 0.3950673725056610E+04 0.1231677362601261E+02 + 2 113 113 DADI 0.12E+01 1.00 ---- 0.1647741382270357E+02 0.2114576312505484E-05 0.4734461147722877E+00 0.4370548044149400E-01 0.7352839419192103E+00 0.3780840176276790E+04 0.1230444819108955E+02 + 2 114 114 DADI 0.12E+01 1.00 ---- 0.1604188229943785E+02 0.2106575303995775E-05 0.4730234194347948E+00 0.4334830265500433E-01 0.7336927301764701E+00 0.3684784274466188E+04 0.1229199004401610E+02 + 2 115 115 DADI 0.12E+01 1.00 ---- 0.1594422325523111E+02 0.1994560765983621E-05 0.4725166485087208E+00 0.4285996562938527E-01 0.7320376067255970E+00 0.3663616718604568E+04 0.1227941052218345E+02 + 2 116 116 DADI 0.12E+01 1.00 ---- 0.1615097725824907E+02 0.2032974262453018E-05 0.4719378593397036E+00 0.4225472443878887E-01 0.7303359034005948E+00 0.3709074137838851E+04 0.1226672050675049E+02 + 2 117 117 DADI 0.12E+01 1.00 ---- 0.1659543786482455E+02 0.1958315875499265E-05 0.4712999857644621E+00 0.4154836996733814E-01 0.7286055509003007E+00 0.3805820122974367E+04 0.1225393193484019E+02 + 2 118 118 DADI 0.12E+01 1.00 ---- 0.1719499941259699E+02 0.1955002843461895E-05 0.4706161090648880E+00 0.4075735711640541E-01 0.7268640326141924E+00 0.3935284498109208E+04 0.1224105930756422E+02 + 2 119 119 DADI 0.12E+01 1.00 ---- 0.1786554423904933E+02 0.1815121425789502E-05 0.4698982412617072E+00 0.3989838594235088E-01 0.7251267813654808E+00 0.4079038264514644E+04 0.1222812033923424E+02 + 2 120 120 DADI 0.12E+01 1.00 ---- 0.1853404005668559E+02 0.1909819895376195E-05 0.4691562106673743E+00 0.3898804157625464E-01 0.7234055905228844E+00 0.4221200741471927E+04 0.1221513576794370E+02 + 2 121 121 DADI 0.12E+01 1.00 ---- 0.1914132320803289E+02 0.1990154750564643E-05 0.4683977336427194E+00 0.3804234102480993E-01 0.7217086498157763E+00 0.4348832415310672E+04 0.1220212782194898E+02 + 2 122 122 DADI 0.12E+01 1.00 ---- 0.1964184088918210E+02 0.1951581597493100E-05 0.4676295312257269E+00 0.3707656808245539E-01 0.7200422211593358E+00 0.4451968569929424E+04 0.1218911946990004E+02 + 2 123 123 DADI 0.12E+01 1.00 ---- 0.2000223213849515E+02 0.1851730295441903E-05 0.4668581646874191E+00 0.3610527936381582E-01 0.7184119966138555E+00 0.4523323154627580E+04 0.1217613287168266E+02 + 2 124 124 DADI 0.12E+01 1.00 ---- 0.2019989203504162E+02 0.1757819419024151E-05 0.4660907162104857E+00 0.3514222492307800E-01 0.7168241963409931E+00 0.4558013858914546E+04 0.1216318753229932E+02 + 2 125 125 DADI 0.12E+01 1.00 ---- 0.2022153766816978E+02 0.1696296909597123E-05 0.4653347324300344E+00 0.3420045013136944E-01 0.7152856821712905E+00 0.4553252957541137E+04 0.1215029848077357E+02 + 2 126 126 DADI 0.12E+01 1.00 ---- 0.2006223533250308E+02 0.1649897843752624E-05 0.4645978133417601E+00 0.3329232402791274E-01 0.7138036368252676E+00 0.4508147632165747E+04 0.1213747499009998E+02 + 2 127 127 DADI 0.12E+01 1.00 ---- 0.1972524931674722E+02 0.1638924161140108E-05 0.4638873936634932E+00 0.3242973145115637E-01 0.7123854717082723E+00 0.4423701127818907E+04 0.1212471952306072E+02 + 2 128 128 DADI 0.12E+01 1.00 ---- 0.1922211112518981E+02 0.1688523089238696E-05 0.4632104857650153E+00 0.3162411257803552E-01 0.7110384963488264E+00 0.4302820600972368E+04 0.1211202642047665E+02 + 2 129 129 DADI 0.12E+01 1.00 ---- 0.1857292910649143E+02 0.1742061132687679E-05 0.4625730566125080E+00 0.3088640081009811E-01 0.7097691440634931E+00 0.4150388241418957E+04 0.1209938168100047E+02 + 2 130 130 DADI 0.12E+01 1.00 ---- 0.1780725300971510E+02 0.1840171484566928E-05 0.4619796816893620E+00 0.3022708951773604E-01 0.7085824887779870E+00 0.3973394304263483E+04 0.1208676526367875E+02 + 2 131 131 DADI 0.12E+01 1.00 ---- 0.1696396326389534E+02 0.2000254965580778E-05 0.4614330038295902E+00 0.2965558414068876E-01 0.7074816007319755E+00 0.3780875811531006E+04 0.1207415376340064E+02 + 2 132 132 DADI 0.12E+01 1.00 ---- 0.1609010713905317E+02 0.2227210015544841E-05 0.4609337751784574E+00 0.2918010610490047E-01 0.7064674498805703E+00 0.3583578848967439E+04 0.1206152182223762E+02 + 2 133 133 DADI 0.12E+01 1.00 ---- 0.1523965500746588E+02 0.2419643192424964E-05 0.4604809291487539E+00 0.2880758784870914E-01 0.7055388829653840E+00 0.3393626804801317E+04 0.1204884159790812E+02 + 2 134 134 DADI 0.12E+01 1.00 ---- 0.1446862640829497E+02 0.2245498886624347E-05 0.4600718592531981E+00 0.2854311057065697E-01 0.7046928718483739E+00 0.3223374121711764E+04 0.1203606948639722E+02 +# +# Going down to grid level 1 +# +# +# Grid 1: Performing 750 iterations, unless converged earlier. Minimum required iteration before NK switch: 5. Switch to NK at totalR of: 0.18E+03 +# +#--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- +# Grid | Iter | Iter | Iter | CFL | Step | Lin | Res rho | Res nuturb | C_lift | C_drag | C_Mz | totalRes | Y+_max | +# level | | Tot | Type | | | Res | | | | | | | | +#--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- + 1 0 0 None 0.12E+01 1.00 ---- 0.2246194327089163E+03 0.7179307769693803E-02 0.4594909088561123E+00 0.4210897055932256E-01 0.7018073087637003E+00 0.1466280910874097E+06 0.7025296212945551E+01 + 1 1 1 DADI 0.15E+01 1.00 ---- 0.1147226510453804E+03 0.9773431444499167E-03 0.4619084427852830E+00 0.5283391204563352E-01 0.7025739554307905E+00 0.7485555470862908E+05 0.6715239833937518E+01 + 1 2 2 DADI 0.15E+01 1.00 ---- 0.1202750648529475E+03 0.6442149719004620E-04 0.4762601311997754E+00 0.5230733477013293E-01 0.7216460784343884E+00 0.7824652143187469E+05 0.6272937255205412E+01 + 1 3 3 DADI 0.15E+01 1.00 ---- 0.1156468526381680E+03 0.1997921169156447E-04 0.4870668458265456E+00 0.4717984579833556E-01 0.7365686585176696E+00 0.7421818989344531E+05 0.5997895873913921E+01 + 1 4 4 DADI 0.15E+01 1.00 ---- 0.6530700903976825E+02 0.1308885728620183E-04 0.5015879249390018E+00 0.4365166595732080E-01 0.7574261376403653E+00 0.4169821817852709E+05 0.5821518054157645E+01 + 1 5 5 DADI 0.15E+01 1.00 ---- 0.4379615134362360E+02 0.1441971939569587E-04 0.5069409406749203E+00 0.4171888264190372E-01 0.7667172823956497E+00 0.2909906162925456E+05 0.5677914441472551E+01 + 1 6 6 DADI 0.15E+01 1.00 ---- 0.4630056198014878E+02 0.1554770685770237E-04 0.4961803927638293E+00 0.3924466597705285E-01 0.7548033860815007E+00 0.3061887151846525E+05 0.5571807293445700E+01 + 1 7 7 DADI 0.15E+01 1.00 ---- 0.4424715998945913E+02 0.1064233663431085E-04 0.4766346504643282E+00 0.3588440927447849E-01 0.7303209892818987E+00 0.2871372214383826E+05 0.5500104865108652E+01 + 1 8 8 DADI 0.15E+01 1.00 ---- 0.3464985308003792E+02 0.6980677794661609E-05 0.4569661414651074E+00 0.3280507555996366E-01 0.7042082038508862E+00 0.2228314896069776E+05 0.5440391109289647E+01 + 1 9 9 DADI 0.15E+01 1.00 ---- 0.2574264471777465E+02 0.7590296666614793E-05 0.4433713005241182E+00 0.3131182881618220E-01 0.6853543699971378E+00 0.1646091907247480E+05 0.5376657798105605E+01 + 1 10 10 DADI 0.15E+01 1.00 ---- 0.2240401885107708E+02 0.8059652628789588E-05 0.4383854484354558E+00 0.3150334727946884E-01 0.6784168356538191E+00 0.1412922681535589E+05 0.5311385910355884E+01 + 1 11 11 DADI 0.15E+01 1.00 ---- 0.1959586314133428E+02 0.7795995616660219E-05 0.4411380646008322E+00 0.3225522558735052E-01 0.6833007959418080E+00 0.1229478620078525E+05 0.5238780938896447E+01 + 1 12 12 DADI 0.15E+01 1.00 ---- 0.1775176156027900E+02 0.7318187540896675E-05 0.4480550898401834E+00 0.3237745366847470E-01 0.6954092863037119E+00 0.1125453967116745E+05 0.5159172523598422E+01 + 1 13 13 DADI 0.15E+01 1.00 ---- 0.1706756055255857E+02 0.7371709952788724E-05 0.4545073214766958E+00 0.3148543578992637E-01 0.7077941823428129E+00 0.1099064259750632E+05 0.5080685209155441E+01 + 1 14 14 DADI 0.15E+01 1.00 ---- 0.1592845841329564E+02 0.7041023557192661E-05 0.4573575469855135E+00 0.3001719252464483E-01 0.7151255044741360E+00 0.1033231053618888E+05 0.5013721317602815E+01 + 1 15 15 DADI 0.15E+01 1.00 ---- 0.1414567890248443E+02 0.5368184248295639E-05 0.4563219130703095E+00 0.2873211413366852E-01 0.7162085909945783E+00 0.9164402650261047E+04 0.4959464234231459E+01 + 1 16 16 DADI 0.15E+01 1.00 ---- 0.1241738006692448E+02 0.4066853519281387E-05 0.4533961015499500E+00 0.2819029924174912E-01 0.7135881536929187E+00 0.8031506043673313E+04 0.4915677880366546E+01 + 1 17 17 DADI 0.15E+01 1.00 ---- 0.1117280751065127E+02 0.4064520942621829E-05 0.4511822963638112E+00 0.2851924420795359E-01 0.7112040766853361E+00 0.7240069440915601E+04 0.4878365558201067E+01 + 1 18 18 DADI 0.15E+01 1.00 ---- 0.1040579877642218E+02 0.3962413350734418E-05 0.4513862841353626E+00 0.2949166099325448E-01 0.7119797688933615E+00 0.6751193027355413E+04 0.4843859827600607E+01 + 1 19 19 DADI 0.15E+01 1.00 ---- 0.9853187907920459E+01 0.3505292656105921E-05 0.4542440585040403E+00 0.3074944021742541E-01 0.7166649885413584E+00 0.6378896194781370E+04 0.4808302198959802E+01 + 1 20 20 DADI 0.15E+01 1.00 ---- 0.9279573725655592E+01 0.3111029808519633E-05 0.4588523428573378E+00 0.3200477625404644E-01 0.7241093809342242E+00 0.5991604848656202E+04 0.4828679923466655E+01 + 1 21 21 DADI 0.15E+01 1.00 ---- 0.8655075152694055E+01 0.3080905558897780E-05 0.4639380564602866E+00 0.3312726377076085E-01 0.7323759170216234E+00 0.5581048442437535E+04 0.4862895780342502E+01 + 1 22 22 DADI 0.15E+01 1.00 ---- 0.8081274494871369E+01 0.3241811144499889E-05 0.4685599569074688E+00 0.3411810818237376E-01 0.7398995558528549E+00 0.5193547034843764E+04 0.4891806254226249E+01 + 1 23 23 DADI 0.15E+01 1.00 ---- 0.7542556081091615E+01 0.3334975640104990E-05 0.4724193192861304E+00 0.3503231857387334E-01 0.7460984389930422E+00 0.4800999956639866E+04 0.4911975280526701E+01 + 1 24 24 DADI 0.15E+01 1.00 ---- 0.6994745691837997E+01 0.3305952053604763E-05 0.4757492044731282E+00 0.3591239191363147E-01 0.7512947652142403E+00 0.4386164879342285E+04 0.4922938790055515E+01 + 1 25 25 DADI 0.15E+01 1.00 ---- 0.6621785341619471E+01 0.3283341693675563E-05 0.4789853043712282E+00 0.3676371110069458E-01 0.7562217627799741E+00 0.4096031749411123E+04 0.4927125706171010E+01 + 1 26 26 DADI 0.15E+01 1.00 ---- 0.6599575723972693E+01 0.3265999718640188E-05 0.4824606773594366E+00 0.3756521293273701E-01 0.7615072230012992E+00 0.4062820860662460E+04 0.4928565170172249E+01 + 1 27 27 DADI 0.15E+01 1.00 ---- 0.6700592336942385E+01 0.3177083254392726E-05 0.4862677873441996E+00 0.3829107985628147E-01 0.7673965778093452E+00 0.4127894834796336E+04 0.4931059965063351E+01 + 1 28 28 DADI 0.15E+01 1.00 ---- 0.6583472788913339E+01 0.3033083467791548E-05 0.4903004052046135E+00 0.3892335727823925E-01 0.7737782023333916E+00 0.4051060822845855E+04 0.4936760620826802E+01 + 1 29 29 DADI 0.15E+01 1.00 ---- 0.6221831641631697E+01 0.2892701445835960E-05 0.4943808919989128E+00 0.3945106182132784E-01 0.7803798162694480E+00 0.3808792619839001E+04 0.4945618672082880E+01 + 1 30 30 DADI 0.15E+01 1.00 ---- 0.5848084759647735E+01 0.2777153436246481E-05 0.4983727492559166E+00 0.3986357233946873E-01 0.7869689076163341E+00 0.3551606051283349E+04 0.4955915147808163E+01 + 1 31 31 DADI 0.15E+01 1.00 ---- 0.5647855346044381E+01 0.2683612414603929E-05 0.5022230437516773E+00 0.4014821003731959E-01 0.7934453848693739E+00 0.3399533920321953E+04 0.4965553251116742E+01 + 1 32 32 DADI 0.15E+01 1.00 ---- 0.5599683636953541E+01 0.2595056615884866E-05 0.5059414049079748E+00 0.4029510602479981E-01 0.7998197796104074E+00 0.3339874997658483E+04 0.4973238911407268E+01 + 1 33 33 DADI 0.15E+01 1.00 ---- 0.5582323256869926E+01 0.2499335705080445E-05 0.5095561056520418E+00 0.4030479360434877E-01 0.8061383026452602E+00 0.3300550773040669E+04 0.4978909385310336E+01 + 1 34 34 DADI 0.15E+01 1.00 ---- 0.5519694111239698E+01 0.2409294114354142E-05 0.5130807503191499E+00 0.4019125202039846E-01 0.8124171172355805E+00 0.3240747680497435E+04 0.4983389484858024E+01 + 1 35 35 DADI 0.15E+01 1.00 ---- 0.5407930436038977E+01 0.2335918554768530E-05 0.5165074118312465E+00 0.3997819670161874E-01 0.8186225632743314E+00 0.3161087918049402E+04 0.4987688417068873E+01 + 1 36 36 DADI 0.15E+01 1.00 ---- 0.5284447258140469E+01 0.2284396752199679E-05 0.5198185875450371E+00 0.3969103612921555E-01 0.8246911841178545E+00 0.3081999187728532E+04 0.4992403894120239E+01 + 1 37 37 DADI 0.15E+01 1.00 ---- 0.5192323715703334E+01 0.2243693741455577E-05 0.5230015004267810E+00 0.3934957860257264E-01 0.8305609777742571E+00 0.3025767794478105E+04 0.4997528058769666E+01 + 1 38 38 DADI 0.15E+01 1.00 ---- 0.5154430587153772E+01 0.2193972648194206E-05 0.5260539377243875E+00 0.3896537738843302E-01 0.8361896209130374E+00 0.3004170530002017E+04 0.5002658141194400E+01 + 1 39 39 DADI 0.15E+01 1.00 ---- 0.5161583210060058E+01 0.2119470272232593E-05 0.5289799681632600E+00 0.3854380349340988E-01 0.8415518380182333E+00 0.3011088210330354E+04 0.5007374945286078E+01 + 1 40 40 DADI 0.15E+01 1.00 ---- 0.5185556758525361E+01 0.2031433414008116E-05 0.5317821280477841E+00 0.3808820381428617E-01 0.8466258215442097E+00 0.3029617580145651E+04 0.5011528832227047E+01 + 1 41 41 DADI 0.15E+01 1.00 ---- 0.5203313691286839E+01 0.1943549029391799E-05 0.5344574910329524E+00 0.3760334664455600E-01 0.8513839302942694E+00 0.3046448409461821E+04 0.5015298255853107E+01 + 1 42 42 DADI 0.15E+01 1.00 ---- 0.5205537357539270E+01 0.1870892412897171E-05 0.5369990473475024E+00 0.3709648462745848E-01 0.8557926837854566E+00 0.3056044249461641E+04 0.5019047456496761E+01 + 1 43 43 DADI 0.15E+01 1.00 ---- 0.5187435008829126E+01 0.1819014927942615E-05 0.5393995112580972E+00 0.3657642667669345E-01 0.8598192531826835E+00 0.3054404190225050E+04 0.5023110430997160E+01 + 1 44 44 DADI 0.15E+01 1.00 ---- 0.5142966288590360E+01 0.1783990168018360E-05 0.5416544958130863E+00 0.3605180917947358E-01 0.8634385195107136E+00 0.3036139969032600E+04 0.5027638046155609E+01 + 1 45 45 DADI 0.15E+01 1.00 ---- 0.5071125592143940E+01 0.1753300559676542E-05 0.5437629416318692E+00 0.3552968692267712E-01 0.8666358088508941E+00 0.2999621331811247E+04 0.5032574918311095E+01 + 1 46 46 DADI 0.15E+01 1.00 ---- 0.4980917514954780E+01 0.1717617364775704E-05 0.5457250399783775E+00 0.3501497235757448E-01 0.8694043845506499E+00 0.2950571977839142E+04 0.5037742012841874E+01 + 1 47 47 DADI 0.15E+01 1.00 ---- 0.4885885304778155E+01 0.1678662525361644E-05 0.5475395033867099E+00 0.3451053750941676E-01 0.8717408038174668E+00 0.2898000377760530E+04 0.5042953376531262E+01 + 1 48 48 DADI 0.15E+01 1.00 ---- 0.4795124692648152E+01 0.1635767648942664E-05 0.5492023302188095E+00 0.3401768029272559E-01 0.8736423521641679E+00 0.2847849040369583E+04 0.5048096306739275E+01 + 1 49 49 DADI 0.15E+01 1.00 ---- 0.4712321683534440E+01 0.1586606001603824E-05 0.5507062467616155E+00 0.3353631727355443E-01 0.8751047988541478E+00 0.2802236557257275E+04 0.5053146968357622E+01 +#--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- +# Grid | Iter | Iter | Iter | CFL | Step | Lin | Res rho | Res nuturb | C_lift | C_drag | C_Mz | totalRes | Y+_max | +# level | | Tot | Type | | | Res | | | | | | | | +#--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- + 1 50 50 DADI 0.15E+01 1.00 ---- 0.4636614392279774E+01 0.1540742399585531E-05 0.5520423086085655E+00 0.3306534231270722E-01 0.8761247233926318E+00 0.2760355747396005E+04 0.5058130246671443E+01 + 1 51 51 DADI 0.15E+01 1.00 ---- 0.4565207776971974E+01 0.1497299473330453E-05 0.5532020249211964E+00 0.3260315884174608E-01 0.8767033164404618E+00 0.2720343055434402E+04 0.5063061322893367E+01 + 1 52 52 DADI 0.15E+01 1.00 ---- 0.4495878899664175E+01 0.1460797696606520E-05 0.5541777468099188E+00 0.3214806499594972E-01 0.8768466066605052E+00 0.2680949731944761E+04 0.5067903504272333E+01 + 1 53 53 DADI 0.15E+01 1.00 ---- 0.4426639115687546E+01 0.1443320707046075E-05 0.5549626193671748E+00 0.3169862002865997E-01 0.8765646785234484E+00 0.2641159251468206E+04 0.5072559429133404E+01 + 1 54 54 DADI 0.15E+01 1.00 ---- 0.4354832317956776E+01 0.1440936131421508E-05 0.5555504785332790E+00 0.3125390017787230E-01 0.8758707309122551E+00 0.2599511197907304E+04 0.5076893519140691E+01 + 1 55 55 DADI 0.15E+01 1.00 ---- 0.4278666993116221E+01 0.1455227050481340E-05 0.5559355345033732E+00 0.3081355738533122E-01 0.8747796412555413E+00 0.2554993417630282E+04 0.5080763788374680E+01 + 1 56 56 DADI 0.15E+01 1.00 ---- 0.4197163390651000E+01 0.1483508511098362E-05 0.5561131989867399E+00 0.3037793970813847E-01 0.8733088539861856E+00 0.2507141816528826E+04 0.5084047334373220E+01 + 1 57 57 DADI 0.15E+01 1.00 ---- 0.4112080337731530E+01 0.1522824643179880E-05 0.5560794971356250E+00 0.2994784926972303E-01 0.8714767155817973E+00 0.2457152343812493E+04 0.5086653724828083E+01 + 1 58 58 DADI 0.15E+01 1.00 ---- 0.4025591921050670E+01 0.1566087851714559E-05 0.5558319474714378E+00 0.2952456919996084E-01 0.8693036816412916E+00 0.2406472575698946E+04 0.5088525011781963E+01 + 1 59 59 DADI 0.15E+01 1.00 ---- 0.3942665794074791E+01 0.1607472164168313E-05 0.5553690020579956E+00 0.2910980827939190E-01 0.8668103400315701E+00 0.2358316063015398E+04 0.5089626872950475E+01 + 1 60 60 DADI 0.15E+01 1.00 ---- 0.3866481796337168E+01 0.1644649863558029E-05 0.5546909521945075E+00 0.2870576117539774E-01 0.8640188102034791E+00 0.2314852830537560E+04 0.5089938638561373E+01 + 1 61 61 DADI 0.15E+01 1.00 ---- 0.3798361594461638E+01 0.1686948667541189E-05 0.5538008812273904E+00 0.2831532329982406E-01 0.8609542144545591E+00 0.2277119245341656E+04 0.5089449741123562E+01 + 1 62 62 DADI 0.15E+01 1.00 ---- 0.3739039020342398E+01 0.1730681102715821E-05 0.5527035612386347E+00 0.2794186158512622E-01 0.8576423171922065E+00 0.2245632412772748E+04 0.5088164756735211E+01 + 1 63 63 DADI 0.15E+01 1.00 ---- 0.3688570721964891E+01 0.1752554626892447E-05 0.5514049007945305E+00 0.2758893927710623E-01 0.8541075790751439E+00 0.2220323299007006E+04 0.5086114439862629E+01 + 1 64 64 DADI 0.15E+01 1.00 ---- 0.3646852458882142E+01 0.1753291456691973E-05 0.5499135625800823E+00 0.2726030797722324E-01 0.8503764005107974E+00 0.2201146094904008E+04 0.5083362696582570E+01 + 1 65 65 DADI 0.15E+01 1.00 ---- 0.3610753681285301E+01 0.1742216494162272E-05 0.5482419909417929E+00 0.2695981685285886E-01 0.8464798438838883E+00 0.2186124101065916E+04 0.5080006015010472E+01 + 1 66 66 DADI 0.15E+01 1.00 ---- 0.3575729772424846E+01 0.1720067697265270E-05 0.5464058985945497E+00 0.2669108679859591E-01 0.8424525100670508E+00 0.2172177035132324E+04 0.5076167911487239E+01 + 1 67 67 DADI 0.15E+01 1.00 ---- 0.3538832940348937E+01 0.1682213375898468E-05 0.5444210518287876E+00 0.2645701842830634E-01 0.8383248346421188E+00 0.2157175883013222E+04 0.5071989319874368E+01 + 1 68 68 DADI 0.15E+01 1.00 ---- 0.3496057956247817E+01 0.1625959332633830E-05 0.5423050985432253E+00 0.2625984921964398E-01 0.8341276500103406E+00 0.2138522175122831E+04 0.5067617234071589E+01 + 1 69 69 DADI 0.15E+01 1.00 ---- 0.3444205038596126E+01 0.1560357735542032E-05 0.5400788321810117E+00 0.2610119860155008E-01 0.8298958383387299E+00 0.2114152711080065E+04 0.5063193812818854E+01 + 1 70 70 DADI 0.15E+01 1.00 ---- 0.3382737183862487E+01 0.1489210732054131E-05 0.5377646854336882E+00 0.2598189896925295E-01 0.8256650647402506E+00 0.2083553249786366E+04 0.5058851424763462E+01 + 1 71 71 DADI 0.15E+01 1.00 ---- 0.3311496598446947E+01 0.1422035879999834E-05 0.5353863164260697E+00 0.2590196409316103E-01 0.8214710579864761E+00 0.2046517490124772E+04 0.5054712916966150E+01 + 1 72 72 DADI 0.15E+01 1.00 ---- 0.3230639899253864E+01 0.1370572301551691E-05 0.5329682093091175E+00 0.2586059100216840E-01 0.8173494176809674E+00 0.2003019723465570E+04 0.5050889772245048E+01 + 1 73 73 DADI 0.15E+01 1.00 ---- 0.3141252190780585E+01 0.1341404467741008E-05 0.5305355199316951E+00 0.2585625619931235E-01 0.8133355267909272E+00 0.1953575423424498E+04 0.5047476954232430E+01 + 1 74 74 DADI 0.15E+01 1.00 ---- 0.3045230179461971E+01 0.1312387932691630E-05 0.5281132529785323E+00 0.2588673493381539E-01 0.8094631056991763E+00 0.1899270684152764E+04 0.5044547529632295E+01 + 1 75 75 DADI 0.15E+01 1.00 ---- 0.2944962819438918E+01 0.1276992010611918E-05 0.5257244355857346E+00 0.2594906549789455E-01 0.8057607914606459E+00 0.1841583002614864E+04 0.5042151832631069E+01 + 1 76 76 DADI 0.15E+01 1.00 ---- 0.2843164819558004E+01 0.1252722130030223E-05 0.5233915463442884E+00 0.2603992586453413E-01 0.8022558011187286E+00 0.1782071319649431E+04 0.5040316252941890E+01 + 1 77 77 DADI 0.15E+01 1.00 ---- 0.2741551229078593E+01 0.1240450608309573E-05 0.5211371037029243E+00 0.2615583075490590E-01 0.7989755182492648E+00 0.1721662543582228E+04 0.5039042132314074E+01 + 1 78 78 DADI 0.15E+01 1.00 ---- 0.2641732776622240E+01 0.1225411123144318E-05 0.5189822029583758E+00 0.2629316256946317E-01 0.7959446326660711E+00 0.1661333150065871E+04 0.5038307083280108E+01 + 1 79 79 DADI 0.15E+01 1.00 ---- 0.2545939245084667E+01 0.1202555926262367E-05 0.5169456501704719E+00 0.2644824804953450E-01 0.7931836751267288E+00 0.1602417386131312E+04 0.5038072381550118E+01 + 1 80 80 DADI 0.15E+01 1.00 ---- 0.2455588937507826E+01 0.1185092758443659E-05 0.5150439172188056E+00 0.2661742153738348E-01 0.7907092337160874E+00 0.1545808064649918E+04 0.5038291528910883E+01 + 1 81 81 DADI 0.15E+01 1.00 ---- 0.2371112423366013E+01 0.1166477631129947E-05 0.5132907111965685E+00 0.2679704975698780E-01 0.7885331959939632E+00 0.1491852236004662E+04 0.5038911938991784E+01 + 1 82 82 DADI 0.15E+01 1.00 ---- 0.2292965649028297E+01 0.1139789698917984E-05 0.5116968652589494E+00 0.2698362151869962E-01 0.7866627361825399E+00 0.1440854800243925E+04 0.5039875953066489E+01 + 1 83 83 DADI 0.15E+01 1.00 ---- 0.2220996880828755E+01 0.1109084035835661E-05 0.5102704813564811E+00 0.2717380983051793E-01 0.7851007720415781E+00 0.1392833050744365E+04 0.5041124024676376E+01 + 1 84 84 DADI 0.15E+01 1.00 ---- 0.2155360556814610E+01 0.1080221223412037E-05 0.5090169515121219E+00 0.2736451566228867E-01 0.7838461010197894E+00 0.1348006836777231E+04 0.5042597987151350E+01 + 1 85 85 DADI 0.15E+01 1.00 ---- 0.2096091253311245E+01 0.1057202713683724E-05 0.5079389534531767E+00 0.2755290210163235E-01 0.7828935094795212E+00 0.1306507521417384E+04 0.5044242568075831E+01 + 1 86 86 DADI 0.15E+01 1.00 ---- 0.2043247284272592E+01 0.1041068980175620E-05 0.5070359370034371E+00 0.2773631921026047E-01 0.7822329426162485E+00 0.1268453959645457E+04 0.5046007424377861E+01 + 1 87 87 DADI 0.15E+01 1.00 ---- 0.1996536594442658E+01 0.1028374046555782E-05 0.5063051823403452E+00 0.2791238405542254E-01 0.7818513044890989E+00 0.1233814788896666E+04 0.5047849612213615E+01 + 1 88 88 DADI 0.15E+01 1.00 ---- 0.1953429973877194E+01 0.1018423504040788E-05 0.5057422544968379E+00 0.2807900710258971E-01 0.7817332208514811E+00 0.1201278009717971E+04 0.5049733817466931E+01 + 1 89 89 DADI 0.15E+01 1.00 ---- 0.1913397813407310E+01 0.1006635610745228E-05 0.5053398564374778E+00 0.2823421021164685E-01 0.7818588917833389E+00 0.1170652962688420E+04 0.5051631366841677E+01 + 1 90 90 DADI 0.15E+01 1.00 ---- 0.1877274066666123E+01 0.9936601177533818E-06 0.5050889870287774E+00 0.2837621565899368E-01 0.7822063243724471E+00 0.1142562154949245E+04 0.5053519639921097E+01 + 1 91 91 DADI 0.15E+01 1.00 ---- 0.1846539039162354E+01 0.9797209703212768E-06 0.5049799199534506E+00 0.2850354487480989E-01 0.7827532131663042E+00 0.1117996295479398E+04 0.5055381632798889E+01 + 1 92 92 DADI 0.15E+01 1.00 ---- 0.1821111379135070E+01 0.9684176730309467E-06 0.5050011744440843E+00 0.2861484279618119E-01 0.7834746425455433E+00 0.1097068922330624E+04 0.5057205056934067E+01 + 1 93 93 DADI 0.15E+01 1.00 ---- 0.1800672478606885E+01 0.9634660599439521E-06 0.5051404727610168E+00 0.2870895184274979E-01 0.7843450429947035E+00 0.1079733386903844E+04 0.5058981300413427E+01 + 1 94 94 DADI 0.15E+01 1.00 ---- 0.1783651737550181E+01 0.9589947991257229E-06 0.5053852317592397E+00 0.2878496581734931E-01 0.7853391397220510E+00 0.1065156368130406E+04 0.5060704452513868E+01 + 1 95 95 DADI 0.15E+01 1.00 ---- 0.1768802513465572E+01 0.9530401350006278E-06 0.5057220502753256E+00 0.2884215804094829E-01 0.7864306778153451E+00 0.1052615468916613E+04 0.5062370252032364E+01 + 1 96 96 DADI 0.15E+01 1.00 ---- 0.1755592833479506E+01 0.9400551334542568E-06 0.5061371787028247E+00 0.2887999421786015E-01 0.7875932760352260E+00 0.1041764627693463E+04 0.5063975306463321E+01 + 1 97 97 DADI 0.15E+01 1.00 ---- 0.1743576858538334E+01 0.9247904936642496E-06 0.5066168707571296E+00 0.2889815228327980E-01 0.7888011461138632E+00 0.1032272358853166E+04 0.5065516334788834E+01 + 1 98 98 DADI 0.15E+01 1.00 ---- 0.1731905044001284E+01 0.9156140579970339E-06 0.5071474624535532E+00 0.2889653413283245E-01 0.7900292334440229E+00 0.1023543225759392E+04 0.5066989237994171E+01 + 1 99 99 DADI 0.15E+01 1.00 ---- 0.1719475396746085E+01 0.9103531388190275E-06 0.5077155010471823E+00 0.2887527713165368E-01 0.7912534456230477E+00 0.1014822392069162E+04 0.5068388424057918E+01 +#--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- +# Grid | Iter | Iter | Iter | CFL | Step | Lin | Res rho | Res nuturb | C_lift | C_drag | C_Mz | totalRes | Y+_max | +# level | | Tot | Type | | | Res | | | | | | | | +#--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- + 1 100 100 DADI 0.15E+01 1.00 ---- 0.1705420713955137E+01 0.9062499717694096E-06 0.5083079770991659E+00 0.2883477022570164E-01 0.7924511111181880E+00 0.1005485934827989E+04 0.5069706478017857E+01 + 1 101 101 DADI 0.15E+01 1.00 ---- 0.1689236267365923E+01 0.9019894616310418E-06 0.5089122792188475E+00 0.2877564244284698E-01 0.7936008619892430E+00 0.9951333961174769E+03 0.5070934366785871E+01 + 1 102 102 DADI 0.15E+01 1.00 ---- 0.1670126268075858E+01 0.9006628514060209E-06 0.5095161934758125E+00 0.2869874209293198E-01 0.7946825915891922E+00 0.9832017781921985E+03 0.5072060793848782E+01 + 1 103 103 DADI 0.15E+01 1.00 ---- 0.1647856374446891E+01 0.9021728972905667E-06 0.5101080599498720E+00 0.2860513109043816E-01 0.7956777614537688E+00 0.9694620684669636E+03 0.5073072855032751E+01 + 1 104 104 DADI 0.15E+01 1.00 ---- 0.1622590117198236E+01 0.9039023472377419E-06 0.5106768443680392E+00 0.2849607032608947E-01 0.7965695631574137E+00 0.9539398256186836E+03 0.5073956510353812E+01 + 1 105 105 DADI 0.15E+01 1.00 ---- 0.1594278963507286E+01 0.9059344518334790E-06 0.5112121987057180E+00 0.2837299926466137E-01 0.7973430152758030E+00 0.9365699784401024E+03 0.5074697034820742E+01 + 1 106 106 DADI 0.15E+01 1.00 ---- 0.1562934115784250E+01 0.9081822628014192E-06 0.5117045047609187E+00 0.2823751046389184E-01 0.7979850380967038E+00 0.9173348604228925E+03 0.5075279519278006E+01 + 1 107 107 DADI 0.15E+01 1.00 ---- 0.1528910123470418E+01 0.9098482077499805E-06 0.5121448614675599E+00 0.2809131263488234E-01 0.7984843957659730E+00 0.8964292894757807E+03 0.5075689336601139E+01 + 1 108 108 DADI 0.15E+01 1.00 ---- 0.1492620359914438E+01 0.9086634541489745E-06 0.5125251216874422E+00 0.2793619889261954E-01 0.7988317196193355E+00 0.8741098670577920E+03 0.5075912789612716E+01 + 1 109 109 DADI 0.15E+01 1.00 ---- 0.1454756206601176E+01 0.9062676714191030E-06 0.5128379682518605E+00 0.2777401863552802E-01 0.7990196008511288E+00 0.8508116556999129E+03 0.5075937868252710E+01 + 1 110 110 DADI 0.15E+01 1.00 ---- 0.1415948434006091E+01 0.9033761276635064E-06 0.5130769608977542E+00 0.2760664264123157E-01 0.7990426191420841E+00 0.8269620969465700E+03 0.5075754890885642E+01 + 1 111 111 DADI 0.15E+01 1.00 ---- 0.1377012514898771E+01 0.9023440400490765E-06 0.5132365864584614E+00 0.2743592881205087E-01 0.7988973534673657E+00 0.8031121824201126E+03 0.5075357034778823E+01 + 1 112 112 DADI 0.15E+01 1.00 ---- 0.1338703137144542E+01 0.9033194731726052E-06 0.5133123396844376E+00 0.2726369662910658E-01 0.7985824524085795E+00 0.7797962634408445E+03 0.5074740835307757E+01 + 1 113 113 DADI 0.15E+01 1.00 ---- 0.1301884826846140E+01 0.9041171877280748E-06 0.5133007482419893E+00 0.2709169556999353E-01 0.7980985832262264E+00 0.7576195979212602E+03 0.5073906593056673E+01 + 1 114 114 DADI 0.15E+01 1.00 ---- 0.1267473045327859E+01 0.9043632981436243E-06 0.5131993893149677E+00 0.2692157327458897E-01 0.7974483496353261E+00 0.7372227523486658E+03 0.5072858607821670E+01 + 1 115 115 DADI 0.15E+01 1.00 ---- 0.1236214916314766E+01 0.9045738295741291E-06 0.5130069122985069E+00 0.2675485622222146E-01 0.7966362254366752E+00 0.7191428073223902E+03 0.5071605374240021E+01 + 1 116 116 DADI 0.15E+01 1.00 ---- 0.1208757710594494E+01 0.9044269911081128E-06 0.5127230769139487E+00 0.2659293864638918E-01 0.7956685220310358E+00 0.7038326364523609E+03 0.5070159596710419E+01 + 1 117 117 DADI 0.15E+01 1.00 ---- 0.1185448720866828E+01 0.9069654540231116E-06 0.5123487708220718E+00 0.2643707299736740E-01 0.7945533103306615E+00 0.6915332370261091E+03 0.5068537992131816E+01 + 1 118 118 DADI 0.15E+01 1.00 ---- 0.1166250922065039E+01 0.9120663667689731E-06 0.5118859685770464E+00 0.2628836055380693E-01 0.7933002431921135E+00 0.6822216013940149E+03 0.5066760946692241E+01 + 1 119 119 DADI 0.15E+01 1.00 ---- 0.1150900592820950E+01 0.9175857171291811E-06 0.5113376914622008E+00 0.2614774927593953E-01 0.7919203883360000E+00 0.6756998072363619E+03 0.5064852047238438E+01 + 1 120 120 DADI 0.15E+01 1.00 ---- 0.1138942496652969E+01 0.9201920466646770E-06 0.5107079909045060E+00 0.2601603627778350E-01 0.7904261314587065E+00 0.6716131770147603E+03 0.5062837488972823E+01 + 1 121 121 DADI 0.15E+01 1.00 ---- 0.1129762102447720E+01 0.9199460473361763E-06 0.5100018303846003E+00 0.2589387130102350E-01 0.7888308617525486E+00 0.6694865315390421E+03 0.5060745366748212E+01 + 1 122 122 DADI 0.15E+01 1.00 ---- 0.1122615628555724E+01 0.9198703907580385E-06 0.5092249647940803E+00 0.2578176158675565E-01 0.7871486758203823E+00 0.6687504757334203E+03 0.5058604903699168E+01 + 1 123 123 DADI 0.15E+01 1.00 ---- 0.1116705479815107E+01 0.9185928192409508E-06 0.5083839285461299E+00 0.2568008285804512E-01 0.7853943639875939E+00 0.6688003737871236E+03 0.5056445679189585E+01 + 1 124 124 DADI 0.15E+01 1.00 ---- 0.1111215952542792E+01 0.9123171379980915E-06 0.5074859171034333E+00 0.2558908534828894E-01 0.7835831787273790E+00 0.6690348523241241E+03 0.5054296817081624E+01 + 1 125 125 DADI 0.15E+01 1.00 ---- 0.1105465166242454E+01 0.9028483502233718E-06 0.5065386281548244E+00 0.2550890387008924E-01 0.7817305289684711E+00 0.6689395350491296E+03 0.5052186178020775E+01 + 1 126 126 DADI 0.15E+01 1.00 ---- 0.1098856990233367E+01 0.8916710992918075E-06 0.5055501466775845E+00 0.2543957293718861E-01 0.7798517829167642E+00 0.6680722014720959E+03 0.5050139633780395E+01 + 1 127 127 DADI 0.15E+01 1.00 ---- 0.1090917627638958E+01 0.8808041601826908E-06 0.5045287948983350E+00 0.2538103022731326E-01 0.7779620229146542E+00 0.6660898724672410E+03 0.5048180457380206E+01 + 1 128 128 DADI 0.15E+01 1.00 ---- 0.1081479769994036E+01 0.8706769231330312E-06 0.5034829768091956E+00 0.2533312191689319E-01 0.7760758002071083E+00 0.6628415638507445E+03 0.5046328825289886E+01 + 1 129 129 DADI 0.15E+01 1.00 ---- 0.1070495441157829E+01 0.8614027489048958E-06 0.5024210452893358E+00 0.2529561090180181E-01 0.7742069381352265E+00 0.6582603263715642E+03 0.5044601473474827E+01 + 1 130 130 DADI 0.15E+01 1.00 ---- 0.1057866622295034E+01 0.8505711446428765E-06 0.5013512029019532E+00 0.2526818588206172E-01 0.7723684150294956E+00 0.6522690934432335E+03 0.5043011501500257E+01 + 1 131 131 DADI 0.15E+01 1.00 ---- 0.1043616850571039E+01 0.8394539685968002E-06 0.5002814006113473E+00 0.2525046611969136E-01 0.7705722614687338E+00 0.6448671007777800E+03 0.5041568301305858E+01 + 1 132 132 DADI 0.15E+01 1.00 ---- 0.1027977558748962E+01 0.8282301320524899E-06 0.4992192347776432E+00 0.2524200196524293E-01 0.7688294386735360E+00 0.6361787493891688E+03 0.5040277591633514E+01 + 1 133 133 DADI 0.15E+01 1.00 ---- 0.1011254894182193E+01 0.8166886427593604E-06 0.4981718550802123E+00 0.2524227457585320E-01 0.7671497370049039E+00 0.6263791700224697E+03 0.5039141581404615E+01 + 1 134 134 DADI 0.15E+01 1.00 ---- 0.9934178226812277E+00 0.8043205299252049E-06 0.4971458902818646E+00 0.2525069673796276E-01 0.7655417160092093E+00 0.6154635644057843E+03 0.5038159252865829E+01 + 1 135 135 DADI 0.15E+01 1.00 ---- 0.9746571225242318E+00 0.7928413256971597E-06 0.4961473819577195E+00 0.2526661793912701E-01 0.7640126489435529E+00 0.6035536527244415E+03 0.5037326773813925E+01 + 1 136 136 DADI 0.15E+01 1.00 ---- 0.9553530366811439E+00 0.7831089036478194E-06 0.4951817317160448E+00 0.2528932709377158E-01 0.7625684933600357E+00 0.5908849658036521E+03 0.5036637942877919E+01 + 1 137 137 DADI 0.15E+01 1.00 ---- 0.9357538103396135E+00 0.7743122802646705E-06 0.4942536841849635E+00 0.2531805737629137E-01 0.7612139251938059E+00 0.5776346991618926E+03 0.5036084601978279E+01 + 1 138 138 DADI 0.15E+01 1.00 ---- 0.9160799913896398E+00 0.7657376044838201E-06 0.4933673304406717E+00 0.2535199407019906E-01 0.7599524034725961E+00 0.5639683275030285E+03 0.5035657079475712E+01 + 1 139 139 DADI 0.15E+01 1.00 ---- 0.8965242103846351E+00 0.7573315422130045E-06 0.4925260908996688E+00 0.2539028093484210E-01 0.7587861873962067E+00 0.5500428609487151E+03 0.5035344678113056E+01 + 1 140 140 DADI 0.15E+01 1.00 ---- 0.8773765288235056E+00 0.7499258181984672E-06 0.4917327044528576E+00 0.2543202474674605E-01 0.7577163566781815E+00 0.5360768228035014E+03 0.5035136133880974E+01 + 1 141 141 DADI 0.15E+01 1.00 ---- 0.8588217601318435E+00 0.7433932161499597E-06 0.4909892579594664E+00 0.2547630609789543E-01 0.7567429040946685E+00 0.5222389431645147E+03 0.5035019973031678E+01 + 1 142 142 DADI 0.15E+01 1.00 ---- 0.8410606646720200E+00 0.7373225232215804E-06 0.4902972104197466E+00 0.2552219315995397E-01 0.7558648176704691E+00 0.5087115473068542E+03 0.5034984824344893E+01 + 1 143 143 DADI 0.15E+01 1.00 ---- 0.8243112202294192E+00 0.7318212280114184E-06 0.4896574092291539E+00 0.2556875181684517E-01 0.7550801389140513E+00 0.4956918366102839E+03 0.5035019696846482E+01 + 1 144 144 DADI 0.15E+01 1.00 ---- 0.8088229257252372E+00 0.7268434198853927E-06 0.4890701176588130E+00 0.2561505662000060E-01 0.7543860392375433E+00 0.4833972188453463E+03 0.5035114183929184E+01 + 1 145 145 DADI 0.15E+01 1.00 ---- 0.7947367022307478E+00 0.7222776743587346E-06 0.4885350507525196E+00 0.2566020279354064E-01 0.7537789060305210E+00 0.4719858759170911E+03 0.5035258595165727E+01 + 1 146 146 DADI 0.15E+01 1.00 ---- 0.7820895029224413E+00 0.7179362507858913E-06 0.4880514073999346E+00 0.2570332034002513E-01 0.7532544196541776E+00 0.4615526104028129E+03 0.5035444031271318E+01 + 1 147 147 DADI 0.15E+01 1.00 ---- 0.7709053001410476E+00 0.7135558134448066E-06 0.4876179047011815E+00 0.2574358579031803E-01 0.7528076280147926E+00 0.4521758827766173E+03 0.5035662428369186E+01 + 1 148 148 DADI 0.15E+01 1.00 ---- 0.7611970960408515E+00 0.7092172753577498E-06 0.4872328152972538E+00 0.2578023392804753E-01 0.7524330259799877E+00 0.4439183511221026E+03 0.5035906520545247E+01 + 1 149 149 DADI 0.15E+01 1.00 ---- 0.7528477377824556E+00 0.7049383468381263E-06 0.4868940006435862E+00 0.2581257038788909E-01 0.7521246305858440E+00 0.4367555103679177E+03 0.5036169788532366E+01 +#--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- +# Grid | Iter | Iter | Iter | CFL | Step | Lin | Res rho | Res nuturb | C_lift | C_drag | C_Mz | totalRes | Y+_max | +# level | | Tot | Type | | | Res | | | | | | | | +#--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- + 1 150 150 DADI 0.15E+01 1.00 ---- 0.7456639975746828E+00 0.7007446370300001E-06 0.4865989483607971E+00 0.2583998166802519E-01 0.7518760574385566E+00 0.4306022804505544E+03 0.5036446367876501E+01 + 1 151 151 DADI 0.15E+01 1.00 ---- 0.7395233834871157E+00 0.6965909503238129E-06 0.4863448157637350E+00 0.2586194240997725E-01 0.7516805992842509E+00 0.4253979331276062E+03 0.5036730941310582E+01 + 1 152 152 DADI 0.15E+01 1.00 ---- 0.7342045902170561E+00 0.6923542383100783E-06 0.4861284612221444E+00 0.2587802164870377E-01 0.7515312851508799E+00 0.4210081058388625E+03 0.5037018626882300E+01 + 1 153 153 DADI 0.15E+01 1.00 ---- 0.7293558982634627E+00 0.6880400512654214E-06 0.4859464822856598E+00 0.2588788809531515E-01 0.7514209538689421E+00 0.4172107176888928E+03 0.5037304867265110E+01 + 1 154 154 DADI 0.15E+01 1.00 ---- 0.7246729242305265E+00 0.6833146035521999E-06 0.4857952664124351E+00 0.2589131015198886E-01 0.7513423447578395E+00 0.4138035203911169E+03 0.5037585330416048E+01 + 1 155 155 DADI 0.15E+01 1.00 ---- 0.7199271151226471E+00 0.6782637795260298E-06 0.4856710313608543E+00 0.2588815458299983E-01 0.7512881654259229E+00 0.4106209516260077E+03 0.5037855817348576E+01 + 1 156 156 DADI 0.15E+01 1.00 ---- 0.7148963339243396E+00 0.6733334151522004E-06 0.4855698592389460E+00 0.2587838588690925E-01 0.7512511498751737E+00 0.4074964064639090E+03 0.5038112182911014E+01 + 1 157 157 DADI 0.15E+01 1.00 ---- 0.7093372206755161E+00 0.6682207021804983E-06 0.4854877369332989E+00 0.2586206562275092E-01 0.7512241270438391E+00 0.4042516987645553E+03 0.5038350309132643E+01 + 1 158 158 DADI 0.15E+01 1.00 ---- 0.7030868527437147E+00 0.6628657769064349E-06 0.4854206010135118E+00 0.2583934905881066E-01 0.7512000932492318E+00 0.4007557485547069E+03 0.5038566088670143E+01 + 1 159 159 DADI 0.15E+01 1.00 ---- 0.6959798862918704E+00 0.6575476698899071E-06 0.4853643819701463E+00 0.2581047926464835E-01 0.7511722774859857E+00 0.3968795706596933E+03 0.5038755413709508E+01 + 1 160 160 DADI 0.15E+01 1.00 ---- 0.6878375177675544E+00 0.6523123785599663E-06 0.4853150486619774E+00 0.2577577970766486E-01 0.7511342080409961E+00 0.3924925581837998E+03 0.5038914229385761E+01 + 1 161 161 DADI 0.15E+01 1.00 ---- 0.6786174834363427E+00 0.6471542248785353E-06 0.4852686501051328E+00 0.2573564484506275E-01 0.7510797750585015E+00 0.3875479682608801E+03 0.5039038591525597E+01 + 1 162 162 DADI 0.15E+01 1.00 ---- 0.6683452800045303E+00 0.6422605439785355E-06 0.4852213575174401E+00 0.2569052966733245E-01 0.7510032900872492E+00 0.3820426262914466E+03 0.5039124695516418E+01 + 1 163 163 DADI 0.15E+01 1.00 ---- 0.6570335174680199E+00 0.6376861455247755E-06 0.4851695078886114E+00 0.2564093814188110E-01 0.7508995470810230E+00 0.3759732021863746E+03 0.5039168963798173E+01 + 1 164 164 DADI 0.15E+01 1.00 ---- 0.6448654290091929E+00 0.6333757857203668E-06 0.4851096406176818E+00 0.2558741137025200E-01 0.7507638676041201E+00 0.3694384628159998E+03 0.5039168137241474E+01 + 1 165 165 DADI 0.15E+01 1.00 ---- 0.6318928531412075E+00 0.6292619863722959E-06 0.4850385313503781E+00 0.2553051702707870E-01 0.7505921407516074E+00 0.3624677941199940E+03 0.5039119335789080E+01 + 1 166 166 DADI 0.15E+01 1.00 ---- 0.6182177081553373E+00 0.6252828385905196E-06 0.4849532232859202E+00 0.2547084019335659E-01 0.7503808577047822E+00 0.3551205601875226E+03 0.5039020128131790E+01 + 1 167 167 DADI 0.15E+01 1.00 ---- 0.6041124017822498E+00 0.6213746668058952E-06 0.4848510581917461E+00 0.2540897545962363E-01 0.7501271446130076E+00 0.3475602004908600E+03 0.5038868620998034E+01 + 1 168 168 DADI 0.15E+01 1.00 ---- 0.5898306533412544E+00 0.6176034325821781E-06 0.4847297021958529E+00 0.2534551838412080E-01 0.7498287852028196E+00 0.3399444600323036E+03 0.5038663544695062E+01 + 1 169 169 DADI 0.15E+01 1.00 ---- 0.5755501767584511E+00 0.6140740952953526E-06 0.4845871653553526E+00 0.2528105823423280E-01 0.7494842309922231E+00 0.3323849122853682E+03 0.5038404310382032E+01 + 1 170 170 DADI 0.15E+01 1.00 ---- 0.5615848197393716E+00 0.6106951382002534E-06 0.4844218155539475E+00 0.2521616965532179E-01 0.7490926001334185E+00 0.3250683447130533E+03 0.5038091027405974E+01 + 1 171 171 DADI 0.15E+01 1.00 ---- 0.5481532262036616E+00 0.6071287691399269E-06 0.4842323901005441E+00 0.2515140606311356E-01 0.7486536749630320E+00 0.3181252377416098E+03 0.5037724515085729E+01 + 1 172 172 DADI 0.15E+01 1.00 ---- 0.5354491825567071E+00 0.6035320690647842E-06 0.4840179992710825E+00 0.2508729340603121E-01 0.7481678840497741E+00 0.3116697182290966E+03 0.5037306303219782E+01 + 1 173 173 DADI 0.15E+01 1.00 ---- 0.5237268796426805E+00 0.6000471934543870E-06 0.4837781244330840E+00 0.2502432434799920E-01 0.7476362748407921E+00 0.3058442491057305E+03 0.5036838610793861E+01 + 1 174 174 DADI 0.15E+01 1.00 ---- 0.5130972647843924E+00 0.5966924873982151E-06 0.4835126133529816E+00 0.2496295440040551E-01 0.7470604832243601E+00 0.3007033952289639E+03 0.5036324321800714E+01 + 1 175 175 DADI 0.15E+01 1.00 ---- 0.5036311379222932E+00 0.5934576765790597E-06 0.4832216692339996E+00 0.2490359966014041E-01 0.7464426920963323E+00 0.2962802139417221E+03 0.5035766939472757E+01 + 1 176 176 DADI 0.15E+01 1.00 ---- 0.4954060374015216E+00 0.5901740556262875E-06 0.4829058328786393E+00 0.2484663431409148E-01 0.7457855778704550E+00 0.2925975771187169E+03 0.5035170533403418E+01 + 1 177 177 DADI 0.15E+01 1.00 ---- 0.4884363841790518E+00 0.5866376865197374E-06 0.4825659617214150E+00 0.2479238926906293E-01 0.7450922557986847E+00 0.2896395341975760E+03 0.5034539667138423E+01 + 1 178 178 DADI 0.15E+01 1.00 ---- 0.4826503992205252E+00 0.5828519714534044E-06 0.4822032069889710E+00 0.2474115190245224E-01 0.7443662242644676E+00 0.2873417773932168E+03 0.5033879319985761E+01 + 1 179 179 DADI 0.15E+01 1.00 ---- 0.4779181253636984E+00 0.5788883902569626E-06 0.4818189876938740E+00 0.2469316585135421E-01 0.7436113044627717E+00 0.2856036908612922E+03 0.5033194803669377E+01 + 1 180 180 DADI 0.15E+01 1.00 ---- 0.4741482904303500E+00 0.5746518929774849E-06 0.4814149580315186E+00 0.2464862980100513E-01 0.7428315711774490E+00 0.2843450066374829E+03 0.5032491673551805E+01 + 1 181 181 DADI 0.15E+01 1.00 ---- 0.4711340198414257E+00 0.5701713229557088E-06 0.4809929747316937E+00 0.2460769882357008E-01 0.7420312863361747E+00 0.2834267161371515E+03 0.5031775631964895E+01 + 1 182 182 DADI 0.15E+01 1.00 ---- 0.4686812174365745E+00 0.5653296634268271E-06 0.4805550669339675E+00 0.2457048548827280E-01 0.7412148375148501E+00 0.2827191033530033E+03 0.5031052442634519E+01 + 1 183 183 DADI 0.15E+01 1.00 ---- 0.4666092674997697E+00 0.5599708783248506E-06 0.4801034021859412E+00 0.2453706100935698E-01 0.7403866748654231E+00 0.2821025236034680E+03 0.5030327849009983E+01 + 1 184 184 DADI 0.15E+01 1.00 ---- 0.4646916764416366E+00 0.5542546689224920E-06 0.4796402478239488E+00 0.2450745645794470E-01 0.7395512441583250E+00 0.2814394409453921E+03 0.5029607480363048E+01 + 1 185 185 DADI 0.15E+01 1.00 ---- 0.4627971967405483E+00 0.5484204317195532E-06 0.4791679390093553E+00 0.2448166429993617E-01 0.7387129312018071E+00 0.2806457882127543E+03 0.5028896786718509E+01 + 1 186 186 DADI 0.15E+01 1.00 ---- 0.4608207116832683E+00 0.5426711688537869E-06 0.4786888448187088E+00 0.2445963837028240E-01 0.7378760038427792E+00 0.2796545659508396E+03 0.5028200945681822E+01 + 1 187 187 DADI 0.15E+01 1.00 ---- 0.4586364615009966E+00 0.5367581378320960E-06 0.4782053348639376E+00 0.2444129572565047E-01 0.7370445597179041E+00 0.2783933018476509E+03 0.5027524752121195E+01 + 1 188 188 DADI 0.15E+01 1.00 ---- 0.4561470878704608E+00 0.5308833182275370E-06 0.4777197522499982E+00 0.2442651925113107E-01 0.7362224883694136E+00 0.2768089318011801E+03 0.5026872623869541E+01 + 1 189 189 DADI 0.15E+01 1.00 ---- 0.4532857038068894E+00 0.5251943258039953E-06 0.4772343871624362E+00 0.2441516009548260E-01 0.7354134358109481E+00 0.2748681229497556E+03 0.5026248557996683E+01 + 1 190 190 DADI 0.15E+01 1.00 ---- 0.4499573058843986E+00 0.5196186019293803E-06 0.4767514516332618E+00 0.2440704019183931E-01 0.7346207711880858E+00 0.2725270253822986E+03 0.5025656072512871E+01 + 1 191 191 DADI 0.15E+01 1.00 ---- 0.4462277957283621E+00 0.5140166417331968E-06 0.4762730561353181E+00 0.2440195456249582E-01 0.7338475588658362E+00 0.2698291826950561E+03 0.5025098177076400E+01 + 1 192 192 DADI 0.15E+01 1.00 ---- 0.4420933053786095E+00 0.5084300266144330E-06 0.4758011890825448E+00 0.2439967306767905E-01 0.7330965359037285E+00 0.2667828999219135E+03 0.5024577353135069E+01 + 1 193 193 DADI 0.15E+01 1.00 ---- 0.4375525027484999E+00 0.5030654414385334E-06 0.4753377005120802E+00 0.2439994384075671E-01 0.7323700967954222E+00 0.2633994032156343E+03 0.5024095536169021E+01 + 1 194 194 DADI 0.15E+01 1.00 ---- 0.4326731107297440E+00 0.4978719053933014E-06 0.4748842871446443E+00 0.2440249578500832E-01 0.7316702822465310E+00 0.2597285320216190E+03 0.5023654111838243E+01 + 1 195 195 DADI 0.15E+01 1.00 ---- 0.4275266247431125E+00 0.4928314118476716E-06 0.4744424790874137E+00 0.2440704181908721E-01 0.7309987723183008E+00 0.2558263550294780E+03 0.5023253926386634E+01 + 1 196 196 DADI 0.15E+01 1.00 ---- 0.4221756191450737E+00 0.4879564567034686E-06 0.4740136303117570E+00 0.2441328285755485E-01 0.7303568859583509E+00 0.2517449416747576E+03 0.5022895293860123E+01 + 1 197 197 DADI 0.15E+01 1.00 ---- 0.4166849836963498E+00 0.4832147697226167E-06 0.4735989148970491E+00 0.2442091104641592E-01 0.7297455895374946E+00 0.2475372039612541E+03 0.5022578009237153E+01 + 1 198 198 DADI 0.15E+01 1.00 ---- 0.4111292480080861E+00 0.4786082821857194E-06 0.4731993224545954E+00 0.2442961364430556E-01 0.7291655036922129E+00 0.2432632223522821E+03 0.5022301378631623E+01 + 1 199 199 DADI 0.15E+01 1.00 ---- 0.4055720914048041E+00 0.4741445331764253E-06 0.4728156536643702E+00 0.2443907614249846E-01 0.7286169095401037E+00 0.2389779174785459E+03 0.5022064254058471E+01 +#--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- +# Grid | Iter | Iter | Iter | CFL | Step | Lin | Res rho | Res nuturb | C_lift | C_drag | C_Mz | totalRes | Y+_max | +# level | | Tot | Type | | | Res | | | | | | | | +#--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- + 1 200 200 DADI 0.15E+01 1.00 ---- 0.4000460522528781E+00 0.4698088025713253E-06 0.4724485224078410E+00 0.2444898627632979E-01 0.7280997654129587E+00 0.2347184185108467E+03 0.5021865068275002E+01 + 1 201 201 DADI 0.15E+01 1.00 ---- 0.3946396093777096E+00 0.4656063138780433E-06 0.4720983551229381E+00 0.2445903722157172E-01 0.7276137179640461E+00 0.2305519619249191E+03 0.5021701874371754E+01 + 1 202 202 DADI 0.15E+01 1.00 ---- 0.3893825490882458E+00 0.4615150106645134E-06 0.4717653951009307E+00 0.2446893142176551E-01 0.7271581221178728E+00 0.2265123179325435E+03 0.5021572388439814E+01 + 1 203 203 DADI 0.15E+01 1.00 ---- 0.3842937491882079E+00 0.4574994378615729E-06 0.4714497092111197E+00 0.2447838473593394E-01 0.7267320637534245E+00 0.2226258145429823E+03 0.5021474031479010E+01 + 1 204 204 DADI 0.15E+01 1.00 ---- 0.3794020309604160E+00 0.4534736791594877E-06 0.4711511936502645E+00 0.2448712913830909E-01 0.7263343793191238E+00 0.2189224634471692E+03 0.5021403976125626E+01 + 1 205 205 DADI 0.15E+01 1.00 ---- 0.3746849797552275E+00 0.4495267900575273E-06 0.4708695809348040E+00 0.2449491556318537E-01 0.7259636770593408E+00 0.2154001370885820E+03 0.5021359200896787E+01 + 1 206 206 DADI 0.15E+01 1.00 ---- 0.3701392277337374E+00 0.4456455657809951E-06 0.4706044498030000E+00 0.2450151610236023E-01 0.7256183606180858E+00 0.2120684470085027E+03 0.5021336543673892E+01 + 1 207 207 DADI 0.15E+01 1.00 ---- 0.3657385223127296E+00 0.4418870214429423E-06 0.4703552360317222E+00 0.2450672598298608E-01 0.7252966541480260E+00 0.2089181067257179E+03 0.5021332749571331E+01 + 1 208 208 DADI 0.15E+01 1.00 ---- 0.3615044957818239E+00 0.4381838356036613E-06 0.4701212435646194E+00 0.2451036527056314E-01 0.7249966275901268E+00 0.2059630426800249E+03 0.5021344506348878E+01 + 1 209 209 DADI 0.15E+01 1.00 ---- 0.3573511407107697E+00 0.4344876669992353E-06 0.4699016564361067E+00 0.2451228070141246E-01 0.7247162225820807E+00 0.2031556310782773E+03 0.5021368494059320E+01 + 1 210 210 DADI 0.15E+01 1.00 ---- 0.3532294870871948E+00 0.4308345144678754E-06 0.4696955518928727E+00 0.2451234708827129E-01 0.7244532788746502E+00 0.2004682660731610E+03 0.5021401430518202E+01 + 1 211 211 DADI 0.15E+01 1.00 ---- 0.3491330508321417E+00 0.4272201852136173E-06 0.4695019142030327E+00 0.2451046776551907E-01 0.7242055611391356E+00 0.1978948488668584E+03 0.5021440109965149E+01 + 1 212 212 DADI 0.15E+01 1.00 ---- 0.3450333910457121E+00 0.4236340713740550E-06 0.4693196487168819E+00 0.2450657467839747E-01 0.7239707846553450E+00 0.1954136629878180E+03 0.5021481432101362E+01 + 1 213 213 DADI 0.15E+01 1.00 ---- 0.3408784175647966E+00 0.4200570688415196E-06 0.4691475956109243E+00 0.2450062806009717E-01 0.7237466390967409E+00 0.1929904170704171E+03 0.5021522446008698E+01 + 1 214 214 DADI 0.15E+01 1.00 ---- 0.3366408044516799E+00 0.4164847439868580E-06 0.4689845446202287E+00 0.2449261578158551E-01 0.7235308136015114E+00 0.1906026059788614E+03 0.5021560364169089E+01 + 1 215 215 DADI 0.15E+01 1.00 ---- 0.3322717157622108E+00 0.4129210436265556E-06 0.4688292515055013E+00 0.2448255270249622E-01 0.7233210247517055E+00 0.1882106339409100E+03 0.5021592591647299E+01 + 1 216 216 DADI 0.15E+01 1.00 ---- 0.3277429580112496E+00 0.4093642881338507E-06 0.4686804519512741E+00 0.2447047948733077E-01 0.7231150391214285E+00 0.1857903652750543E+03 0.5021616747243476E+01 + 1 217 217 DADI 0.15E+01 1.00 ---- 0.3230475005367596E+00 0.4058185981736747E-06 0.4685368765152796E+00 0.2445646099486914E-01 0.7229106963899778E+00 0.1833320124572228E+03 0.5021630676121421E+01 + 1 218 218 DADI 0.15E+01 1.00 ---- 0.3181823426513632E+00 0.4022875444470468E-06 0.4683972647246882E+00 0.2444058465022029E-01 0.7227059303409104E+00 0.1808270234146036E+03 0.5021632459019113E+01 + 1 219 230 *NK ---- 0.50 0.268 0.1562104996332290E+00 0.6980632045513734E-05 0.4599791033869365E+00 0.2377447198275208E-01 0.7083291542505512E+00 0.1182930658960984E+03 0.5016073815861322E+01 + 1 220 241 NK ---- 1.00 0.482 0.6650986890828434E-01 0.6066378947764424E-05 0.4504238450952774E+00 0.2328765888080940E-01 0.6930625774648282E+00 0.8795938693225676E+02 0.5011616618882715E+01 + 1 221 245 *NK ---- 1.00 0.557 0.5734663275735789E-01 0.1923542478247374E-05 0.4495738999772193E+00 0.2318764877722311E-01 0.6918429121729622E+00 0.4907728473595821E+02 0.5010686927855776E+01 + 1 222 254 NK ---- 1.00 0.451 0.2813290728374482E-01 0.1321534804312357E-05 0.4445027754285816E+00 0.2306687589808474E-01 0.6842612097865447E+00 0.2267288116230983E+02 0.5006694795772725E+01 + 1 223 265 *NK ---- 1.00 0.236 0.9404462745095859E-02 0.2747032791895754E-06 0.4423614422786879E+00 0.2305195058546627E-01 0.6812191288537683E+00 0.5608515110478200E+01 0.5003724668330833E+01 + 1 224 284 NK ---- 1.00 0.116 0.6311288829728583E-02 0.8159093839352864E-07 0.4418541239395695E+00 0.2305448926674477E-01 0.6805140765341768E+00 0.3848752268663371E+01 0.5001103648309932E+01 + 1 225 287 *NK ---- 1.00 0.238 0.2463722400825236E-02 0.1633051700201817E-07 0.4418545577748446E+00 0.2305511806829843E-01 0.6805163851914663E+00 0.9164100229683515E+00 0.5001117828884300E+01 + 1 226 297 NK ---- 1.00 0.337 0.1314022451176928E-02 0.2119378454805897E-08 0.4418635352961218E+00 0.2305291464217658E-01 0.6805292368627593E+00 0.3259430949063940E+00 0.5001075719677027E+01 + 1 227 313 *NK ---- 1.00 0.195 0.3073591059042862E-03 0.5733382330933905E-09 0.4418493021626301E+00 0.2305269555179987E-01 0.6805049574323476E+00 0.1443835227459030E+00 0.5001062602852435E+01 + 1 228 321 NK ---- 1.00 0.255 0.1528853705979887E-03 0.2288070622180553E-09 0.4418527140308547E+00 0.2305329589526667E-01 0.6805120776523178E+00 0.3680385595954237E-01 0.5001079639311747E+01 + 1 229 342 *NK ---- 1.00 0.108 0.1072055246272319E-04 0.2569523455406408E-10 0.4418532610986070E+00 0.2305267933678356E-01 0.6805121208805194E+00 0.3961481995461323E-02 0.5001086067054016E+01 + 1 230 371 NK ---- 1.00 0.020 0.2035763748944442E-06 0.3302238741389956E-11 0.4418532625444993E+00 0.2305269225116363E-01 0.6805121339781028E+00 0.7916645220932155E-04 0.5001086794737364E+01 + 1 231 421 *NK ---- 1.00 0.002 0.4294744837809069E-09 0.3017473363138771E-14 0.4418532618614873E+00 0.2305269275129024E-01 0.6805121348058544E+00 0.1329156927401101E-06 0.5001086789961887E+01 + 1 232 483 NK ---- 1.00 0.000 0.2250204608571013E-12 0.1184565296600511E-17 0.4418532618524105E+00 0.2305269275065070E-01 0.6805121347920290E+00 0.2888501923011557E-09 0.5001086789979344E+01 + 1 233 533 *NK ---- 1.00 0.001 0.5671325189098086E-13 0.4306997153946127E-18 0.4418532618524082E+00 0.2305269275065059E-01 0.6805121347920267E+00 0.2305922741438254E-09 0.5001086789979328E+01 + 1 234 536 NK ---- 1.00 0.519 0.1553305154211339E-12 0.3816712295115280E-18 0.4418532618524084E+00 0.2305269275065064E-01 0.6805121347920268E+00 0.2110244899687337E-09 0.5001086789979330E+01 + 1 235 539 *NK ---- 1.00 0.449 0.1307068037877495E-12 0.3889095812536839E-18 0.4418532618524084E+00 0.2305269275065066E-01 0.6805121347920269E+00 0.1986665997124122E-09 0.5001086789979328E+01 + 1 236 542 NK ---- 1.00 0.469 0.1279083751798007E-12 0.3636132773344402E-18 0.4418532618524083E+00 0.2305269275065066E-01 0.6805121347920268E+00 0.2038869812216094E-09 0.5001086789979333E+01 + 1 237 545 *NK ---- 1.00 0.471 0.1271477619188025E-12 0.3818629108623908E-18 0.4418532618524081E+00 0.2305269275065066E-01 0.6805121347920265E+00 0.2017500517724289E-09 0.5001086789979338E+01 + 1 238 548 NK ---- 1.00 0.459 0.1272902137468882E-12 0.3719523654525122E-18 0.4418532618524083E+00 0.2305269275065066E-01 0.6805121347920265E+00 0.1954615071579522E-09 0.5001086789979338E+01 + 1 239 551 *NK ---- 1.00 0.464 0.1234928620177918E-12 0.3823176635612749E-18 0.4418532618524083E+00 0.2305269275065067E-01 0.6805121347920267E+00 0.1979319925999479E-09 0.5001086789979339E+01 + 1 240 554 NK ---- 1.00 0.470 0.1251459976357966E-12 0.3967021330234052E-18 0.4418532618524083E+00 0.2305269275065067E-01 0.6805121347920264E+00 0.1987516050185314E-09 0.5001086789979344E+01 + 1 241 558 *NK ---- 0.50 0.469 0.9645796616486321E-13 0.3577030590738409E-18 0.4418532618524081E+00 0.2305269275065067E-01 0.6805121347920262E+00 0.1709816099291816E-09 0.5001086789979345E+01 + 1 242 561 NK ---- 1.00 0.497 0.1243293076647438E-12 0.3811415222897950E-18 0.4418532618524081E+00 0.2305269275065069E-01 0.6805121347920261E+00 0.2001440344540086E-09 0.5001086789979346E+01 + 1 243 565 *NK ---- 0.50 0.472 0.9990410288198585E-13 0.3514733297777726E-18 0.4418532618524081E+00 0.2305269275065070E-01 0.6805121347920261E+00 0.1690701003662187E-09 0.5001086789979347E+01 + 1 244 569 NK ---- 0.50 0.498 0.1050768437860824E-12 0.3470212297712669E-18 0.4418532618524080E+00 0.2305269275065070E-01 0.6805121347920260E+00 0.1614668115917438E-09 0.5001086789979347E+01 + 1 245 573 *NK ---- 0.50 0.491 0.1038775799786390E-12 0.3314558738166842E-18 0.4418532618524080E+00 0.2305269275065069E-01 0.6805121347920261E+00 0.1633930702531642E-09 0.5001086789979349E+01 + 1 246 576 NK ---- 1.00 0.490 0.1215771143999754E-12 0.3780729503130153E-18 0.4418532618524079E+00 0.2305269275065066E-01 0.6805121347920258E+00 0.1981258502417493E-09 0.5001086789979345E+01 + 1 247 580 *NK ---- 0.50 0.471 0.9420589955573384E-13 0.3426551605832397E-18 0.4418532618524078E+00 0.2305269275065065E-01 0.6805121347920257E+00 0.1742115788321254E-09 0.5001086789979344E+01 + 1 248 584 NK ---- 0.50 0.487 0.1000791532003842E-12 0.3411922210126990E-18 0.4418532618524076E+00 0.2305269275065062E-01 0.6805121347920257E+00 0.1645741113276908E-09 0.5001086789979343E+01 + 1 249 588 *NK ---- 0.50 0.491 0.1049440569707168E-12 0.3278232458057391E-18 0.4418532618524076E+00 0.2305269275065062E-01 0.6805121347920257E+00 0.1605748424148465E-09 0.5001086789979341E+01 +#--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- +# Grid | Iter | Iter | Iter | CFL | Step | Lin | Res rho | Res nuturb | C_lift | C_drag | C_Mz | totalRes | Y+_max | +# level | | Tot | Type | | | Res | | | | | | | | +#--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- + 1 250 591 NK ---- 1.00 0.486 0.1170287239266327E-12 0.3727092792599672E-18 0.4418532618524074E+00 0.2305269275065059E-01 0.6805121347920252E+00 0.1930502589999938E-09 0.5001086789979340E+01 + 1 251 595 *NK ---- 0.50 0.467 0.9543050938182138E-13 0.3522776433562290E-18 0.4418532618524074E+00 0.2305269275065060E-01 0.6805121347920250E+00 0.1656176159235385E-09 0.5001086789979339E+01 + 1 252 599 NK ---- 0.50 0.492 0.9695779947283087E-13 0.3301459490570896E-18 0.4418532618524073E+00 0.2305269275065059E-01 0.6805121347920250E+00 0.1583072633436943E-09 0.5001086789979338E+01 + 1 253 603 *NK ---- 0.50 0.492 0.1034355167675522E-12 0.3253488996738930E-18 0.4418532618524073E+00 0.2305269275065059E-01 0.6805121347920251E+00 0.1575942666213272E-09 0.5001086789979338E+01 + 1 254 607 NK ---- 0.50 0.488 0.1023171199579136E-12 0.3297807742196754E-18 0.4418532618524071E+00 0.2305269275065059E-01 0.6805121347920250E+00 0.1571569221869000E-09 0.5001086789979336E+01 + 1 255 611 *NK ---- 0.50 0.486 0.1016576607943388E-12 0.3447980003444888E-18 0.4418532618524070E+00 0.2305269275065060E-01 0.6805121347920248E+00 0.1606090418132638E-09 0.5001086789979335E+01 + 1 256 615 NK ---- 0.50 0.486 0.1003877351178426E-12 0.3416929240221305E-18 0.4418532618524070E+00 0.2305269275065059E-01 0.6805121347920245E+00 0.1619217907379676E-09 0.5001086789979338E+01 + 1 257 619 *NK ---- 0.50 0.489 0.1023394772247376E-12 0.3406828360195737E-18 0.4418532618524069E+00 0.2305269275065058E-01 0.6805121347920243E+00 0.1590682326655255E-09 0.5001086789979337E+01 + 1 258 623 NK ---- 0.50 0.489 0.1019407875475031E-12 0.3351085705257528E-18 0.4418532618524068E+00 0.2305269275065058E-01 0.6805121347920242E+00 0.1599819572965535E-09 0.5001086789979336E+01 + 1 259 627 *NK ---- 0.50 0.484 0.9975128438881704E-13 0.3449993555455105E-18 0.4418532618524068E+00 0.2305269275065058E-01 0.6805121347920240E+00 0.1603301785514757E-09 0.5001086789979334E+01 + 1 260 631 NK ---- 0.50 0.493 0.1015048313031073E-12 0.3392192427551169E-18 0.4418532618524068E+00 0.2305269275065057E-01 0.6805121347920240E+00 0.1561790137429309E-09 0.5001086789979337E+01 + 1 261 635 *NK ---- 0.50 0.486 0.1013500716411278E-12 0.3464722751338977E-18 0.4418532618524067E+00 0.2305269275065058E-01 0.6805121347920239E+00 0.1596028152968724E-09 0.5001086789979335E+01 + 1 262 639 NK ---- 0.50 0.487 0.1011082522942943E-12 0.3439787380174636E-18 0.4418532618524068E+00 0.2305269275065057E-01 0.6805121347920240E+00 0.1592974888385873E-09 0.5001086789979337E+01 + 1 263 644 *NK ---- 0.25 0.496 0.1035766582356481E-12 0.3491950920055020E-18 0.4418532618524068E+00 0.2305269275065057E-01 0.6805121347920239E+00 0.1526095051033825E-09 0.5001086789979337E+01 + 1 264 649 NK ---- 0.25 0.492 0.1133074070492418E-12 0.3630593156770552E-18 0.4418532618524068E+00 0.2305269275065057E-01 0.6805121347920240E+00 0.1530608667572114E-09 0.5001086789979337E+01 + 1 265 654 *NK ---- 0.25 0.483 0.1241678177149312E-12 0.3752835448995459E-18 0.4418532618524068E+00 0.2305269275065057E-01 0.6805121347920238E+00 0.1577501888414826E-09 0.5001086789979336E+01 + 1 266 660 NK ---- 0.12 0.473 0.1296121939911562E-12 0.3775112955585466E-18 0.4418532618524068E+00 0.2305269275065057E-01 0.6805121347920238E+00 0.1582898778551566E-09 0.5001086789979336E+01 + 1 267 668 *NK ---- 0.03 0.465 0.1315123612184363E-12 0.3764107950793513E-18 0.4418532618524068E+00 0.2305269275065057E-01 0.6805121347920238E+00 0.1587619026794849E-09 0.5001086789979336E+01 + 1 268 677 NK ---- 0.02 0.464 0.1321995176798534E-12 0.3774554169712641E-18 0.4418532618524068E+00 0.2305269275065057E-01 0.6805121347920238E+00 0.1586711529733752E-09 0.5001086789979336E+01 + 1 269 688 *NK ---- 0.00 0.463 0.1323873567138583E-12 0.3774766304589663E-18 0.4418532618524068E+00 0.2305269275065057E-01 0.6805121347920238E+00 0.1587516014436724E-09 0.5001086789979336E+01 + 1 270 700 NK ---- 0.00 0.462 0.1324334548835136E-12 0.3774806950863435E-18 0.4418532618524068E+00 0.2305269275065057E-01 0.6805121347920238E+00 0.1587653117266402E-09 0.5001086789979336E+01 + 1 271 712 *NK ---- 0.00 0.462 0.1324695311676591E-12 0.3774839046788661E-18 0.4418532618524068E+00 0.2305269275065057E-01 0.6805121347920238E+00 0.1587810623616082E-09 0.5001086789979336E+01 + 1 272 724 NK ---- 0.00 0.462 0.1324924373758570E-12 0.3774932330773710E-18 0.4418532618524068E+00 0.2305269275065057E-01 0.6805121347920238E+00 0.1588022742641415E-09 0.5001086789979336E+01 + 1 273 736 *NK ---- 0.00 0.462 0.1325091935021772E-12 0.3775497240842964E-18 0.4418532618524068E+00 0.2305269275065057E-01 0.6805121347920238E+00 0.1588034682238742E-09 0.5001086789979336E+01 + 1 274 748 NK ---- 0.00 0.462 0.1325726432914096E-12 0.3775592798257955E-18 0.4418532618524068E+00 0.2305269275065057E-01 0.6805121347920238E+00 0.1588179039325719E-09 0.5001086789979336E+01 + 1 275 760 *NK ---- 0.00 0.462 0.1325219714186603E-12 0.3775638013627049E-18 0.4418532618524068E+00 0.2305269275065057E-01 0.6805121347920238E+00 0.1588002403619253E-09 0.5001086789979336E+01 ++-------------------------------------------------+ +| +| Solution Timings: +| +| Set AeroProblem Time : 0.004 sec +| Solution Time : 60.754 sec +| Write Solution Time : 0.000 sec +| Stability Parameter Time : 0.000 sec +| +| Total Call Time : 60.757 sec ++--------------------------------------------------+ +-> Alpha... 1.800000 ++---------------------------------------------------+ +| +| Function Timings: +| +| Function AeroProblem Time : 0.001 sec +| Function Evaluation Time : 0.001 sec +| User Function Evaluation Time : 0.000 sec +| +| Total Function Evaluation Time: 0.002 sec ++--------------------------------------------------+ +-> Alpha... 1.800000 +Solving adjoint: cl +-> Alpha... 1.800000 +Solving ADjoint Transpose with PETSc... + 0 KSP Residual norm 0.1134465027E+00 + 10 KSP Residual norm 0.1094723417E+00 + 20 KSP Residual norm 0.3171896325E-01 + 30 KSP Residual norm 0.1695569470E-02 + 40 KSP Residual norm 0.7682280395E-04 + 50 KSP Residual norm 0.4814086170E-05 + 60 KSP Residual norm 0.2912475007E-06 + 70 KSP Residual norm 0.1953690761E-07 + 80 KSP Residual norm 0.1632618252E-08 + 90 KSP Residual norm 0.1104734664E-09 + 100 KSP Residual norm 0.6363086405E-11 + 110 KSP Residual norm 0.1201113245E-11 + 120 KSP Residual norm 0.2018523044E-12 + 130 KSP Residual norm 0.1395253750E-13 + 140 KSP Residual norm 0.1476931295E-14 + 150 KSP Residual norm 0.1207709353E-15 +Solving ADjoint Transpose with PETSc time (s) = 0.00 + Norm of error = 0.1443E-11 Iterations = 151 + ------------------------------------------------ + PETSc solver converged after 151 iterations. + ------------------------------------------------ +Solving adjoint: cmz +-> Alpha... 1.800000 +Solving ADjoint Transpose with PETSc... + 0 KSP Residual norm 0.1700388613E+00 + 10 KSP Residual norm 0.1638630360E+00 + 20 KSP Residual norm 0.4914999539E-01 + 30 KSP Residual norm 0.2357487867E-02 + 40 KSP Residual norm 0.1087138745E-03 + 50 KSP Residual norm 0.6283934014E-05 + 60 KSP Residual norm 0.3844393533E-06 + 70 KSP Residual norm 0.2824162301E-07 + 80 KSP Residual norm 0.2275481843E-08 + 90 KSP Residual norm 0.1472401039E-09 + 100 KSP Residual norm 0.8821364308E-11 + 110 KSP Residual norm 0.1625666631E-11 + 120 KSP Residual norm 0.2566446648E-12 + 130 KSP Residual norm 0.2099532300E-13 + 140 KSP Residual norm 0.2216847996E-14 + 150 KSP Residual norm 0.1851590107E-15 +Solving ADjoint Transpose with PETSc time (s) = 0.00 + Norm of error = 0.1810E-11 Iterations = 153 + ------------------------------------------------ + PETSc solver converged after 153 iterations. + ------------------------------------------------ +Solving adjoint: drag +-> Alpha... 1.800000 +Solving ADjoint Transpose with PETSc... + 0 KSP Residual norm 0.7467131549E+04 + 10 KSP Residual norm 0.6442730315E+04 + 20 KSP Residual norm 0.8780660262E+03 + 30 KSP Residual norm 0.3004869195E+02 + 40 KSP Residual norm 0.1471363146E+01 + 50 KSP Residual norm 0.7492673364E-01 + 60 KSP Residual norm 0.5153781753E-02 + 70 KSP Residual norm 0.3311393261E-03 + 80 KSP Residual norm 0.2769175878E-04 + 90 KSP Residual norm 0.2068065704E-05 + 100 KSP Residual norm 0.1158508468E-06 + 110 KSP Residual norm 0.1691282619E-07 + 120 KSP Residual norm 0.2121173133E-08 + 130 KSP Residual norm 0.2260751317E-09 + 140 KSP Residual norm 0.1965474251E-10 + 150 KSP Residual norm 0.1684492905E-11 +Solving ADjoint Transpose with PETSc time (s) = 0.00 + Norm of error = 0.3398E-07 Iterations = 154 + ------------------------------------------------ + PETSc solver converged after 154 iterations. + ------------------------------------------------ ++--------------------------------------------------+ +| +| Adjoint Times: +| +| Adjoint Solve Time - cl : 19.064 sec +| Total Sensitivity Time - cl : 0.254 sec +| Adjoint Solve Time - cmz : 18.510 sec +| Total Sensitivity Time - cmz : 0.196 sec +| Adjoint Solve Time - drag : 18.565 sec +| Total Sensitivity Time - drag : 0.205 sec +| +| Complete Sensitivity Time : 56.797 sec ++--------------------------------------------------+ +funcs[cl]: +@value 4.4185326185241e-01 1e-10 1e-10 +funcs[cmz]: +@value 6.8051213479202e-01 1e-10 1e-10 +funcs[drag]: +@value 1.2452463365382e+04 1e-10 1e-10 +Twist[0] Derivatives: +@value -7.6357766210186e-02 1e-10 1e-10 +@value -9.1961275622382e-02 1e-10 1e-10 +@value -1.7978873989796e+03 1e-10 1e-10 +Span Derivatives: +@value 4.7559996164206e-02 1e-10 1e-10 +@value 7.0501476276839e-02 1e-10 1e-10 +@value 1.2193055674642e+03 1e-10 1e-10 +shape[13] Derivatives: +@value 6.0323174240465e-02 1e-10 1e-10 +@value 7.7123561594155e-02 1e-10 1e-10 +@value 3.3943068104444e+03 1e-10 1e-10 +mach Derivatives: +@value 6.6384606171758e-01 1e-10 1e-10 +@value 1.2379455937577e+00 1e-10 1e-10 +@value 8.9130055785759e+04 1e-10 1e-10 From f9a527437ac54e31ade8023e206fb63d8b491da1 Mon Sep 17 00:00:00 2001 From: Neil Wu Date: Sun, 9 Feb 2020 22:04:40 +0000 Subject: [PATCH 12/21] updated run_reg_tests_cs to use compare script --- python/reg_tests/run_reg_tests_cs.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/reg_tests/run_reg_tests_cs.py b/python/reg_tests/run_reg_tests_cs.py index a5ac3362a..0d3b0f4e9 100644 --- a/python/reg_tests/run_reg_tests_cs.py +++ b/python/reg_tests/run_reg_tests_cs.py @@ -6,7 +6,7 @@ # ============================================================================= # Extension modules # ============================================================================= -import mdo_regression_helper as reg +import mdo_regression_compare as reg # define scripts to run: module_name = 'adflow' From 0c324de6116cafcedea4385231d7a53cfa7cc4a1 Mon Sep 17 00:00:00 2001 From: Neil Wu Date: Mon, 10 Feb 2020 16:44:48 +0000 Subject: [PATCH 13/21] made L2 norm and adj tolerances into alwaysRealType --- src/adjoint/adjointAPI.F90 | 2 +- src/modules/inputParam.F90 | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/adjoint/adjointAPI.F90 b/src/adjoint/adjointAPI.F90 index dda775007..762f114db 100644 --- a/src/adjoint/adjointAPI.F90 +++ b/src/adjoint/adjointAPI.F90 @@ -727,7 +727,7 @@ subroutine solveAdjoint(RHS, psi, checkSolution, nState) real(kind=alwaysRealType) :: norm real(kind=alwaysRealType), dimension(2) :: time real(kind=alwaysRealType) :: timeAdjLocal, timeAdj - real(kind=realType) :: l2abs, l2rel + real(kind=alwaysRealType) :: l2abs, l2rel integer(kind=intType) :: ierr, nn, sps integer(kind=intType) :: adjConvIts KSPConvergedReason adjointConvergedReason diff --git a/src/modules/inputParam.F90 b/src/modules/inputParam.F90 index 6af914d30..dbb91e524 100644 --- a/src/modules/inputParam.F90 +++ b/src/modules/inputParam.F90 @@ -787,10 +787,10 @@ module inputADjoint ! It has a high impact on the required memory! ! adjMonStep : Convergence monitor step - real(kind=realType) :: adjRelTol - real(kind=realType) :: adjAbsTol - real(kind=realType) :: adjRelTolRel - real(kind=realType) :: adjDivTol + real(kind=alwaysRealType) :: adjRelTol + real(kind=alwaysRealType) :: adjAbsTol + real(kind=alwaysRealType) :: adjRelTolRel + real(kind=alwaysRealType) :: adjDivTol integer(kind=intType) :: adjMaxIter integer(kind=intType) :: adjRestart integer(kind=intType) :: adjMonStep From 99e1f2944b4d739e5220707eef45ba9a506e039b Mon Sep 17 00:00:00 2001 From: Neil Wu Date: Mon, 10 Feb 2020 16:47:41 +0000 Subject: [PATCH 14/21] replaced cgnsPerType with realType, and changed read/write CGNS to explicitly cast them to real*4 --- src/modules/precision.F90 | 4 ---- src/output/writeCGNSGrid.F90 | 8 ++++---- src/partitioning/readCGNSGrid.F90 | 22 +++++++++++----------- src_cs/modules/precision.F90 | 4 ---- 4 files changed, 15 insertions(+), 23 deletions(-) diff --git a/src/modules/precision.F90 b/src/modules/precision.F90 index c8bb053da..46fec42c2 100644 --- a/src/modules/precision.F90 +++ b/src/modules/precision.F90 @@ -101,9 +101,6 @@ module precision ! integer(kind=1), private :: adtDummyElementInt - ! Definition of the cgns periodic type. - ! - real(kind=4), private :: dummyCGNSPer ! ! Definition of the kind parameters for the integer and real ! types. @@ -113,7 +110,6 @@ module precision integer, parameter :: realType = kind(dummyReal) integer, parameter :: adtElementType = kind(adtDummyElementInt) integer, parameter :: cgnsRealType = kind(dummyCGNSReal) - integer, parameter :: cgnsPerType = kind(dummyCGNSPer) integer, parameter :: alwaysRealType = kind(dummyReal) integer, parameter :: singleType = kind(dummySingle) integer, parameter :: doubleType = kind(dummyDouble) diff --git a/src/output/writeCGNSGrid.F90 b/src/output/writeCGNSGrid.F90 index 55251b833..51d796340 100644 --- a/src/output/writeCGNSGrid.F90 +++ b/src/output/writeCGNSGrid.F90 @@ -437,7 +437,7 @@ subroutine writeCGNSGridFrame(cgnsZone, ind) integer(kind=intType) :: nn, mm, ll, i, j, k integer(kind=intType) :: s1, s2, s3 - real(kind=cgnsPerType), dimension(3) :: rotCenter, rotRate, translation + real(kind=realType), dimension(3) :: rotCenter, rotRate, translation real(kind=realType) :: LRefInv @@ -598,7 +598,7 @@ subroutine writeCGNSGridFrame(cgnsZone, ind) ! Write the rotation rate and rotation center. - call cg_rotating_write_f(rotRate, rotCenter, ierr) + call cg_rotating_write_f(real(rotRate,4), real(rotCenter,4), ierr) if(ierr /= CG_OK) & call terminate("writeCGNSGridFrame", & "Something wrong when calling & @@ -728,8 +728,8 @@ subroutine writeCGNSGridFrame(cgnsZone, ind) * 180.0_realType/pi call cg_conn_periodic_write_f(cgnsInd, cgnsBase, & - cgnsZone(nn), jj, rotCenter, & - rotRate, translation, ierr) + cgnsZone(nn), jj, real(rotCenter,4), & + real(rotRate,4), real(translation,4), ierr) if(ierr /= CG_OK) & call terminate("writeCGNSGridFrame", & "Something wrong when calling & diff --git a/src/partitioning/readCGNSGrid.F90 b/src/partitioning/readCGNSGrid.F90 index d3ce6a479..6267a5798 100644 --- a/src/partitioning/readCGNSGrid.F90 +++ b/src/partitioning/readCGNSGrid.F90 @@ -470,7 +470,7 @@ subroutine readZoneInfo(cgnsBase, nZone, sortedFamName, & integer(kind=intType) :: ii, nn - real(kind=cgnsPertype), dimension(3) :: rotCenter, rotRate + real(kind=realType), dimension(3) :: rotCenter, rotRate real(kind=realType) :: mult, trans @@ -732,7 +732,7 @@ subroutine readZoneInfo(cgnsBase, nZone, sortedFamName, & ! No family information specified. ! Try to read the rotation rate and center. - call cg_rotating_read_f(rotRate, rotCenter, ierr) + call cg_rotating_read_f(real(rotRate,4), real(rotCenter,4), ierr) if(ierr == error) & call terminate("readZoneInfo", & "Something wrong when calling & @@ -1174,8 +1174,8 @@ subroutine read1to1Conn(cgnsInd, cgnsBase, nZone) character(len=maxCGNSNameLen) :: connectName type(cgns1to1ConnType), pointer, dimension(:) :: conn1to1 - real(kind=cgnsPerType), dimension(3) :: rotCenter, rotAngles - real(kind=cgnsPerType), dimension(3) :: tlation + real(kind=realType), dimension(3) :: rotCenter, rotAngles + real(kind=realType), dimension(3) :: tlation ! Determine the number of 1 to 1 connectivities stored in the ! CGNS file for this zone. @@ -1236,7 +1236,7 @@ subroutine read1to1Conn(cgnsInd, cgnsBase, nZone) call cg_1to1_periodic_read_f(cgnsInd, cgnsBase, nZone, i, & - rotCenter, rotAngles, tlation, ierr) + real(rotCenter,4), real(rotAngles,4), real(tlation,4), ierr) if(ierr == CG_OK)then call readPeriodicSubface1to1(cgnsInd, cgnsBase, nZone, i, & cgnsDoms(nZone)%conn1to1(i)%connectName, & @@ -2854,15 +2854,15 @@ subroutine readPeriodicSubface(cgnsInd, cgnsBase, zone, conn, & integer :: jj integer :: mass, len, time, temp, angle - real(kind=cgnsPerType), dimension(3) :: rotCenter, rotAngles - real(kind=cgnsPerType), dimension(3) :: tlation + real(kind=realType), dimension(3) :: rotCenter, rotAngles + real(kind=realType), dimension(3) :: tlation real(kind=realType) :: mult, trans ! Check if this is a periodic boundary. call cg_conn_periodic_read_f(cgnsInd, cgnsBase, zone, conn, & - rotCenter, rotAngles, tlation, ierr) + real(rotCenter,4), real(rotAngles,4), real(tlation,4), ierr) testPeriodic: if(ierr == CG_OK) then @@ -2997,14 +2997,14 @@ subroutine readPeriodicSubface1to1(cgnsInd, cgnsBase, zone, conn, & integer :: jj integer :: mass, len, time, temp, angle - real(kind=cgnsPerType), dimension(3) :: rotCenter, rotAngles - real(kind=cgnsPerType), dimension(3) :: tlation + real(kind=realType), dimension(3) :: rotCenter, rotAngles + real(kind=realType), dimension(3) :: tlation real(kind=realType) :: mult, trans ! Check if this is a periodic boundary. call cg_1to1_periodic_read_f(cgnsInd, cgnsBase, zone, conn, & - rotCenter, rotAngles, tlation, ierr) + real(rotCenter,4), real(rotAngles,4), real(tlation,4), ierr) testPeriodic: if(ierr == CG_OK) then diff --git a/src_cs/modules/precision.F90 b/src_cs/modules/precision.F90 index 8398559ae..2c121a32b 100644 --- a/src_cs/modules/precision.F90 +++ b/src_cs/modules/precision.F90 @@ -101,9 +101,6 @@ module precision ! integer(kind=1), private :: adtDummyElementInt - ! Definition of the cgns periodic type. - ! - real(kind=4), private :: dummyCGNSPer ! ! Definition of the kind parameters for the integer and real ! types. @@ -113,7 +110,6 @@ module precision integer, parameter :: realType = kind(dummyReal) integer, parameter :: adtElementType = kind(adtDummyElementInt) integer, parameter :: cgnsRealType = kind(dummyCGNSReal) - integer, parameter :: cgnsPerType = kind(dummyCGNSPer) integer, parameter :: alwaysRealType = kind(dummyReal) integer, parameter :: singleType = kind(dummySingle) integer, parameter :: doubleType = kind(dummyDouble) From 9f3be4c4881e33f6ca863a123c1aa961abfbd89a Mon Sep 17 00:00:00 2001 From: Neil Wu Date: Mon, 10 Feb 2020 18:51:32 +0000 Subject: [PATCH 15/21] updated CGNS flags to default to 3.3 --- config/defaults/config.LINUX_GFORTRAN.mk | 10 +++------- config/defaults/config.LINUX_INTEL.mk | 10 +++------- config/defaults/config.LINUX_INTEL_SAFE.mk | 10 +++------- config/defaults/config.OSX_GFORTRAN.mk | 10 +++------- 4 files changed, 12 insertions(+), 28 deletions(-) diff --git a/config/defaults/config.LINUX_GFORTRAN.mk b/config/defaults/config.LINUX_GFORTRAN.mk index 21c2b897e..68ac85be2 100644 --- a/config/defaults/config.LINUX_GFORTRAN.mk +++ b/config/defaults/config.LINUX_GFORTRAN.mk @@ -26,16 +26,12 @@ CC_REAL_PRECISION_FLAG = # so it is included in ${PETSC_LIB}. Otherwise you will have to # specify the HDF5 library. -# ----------- CGNS 3.2.x ------------------ -CGNS_VERSION_FLAG= +# ----------- CGNS ------------------ +# CGNS_VERSION_FLAG= # for CGNS 3.2.x +CGNS_VERSION_FLAG=-DUSECGNSMODULE # for CGNS 3.3.x CGNS_INCLUDE_FLAGS=-I$(CGNS_HOME)/include CGNS_LINKER_FLAGS=-L$(CGNS_HOME)/lib -lcgns -# # ----------- CGNS 3.3.x ------------------ -# CGNS_VERSION_FLAG=-DUSECGNSMODULE -# CGNS_INCLUDE_FLAGS=-I$(HOME)/packages/CGNS/src -# CGNS_LINKER_FLAGS=-L$(HOME)/packages/CGNS/src/lib -lcgns - # ------- Define Compiler Flags ---------------------------------------- FF90_FLAGS = -DHAS_ISNAN -fPIC -fdefault-real-8 -fdefault-double-8 -g -O3 -march=native -ffast-math C_FLAGS = -DHAS_ISNAN -O -fPIC -g diff --git a/config/defaults/config.LINUX_INTEL.mk b/config/defaults/config.LINUX_INTEL.mk index 44674a0a8..52cbc06bd 100644 --- a/config/defaults/config.LINUX_INTEL.mk +++ b/config/defaults/config.LINUX_INTEL.mk @@ -26,16 +26,12 @@ CC_REAL_PRECISION_FLAG = # so it is included in ${PETSC_LIB}. Otherwise you will have to # specify the HDF5 library. -# ----------- CGNS 3.2.x ------------------ -CGNS_VERSION_FLAG= +# ----------- CGNS ------------------ +# CGNS_VERSION_FLAG= # for CGNS 3.2.x +CGNS_VERSION_FLAG=-DUSECGNSMODULE # for CGNS 3.3.x CGNS_INCLUDE_FLAGS=-I$(CGNS_HOME)/include CGNS_LINKER_FLAGS=-L$(CGNS_HOME)/lib -lcgns -# # ----------- CGNS 3.3.x ------------------ -# CGNS_VERSION_FLAG=-DUSECGNSMODULE -# CGNS_INCLUDE_FLAGS=-I$(HOME)/packages/CGNS/src -# CGNS_LINKER_FLAGS=-L$(HOME)/packages/CGNS/src/lib -lcgns - # ------- Define Compiler Flags ---------------------------------------- FF90_FLAGS = -DHAS_ISNAN -fPIC -r8 -O2 -g C_FLAGS = -DHAS_ISNAN -O -fPIC diff --git a/config/defaults/config.LINUX_INTEL_SAFE.mk b/config/defaults/config.LINUX_INTEL_SAFE.mk index 3437f7593..95f38fb9e 100644 --- a/config/defaults/config.LINUX_INTEL_SAFE.mk +++ b/config/defaults/config.LINUX_INTEL_SAFE.mk @@ -30,16 +30,12 @@ CC_REAL_PRECISION_FLAG = # so it is included in ${PETSC_LIB}. Otherwise you will have to # specify the HDF5 library. -# ----------- CGNS 3.2.x ------------------ -CGNS_VERSION_FLAG= +# ----------- CGNS ------------------ +# CGNS_VERSION_FLAG= # for CGNS 3.2.x +CGNS_VERSION_FLAG=-DUSECGNSMODULE # for CGNS 3.3.x CGNS_INCLUDE_FLAGS=-I$(CGNS_HOME)/include CGNS_LINKER_FLAGS=-L$(CGNS_HOME)/lib -lcgns -# # ----------- CGNS 3.3.x ------------------ -# CGNS_VERSION_FLAG=-DUSECGNSMODULE -# CGNS_INCLUDE_FLAGS=-I$(HOME)/packages/CGNS/src -# CGNS_LINKER_FLAGS=-L$(HOME)/packages/CGNS/src/lib -lcgns - # ------- Define Compiler Flags ---------------------------------------- FF90_FLAGS = -DHAS_ISNAN -fPIC -r8 -O1 -g C_FLAGS = -DHAS_ISNAN -O -fPIC diff --git a/config/defaults/config.OSX_GFORTRAN.mk b/config/defaults/config.OSX_GFORTRAN.mk index 479f1787b..d6537801b 100644 --- a/config/defaults/config.OSX_GFORTRAN.mk +++ b/config/defaults/config.OSX_GFORTRAN.mk @@ -29,16 +29,12 @@ CC_REAL_PRECISION_FLAG = # so it is included in ${PETSC_LIB}. Otherwise you will have to # specify the HDF5 library. -# ----------- CGNS 3.2.x ------------------ -CGNS_VERSION_FLAG= +# ----------- CGNS ------------------ +# CGNS_VERSION_FLAG= # for CGNS 3.2.x +CGNS_VERSION_FLAG=-DUSECGNSMODULE # for CGNS 3.3.x CGNS_INCLUDE_FLAGS=-I$(CGNS_HOME)/include CGNS_LINKER_FLAGS=-L$(CGNS_HOME)/lib -lcgns -# # ----------- CGNS 3.3.x ------------------ -# CGNS_VERSION_FLAG=-DUSECGNSMODULE -# CGNS_INCLUDE_FLAGS=-I$(HOME)/packages/CGNS/src -# CGNS_LINKER_FLAGS=-L$(HOME)/packages/CGNS/src/lib -lcgns - # ------- Define Compiler Flags ---------------------------------------- FF90_FLAGS = -DHAS_ISNAN -fPIC -fdefault-real-8 -fdefault-double-8 -g -O3 -march=native -ffast-math C_FLAGS = -DHAS_ISNAN -O -fPIC -g From c34cbbe3f0e0fed63c6b940a1e682583b3ee8dce Mon Sep 17 00:00:00 2001 From: Neil Wu Date: Mon, 10 Feb 2020 20:06:05 +0000 Subject: [PATCH 16/21] removed PETSc version checking, code now only works with PETSc 3.8+ which uses modules --- src/NKSolver/NKSolvers.F90 | 16 ----- src/adjoint/adjointAPI.F90 | 99 +++++--------------------- src/adjoint/adjointUtils.F90 | 53 +++----------- src/adjoint/fortranPC.F90 | 36 ++-------- src/adjoint/masterRoutines.F90 | 25 ++----- src/modules/ADjointPETSc.F90 | 8 --- src/modules/constants.F90 | 3 - src/modules/overset.F90 | 8 --- src/modules/surfaceFamilies.F90 | 8 --- src/modules/wallDistanceData.F90 | 8 --- src/output/tecplotIO.F90 | 23 ++---- src/overset/cartMesh.F90 | 25 +------ src/overset/oversetUtilities.F90 | 13 +--- src/overset/zipperMesh.F90 | 12 +--- src/preprocessing/preprocessingAPI.F90 | 11 +-- src/solver/agmg.F90 | 9 --- src/utils/haloExchange.F90 | 78 ++++---------------- src/utils/surfaceUtils.F90 | 12 +--- src/warping/getForces.F90 | 56 --------------- src/warping/warping.F90 | 13 +--- 20 files changed, 64 insertions(+), 452 deletions(-) diff --git a/src/NKSolver/NKSolvers.F90 b/src/NKSolver/NKSolvers.F90 index a4907c2d7..dd0fe6f42 100644 --- a/src/NKSolver/NKSolvers.F90 +++ b/src/NKSolver/NKSolvers.F90 @@ -3,17 +3,9 @@ module NKSolver use constants ! MPI comes from constants, so we need to avoid MPIF_H in PETSc -#include -#if PETSC_VERSION_GE(3,8,0) #include use petsc implicit none -#else - implicit none -#define PETSC_AVOID_MPIF_H -#include "petsc/finclude/petsc.h" -#include "petsc/finclude/petscvec.h90" -#endif ! PETSc Matrices: ! dRdw: This is the actual matrix-free matrix computed with FD @@ -1612,17 +1604,9 @@ end module NKSolver module ANKSolver use constants -#include -#if PETSC_VERSION_GE(3,8,0) #include use petsc implicit none -#else - implicit none -#define PETSC_AVOID_MPIF_H -#include "petsc/finclude/petsc.h" -#include "petsc/finclude/petscvec.h90" -#endif Mat dRdw, dRdwPre Vec wVec, rVec, deltaW, baseRes diff --git a/src/adjoint/adjointAPI.F90 b/src/adjoint/adjointAPI.F90 index 762f114db..291344175 100644 --- a/src/adjoint/adjointAPI.F90 +++ b/src/adjoint/adjointAPI.F90 @@ -429,16 +429,9 @@ subroutine saveADjointMatrix(fileName) use ADjointPETSc, only: drdwt use communication, only : adflow_comm_world use utils, only : EChk -#include -#if PETSC_VERSION_GE(3,8,0) #include - use petsc - implicit none -#else - implicit none -#define PETSC_AVOID_MPIF_H -#include "petsc/finclude/petsc.h" -#endif + use petsc + implicit none ! Input params character*(*), intent(in) :: fileName @@ -464,16 +457,9 @@ subroutine saveAdjointPC(fileName) use ADjointPETSc, only: drdwpret use communication, only : adflow_comm_world use utils, only : EChk -#include -#if PETSC_VERSION_GE(3,8,0) #include - use petsc - implicit none -#else - implicit none -#define PETSC_AVOID_MPIF_H -#include "petsc/finclude/petsc.h" -#endif + use petsc + implicit none ! Input params character*(*), intent(in) :: fileName @@ -499,16 +485,9 @@ subroutine saveAdjointRHS(RHS, fileName, nstate) use ADjointPETSc, only: psi_like1 use communication, only : adflow_comm_world use utils, only : EChk -#include -#if PETSC_VERSION_GE(3,8,0) #include - use petsc - implicit none -#else - implicit none -#define PETSC_AVOID_MPIF_H -#include "petsc/finclude/petsc.h" -#endif + use petsc + implicit none ! Input params character*(*), intent(in) :: fileName @@ -707,16 +686,9 @@ subroutine solveAdjoint(RHS, psi, checkSolution, nState) use inputTimeSpectral, only : nTimeIntervalsSpectral use adjointUtils, only : allocDerivativeValues, zeroADSeeds use utils, only : EChk -#include -#if PETSC_VERSION_GE(3,8,0) #include - use petsc - implicit none -#else -#define PETSC_AVOID_MPIF_H -#include "petsc/finclude/petsc.h" -#include "petsc/finclude/petscvec.h90" -#endif + use petsc + implicit none ! Input Parameters real(kind=realType), dimension(nState) :: RHS, psi @@ -913,16 +885,9 @@ subroutine setupPETScKsp use adjointUtils, only : setupStateResidualMatrix, setupStandardKSP, setupStandardMultigrid use communication use agmg, only : setupShellPC, destroyShellPC, applyShellPC -#include -#if PETSC_VERSION_GE(3,8,0) #include - use petsc - implicit none -#else - implicit none -#define PETSC_AVOID_MPIF_H -#include "petsc/finclude/petsc.h" -#endif + use petsc + implicit none ! Local variables. logical :: useAD, usePC, useTranspose, useObjective, useCoarseMats @@ -987,17 +952,9 @@ subroutine saveCellCenters(fileName) use adjointVars, only: nCellsLocal use communication use utils, only : setPointers, EChk -#include -#if PETSC_VERSION_GE(3,8,0) #include use petsc implicit none -#else - implicit none -#define PETSC_AVOID_MPIF_H -#include "petsc/finclude/petsc.h" -#include "petsc/finclude/petscvec.h90" -#endif ! Input params character*(*), intent(in) :: fileName @@ -1074,17 +1031,9 @@ subroutine dRdwTMatMult(A, vecX, vecY, ierr) use ADjointVars use inputTimeSpectral use utils, only : EChk -#include -#if PETSC_VERSION_GE(3,8,0) #include - use petsc - implicit none -#else - implicit none -#define PETSC_AVOID_MPIF_H -#include "petsc/finclude/petsc.h" -#include "petsc/finclude/petscvec.h90" -#endif + use petsc + implicit none ! PETSc Arguments @@ -1133,17 +1082,9 @@ subroutine dRdwMatMult(A, vecX, vecY, ierr) #ifndef USE_COMPLEX use masterRoutines, only : master_d #endif -#include -#if PETSC_VERSION_GE(3,8,0) #include - use petsc - implicit none -#else - implicit none -#define PETSC_AVOID_MPIF_H -#include "petsc/finclude/petsc.h" -#include "petsc/finclude/petscvec.h90" -#endif + use petsc + implicit none ! PETSc Arguments Mat A @@ -1218,17 +1159,9 @@ subroutine createPETScVars use utils, only : EChk, setPointers use adjointUtils, only : myMatCreate, destroyPETScVars, statePreAllocation use agmg, only : setupAGMG -#include -#if PETSC_VERSION_GE(3,8,0) #include - use petsc - implicit none -#else - implicit none -#define PETSC_AVOID_MPIF_H -#include "petsc/finclude/petsc.h" -#include "petsc/finclude/petscvec.h90" -#endif + use petsc + implicit none ! Local variables. integer(kind=intType) :: nDimW, nDimX diff --git a/src/adjoint/adjointUtils.F90 b/src/adjoint/adjointUtils.F90 index 65fe1f77c..3f36ce8fe 100644 --- a/src/adjoint/adjointUtils.F90 +++ b/src/adjoint/adjointUtils.F90 @@ -43,16 +43,9 @@ subroutine setupStateResidualMatrix(matrix, useAD, usePC, useTranspose, & #ifndef USE_COMPLEX use masterRoutines, only : block_res_state_d #endif -#include -#if PETSC_VERSION_GE(3,8,0) #include - use petsc - implicit none -#else - implicit none -#define PETSC_AVOID_MPIF_H -#include "petsc/finclude/petsc.h" -#endif + use petsc + implicit none ! PETSc Matrix Variable Mat :: matrix @@ -1282,16 +1275,9 @@ subroutine myMatCreate(matrix, blockSize, m, n, nnzDiagonal, nnzOffDiag, & use constants use communication, only : adflow_comm_world use utils, only : EChk, setPointers -#include -#if PETSC_VERSION_GE(3,8,0) #include - use petsc - implicit none -#else - implicit none -#define PETSC_AVOID_MPIF_H -#include "petsc/finclude/petsc.h" -#endif + use petsc + implicit none Mat matrix integer(kind=intType), intent(in) :: blockSize, m, n @@ -1395,16 +1381,9 @@ subroutine setupStandardKSP(kspObject, kspObjectType, gmresRestart, preConSide, ! and if localPreConIts=1 then subKSP is set to preOnly. use constants use utils, only : ECHk -#include -#if PETSC_VERSION_GE(3,8,0) #include - use petsc - implicit none -#else - implicit none -#define PETSC_AVOID_MPIF_H -#include "petsc/finclude/petsc.h" -#endif + use petsc + implicit none ! Input Params KSP kspObject @@ -1564,16 +1543,9 @@ subroutine setupStandardMultigrid(kspObject, kspObjectType, gmresRestart, & use utils, only : ECHk use agmg, only : agmgOuterIts, agmgASMOverlap, agmgFillLevel, agmgMatrixOrdering, & setupShellPC, destroyShellPC, applyShellPC -#include -#if PETSC_VERSION_GE(3,8,0) #include - use petsc - implicit none -#else - implicit none -#define PETSC_AVOID_MPIF_H -#include "petsc/finclude/petsc.h" -#endif + use petsc + implicit none ! Input Params KSP kspObject @@ -1698,18 +1670,9 @@ subroutine statePreAllocation(onProc, offProc, wSize, stencil, N_stencil, & use inputTimeSpectral , only : nTimeIntervalsSpectral use utils, only : setPointers, EChk use sorting, only : unique -#include -#if PETSC_VERSION_GE(3,8,0) #include use petsc implicit none -#else - implicit none -#define PETSC_AVOID_MPIF_H -#include "petsc/finclude/petscsys.h" -#include "petsc/finclude/petscvec.h" -#include "petsc/finclude/petscvec.h90" -#endif ! Subroutine Arguments integer(kind=intType), intent(in) :: wSize diff --git a/src/adjoint/fortranPC.F90 b/src/adjoint/fortranPC.F90 index d3a868fa8..9b0ccb69a 100644 --- a/src/adjoint/fortranPC.F90 +++ b/src/adjoint/fortranPC.F90 @@ -660,17 +660,9 @@ subroutine PCMatMult(A, vecX, vecY, ierr) use ADjointVars use inputTimeSpectral use utils, only : EChk, setPointers -#include -#if PETSC_VERSION_GE(3,8,0) #include - use petsc - implicit none -#else - implicit none -#define PETSC_AVOID_MPIF_H -#include "petsc/finclude/petsc.h" -#include "petsc/finclude/petscvec.h90" -#endif + use petsc + implicit none ! PETSc Arguments Mat A @@ -738,17 +730,9 @@ subroutine myShellPCApply(pc, vecX, vecY, ierr) use inputTimeSpectral use flowvarrefstate use communication -#include -#if PETSC_VERSION_GE(3,8,0) #include - use petsc - implicit none -#else - implicit none -#define PETSC_AVOID_MPIF_H -#include "petsc/finclude/petsc.h" -#include "petsc/finclude/petscvec.h90" -#endif + use petsc + implicit none ! PETSc Arguments PC pc @@ -780,17 +764,9 @@ subroutine setPCVec(vecX) use inputTimeSpectral use flowVarRefState use utils, only : EChk, setPointers -#include -#if PETSC_VERSION_GE(3,8,0) #include - use petsc - implicit none -#else - implicit none -#define PETSC_AVOID_MPIF_H -#include "petsc/finclude/petsc.h" -#include "petsc/finclude/petscvec.h90" -#endif + use petsc + implicit none ! PETSc Arguments Vec vecX diff --git a/src/adjoint/masterRoutines.F90 b/src/adjoint/masterRoutines.F90 index d2dc30b42..675a03109 100644 --- a/src/adjoint/masterRoutines.F90 +++ b/src/adjoint/masterRoutines.F90 @@ -264,17 +264,10 @@ subroutine master_d(wdot, xdot, forcesDot, dwDot, famLists, funcValues, funcValu use inputOverset, only : oversetUpdateMode use oversetCommUtilities, only : updateOversetConnectivity_d use actuatorRegionData, only : nActuatorRegions -#include -#if PETSC_VERSION_GE(3,8,0) #include - use petsc - implicit none -#else - implicit none -#define PETSC_AVOID_MPIF_H -#include "petsc/finclude/petsc.h" -#include "petsc/finclude/petscvec.h90" -#endif + use petsc + implicit none + ! Input Arguments: real(kind=realType), intent(in), dimension(:) :: wDot, xDot integer(kind=intType), optional, dimension(:, :), intent(in) :: famLists @@ -590,17 +583,9 @@ subroutine master_b(wbar, xbar, extraBar, forcesBar, dwBar, nState, famLists, & use oversetCommUtilities, only : updateOversetConnectivity_b use BCRoutines, only : applyAllBC_block use actuatorRegionData, only : nActuatorRegions -#include -#if PETSC_VERSION_GE(3,8,0) #include - use petsc, only : add_values, scatter_reverse - implicit none -#else - implicit none -#define PETSC_AVOID_MPIF_H -#include "petsc/finclude/petsc.h" -#include "petsc/finclude/petscvec.h90" -#endif + use petsc + implicit none ! Input variables: real(kind=realType), intent(in), dimension(:) :: dwBar diff --git a/src/modules/ADjointPETSc.F90 b/src/modules/ADjointPETSc.F90 index 87247b9e1..aafca9bfa 100644 --- a/src/modules/ADjointPETSc.F90 +++ b/src/modules/ADjointPETSc.F90 @@ -4,17 +4,9 @@ module ADjointPETSc ! solution of the discrete adjoint equations. ! use constants -#include -#if PETSC_VERSION_GE(3,8,0) #include use petsc implicit none -#else - implicit none -#define PETSC_AVOID_MPIF_H -#include "petsc/finclude/petsc.h" -#include "petsc/finclude/petscvec.h90" -#endif Mat dRdWT, dRdWPreT diff --git a/src/modules/constants.F90 b/src/modules/constants.F90 index 16901a8ff..5d101337d 100644 --- a/src/modules/constants.F90 +++ b/src/modules/constants.F90 @@ -5,11 +5,8 @@ module constants use precision #ifndef USE_TAPENADE -#include -#if PETSC_VERSION_GE(3,8,0) #include use petsc -#endif #endif implicit none save diff --git a/src/modules/overset.F90 b/src/modules/overset.F90 index 4132ac15a..a2ff1de8b 100644 --- a/src/modules/overset.F90 +++ b/src/modules/overset.F90 @@ -5,17 +5,9 @@ module oversetData use block, only : fringeType use kdtree2_module, only : kdtree2 #ifndef USE_TAPENADE -#include -#if PETSC_VERSION_GE(3,8,0) #include use petsc implicit none -#else - implicit none -#define PETSC_AVOID_MPIF_H -#include "petsc/finclude/petsc.h" -#include "petsc/finclude/petscvec.h90" -#endif #endif ! Helper dataType for communicated overset grid points. This data diff --git a/src/modules/surfaceFamilies.F90 b/src/modules/surfaceFamilies.F90 index c9e2d71aa..a1f51115a 100644 --- a/src/modules/surfaceFamilies.F90 +++ b/src/modules/surfaceFamilies.F90 @@ -2,17 +2,9 @@ module surfaceFamilies use constants #ifndef USE_TAPENADE -#include -#if PETSC_VERSION_GE(3,8,0) #include use petsc implicit none -#else - implicit none -#define PETSC_AVOID_MPIF_H -#include "petsc/finclude/petsc.h" -#include "petsc/finclude/petscvec.h90" -#endif type familyExchange diff --git a/src/modules/wallDistanceData.F90 b/src/modules/wallDistanceData.F90 index b405a35e2..7796abf43 100644 --- a/src/modules/wallDistanceData.F90 +++ b/src/modules/wallDistanceData.F90 @@ -5,17 +5,9 @@ module wallDistanceData use constants #ifndef USE_TAPENADE -#include -#if PETSC_VERSION_GE(3,8,0) #include use petsc implicit none -#else - implicit none -#define PETSC_AVOID_MPIF_H -#include "petsc/finclude/petsc.h" -#include "petsc/finclude/petscvec.h90" -#endif #endif ! xVolume: flatten 1-D vector of all volume nodes for all diff --git a/src/output/tecplotIO.F90 b/src/output/tecplotIO.F90 index 2d75cf5b3..be5742c54 100644 --- a/src/output/tecplotIO.F90 +++ b/src/output/tecplotIO.F90 @@ -706,16 +706,9 @@ subroutine writeTecplotSurfaceFile(fileName, famList) use extraOutput, only : surfWriteBlank use oversetData, only : zipperMesh, zipperMeshes use surfaceUtils -#include -#if PETSC_VERSION_GE(3,8,0) #include - implicit none -#else - implicit none -#define PETSC_AVOID_MPIF_H -#include "petsc/finclude/petsc.h" -#include "petsc/finclude/petscvec.h90" -#endif + use petsc + implicit none ! Input Params character*(*), intent(in) :: fileName @@ -1276,17 +1269,9 @@ subroutine computeSurfaceOutputNodalData(exch, zipper, includeTractions, nodalVa use utils, only : setPointers, EChk use sorting, only : famInList use oversetData, only : zipperMesh -#include -#if PETSC_VERSION_GE(3,8,0) #include - use petsc - implicit none -#else - implicit none -#define PETSC_AVOID_MPIF_H -#include "petsc/finclude/petsc.h" -#include "petsc/finclude/petscvec.h90" -#endif + use petsc + implicit none ! Input Param type(familyExchange) :: exch logical :: includeTractions diff --git a/src/overset/cartMesh.F90 b/src/overset/cartMesh.F90 index af01d3a09..00cdb9613 100644 --- a/src/overset/cartMesh.F90 +++ b/src/overset/cartMesh.F90 @@ -16,19 +16,9 @@ subroutine createCartMesh(level, sps) use blockPointers use surfaceFamilies, only : BCFamGroups use su_cgns -#include -#if PETSC_VERSION_GE(3,8,0) #include + use petsc implicit none -#else - implicit none -#define PETSC_AVOID_MPIF_H -#include "petsc/finclude/petscsys.h" -#include "petsc/finclude/petscvec.h" -#include "petsc/finclude/petscdmda.h" -#include "petsc/finclude/petscvec.h90" -#include "petsc/finclude/petscdmda.h90" -#endif ! Input Params integer(kind=intType), intent(in) :: level, sps @@ -890,18 +880,9 @@ end subroutine createCartMesh subroutine writeCartMesh(blankVec, cellDims, xMin, h) -#include -#if PETSC_VERSION_GE(3,8,0) #include - use petsc - implicit none -#else - implicit none -#define PETSC_AVOID_MPIF_H -#include "petsc/finclude/petscsys.h" -#include "petsc/finclude/petscvec.h" -#include "petsc/finclude/petscvec.h90" -#endif + use petsc + implicit none ! Input integer(kind=intType), intent(in), dimension(3) :: cellDims diff --git a/src/overset/oversetUtilities.F90 b/src/overset/oversetUtilities.F90 index 4e34d8bbf..ee9ceb546 100644 --- a/src/overset/oversetUtilities.F90 +++ b/src/overset/oversetUtilities.F90 @@ -2409,18 +2409,9 @@ subroutine getOversetIblank(blkList, n) use communication, only : adflow_comm_world, myid use inputTimeSpectral, only : nTimeIntervalsSpectral use utils, only : setPointers, EChk, terminate -#include -#if PETSC_VERSION_GE(3,8,0) #include - use petsc - implicit none -#else - implicit none -#define PETSC_AVOID_MPIF_H -#include "petsc/finclude/petscsys.h" -#include "petsc/finclude/petscvec.h" -#include "petsc/finclude/petscvec.h90" -#endif + use petsc + implicit none ! Input/Output integer(kind=intType), intent(in) :: n diff --git a/src/overset/zipperMesh.F90 b/src/overset/zipperMesh.F90 index 2444676fd..5decfe694 100644 --- a/src/overset/zipperMesh.F90 +++ b/src/overset/zipperMesh.F90 @@ -39,17 +39,9 @@ subroutine createZipperMesh(zipperFamList, nZipFam) use gapBoundaries use wallSearches, only : wallSearch -#include -#if PETSC_VERSION_GE(3,8,0) #include - use petsc, only : PETSC_COPY_VALUES, PETSC_DETERMINE, PETSC_NULL_VEC - implicit none -#else - implicit none -#define PETSC_AVOID_MPIF_H -#include "petsc/finclude/petsc.h" -#include "petsc/finclude/petscvec.h90" -#endif + use petsc + implicit none ! Input Parameters integer(kind=intType), intent(in), dimension(nZipFam) :: zipperFamList diff --git a/src/preprocessing/preprocessingAPI.F90 b/src/preprocessing/preprocessingAPI.F90 index 61ee85bc3..1fbd08b1b 100644 --- a/src/preprocessing/preprocessingAPI.F90 +++ b/src/preprocessing/preprocessingAPI.F90 @@ -3965,16 +3965,9 @@ subroutine preprocessingADjoint use ADjointPETSc, only: w_like1, w_like2, PETScIerr, & psi_like1, psi_like2, x_like, psi_like3 use utils, only : setPointers, EChk -#include -#if PETSC_VERSION_GE(3,8,0) #include - use petsc - implicit none -#else - implicit none -#define PETSC_AVOID_MPIF_H -#include "petsc/finclude/petsc.h" -#endif + use petsc + implicit none ! Local variables. ! diff --git a/src/solver/agmg.F90 b/src/solver/agmg.F90 index 1fd55ffcd..459d4d02d 100644 --- a/src/solver/agmg.F90 +++ b/src/solver/agmg.F90 @@ -2,18 +2,9 @@ module agmg use constants use utils, only : EChk - ! MPI comes from constants, so we need to avoid MPIF_H in PETSc -#include -#if PETSC_VERSION_GE(3,8,0) #include use petsc implicit none -#else - implicit none -#define PETSC_AVOID_MPIF_H -#include "petsc/finclude/petsc.h" -#include "petsc/finclude/petscvec.h90" -#endif ! Structure used for storing the interpolation indices type arr1int4 diff --git a/src/utils/haloExchange.F90 b/src/utils/haloExchange.F90 index 9f3b2284c..0c0a0cede 100644 --- a/src/utils/haloExchange.F90 +++ b/src/utils/haloExchange.F90 @@ -3109,18 +3109,9 @@ subroutine flowIntegrationZipperComm(isInflow, vars, sps) use surfaceFamilies, only : familyExchange, BCFamExchange use utils, only : setPointers, setBCPointers, EChk -#include -#if PETSC_VERSION_GE(3,8,0) #include - use petsc - implicit none -#else - implicit none -#define PETSC_AVOID_MPIF_H -#include "petsc/finclude/petscsys.h" -#include "petsc/finclude/petscvec.h" -#include "petsc/finclude/petscvec.h90" -#endif + use petsc + implicit none ! Input variables logical, intent(in) :: isInflow @@ -3236,18 +3227,9 @@ subroutine flowIntegrationZipperComm_d(isInflow, vars, varsd, sps) use oversetData, only : zipperMeshes, zipperMesh use surfaceFamilies, only : familyExchange, BCFamExchange use utils, only : setPointers_d, setBCPointers_d, EChk -#include -#if PETSC_VERSION_GE(3,8,0) #include - use petsc - implicit none -#else - implicit none -#define PETSC_AVOID_MPIF_H -#include "petsc/finclude/petscsys.h" -#include "petsc/finclude/petscvec.h" -#include "petsc/finclude/petscvec.h90" -#endif + use petsc + implicit none ! Input variables logical, intent(in) :: isInflow real(kind=realType), dimension(:, :) :: vars, varsd @@ -3364,18 +3346,9 @@ subroutine flowIntegrationZipperComm_b(isInflow, vars, varsd, sps) use oversetData, only : zipperMeshes, zipperMesh use surfaceFamilies, only : familyExchange, BCFamExchange use utils, only : setPointers_b, setBCPointers_d, EChk -#include -#if PETSC_VERSION_GE(3,8,0) #include - use petsc - implicit none -#else - implicit none -#define PETSC_AVOID_MPIF_H -#include "petsc/finclude/petscsys.h" -#include "petsc/finclude/petscvec.h" -#include "petsc/finclude/petscvec.h90" -#endif + use petsc + implicit none ! Input variables logical, intent(in) :: isInflow @@ -3514,18 +3487,9 @@ subroutine wallIntegrationZipperComm(vars, sps) use oversetData, only : zipperMeshes, zipperMesh use surfaceFamilies, only : familyExchange, BCFamExchange use utils, only : setPointers, setBCPointers, EChk, isWallType -#include -#if PETSC_VERSION_GE(3,8,0) #include - use petsc - implicit none -#else - implicit none -#define PETSC_AVOID_MPIF_H -#include "petsc/finclude/petscsys.h" -#include "petsc/finclude/petscvec.h" -#include "petsc/finclude/petscvec.h90" -#endif + use petsc + implicit none ! Input variables real(kind=realType), dimension(:, :) :: vars integer(kind=intType) :: sps @@ -3613,18 +3577,9 @@ subroutine wallIntegrationZipperComm_d(vars, varsd, sps) use oversetData, only : zipperMeshes, zipperMesh use surfaceFamilies, only : familyExchange, BCFamExchange use utils, only : setPointers_d, setBCPointers_d, EChk, isWallType -#include -#if PETSC_VERSION_GE(3,8,0) #include - use petsc - implicit none -#else - implicit none -#define PETSC_AVOID_MPIF_H -#include "petsc/finclude/petscsys.h" -#include "petsc/finclude/petscvec.h" -#include "petsc/finclude/petscvec.h90" -#endif + use petsc + implicit none ! Input variables real(kind=realType), dimension(:, :):: vars, varsd @@ -3716,18 +3671,9 @@ subroutine wallIntegrationZipperComm_b(vars, varsd, sps) use oversetData, only : zipperMeshes, zipperMesh use surfaceFamilies, only : familyExchange, BCFamExchange use utils, only : setPointers_b, setBCPointers_d, EChk, isWallType -#include -#if PETSC_VERSION_GE(3,8,0) #include - use petsc - implicit none -#else - implicit none -#define PETSC_AVOID_MPIF_H -#include "petsc/finclude/petscsys.h" -#include "petsc/finclude/petscvec.h" -#include "petsc/finclude/petscvec.h90" -#endif + use petsc + implicit none ! Input variables real(kind=realType), dimension(:, :) :: vars, varsd diff --git a/src/utils/surfaceUtils.F90 b/src/utils/surfaceUtils.F90 index b9d002531..fc43cb047 100644 --- a/src/utils/surfaceUtils.F90 +++ b/src/utils/surfaceUtils.F90 @@ -378,17 +378,9 @@ subroutine getSurfacePoints(points, npts, sps_in, famList, nFamList, includeZipp use oversetData, only : zipperMeshes, zipperMesh, oversetPresent use sorting, only : famInList use utils, only : setPointers, EChk, setBCPointers -#include -#if PETSC_VERSION_GE(3,8,0) #include - use petsc - implicit none -#else - implicit none -#define PETSC_AVOID_MPIF_H -#include "petsc/finclude/petsc.h" -#include "petsc/finclude/petscvec.h90" -#endif + use petsc + implicit none ! ! Local variables. diff --git a/src/warping/getForces.F90 b/src/warping/getForces.F90 index 6885bbc72..b84cb3393 100644 --- a/src/warping/getForces.F90 +++ b/src/warping/getForces.F90 @@ -9,17 +9,9 @@ subroutine getForces(forces, npts, sps) use surfaceFamilies, only : fullfamList use oversetData, only : zipperMeshes, zipperMesh, oversetPresent use surfaceFamilies, only : familyExchange, BCFamExchange -#include -#if PETSC_VERSION_GE(3,8,0) #include use petsc implicit none -#else - implicit none -#define PETSC_AVOID_MPIF_H -#include "petsc/finclude/petsc.h" -#include "petsc/finclude/petscvec.h90" -#endif integer(kind=intType), intent(in) :: npts, sps real(kind=realType), intent(inout) :: forces(3,npts) @@ -143,17 +135,9 @@ subroutine getForces_d(forces, forcesd, npts, sps) use utils, only : setPointers, setPointers_d, EChk, terminate use oversetData, only : zipperMeshes, zipperMesh, oversetPresent use surfaceFamilies, only : familyExchange, BCFamExchange -#include -#if PETSC_VERSION_GE(3,8,0) #include use petsc implicit none -#else - implicit none -#define PETSC_AVOID_MPIF_H -#include "petsc/finclude/petsc.h" -#include "petsc/finclude/petscvec.h90" -#endif integer(kind=intType), intent(in) :: npts, sps real(kind=realType), intent(out), dimension(3, npts) :: forces, forcesd integer(kind=intType) :: mm, nn, i, j, ii, jj, iDim, ierr @@ -265,17 +249,9 @@ subroutine getForces_b(forcesd, npts, sps) use utils, only : EChk, setPointers, setPointers_d use oversetData, only : zipperMeshes, zipperMesh, oversetPresent use surfaceFamilies, only : familyExchange, BCFamExchange -#include -#if PETSC_VERSION_GE(3,8,0) #include use petsc implicit none -#else - implicit none -#define PETSC_AVOID_MPIF_H -#include "petsc/finclude/petsc.h" -#include "petsc/finclude/petscvec.h90" -#endif integer(kind=intType), intent(in) :: npts, sps real(kind=realType), intent(inout) :: forcesd(3, npts) integer(kind=intType) :: mm, nn, i, j, ii, iDim, ierr @@ -387,17 +363,9 @@ subroutine surfaceCellCenterToNode(exch) use surfaceFamilies, only : familyExchange use utils, only : setPointers, EChk use sorting, only : famInList -#include -#if PETSC_VERSION_GE(3,8,0) #include use petsc implicit none -#else - implicit none -#define PETSC_AVOID_MPIF_H -#include "petsc/finclude/petsc.h" -#include "petsc/finclude/petscvec.h90" -#endif type(familyExchange) :: exch integer(kind=intType) :: sps @@ -507,17 +475,9 @@ subroutine computeWeighting(exch) use surfaceFamilies, only : familyExchange use utils, only : setPointers, EChk use sorting, only : famInList -#include -#if PETSC_VERSION_GE(3,8,0) #include use petsc implicit none -#else - implicit none -#define PETSC_AVOID_MPIF_H -#include "petsc/finclude/petsc.h" -#include "petsc/finclude/petscvec.h90" -#endif type(familyExchange) :: exch integer(kind=intType) :: sps integer(kind=intType) :: mm, nn, i, j, ii, jj, iDim, ierr @@ -661,17 +621,9 @@ subroutine computeNodalTractions_d(sps) use inputPhysics, only : forcesAsTractions use surfaceFamilies, only: BCFamExchange, familyExchange use utils, only : setPointers, setPointers_d, EChk -#include -#if PETSC_VERSION_GE(3,8,0) #include use petsc implicit none -#else - implicit none -#define PETSC_AVOID_MPIF_H -#include "petsc/finclude/petsc.h" -#include "petsc/finclude/petscvec.h90" -#endif integer(kind=intType), intent(in) :: sps integer(kind=intType) :: mm, nn, i, j, ii, jj, iDim, ierr integer(kind=intType) :: iBeg, iEnd, jBeg, jEnd, ind(4), ni, nj @@ -948,17 +900,9 @@ subroutine computeNodalTractions_b(sps) use surfaceFamilies, only: BCFamExchange, familyExchange use communication use utils, only : EChk, setPointers, setPointers_d -#include -#if PETSC_VERSION_GE(3,8,0) #include use petsc implicit none -#else - implicit none -#define PETSC_AVOID_MPIF_H -#include "petsc/finclude/petsc.h" -#include "petsc/finclude/petscvec.h90" -#endif integer(kind=intType), intent(in) :: sps integer(kind=intType) :: mm, nn, i, j, ii, jj, iDim, ierr diff --git a/src/warping/warping.F90 b/src/warping/warping.F90 index bf40c27f0..c422133ec 100644 --- a/src/warping/warping.F90 +++ b/src/warping/warping.F90 @@ -272,18 +272,9 @@ subroutine getSurfacePerturbation(xRand, nRand, randSurface, nRandSurface, famLi use sorting, only : famInList use oversetData, only : zipperMeshes, zipperMesh, oversetPresent use surfaceFamilies, only : BCFamGroups, familyExchange, BCFamExchange -#include -#if PETSC_VERSION_GE(3,8,0) #include - use petsc - implicit none -#else - implicit none -#define PETSC_AVOID_MPIF_H -#include "petsc/finclude/petscsys.h" -#include "petsc/finclude/petscvec.h" -#include "petsc/finclude/petscvec.h90" -#endif + use petsc + implicit none ! Input Parameters real(kind=realType), intent(in), dimension(nRand) :: xRand From 28c0d2e991b55a7156fa3ea54247481b67dfe744 Mon Sep 17 00:00:00 2001 From: Eirikur Jonsson <36180221+eirikurj@users.noreply.github.com> Date: Wed, 12 Feb 2020 14:49:57 -0500 Subject: [PATCH 17/21] Update commonUtils.py --- python/reg_tests/commonUtils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/reg_tests/commonUtils.py b/python/reg_tests/commonUtils.py index a86bcf224..efc1b1c5b 100644 --- a/python/reg_tests/commonUtils.py +++ b/python/reg_tests/commonUtils.py @@ -367,7 +367,7 @@ def standardTest(CFDSolver, ap, solve): reg_par_write_norm(resDot, 1e-10, 1e-10) parPrint('dFuncs/dw * wDot') - reg_root_write_dict(funcsDot, 1e-9, 1e-9) + reg_root_write_dict(funcsDot, 1e-10, 1e-10) parPrint('||dF/dw * wDot||') reg_par_write_norm(fDot, 1e-10, 1e-10) From 96aad6511a02616785387ab08c424a9f759dd49e Mon Sep 17 00:00:00 2001 From: Eirikur Jonsson <36180221+eirikurj@users.noreply.github.com> Date: Wed, 12 Feb 2020 14:56:33 -0500 Subject: [PATCH 18/21] Fix minor indentation issue --- src/adjoint/adjointUtils.F90 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/adjoint/adjointUtils.F90 b/src/adjoint/adjointUtils.F90 index 3f36ce8fe..9ef216c60 100644 --- a/src/adjoint/adjointUtils.F90 +++ b/src/adjoint/adjointUtils.F90 @@ -1544,8 +1544,8 @@ subroutine setupStandardMultigrid(kspObject, kspObjectType, gmresRestart, & use agmg, only : agmgOuterIts, agmgASMOverlap, agmgFillLevel, agmgMatrixOrdering, & setupShellPC, destroyShellPC, applyShellPC #include - use petsc - implicit none + use petsc + implicit none ! Input Params KSP kspObject From 9a4c3d97358645760b76b7e56a5417291d971b66 Mon Sep 17 00:00:00 2001 From: Eirikur Jonsson <36180221+eirikurj@users.noreply.github.com> Date: Wed, 12 Feb 2020 15:01:38 -0500 Subject: [PATCH 19/21] Removing unnecessary commented code --- src/modules/precision.F90 | 1 - 1 file changed, 1 deletion(-) diff --git a/src/modules/precision.F90 b/src/modules/precision.F90 index 46fec42c2..03d5cf58b 100644 --- a/src/modules/precision.F90 +++ b/src/modules/precision.F90 @@ -18,7 +18,6 @@ module precision implicit none save -!#include "mpif.h" ! ! Definition of the integer type used in the entire code. There From 67f9a277bff94e6f47b87a536fad7167719a1a3b Mon Sep 17 00:00:00 2001 From: Eirikur Jonsson <36180221+eirikurj@users.noreply.github.com> Date: Wed, 12 Feb 2020 15:06:10 -0500 Subject: [PATCH 20/21] Removing unnecessary commented out code --- src/solver/agmg.F90 | 1 - 1 file changed, 1 deletion(-) diff --git a/src/solver/agmg.F90 b/src/solver/agmg.F90 index 459d4d02d..5cc68a255 100644 --- a/src/solver/agmg.F90 +++ b/src/solver/agmg.F90 @@ -305,7 +305,6 @@ subroutine setupAGMG(inputMat, nCell, blockSize) call EChk(ierr,__FILE__,__LINE__) ! Create the scatter - !call VecScatterCreate(indexVec, IS1, recvVec, PETSC_NULL_OBJECT, scat, ierr) call VecScatterCreate(indexVec, IS1, recvVec, PETSC_NULL_IS, scat, ierr) call EChk(ierr,__FILE__,__LINE__) From bc9d9092b89d079773e667c81b9c70270c595656 Mon Sep 17 00:00:00 2001 From: Eirikur Jonsson <36180221+eirikurj@users.noreply.github.com> Date: Wed, 12 Feb 2020 15:07:01 -0500 Subject: [PATCH 21/21] Removing unnecessary commented line --- src_cs/modules/precision.F90 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src_cs/modules/precision.F90 b/src_cs/modules/precision.F90 index 2c121a32b..964b280a6 100644 --- a/src_cs/modules/precision.F90 +++ b/src_cs/modules/precision.F90 @@ -19,7 +19,7 @@ module precision use mpi implicit none save -!#include "mpif.h" + ! ! Definition of the integer type used in the entire code. There ! might be a more elegant solution to do this, but be sure that