CG
Version 25
|
#include <FlowSolutions.h>
Public Types | |
enum | KnownSolutionsEnum { superSonicExpandingFlow, specifiedPistonMotion, forcedPistonMotion, obliqueShockFlow, deformingDiffuser, shockElasticPiston } |
Public Member Functions | |
FlowSolutions () | |
~FlowSolutions () | |
int | getFlowSolution (const KnownSolutionsEnum knownSolution, realCompositeGridFunction &ua, int *ipar, real *rpar) |
int | getFlowSolution (const KnownSolutionsEnum knownSolution, CompositeGrid &cg, int grid, realArray &ua, int *ipar, real *rpar, const Index &I1, const Index &I2, const Index &I3) |
int | getFlowSolution (PistonMotion &pistonMotion, CompositeGrid &cg, int grid, realArray &ua, int *ipar, real *rpar, const Index &I1, const Index &I2, const Index &I3) |
Compute the solution defined by the PistonMotion class. | |
int | getDeformingDiffuser (const KnownSolutionsEnum knownSolution, CompositeGrid &cg, int grid, realArray &ua, int *ipar, real *rpar, const Index &I1, const Index &I2, const Index &I3) |
Return the solid-mechanics solution to a deforming diffuser solid container. | |
int | getObliqueShockFlow (const KnownSolutionsEnum knownSolution, CompositeGrid &cg, int grid, realArray &ua, int *ipar, real *rpar, const Index &I1, const Index &I2, const Index &I3) |
Define an oblqiue shock exact solution. | |
int | getPistonFlow (const KnownSolutionsEnum knownSolution, CompositeGrid &cg, int grid, realArray &ua, int *ipar, real *rpar, const Index &I1, const Index &I2, const Index &I3) |
int | getShockElasticPistonFlow (const KnownSolutionsEnum knownSolution, CompositeGrid &cg, int grid, realArray &u, int *ipar, real *rpar, const Index &I1, const Index &I2, const Index &I3) |
int | getSupersonicExpandingFlow (realCompositeGridFunction &ua, int *ipar, real *rpar) |
Determine the solution to supersonic flow around an expanding corner. | |
int | getSupersonicExpandingFlow (CompositeGrid &cg, int grid, realArray &ua, int *ipar, real *rpar, const Index &I1, const Index &I2, const Index &I3) |
Protected Attributes | |
realCompositeGridFunction * | v |
RealArray * | wallDataPointer |
FlowSolutions::FlowSolutions | ( | ) |
References v, and wallDataPointer.
FlowSolutions::~FlowSolutions | ( | ) |
References v, and wallDataPointer.
int FlowSolutions::getDeformingDiffuser | ( | const KnownSolutionsEnum | knownSolution, |
CompositeGrid & | cg, | ||
int | grid, | ||
realArray & | ua, | ||
int * | ipar, | ||
real * | rpar, | ||
const Index & | I1, | ||
const Index & | I2, | ||
const Index & | I3 | ||
) |
int FlowSolutions::getFlowSolution | ( | const KnownSolutionsEnum | knownSolution, |
realCompositeGridFunction & | ua, | ||
int * | ipar, | ||
real * | rpar | ||
) |
References cg, getIndex(), grid, I1, I2, I3, and mg.
Referenced by Parameters::getUserDefinedKnownSolution().
int FlowSolutions::getFlowSolution | ( | const KnownSolutionsEnum | knownSolution, |
CompositeGrid & | cg, | ||
int | grid, | ||
realArray & | ua, | ||
int * | ipar, | ||
real * | rpar, | ||
const Index & | I1, | ||
const Index & | I2, | ||
const Index & | I3 | ||
) |
int FlowSolutions::getFlowSolution | ( | PistonMotion & | pistonMotion, |
CompositeGrid & | cg, | ||
int | grid, | ||
realArray & | ua, | ||
int * | ipar, | ||
real * | rpar, | ||
const Index & | I1, | ||
const Index & | I2, | ||
const Index & | I3 | ||
) |
int FlowSolutions::getObliqueShockFlow | ( | const KnownSolutionsEnum | knownSolution, |
CompositeGrid & | cg, | ||
int | grid, | ||
realArray & | ua, | ||
int * | ipar, | ||
real * | rpar, | ||
const Index & | I1, | ||
const Index & | I2, | ||
const Index & | I3 | ||
) |
int FlowSolutions::getPistonFlow | ( | const KnownSolutionsEnum | knownSolution, |
CompositeGrid & | cg, | ||
int | grid, | ||
realArray & | ua, | ||
int * | ipar, | ||
real * | rpar, | ||
const Index & | I1, | ||
const Index & | I2, | ||
const Index & | I3 | ||
) |
int FlowSolutions::getShockElasticPistonFlow | ( | const KnownSolutionsEnum | knownSolution, |
CompositeGrid & | cg, | ||
int | grid, | ||
realArray & | u, | ||
int * | ipar, | ||
real * | rpar, | ||
const Index & | I1, | ||
const Index & | I2, | ||
const Index & | I3 | ||
) |
int FlowSolutions::getSupersonicExpandingFlow | ( | realCompositeGridFunction & | ua, |
int * | ipar, | ||
real * | rpar | ||
) |
Determine the solution to supersonic flow around an expanding corner.
ipar | (input) : |
rpar | (input) : |
References a, a0, assert(), center, cg, evaluateBoundaryCurve(), findStartOfCPlusCharacteristic(), FOR_3D, getIndex(), grid, i, i1, I1, i2, I2, i3, I3, k, mg, mu, muFromPmu(), rho, tc, theta, u, u0, wallDataPointer, wc, x, and y.
Referenced by getFlowSolution().
int FlowSolutions::getSupersonicExpandingFlow | ( | CompositeGrid & | cg, |
int | grid, | ||
realArray & | ua, | ||
int * | ipar, | ||
real * | rpar, | ||
const Index & | I1, | ||
const Index & | I2, | ||
const Index & | I3 | ||
) |
|
protected |
Referenced by FlowSolutions(), and ~FlowSolutions().
|
protected |
Referenced by FlowSolutions(), getSupersonicExpandingFlow(), and ~FlowSolutions().