PlasCom2  1.0
XPACC Multi-physics simluation application
satutil Module Reference

Data Types

type  t_nasapolynomials
 

Functions/Subroutines

subroutine farfield (numDim, bufferSizes, numPointsBuffer, patchNormalDir, patchSizes, numPointsPatch, numPatchPointsOp, patchPointsOp, gridType, gridMetric, jacobianDeterminant, bcParams, gasParams, rhoBuffer, rhoVBuffer, rhoEBuffer, viscousFluxBuffer, numscalar, scalarBuffer, rhoRHS, rhoVRHS, rhoERHS, scalarRHS, rhoTarget, rhoVTarget, rhoETarget, scalarTarget)
 
subroutine slip_adiabatic (numDim, bufferSizes, numPointsBuffer, patchNormalDir, patchSizes, numPointsPatch, numPatchPointsOp, patchPointsOp, gridType, gridMetric, jacobianDeterminant, bcParams, gasParams, rhoBuffer, rhoVBuffer, rhoEBuffer, numscalar, scalarBuffer, rhoRHS, rhoVRHS, rhoERHS, scalarRHS, rhoTarget, rhoVTarget, rhoETarget, scalarTarget)
 
subroutine noslip_isothermal (numDim, bufferSizes, numPointsBuffer, patchNormalDir, patchSizes, numPointsPatch, numPatchPointsOp, patchPointsOp, gridType, gridMetric, jacobianDeterminant, bcParams, gasParams, rhoBuffer, rhoVBuffer, rhoEBuffer, numscalar, scalarBuffer, rhoRHS, rhoVRHS, rhoERHS, scalarRHS, rhoTarget, rhoVTarget, rhoETarget, scalarTarget, muBuffer, lambdaBuffer)
 
subroutine roe_mat (numDim, inCV, outCV, gamma, normDir, tMat, tInv, lambda, status)
 
subroutine sat_form_roe_matrices_tp (u_in, u_out, ND, gamma, gamref, norm, tmat, tinv, lambda)
 
subroutine sat_form_roe_matrices (ND, u_in, u_out, gamma, norm, tmat, tinv, lambda)
 
subroutine dissipationweight (numDim, bufferSize, numPoints, bufferInterval, sigmaDissipation, sigmaDilatation, dilatationRamp, dilatationCutoff, divV, sigmaDiss)
 
subroutine sat_form_roe_matrices_test (ND, u_in, u_out, gamma, norm, metricData, tmat, tinv, lambda)
 
subroutine sat_form_roe_matrices_modified (u_in, u_out, gamma, norm, MT1, dir, ND, tmat, tinv, lambda)
 
subroutine sat_form_roe_matrices_multispecies (u_in, u_out, p_in, p_out, MT1, JAC, u_ref, ND, dir, nAuxVars, gamma, tmat, tinv, lambda)
 
subroutine pderivative_roe (RHO, en_ROE, Y_ROE, u_ref, nAuxVars, dp_drho_bar, dp_de_bar, dp_drhoY_bar)
 
subroutine poly4temperature (rho, rhoe, Qaux, numSpecies, dimTempFactor, Tout, printVal, iterOut_out, errorOut_out, errorCode)
 
subroutine poly4errorprint (rho, rhoe, Qaux, Tout, error, iter)
 

Function/Subroutine Documentation

◆ dissipationweight()

subroutine dissipationweight ( integer(kind=4), intent(in)  numDim,
integer(kind=8), dimension(numdim), intent(in)  bufferSize,
integer(kind=8), intent(in)  numPoints,
integer(kind=8), dimension(2*numdim), intent(in)  bufferInterval,
real(kind=8), intent(in)  sigmaDissipation,
real(kind=8), intent(in)  sigmaDilatation,
real(kind=8), intent(in)  dilatationRamp,
real(kind=8), intent(in)  dilatationCutoff,
real(kind=8), dimension(numpoints), intent(in)  divV,
real(kind=8), dimension(numpoints), intent(out)  sigmaDiss 
)

Definition at line 1872 of file SATUtil.f90.

