CG
Version 25
|
Go to the source code of this file.
Macros | |
#define | U1(x, y, z) (amp*cost*psi*( a0xy*(y) -a0zx*(z) )) |
#define | V1(x, y, z) (amp*cost*psi*(-a0xy*(x)+a0yz*(z) )) |
#define | W1(x, y, z) (amp*cost*psi*( -a0yz*(y)+a0zx*(x) )) |
#define | U2(x, y, z) (amp*cost*psi*( a0xy*(y)*(z) -a0zx*(z)*(y) )) |
#define | V2(x, y, z) (amp*cost*psi*(-a0xy*(x)*(z)+a0yz*(z)*(x) )) |
#define | W2(x, y, z) (amp*cost*psi*( -a0yz*(y)*(x) +a0zx*(x)*(y) )) |
#define | VB2A(xa, wxa, pxa) |
#define | VB2(xa, wxa, pxa) |
#define | VB2X(xj, wj, pj,xa, wa, pa, wja, pja, deltaja) |
Functions | |
if (pdeVariation==SmParameters::hemp) | |
assert (mg.numberOfDimensions()==3) | |
if (vibrationClass==1) | |
Variables | |
const int | v2c = parameters.dbase.get<int >("v2c") |
const int | v3c = parameters.dbase.get<int >("v3c") |
bool | assignVelocities = v1c>=0 |
const int | s11c = parameters.dbase.get<int >("s11c") |
const int | s12c = parameters.dbase.get<int >("s12c") |
const int | s13c = parameters.dbase.get<int >("s13c") |
const int | s21c = parameters.dbase.get<int >("s21c") |
const int | s22c = parameters.dbase.get<int >("s22c") |
const int | s23c = parameters.dbase.get<int >("s23c") |
const int | s31c = parameters.dbase.get<int >("s31c") |
const int | s32c = parameters.dbase.get<int >("s32c") |
const int | s33c = parameters.dbase.get<int >("s33c") |
const int | pc = parameters.dbase.get<int >("pc") |
const real & | rho =parameters.dbase.get<real>("rho") |
const real & | mu = parameters.dbase.get<real>("mu") |
const real & | lambda = parameters.dbase.get<real>("lambda") |
const RealArray & | muGrid = parameters.dbase.get<RealArray>("muGrid") |
const RealArray & | lambdaGrid = parameters.dbase.get<RealArray>("lambdaGrid") |
bool | assignStress = s11c >=0 |
std::vector< real > & | data = parameters.dbase.get<std::vector<real> >("sphereEigenmodeData") |
const int | vibrationClass = (int)data[0] |
const int | n = (int)data[1] |
const int | m = (int)data[2] |
const real | rad = data[3] |
const real | cp =sqrt( (lambda+2.*mu)/rho ) |
const real | cs = sqrt( mu/rho ) |
real | omega |
real | cPhi =1. |
real | cOmega =1. |
else | |
real | kappa = omega/cs |
real | h = omega/cp |
const real | h2 = h*h |
const real | h3 =h*h*h |
const real | h4 =h*h*h*h |
const real | kappa2 =kappa*kappa |
const real | kappa3 =kappa*kappa*kappa |
const real | kappa4 =kappa*kappa*kappa*kappa |
#define VB2 | ( | xa, | |
wxa, | |||
pxa | |||
) |
#define VB2A | ( | xa, | |
wxa, | |||
pxa | |||
) |
#define VB2X | ( | xj, | |
wj, | |||
pj, | |||
xa, | |||
wa, | |||
pa, | |||
wja, | |||
pja, | |||
deltaja | |||
) |
assert | ( | mg. | numberOfDimensions() = =3 | ) |
if | ( | pdeVariation | = = SmParameters::hemp | ) |
References printF().
else if | ( | vibrationClass | = =1 | ) |
References assert(), OV_ABORT(), and rad.
bool assignStress = s11c >=0 |
bool assignVelocities = v1c>=0 |
real cOmega =1. |
Referenced by Cgsm::assignSpecialInitialConditions().
real cPhi =1. |
Referenced by Cgsm::assignSpecialInitialConditions().
std::vector<real>& data = parameters.dbase.get<std::vector<real> >("sphereEigenmodeData") |
else |
Referenced by Cgsm::assignSpecialInitialConditions().
Referenced by Cgsm::assignSpecialInitialConditions().
Referenced by Cgsm::assignSpecialInitialConditions().
Referenced by Cgad::addForcing(), Cgins::addForcing(), Cgins::addForcingToPressureEquation(), Cgad::advanceADI(), Cgmp::assignInterfaceBoundaryConditions(), Cgsm::assignSpecialInitialConditions(), AdParameters::displayPdeParameters(), Cgad::formMatrixForImplicitSolve(), PenaltyWallFunctionBC::getShearStresses(), getSpalartAllmarasParameters(), Cgad::getTimeSteppingEigenvalue(), Cgad::getUt(), Maxwell::initializePlaneMaterialInterface(), AdParameters::saveParametersToShowFile(), Cgad::saveShowFileComments(), AdParameters::setParameters(), AdParameters::setPdeParameters(), Cgad::setPlotTitle(), Cgins::turbulenceModels(), and Cgad::writeParameterSummary().
Referenced by Cgsm::assignSpecialInitialConditions().
Referenced by Cgsm::assignSpecialInitialConditions().
Referenced by Cgsm::assignSpecialInitialConditions().
const real& lambda = parameters.dbase.get<real>("lambda") |
Referenced by Cgsm::advance(), Cgsm::advanceFOS(), Cgsm::advanceSOS(), Cgsm::assignAnnulusEigenfunction(), Cgsm::assignBoundaryConditionsFOS(), Cgsm::assignBoundaryConditionsSOS(), Cgsm::assignGaussianPulseInitialConditions(), Cgsm::assignHempInitialConditions(), Maxwell::assignInitialConditions(), Cgsm::assignParabolicInitialConditions(), Cgsm::assignSpecialInitialConditions(), Cgsm::assignTwilightZoneInitialConditions(), Parameters::buildMaterialParametersDialog(), Cgsm::Cgsm(), Cgsm::checkDisplacementAndStress(), Maxwell::computeTimeStep(), FOR_3D(), Cgsm::getEnergy(), Cgsm::getErrors(), Maxwell::getErrors(), Cgsm::getForcing(), Cgsm::getInitialConditions(), AsfParameters::getNormalForce(), CnsParameters::getNormalForce(), FlowSolutions::getShockElasticPistonFlow(), Cgsm::getTimeStep(), RigidBodyMotion::getTimeStepEstimate(), Parameters::getUserDefinedKnownSolution(), Cgasf::getUt(), Cgsm::getVelocityAndStress(), if(), Cgmp::interfaceProjection(), Cgsm::plot(), Parameters::readFromAShowFile(), SmParameters::saveParametersToShowFile(), SmParameters::setPdeParameters(), Cgsm::setupGrids(), SmParameters::updateToMatchGrid(), Parameters::updateUserDefinedKnownSolution(), Cgsm::userDefinedForcing(), and Cgsm::userDefinedInitialConditions().
const RealArray& lambdaGrid = parameters.dbase.get<RealArray>("lambdaGrid") |
Referenced by Cgsm::advance(), Cgsm::advanceFOS(), Cgsm::advanceSOS(), Cgsm::assignAnnulusEigenfunction(), Cgsm::assignBoundaryConditionsFOS(), Cgsm::assignBoundaryConditionsSOS(), Cgsm::assignGaussianPulseInitialConditions(), Cgsm::assignHempInitialConditions(), Cgsm::assignParabolicInitialConditions(), Cgsm::assignSpecialInitialConditions(), Cgsm::assignTwilightZoneInitialConditions(), Cgsm::Cgsm(), Cgsm::checkDisplacementAndStress(), Cgsm::computeDissipation(), Cgsm::getEnergy(), Cgsm::getErrors(), Cgsm::getForcing(), Cgsm::getTimeStep(), Cgsm::getVelocityAndStress(), SmParameters::saveParametersToShowFile(), SmParameters::setPdeParameters(), Cgsm::setupGrids(), SmParameters::updateToMatchGrid(), and Cgsm::userDefinedForcing().
const int m = (int)data[2] |
const real& mu = parameters.dbase.get<real>("mu") |
Referenced by Cgasf::addForcing(), Cgcns::addForcing(), Cgasf::addForcingToPressureEquation(), Cgsm::advance(), Cgsm::advanceFOS(), Cgsm::advanceSOS(), Cgcns::applyBoundaryConditions(), Cgcns::applyBoundaryConditionsForImplicitTimeStepping(), Cgsm::assignAnnulusEigenfunction(), RadiationBoundaryCondition::assignBoundaryConditions(), Cgsm::assignBoundaryConditionsFOS(), Cgsm::assignBoundaryConditionsSOS(), Cgsm::assignGaussianPulseInitialConditions(), Cgsm::assignHempInitialConditions(), Cgsm::assignParabolicInitialConditions(), Cgsm::assignSpecialInitialConditions(), Cgsm::assignTwilightZoneInitialConditions(), Parameters::buildMaterialParametersDialog(), Cgsm::Cgsm(), Cgsm::checkDisplacementAndStress(), Cgcns::formImplicitTimeSteppingMatrix(), Cgsm::getEnergy(), Cgsm::getErrors(), Cgsm::getForcing(), Cgsm::getInitialConditions(), AsfParameters::getNormalForce(), CnsParameters::getNormalForce(), getRayleighSpeed(), FlowSolutions::getShockElasticPistonFlow(), FlowSolutions::getSupersonicExpandingFlow(), Cgsm::getTimeStep(), Cgcns::getTimeSteppingEigenvalue(), Cgasf::getTimeSteppingEigenvalue(), Parameters::getUserDefinedKnownSolution(), Cgcns::getUt(), Cgasf::getUt(), Cgsm::getVelocityAndStress(), if(), Cgmp::interfaceProjection(), muFromPmu(), Cgsm::plot(), Parameters::readFromAShowFile(), SmParameters::saveParametersToShowFile(), Cgcns::saveShowFileComments(), SmParameters::setPdeParameters(), Cgcns::setPlotTitle(), Cgsm::setupGrids(), Cgasf::solveForAllSpeedPressure(), Cgasf::solveForTimeIndependentVariables(), SmParameters::updateToMatchGrid(), Parameters::updateUserDefinedKnownSolution(), Cgsm::userDefinedForcing(), and Cgsm::userDefinedInitialConditions().
const RealArray& muGrid = parameters.dbase.get<RealArray>("muGrid") |
Referenced by Cgsm::advance(), Cgsm::advanceFOS(), Cgsm::advanceSOS(), Cgsm::assignAnnulusEigenfunction(), Cgsm::assignBoundaryConditionsFOS(), Cgsm::assignBoundaryConditionsSOS(), Cgsm::assignGaussianPulseInitialConditions(), Cgsm::assignHempInitialConditions(), Cgsm::assignParabolicInitialConditions(), Cgsm::assignSpecialInitialConditions(), Cgsm::assignTwilightZoneInitialConditions(), Cgsm::Cgsm(), Cgsm::checkDisplacementAndStress(), Cgsm::computeDissipation(), Cgsm::getEnergy(), Cgsm::getErrors(), Cgsm::getForcing(), Cgsm::getTimeStep(), Cgsm::getVelocityAndStress(), SmParameters::saveParametersToShowFile(), SmParameters::setPdeParameters(), Cgsm::setupGrids(), SmParameters::updateToMatchGrid(), and Cgsm::userDefinedForcing().
const int n = (int)data[1] |
real omega |
Referenced by Cgins::advanceLineSolveNew(), Cgins::advanceLineSolveOld(), Cgasf::allSpeedImplicitTimeStep(), Cgsm::assignAnnulusEigenfunction(), Cgsm::assignBoundaryConditionsFOS(), Cgsm::assignBoundaryConditionsSOS(), Cgsm::assignHempInitialConditions(), Cgmp::assignInterfaceRightHandSide(), Cgmp::assignInterfaceRightHandSideOld(), Cgsm::assignSpecialInitialConditions(), Cgsm::buildForcingOptionsDialog(), Cgsm::buildVariableDissipation(), RigidBodyMotion::getAngularVelocities(), MovingGrids::getBoundaryAcceleration(), RigidBodyMotion::getCoordinates(), Cgsm::getForcing(), Cgsm::getForcingOption(), MovingGrids::getGridVelocity(), Cgsm::getInitialConditions(), RigidBodyMotion::getRotationMatrix(), DomainSolver::getTimeDependentBoundaryConditions(), MovingGrids::getUserDefinedBoundaryAcceleration(), MovingGrids::getUserDefinedGridVelocity(), Parameters::getUserDefinedKnownSolution(), MovingGrids::gridAccelerationBC(), if(), main(), MovingGrids::moveGrids(), DeformingBodyMotion::regenerateComponentGrids(), SmParameters::setTwilightZoneFunction(), CnsParameters::setTwilightZoneFunction(), InsParameters::setTwilightZoneFunction(), Parameters::setTwilightZoneParameters(), Cgsm::setupUserDefinedForcing(), Cgasf::solveForAllSpeedPressure(), MovingGrids::update(), Parameters::updateUserDefinedKnownSolution(), MovingGrids::updateUserDefinedMotion(), Cgsm::userDefinedBoundaryValues(), Cgsm::userDefinedForcing(), MovingGrids::userDefinedGridAccelerationBC(), and MovingGrids::userDefinedTransformMotion().
const int pc = parameters.dbase.get<int >("pc") |
const real rad = data[3] |
Referenced by Cgcns::addForcing(), Cgsm::assignSpecialInitialConditions(), DomainSolver::computeBodyForcing(), Maxwell::defineRegionsAndBodies(), Parameters::defineVariableBoundaryValues(), Maxwell::getChargeDensity(), Cgsm::getInitialConditions(), if(), DeformingBodyMotion::initialize(), main(), DeformingBodyMotion::regenerateComponentGrids(), DomainSolver::setVariableBoundaryValues(), DomainSolver::setVariableMaterialProperties(), Cgsm::userDefinedBoundaryValues(), DomainSolver::userDefinedBoundaryValues(), userDefinedErrorEstimator(), DomainSolver::userDefinedForcing(), and DomainSolver::userDefinedInitialConditions().
const real& rho =parameters.dbase.get<real>("rho") |
Referenced by CnsParameters::assignParameterValues(), Parameters::assignParameterValues(), Parameters::buildMaterialParametersDialog(), Reactions::checkChemicalSourceJacobian(), Reactions::computeEigenvaluesOfTheChemicalSourceJacobian(), CnsParameters::conservativeToPrimitive(), Maxwell::getChargeDensity(), FlowSolutions::getSupersonicExpandingFlow(), CnsParameters::primitiveToConservative(), Parameters::readFromAShowFile(), SmParameters::setPdeParameters(), DomainSolver::sizeOf(), and Reactions::solveImplicitForYGivenRTP().
const int s11c = parameters.dbase.get<int >("s11c") |
const int s12c = parameters.dbase.get<int >("s12c") |
const int s13c = parameters.dbase.get<int >("s13c") |
const int s21c = parameters.dbase.get<int >("s21c") |
const int s22c = parameters.dbase.get<int >("s22c") |
const int s23c = parameters.dbase.get<int >("s23c") |
const int s31c = parameters.dbase.get<int >("s31c") |
const int s32c = parameters.dbase.get<int >("s32c") |
const int s33c = parameters.dbase.get<int >("s33c") |
const int v2c = parameters.dbase.get<int >("v2c") |
const int v3c = parameters.dbase.get<int >("v3c") |
const int vibrationClass = (int)data[0] |
Referenced by Cgsm::assignSpecialInitialConditions(), and Cgsm::getInitialConditions().