Referenced by rhs< GridT, StateT, OperatorT >::ArtificialDissipation().

Here is the caller graph for this function:

◆ farfield()

subroutine farfield ( integer(kind=4)  numDim,
integer(kind=8), dimension(numdim)  bufferSizes,
integer(kind=8)  numPointsBuffer,
integer(kind=4)  patchNormalDir,
integer(kind=8), dimension(numdim)  patchSizes,
integer(kind=8)  numPointsPatch,
integer(kind=8)  numPatchPointsOp,
integer(kind=8), dimension(numpatchpointsop)  patchPointsOp,
integer(kind=4)  gridType,
real(kind=8), dimension(numdim*numdim*numpointsbuffer)  gridMetric,
real(kind=8), dimension(numpointsbuffer)  jacobianDeterminant,
real(kind=8), dimension(3)  bcParams,
real(kind=8), dimension(5)  gasParams,
real(kind=8), dimension(numpointsbuffer)  rhoBuffer,
real(kind=8), dimension(numdim*numpointsbuffer)  rhoVBuffer,
real(kind=8), dimension(numpointsbuffer)  rhoEBuffer,
real(kind=8), dimension((numdim+2)*numpointsbuffer)  viscousFluxBuffer,
integer(kind=4)  numscalar,
real(kind=8), dimension(numscalar*numpointsbuffer)  scalarBuffer,
real(kind=8), dimension(numpointsbuffer)  rhoRHS,
real(kind=8), dimension(numdim*numpointsbuffer)  rhoVRHS,
real(kind=8), dimension(numpointsbuffer)  rhoERHS,
real(kind=8), dimension(numscalar*numpointsbuffer)  scalarRHS,
real(kind=8), dimension(numpointsbuffer)  rhoTarget,
real(kind=8), dimension(numdim*numpointsbuffer)  rhoVTarget,
real(kind=8), dimension(numpointsbuffer)  rhoETarget,
real(kind=8), dimension(numscalar*numpointsbuffer)  scalarTarget 
)

Definition at line 16 of file SATUtil.f90.

References grid::curvilinear, grid::rectilinear, sat_form_roe_matrices(), and grid::unirect.

Referenced by rhs< GridT, StateT, OperatorT >::HandleBoundaryConditions().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ noslip_isothermal()

subroutine noslip_isothermal ( integer(kind=4)  numDim,
integer(kind=8), dimension(numdim)  bufferSizes,
integer(kind=8)  numPointsBuffer,
integer(kind=4)  patchNormalDir,
integer(kind=8), dimension(numdim)  patchSizes,
integer(kind=8)  numPointsPatch,
integer(kind=8)  numPatchPointsOp,
integer(kind=8), dimension(numpatchpointsop)  patchPointsOp,
integer(kind=4)  gridType,
real(kind=8), dimension(numdim*numdim*numpointsbuffer)  gridMetric,
real(kind=8), dimension(numpointsbuffer)  jacobianDeterminant,
real(kind=8), dimension(4)  bcParams,
real(kind=8), dimension(6)  gasParams,
real(kind=8), dimension(numpointsbuffer)  rhoBuffer,
real(kind=8), dimension(numdim*numpointsbuffer)  rhoVBuffer,
real(kind=8), dimension(numpointsbuffer)  rhoEBuffer,
integer(kind=4)  numscalar,
real(kind=8), dimension(numscalar*numpointsbuffer)  scalarBuffer,
real(kind=8), dimension(numpointsbuffer)  rhoRHS,
real(kind=8), dimension(numdim*numpointsbuffer)  rhoVRHS,
real(kind=8), dimension(numpointsbuffer)  rhoERHS,
real(kind=8), dimension(numscalar*numpointsbuffer)  scalarRHS,
real(kind=8), dimension(numpointsbuffer)  rhoTarget,
real(kind=8), dimension(numdim*numpointsbuffer)  rhoVTarget,
real(kind=8), dimension(numpointsbuffer)  rhoETarget,
real(kind=8), dimension(numscalar*numpointsbuffer)  scalarTarget,
real(kind=8), dimension(numpointsbuffer)  muBuffer,
real(kind=8), dimension(numpointsbuffer)  lambdaBuffer 
)

Definition at line 727 of file SATUtil.f90.

References grid::curvilinear, grid::rectilinear, sat_form_roe_matrices(), and grid::unirect.

Referenced by rhs< GridT, StateT, OperatorT >::HandleBoundaryConditions().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ pderivative_roe()

subroutine satutil::pderivative_roe ( real(8)  RHO,
real(8)  en_ROE,
real(8), dimension(nauxvars)  Y_ROE,
real(8)  u_ref,
integer  nAuxVars,
real(8)  dp_drho_bar,
real(8)  dp_de_bar,
real(8), dimension(nauxvars)  dp_drhoY_bar 
)

Definition at line 2889 of file SATUtil.sav.f90.

Referenced by sat_form_roe_matrices_multispecies().

Here is the caller graph for this function:

◆ poly4errorprint()

subroutine satutil::poly4errorprint ( real(8)  rho,
real(8)  rhoe,
real(8), dimension(:)  Qaux,
real(8)  Tout,
real(8)  error,
integer  iter 
)

Definition at line 3184 of file SATUtil.sav.f90.

Referenced by poly4temperature().

Here is the caller graph for this function:

◆ poly4temperature()

subroutine satutil::poly4temperature ( real(8)  rho,
real(8)  rhoe,
real(8), dimension(:)  Qaux,
integer  numSpecies,
real(8)  dimTempFactor,
real(8)  Tout,
integer  printVal,
integer, intent(out), optional  iterOut_out,
real(8), intent(out), optional  errorOut_out,
integer, dimension(4)  errorCode 
)

Definition at line 2984 of file SATUtil.sav.f90.

References poly4errorprint().

Here is the call graph for this function:

◆ roe_mat()

subroutine roe_mat ( integer(4), intent(in)  numDim,
real(8), dimension(numdim+2), intent(in)  inCV,
real(8), dimension(numdim+2), intent(in)  outCV,
real(8), intent(in)  gamma,
real(8), dimension(numdim), intent(in)  normDir,
real(8), dimension((numdim+2)*(numdim+2)), intent(out)  tMat,
real(8), dimension((numdim+2)*(numdim+2)), intent(out)  tInv,
real(8), dimension(numdim+2), intent(out)  lambda,
integer(4), intent(out)  status 
)

Definition at line 1213 of file SATUtil.f90.

◆ sat_form_roe_matrices()

subroutine sat_form_roe_matrices ( integer  ND,
real(8), dimension(nd+2)  u_in,
real(8), dimension(nd+2)  u_out,
real(8)  gamma,
real(8), dimension(nd)  norm,
real(8), dimension(nd+2,nd+2)  tmat,
real(8), dimension(nd+2,nd+2)  tinv,
real(8), dimension(nd+2,nd+2)  lambda 
)

Definition at line 1673 of file SATUtil.f90.

Referenced by rhs< GridT, StateT, OperatorT >::ApplyWENO(), farfield(), noslip_isothermal(), slip_adiabatic(), and TestWENO_Project().

Here is the caller graph for this function:

◆ sat_form_roe_matrices_modified()

subroutine satutil::sat_form_roe_matrices_modified ( real(8), dimension(:), pointer  u_in,
real(8), dimension(:), pointer  u_out,
real(8)  gamma,
real(8), dimension(:), pointer  norm,
real(8), dimension(:), pointer  MT1,
integer  dir,
integer  ND,
real(8), dimension(:,:), pointer  tmat,
real(8), dimension(:,:), pointer  tinv,
real(8), dimension(:,:), pointer  lambda 
)

Definition at line 2273 of file SATUtil.sav.f90.

Referenced by sat_form_roe_matrices_multispecies().

Here is the caller graph for this function:

◆ sat_form_roe_matrices_multispecies()

subroutine satutil::sat_form_roe_matrices_multispecies ( real(8), dimension(:), pointer  u_in,
real(8), dimension(:), pointer  u_out,
real(8)  p_in,
real(8)  p_out,
real(8), dimension(:), pointer  MT1,
real(8)  JAC,
real(8)  u_ref,
integer  ND,
integer  dir,
integer  nAuxVars,
real(8)  gamma,
real(8), dimension(:,:), pointer  tmat,
real(8), dimension(:,:), pointer  tinv,
real(8), dimension(:,:), pointer  lambda 
)
Todo:
This call is wrong now that I've mashed up Roe_Matrices_modified - need to rearrange MT1

Definition at line 2538 of file SATUtil.sav.f90.

References pderivative_roe(), and sat_form_roe_matrices_modified().

Here is the call graph for this function:

◆ sat_form_roe_matrices_test()

subroutine satutil::sat_form_roe_matrices_test ( integer  ND,
real(8), dimension(nd+2)  u_in,
real(8), dimension(nd+2)  u_out,
real(8)  gamma,
real(8), dimension(nd)  norm,
real(8), dimension(9)  metricData,
real(8), dimension(nd+2,nd+2)  tmat,
real(8), dimension(nd+2,nd+2)  tinv,
real(8), dimension(nd+2,nd+2)  lambda 
)

Definition at line 1990 of file SATUtil.sav.f90.

◆ sat_form_roe_matrices_tp()

subroutine sat_form_roe_matrices_tp ( real(8), dimension(:), pointer  u_in,
real(8), dimension(:), pointer  u_out,
integer  ND,
real(8)  gamma,
real(8)  gamref,
real(8), dimension(:), pointer  norm,
real(8), dimension(:,:), pointer  tmat,
real(8), dimension(:,:), pointer  tinv,
real(8), dimension(:,:), pointer  lambda 
)

Definition at line 1445 of file SATUtil.f90.

◆ slip_adiabatic()

subroutine slip_adiabatic ( integer(kind=4)  numDim,
integer(kind=8), dimension(numdim)  bufferSizes,
integer(kind=8)  numPointsBuffer,
integer(kind=4)  patchNormalDir,
integer(kind=8), dimension(numdim)  patchSizes,
integer(kind=8)  numPointsPatch,
integer(kind=8)  numPatchPointsOp,
integer(kind=8), dimension(numpatchpointsop)  patchPointsOp,
integer(kind=4)  gridType,
real(kind=8), dimension(numdim*numdim*numpointsbuffer)  gridMetric,
real(kind=8), dimension(numpointsbuffer)  jacobianDeterminant,
real(kind=8), dimension(3)  bcParams,
real(kind=8), dimension(5)  gasParams,
real(kind=8), dimension(numpointsbuffer)  rhoBuffer,
real(kind=8), dimension(numdim*numpointsbuffer)  rhoVBuffer,
real(kind=8), dimension(numpointsbuffer)  rhoEBuffer,
integer(kind=4)  numscalar,
real(kind=8), dimension(numscalar*numpointsbuffer)  scalarBuffer,
real(kind=8), dimension(numpointsbuffer)  rhoRHS,
real(kind=8), dimension(numdim*numpointsbuffer)  rhoVRHS,
real(kind=8), dimension(numpointsbuffer)  rhoERHS,
real(kind=8), dimension(numscalar*numpointsbuffer)  scalarRHS,
real(kind=8), dimension(numpointsbuffer)  rhoTarget,
real(kind=8), dimension(numdim*numpointsbuffer)  rhoVTarget,
real(kind=8), dimension(numpointsbuffer)  rhoETarget,
real(kind=8), dimension(numscalar*numpointsbuffer)  scalarTarget 
)
Todo:
add viscous contribution for SAT_SLIP_ADIABATIC
Todo:
add viscous contribution for SAT_SLIP_ADIABATIC
Todo:
add viscous contribution for SAT_SLIP_ADIABATIC

Definition at line 360 of file SATUtil.f90.

References grid::curvilinear, grid::rectilinear, sat_form_roe_matrices(), and grid::unirect.

Referenced by rhs< GridT, StateT, OperatorT >::HandleBoundaryConditions().

Here is the call graph for this function:
Here is the caller graph for this function: