CG
Version 25
|
A class to hold PDE parameters for a DomainSolver. More...
#include <Parameters.h>
Classes | |
class | BCModifier |
Public Member Functions | |
bool | registerBC (int id, const aString &name, bool replace=false) |
Add a bc with an integer identifier and a string name. | |
bool | registerInterfaceType (int id, const aString &name, bool replace=false) |
Add a interface type with an integer identifier and a string name. | |
bool | registerBCModifier (const aString &name, Parameters::CreateBCModifierFromName createBCMod, bool replace=false) |
Add a bc modifier with an integer identifier and a string name. | |
Parameters (const int &numberOfDimensions0=3) | |
constructor. | |
virtual | ~Parameters () |
destructor. | |
virtual int | addShowVariable (const aString &name, int component, bool variableIsOn=TRUE) |
Add a show variable name to the list of possible show file variables. | |
int | addTiming (const aString &timeVariableName, const aString &timeLabel) |
Add a new item to be timed. : name of the variable in the dbase : label to be used on output. | |
virtual int | assignParameterValues (const aString &label, RealArray &values, const int &numRead, aString *c, real val[], char *extraName1=0, const int &extraValue1Location=0, char *extraName2=0, const int &extraValue2Location=0, char *extraName3=0, const int &extraValue3Location=0) |
virtual int | assignParameterValues (const aString &label, RealArray &values, const int &numRead, char c[][10], real val[], char *extraName1=0, const int &extraValue1Location=0, char *extraName2=0, const int &extraValue2Location=0, char *extraName3=0, const int &extraValue3Location=0) |
virtual int | bcIsAnInterface (int bc) const |
Return true if the bc value corresponds to an interface boundary condition. | |
virtual int | bcIsTimeDependent (int side, int axis, int grid) const |
Return true if the boundary face has a boundary condition that varies in time. | |
virtual int | bcType (int side, int axis, int grid) const |
Return the boundary condition type, a value from the enum Parameters::BoundaryConditionType. | |
virtual int | bcVariesInSpace (int side, int axis, int grid) const |
Return true if the boundary face has a boundary condition that varies in space. | |
virtual int | bcVariesInSpace (const Index &side=nullIndex, const Index &axis=nullIndex, const Index &grid=nullIndex) const |
Return true if any of a set of boundary faces has a boundary condition that varies in space. | |
virtual int | buildBodyForceRegionsDialog (DialogData &dialog, BodyForceRegionParameters ®ionPar) |
Build the dialog that defines different regions for body forces and boundary data. | |
virtual int | buildErrorEstimator () |
build the AMR error estimator. | |
virtual int | buildForcingProfilesDialog (DialogData &dialog, BodyForceRegionParameters ®ionPar) |
Build the dialog that defines different profiles for the forcing (.e.g. parabolic shape) | |
virtual int | buildMaterialParametersDialog (DialogData &dialog, BodyForceRegionParameters ®ionPar) |
Build the dialog that allows material parameters to be set. | |
virtual int | buildReactions () |
Construction the appropriate Reactions class. | |
virtual int | buildTemperatureBoundaryConditionsDialog (DialogData &dialog, BodyForceRegionParameters ®ionPar) |
Build the dialog that defines different options for the temperature boundary condition on a region. For example, set the right-hand-side or define the coefficients in the temperature BC equation. | |
virtual int | checkForValidBoundaryCondition (const int &bc, bool reportErrors=true) |
virtual int | chooseUserDefinedBoundaryValues (int side, int axis, int grid, CompositeGrid &cg) |
Interactively define user specific values for boundary conditions. | |
virtual int | conservativeToPrimitive (GridFunction &gf, int gridToConvert=-1, int fixupUnsedPoints=false) |
Convert conservative variables to primitive. | |
virtual int | defineBoundaryConditions (CompositeGrid &cg, const IntegerArray &originalBoundaryCondition, const aString &command=nullString, DialogData *interface=NULL) |
virtual int | defineVariableBoundaryValues (int side, int axis, int grid, CompositeGrid &cg) |
Interactively define boundary values that vary along a boundary. This function is called from setBoundaryConditionValues. | |
virtual int | displayPdeParameters (FILE *file=stdout) |
Display PDE parameters. | |
virtual void | displayPolynomialCoefficients (RealArray &cx, RealArray &ct, aString *componentName, int numberOfComponents, FILE *file) |
Output the form of the polynomial TZ solution . | |
virtual int | get (const GenericDataBase &dir, const aString &name) |
virtual int | getBodyForceRegionsOption (const aString &answer, BodyForceRegionParameters ®ionPar, DialogData &dialog) |
: Look for a response to the BodyForceDialog | |
RealArray & | getBoundaryData (int side, int axis, int grid, MappedGrid &mg) |
Allocate the boundary data for a given side of a grid. | |
BoundaryData::BoundaryDataArray & | getBoundaryData (int grid) |
return the boundary data for a grid | |
virtual int | getForcingProfilesOption (const aString &answer, BodyForceRegionParameters ®ionPar, DialogData &dialog) |
: Look for a response to the ForcingProfiles | |
virtual int | getComponents (IntegerArray &components) |
Get an array of component indices. IS THIS USED ANYMORE? YES, BY THE RAMP BC. | |
virtual int | getDerivedFunction (const aString &name, const realCompositeGridFunction &u, realCompositeGridFunction &v, const int component, const real t, Parameters ¶meters) |
Assign the values of a derived quantity. | |
virtual int | getDerivedFunction (const aString &name, const realMappedGridFunction &u, realMappedGridFunction &v, const int component, const int grid, const real t, Parameters ¶meters) |
Assign the values of a derived quantity. | |
virtual int | getGridIsImplicit (int grid) const |
Return 1 or 2 if the grid is integrated implicitity. | |
virtual realCompositeGridFunction & | getKnownSolution (CompositeGrid &cg, real t) |
Return a known solution. | |
virtual realMappedGridFunction & | getKnownSolution (real t, int grid, const Index &I1, const Index &I2, const Index &I3, bool initialCall=false) |
Return a known solution on a component grid. | |
virtual int | getMaterialParametersOption (const aString &answer, BodyForceRegionParameters ®ionPar, DialogData &dialog) |
: Look for a response to the MaterialParametersDialog | |
virtual int | getNormalForce (realCompositeGridFunction &u, realSerialArray &normalForce, int *ipar, real *rpar) |
Return the normal force on a boundary. | |
const ReferenceFrameEnum | getReferenceFrame () |
return the reference frame for the PDEs in a domain. | |
int | getShowVariable (const aString &name, int &component, bool &variableIsOn) const |
Return the component number of a show variable with a given name. Also return whether the variable is saved in the show file. | |
virtual int | getTemperatureBoundaryConditionsOption (const aString &answer, BodyForceRegionParameters ®ionPar, DialogData &dialog) |
: Look for a response to the ForcingProfiles | |
virtual int | getTimeDependenceBoundaryConditionParameters (int side, int axis, int grid, RealArray &values) const |
Retrieve time dependent boundary values. | |
virtual aString | getTimeSteppingName () const |
return the name of the time-stepping method | |
virtual int | getUserBoundaryConditionParameters (int side, int axis, int grid, RealArray &values) const |
Retrieve user defined boundary values. | |
virtual int | getUserDefinedKnownSolution (real t, CompositeGrid &cg, int grid, realArray &ua, const Index &I1, const Index &I2, const Index &I3) |
virtual bool | gridIsMoving (int grid) const |
return true if this grid is moving. | |
virtual int | howManyBcTypes (const Index &side, const Index &axis, const Index &grid, BoundaryConditionType bc) const |
Return the number of faces where there is a boundary condition of type "bc", from the specified faces. | |
virtual int | initializeTimings () |
Define the items that will be timed (this is a virtual function that may be overloaded by derived classes) | |
virtual int | inputParameterValues (const aString &answer, const aString &label, RealArray &values) |
Parse an input string "answer" that assigns values to components. | |
virtual bool | isAdaptiveGridProblem () const |
virtual bool | isAxisymmetric () const |
return true if this is an axisymmetric problem on a 2D grid | |
virtual bool | isMixedBC (int bc) |
virtual bool | isMovingGridProblem () const |
return true if this is a moving grid problem. | |
virtual bool | isSteadyStateSolver () const |
return true if this is a steady state problem. | |
virtual int | numberOfGhostPointsNeeded () const |
return the number of ghost points needed by this method. | |
virtual int | numberOfGhostPointsNeededForImplicitMatrix () const |
return the number of ghost points needed by this method for the implicit matrix. | |
virtual int | openLogFiles (const aString &name) |
Open the log files. | |
virtual int | parseValues (const aString &answer, aString *name, real *value, int maxNumber) |
virtual int | primitiveToConservative (GridFunction &gf, int gridToConvert=-1, int fixupUnsedPoints=false) |
Convert primitive variables to conservative. | |
virtual int | put (GenericDataBase &dir, const aString &name) const |
virtual int | readFromAShowFile (ShowFileReader &showFileReader, CompositeGrid &cgRef, CompositeGrid &cg, realCompositeGridFunction &u, int &solutionNumber) |
: interface for reading a solution (e.g. initial condition or known solution) from a show file. | |
virtual bool | saveLinearizedSolution () |
Return true if we should save the linearized solution for implicit methods. | |
virtual int | saveParametersToShowFile () |
Save PDE specific parameters in the show file. | |
virtual int | setBcIsTimeDependent (int side, int axis, int grid, bool trueOrFalse=true) |
Specify whether a boundary face has a boundary condition that varies in time. | |
virtual int | setBcType (int side, int axis, int grid, BoundaryConditionType bc) |
Set the boundary condition type for a particular side. | |
virtual int | setBcModifier (int side, int axis, int grid, int bcm) |
Set the boundary condition midifier id. | |
virtual int | setBcVariesInSpace (int side, int axis, int grid, bool trueOrFalse=true) |
Specify whether a boundary face has a boundary condition that varies in space. | |
virtual int | setBoundaryConditionValues (const aString &answer, const IntegerArray &originalBoundaryCondition, CompositeGrid &cg) |
virtual int | setDefaultDataForABoundaryCondition (const int &side, const int &axis, const int &grid, CompositeGrid &cg) |
virtual int | setGridIsImplicit (int grid=-1, int value=1) |
Specify if this grid should be integrated implicitly when an implicit time stepping method is used. | |
virtual int | setInfoFile (FILE *file) |
specify which file to write informational messages to. | |
virtual int | setParameters (const int &numberOfDimensions0=2, const aString &reactionName=nullString) |
initialize the parameters. | |
virtual int | setPdeParameters (CompositeGrid &cg, const aString &command=nullString, DialogData *interface=NULL) |
Prompt for changes in the PDE parameters. | |
int | setShowVariable (const aString &name, const bool variableIsOn) |
Turn on or off the saving of a variable in the show file. saved in the show file. | |
virtual int | setUserDefinedParameters () |
Set user defined parameters. | |
virtual int | setTimeDependenceBoundaryConditionParameters (int side, int axis, int grid, RealArray &values) |
Assign time dependent boundary values. | |
virtual int | setTwilightZoneFunction (const TwilightZoneChoice &choice, const int °reeSpace=2, const int °reeTime=2) |
set the twilight-zone function. | |
virtual int | setTwilightZoneParameters (CompositeGrid &cg, const aString &command=nullString, DialogData *interface=NULL) |
Prompt for changes to the twilight zone parameters. | |
virtual int | setUserBcType (int side, int axis, int grid, int bc) |
Set the user defined boundary condition type for a particular side. | |
virtual int | thereAreTimeDependentUserBoundaryConditions (const Index &side, const Index &axis, const Index &grid) const |
Return true if there are time dependent user boundary condition. | |
virtual int | setupBodyForcing (CompositeGrid &cg) |
virtual int | setUserBoundaryConditionParameters (int side, int axis, int grid, RealArray &values) |
Assign user defined boundary values. | |
virtual int | updateKnownSolutionToMatchGrid (CompositeGrid &cg) |
Update the known solution to match the grid. | |
virtual int | updatePDEparameters () |
Update the PDE parameters to be consistent after some values have changed. | |
virtual int | updateShowFile (const aString &command=nullString, DialogData *interface=NULL) |
Open or close show files, set variables that appear in the show file. | |
virtual int | updateToMatchGrid (CompositeGrid &cg, IntegerArray &sharedBoundaryCondition=Overture::nullIntArray()) |
Update the parameters when the grid has changed. | |
virtual int | updateTurbulenceModels (CompositeGrid &cg) |
Update turbulence models. | |
virtual int | updateUserDefinedEOS (GenericGraphicsInterface &gi) |
virtual int | updateUserDefinedKnownSolution (GenericGraphicsInterface &gi) |
virtual bool | useConservativeVariables (int grid=-1) const |
return true if the PDE solver uses conservative variables. | |
virtual int | userBcType (int side, int axis, int grid) const |
Return the user defined boundary condition type. | |
Public Attributes | |
DataBase | dbase |
The database holds almost all parameters, see dbase entries. | |
aString | pdeName |
int | numberOfBCNames |
std::map< int, aString > | bcNames |
std::map< int, aString > | icNames |
std::map< int, aString > | bcmNames |
std::map< size_t, BCModifier * > | bcModifiers |
std::map< std::string, CreateBCModifierFromName > | bcModCreators |
Static Public Attributes | |
static aString | turbulenceModelName [numberOfTurbulenceModels+1] |
static aString | timeSteppingName [numberOfTimeSteppingMethods+1] |
static real | spalartAllmarasScaleFactor =1. |
static real | spalartAllmarasDistanceScale =1.e-10 |
static int | checkForFloatingPointErrors =0 |
A class to hold PDE parameters for a DomainSolver.
This base class object holds generic parameters.
typedef std::map<int,aString>::iterator Parameters::BCIterator |
typedef std::map<std::string,CreateBCModifierFromName>::iterator Parameters::BCModCreatorIterator |
typedef std::map<size_t,BCModifier*>::iterator Parameters::BCModifierIterator |
typedef BCModifier*(* Parameters::CreateBCModifierFromName)(const aString &name) |
A list of boundary conditions that are common to many solvers.
A list of different forms that a boundary condition can take.
enum Parameters::Stuff |
A list of all possible time stepping methods.
Parameters::Parameters | ( | const int & | numberOfDimensions0 = 3 | ) |
constructor.
numberOfDimensions0 | (input) : number of space dimensions for the problem. |
The dbase member data is a DataBase that contains most parameters in this class. By creating parameters dynamically (rather than declaring them directly in the class) it is easier to add new variables and easier to automatically save the values to a file.
Here is a list of values in the dbase (classes that derive from Parameters will define more entries):
References adamsBashforth2, adamsPredictorCorrector2, adamsPredictorCorrector4, adi, axisymmetric, backwardEuler, computeAllTerms, dbase, defaultInterpolationType, defaultValue, dirichletBoundaryCondition, dirichletInterface, e, fixedReferenceFrame, forwardEuler, heatFluxInterface, implicit, implicitAllSpeed, interfaceBoundaryCondition, interpolation, laxFriedrichs, maximumNumberOfOutputFiles, midPoint, n, neumannBoundaryCondition, neumannInterface, noForcing, noInitialConditionChosen, noInterface, noKnownSolution, nonMethodOfLines, noReactions, noSlipWall, noSlipWallInterface, notImplicit, noTurbulenceModel, numberOfTimeSteppingMethods, penaltyBoundaryCondition, polynomial, registerBC(), registerInterfaceType(), secondOrderSystemTimeStepping, slipWall, slipWallInterface, steadyStateNewton, steadyStateRungeKutta, symmetry, timeSteppingName, tractionAndHeatFluxInterface, tractionInterface, turbulenceModelName, and variableTimeStepAdamsPredictorCorrector.
|
virtual |
destructor.
References bcModifiers, dbase, i, maximumNumberOfOutputFiles, and n.
|
virtual |
Add a show variable name to the list of possible show file variables.
name | (input) : name to give the show variable. |
component | (input) : the component number of this variable (if it is a computational variable), otherwise a positive integer larger than any component number. |
variableIsOn | (input) : if true this variable will be saved in the show file. If false the variable will not be saved by default but the user can change this. |
Referenced by get(), AdParameters::setParameters(), AsfParameters::setParameters(), SmParameters::setParameters(), CnsParameters::setParameters(), InsParameters::setParameters(), and setParameters().
int Parameters::addTiming | ( | const aString & | timeVariableName, |
const aString & | timeLabel | ||
) |
Add a new item to be timed. : name of the variable in the dbase : label to be used on output.
References dbase.
Referenced by SmParameters::initializeTimings(), and initializeTimings().
|
virtual |
Reimplemented in CnsParameters.
References dbase, defaultValue, i, n, printF(), and rho.
Referenced by CnsParameters::assignParameterValues(), inputParameterValues(), and setBoundaryConditionValues().
|
virtual |
|
virtual |
Return true if the bc value corresponds to an interface boundary condition.
bc | (input) : boundary condition. |
References dirichletInterface, interfaceBoundaryCondition, neumannInterface, noSlipWallInterface, and slipWallInterface.
|
virtual |
Return true if the boundary face has a boundary condition that varies in time.
side | (input) : side |
axis | (input) : axis |
grid | (input) : grid |
References dbase.
Referenced by Cgasf::gridAccelerationBC(), Cgins::gridAccelerationBC(), and thereAreTimeDependentUserBoundaryConditions().
|
virtual |
Return the boundary condition type, a value from the enum Parameters::BoundaryConditionType.
side | (input) : side |
axis | (input) : axis |
grid | (input) : grid number. |
References dbase.
Referenced by Cgins::applyBoundaryConditions(), DomainSolver::getTimeDependentBoundaryConditions(), DomainSolver::jetInflow(), DomainSolver::parabolicInflow(), DomainSolver::setup(), and DomainSolver::userDefinedBoundaryValues().
|
virtual |
Return true if the boundary face has a boundary condition that varies in space.
side | (input) : side |
axis | (input) : axis |
grid | (input) : grid |
References dbase.
Referenced by DomainSolver::getTimeDependentBoundaryConditions(), DomainSolver::initializeSolution(), and Cgsm::setup().
|
virtual |
Return true if any of a set of boundary faces has a boundary condition that varies in space.
side | (input) : side(s) |
axis | (input) : axis(s) |
grid | (input) : grid(s) |
References dbase.
|
virtual |
Build the dialog that defines different regions for body forces and boundary data.
dialog | (input) : graphics dialog to use. |
References assert(), linesToPlot, xe, ye, and ze.
Referenced by defineVariableBoundaryValues(), and setupBodyForcing().
|
virtual |
build the AMR error estimator.
References assert(), and dbase.
Referenced by DomainSolver::adaptGrids(), DomainSolver::addGrids(), DomainSolver::displayParameters(), get(), DomainSolver::getAdaptiveGridOption(), DomainSolver::getAmrErrorFunction(), and DomainSolver::newAdaptiveGridBuilt().
|
virtual |
Build the dialog that defines different profiles for the forcing (.e.g. parabolic shape)
dialog | (input) : graphics dialog to use. |
References assert().
Referenced by defineVariableBoundaryValues().
|
virtual |
|
virtual |
Construction the appropriate Reactions class.
Reimplemented in CnsParameters.
References dbase.
Referenced by CnsParameters::buildReactions(), AsfParameters::setParameters(), InsParameters::setParameters(), and setParameters().
|
virtual |
Build the dialog that defines different options for the temperature boundary condition on a region. For example, set the right-hand-side or define the coefficients in the temperature BC equation.
dialog | (input) : graphics dialog to use. |
References assert().
Referenced by defineVariableBoundaryValues().
|
virtual |
References bcNames, and printF().
Referenced by defineBoundaryConditions(), DomainSolver::displayBoundaryConditions(), and setBoundaryConditionValues().
|
virtual |
Interactively define user specific values for boundary conditions.
This function will be called when interactively choosing boundary conditions and the option userDefinedBoundaryData is used.
You may add a time dependence to an existing boundary condition or you may define a new boundary condition. In this function you should prompt for the boundary condition to be used as well as any parameters that will be needed. Parameters can be saved using the setUserBoundaryConditionParameters function.
side,axis,grid | (input): assign boundary conditions for this face. |
Reimplemented in SmParameters.
References assert(), axis, d, dbase, grid, OV_ABORT(), printF(), setBcIsTimeDependent(), setUserBcType(), setUserBoundaryConditionParameters(), side, u0, and update().
Referenced by setBoundaryConditionValues().
|
virtual |
Convert conservative variables to primitive.
gf | (input) : convert this grid function. |
gridToConvert | (input) : (grid==-1) convert all grids, otherwise convert this grid. |
fixupUnsedPoints | (input) : if true, fixup unused points. |
Reimplemented in CnsParameters.
Referenced by GridFunction::conservativeToPrimitive().
|
virtual |
References addPrefix(), all, assert(), axis, bcNames, checkForValidBoundaryCondition(), dbase, for(), get(), grid, i, inputParameterValues(), interpolation, n, noSlipWall, numberOfBCNames, printF(), setBoundaryConditionValues(), and side.
Referenced by DomainSolver::setParametersInteractively().
|
virtual |
Interactively define boundary values that vary along a boundary. This function is called from setBoundaryConditionValues.
This function can be used to define sub-regions on a boundary where the boundary values take on certain values. For example, one can set the temperature on one
side,axis,grid | (input): assign boundary conditions for this face. |
References a0, addBoundaryForce, assert(), axis, buildBodyForceRegionsDialog(), buildForcingProfilesDialog(), buildTemperatureBoundaryConditionsDialog(), dbase, dir, display(), FOR_3D, forcingType, TimeFunction::get(), getBodyForceRegionsOption(), getForcingProfilesOption(), getIndex(), getTemperatureBoundaryConditionsOption(), BoundaryData::getVariableCoefficientBoundaryConditionArray(), grid, i, i1, I1, i2, I2, i3, I3, includeGhost, isRectangular, lines, linesToPlot, maskLocal, mg, mixedCoeff, mixedNormalCoeff, ok, OV_ABORT(), printF(), profileFactor, profileType, rad, side, tc, TimeFunction::update(), BoundaryData::variableCoefficientTemperatureBC, xab, XC, xe, xv, ye, and ze.
Referenced by setBoundaryConditionValues().
|
virtual |
Display PDE parameters.
file | (input) : output information to this file. |
Reimplemented in CnsParameters, SmParameters, InsParameters, AsfParameters, MpParameters, and AdParameters.
Referenced by DomainSolver::displayParameters(), AdParameters::displayPdeParameters(), MpParameters::displayPdeParameters(), AsfParameters::displayPdeParameters(), InsParameters::displayPdeParameters(), SmParameters::displayPdeParameters(), and CnsParameters::displayPdeParameters().
|
virtual |
Output the form of the polynomial TZ solution .
cx | (input) : spatial coefficients |
ct | (input) : time coefficients. |
componentName | (input) : array of component names. |
numberOfComponents | (input) : number of components. |
file | (input) : write output to this file. |
Referenced by setTwilightZoneParameters().
|
virtual |
Reimplemented in CnsParameters.
References addShowVariable(), assert(), buildErrorEstimator(), dbase, GET_OR_PUT, i, and printF().
Referenced by defineBoundaryConditions(), CnsParameters::get(), readRestartFile(), DomainSolver::readRestartFile(), and setTwilightZoneParameters().
|
virtual |
: Look for a response to the BodyForceDialog
answer | (input) : check this command |
regionPar | (output) : changes to the region are returned in this object. |
References cg, dbase, linesToPlot, printF(), xe, ye, and ze.
Referenced by defineVariableBoundaryValues(), and setupBodyForcing().
RealArray & Parameters::getBoundaryData | ( | int | side, |
int | axis, | ||
int | grid, | ||
MappedGrid & | mg | ||
) |
Allocate the boundary data for a given side of a grid.
Some boundary data may have so be saved since it is too expensive to recompute. e.g. parabolicInfow Return an array to use on a given face (allocate it if necessary)
side,axis,grid | (input) : face |
mg | (input) : the MappedGrid |
References assert(), axis, dbase, grid, I1, I2, I3, includeGhost, maskLocal, ok, printF(), and side.
Referenced by Cgsm::advanceFOS(), Cgcns::applyBoundaryConditions(), Cgad::applyBoundaryConditions(), Cgasf::applyBoundaryConditions(), Cgins::applyBoundaryConditions(), Cgcns::applyBoundaryConditionsForImplicitTimeStepping(), Cgad::applyBoundaryConditionsForImplicitTimeStepping(), Cgins::applyBoundaryConditionsForImplicitTimeStepping(), Cgins::applyFourthOrderBoundaryConditions(), Cgsm::assignBoundaryConditionsFOS(), Cgsm::assignBoundaryConditionsSOS(), DomainSolver::getTimeDependentBoundaryConditions(), Cgasf::gridAccelerationBC(), Cgins::gridAccelerationBC(), Cgins::initializeTurbulenceModels(), DeformingBodyMotion::integrate(), DomainSolver::jetInflow(), DomainSolver::parabolicInflow(), DomainSolver::setInterfacesAtPastTimes(), DomainSolver::setVariableBoundaryValues(), Cgsm::userDefinedBoundaryValues(), and DomainSolver::userDefinedBoundaryValues().
BoundaryData::BoundaryDataArray & Parameters::getBoundaryData | ( | int | grid | ) |
|
virtual |
Get an array of component indices. IS THIS USED ANYMORE? YES, BY THE RAMP BC.
components | (output): the list of component indices. |
Reimplemented in CnsParameters, InsParameters, and AsfParameters.
References components, dbase, and n.
Referenced by Cgcns::formMatrixForImplicitSolve(), and DomainSolver::getTimeDependentBoundaryConditions().
|
virtual |
Assign the values of a derived quantity.
This function knows how to compute some "derived" quantities. For example for the compressible Navier-Stokes, the pressure can be computed.
name | (input) the name of the derived quantity. |
u | (input) : evaluate the derived function using this grid function. |
v | (input) : fill in a component of this grid function. |
component | (input) : component index to fill, i.e. fill v(all,all,all,component) |
parameters | (input) : |
Reimplemented in CnsParameters.
Referenced by Cgcns::getAugmentedSolution(), Cgins::getAugmentedSolution(), DomainSolver::interpolate(), and DomainSolver::saveShow().
|
virtual |
Assign the values of a derived quantity.
This function knows how to compute some "derived" quantities. For example for the compressible Navier-Stokes, the pressure can be computed.
name | (input) : the name of the derived quantity. |
uIn | (input) : evaluate the derived function using this grid function. |
vIn | (input) : fill in a component of this grid function. |
component | (input) : component index to fill, i.e. fill v(all,all,all,component) |
parameters | (input) : |
Reimplemented in InsParameters, and CnsParameters.
References mg.
|
virtual |
: Look for a response to the ForcingProfiles
answer | (input) : check this command |
regionPar | (output) : changes to the region are returned in this object. |
References dbase, OV_ABORT(), printF(), and profileType.
Referenced by defineVariableBoundaryValues().
|
virtual |
Return 1 or 2 if the grid is integrated implicitity.
This requires that both the time stepping method is an implicit one and that the grid was chosen to be implicit.
grid | (input) : grid |
References dbase, implicit, implicitAllSpeed, steadyStateNewton, and steadyStateRungeKutta.
Referenced by Cgins::addForcing(), Cgasf::addForcing(), DomainSolver::advanceImplicitMultiStep(), Cgins::advanceLineSolveNew(), Cgins::advanceLineSolveOld(), Cgad::applyBoundaryConditions(), Cgad::applyBoundaryConditionsForImplicitTimeStepping(), Cgins::applyBoundaryConditionsForImplicitTimeStepping(), DomainSolver::applyBoundaryConditionsForImplicitTimeStepping(), Cgins::applyFourthOrderBoundaryConditions(), Cgins::buildImplicitSolvers(), DomainSolver::displayParameters(), Cgad::formMatrixForImplicitSolve(), Cgins::formMatrixForImplicitSolve(), DomainSolver::getTimeStep(), Cgcns::getTimeSteppingEigenvalue(), Cgad::getTimeSteppingEigenvalue(), Cgasf::getTimeSteppingEigenvalue(), Cgins::getTimeSteppingEigenvalue(), DomainSolver::getTimeSteppingOption(), Cgad::getUt(), Cgasf::getUt(), Cgins::getUt(), Cgins::insImplicitMatrix(), DomainSolver::takeTimeStepIM(), and DomainSolver::writeParameterSummary().
|
virtual |
Return a known solution.
cg | (input) : match to this grid. |
t | (input) : time to evaluate the known solution. |
References all, dbase, getIndex(), grid, I1, I2, I3, and mg.
Referenced by Cgcns::applyBoundaryConditions(), Cgsm::assignInitialConditions(), DomainSolver::assignInitialConditions(), Cgins::determineErrors(), DomainSolver::determineErrors(), Cgcns::getAugmentedSolution(), Cgsm::getErrors(), and updateKnownSolutionToMatchGrid().
|
virtual |
Return a known solution on a component grid.
t | (input) : time to evaluate the known solution. |
grid | (input) : match to this grid. |
I1 | (input) : |
I2 | (input) : |
I3 | (input) : |
initialCall | (input) : true if this is the initial call. |
References assert(), cg, dbase, getUserDefinedKnownSolution(), grid, gridIsMoving(), knownSolutionFromAShowFile, mg, OV_ABORT(), printF(), and userDefinedKnownSolution.
|
virtual |
: Look for a response to the MaterialParametersDialog
answer | (input) : check this command |
regionPar | (output) : changes to the region are returned in this object. |
References GridMaterialProperties::constantMaterialProperties, dbase, m, OV_ABORT(), GridMaterialProperties::piecewiseConstantMaterialProperties, printF(), and GridMaterialProperties::variableMaterialProperties.
Referenced by setupBodyForcing().
|
virtual |
Return the normal force on a boundary.
This routine is called, for example, by MovingGrids::rigidBodyMotion to determine the motion of a rigid body.
u | (input): solution to compute the force from. |
normalForce | (output) : fill in the components of the normal force. |
ipar | (input) : integer parameters. The boundary is defined by grid=ipar[0], side=ipar[1], axis=ipar[2] |
rpar | (input) : real parameters. The current time is t=rpar[0] |
Reimplemented in CnsParameters, InsParameters, and AsfParameters.
References printF().
Referenced by MovingGrids::rigidBodyMotion().
const Parameters::ReferenceFrameEnum Parameters::getReferenceFrame | ( | ) |
return the reference frame for the PDEs in a domain.
The frame of reference is needed so that we know how to transform the PDE when the grids move. Often the PDEs are defined in a fixed reference frame (even if some boundaries are moving). If we are solving for a PDE inside a moving rigid body, then the PDE (e.g. the heat equation) may be defined in the frame of reference of the rigid body.
References dbase.
Referenced by Cgad::addForcing(), Cgad::advanceADI(), Cgad::getTimeSteppingEigenvalue(), and Cgad::getUt().
int Parameters::getShowVariable | ( | const aString & | name, |
int & | component, | ||
bool & | variableIsOn | ||
) | const |
Return the component number of a show variable with a given name. Also return whether the variable is saved in the show file.
name | (input) : name of the show variable to lookup. |
component | (output) : the component number of this show variable (return -1 if the name is not found) |
variableIsOn | (output) : if true this variable will be saved in the show file. If false the variable will not be saved by default but the user can change this. |
|
virtual |
: Look for a response to the ForcingProfiles
answer | (input) : check this command |
regionPar | (output) : changes to the region are returned in this object. |
References a0, dbase, OV_ABORT(), and printF().
Referenced by defineVariableBoundaryValues().
|
virtual |
Retrieve time dependent boundary values.
side | (input) : side |
axis | (input) : axis |
grid | (input) : grid |
values | (output) : boundary condition values (on input this array must be the correct length). |
References dbase, printF(), and R.
Referenced by DomainSolver::getTimeDependentBoundaryConditions().
|
virtual |
return the name of the time-stepping method
Reimplemented in SmParameters.
References dbase, numberOfTimeSteppingMethods, and timeSteppingName.
Referenced by DomainSolver::displayParameters(), and DomainSolver::writeParameterSummary().
|
virtual |
Retrieve user defined boundary values.
side | (input) : side |
axis | (input) : axis |
grid | (input) : grid |
values | (output) : boundary condition values (on input this array must be the correct length). |
References axis, dbase, printF(), R, and side.
Referenced by Cgsm::userDefinedBoundaryValues(), and DomainSolver::userDefinedBoundaryValues().
|
virtual |
References a0, a2, assert(), c1, c2, center, dbase, FluidPiston::fluidSolidRiemannProblem(), FOR_3D, FlowSolutions::forcedPistonMotion, gam, FlowSolutions::getFlowSolution(), grid, i, i1, i2, i3, lambda, m, mg, mu, FlowSolutions::obliqueShockFlow, omega, printF(), r, rotatingDiskSVK, S, s11c, s12c, s21c, s22c, FlowSolutions::shockElasticPiston, FlowSolutions::specifiedPistonMotion, FlowSolutions::superSonicExpandingFlow, tc, theta, u, u0, uc, updateUserDefinedKnownSolution(), v1c, v2c, vc, vs0, x, and y.
Referenced by getKnownSolution().
|
virtual |
return true if this grid is moving.
grid | (input) : grid number. |
References dbase.
Referenced by DomainSolver::adaptGrids(), Cgad::addForcing(), Cgins::addForcing(), Cgcns::addForcing(), Cgins::addForcingToPressureEquation(), Cgasf::addForcingToPressureEquation(), DomainSolver::advanceAdamsPredictorCorrector(), Cgad::advanceADI(), DomainSolver::advanceImplicitMultiStep(), Cgins::advanceLineSolveNew(), Cgins::advanceLineSolveOld(), DomainSolver::advanceSecondOrderSystem(), Cgasf::allSpeedImplicitTimeStep(), PenaltyWallFunctionBC::applyBC(), Cgcns::applyBoundaryConditions(), Cgasf::applyBoundaryConditions(), Cgins::applyBoundaryConditions(), Cgcns::applyBoundaryConditionsForImplicitTimeStepping(), Cgins::applyBoundaryConditionsForImplicitTimeStepping(), Cgins::applyFourthOrderBoundaryConditions(), Cgins::assignPressureRHS(), Cgins::determineErrors(), DomainSolver::determineErrors(), DomainSolver::displayParameters(), DomainSolver::eulerStep(), Cgcns::formImplicitTimeSteppingMatrix(), Cgins::formMatrixForImplicitSolve(), Cgcns::getAugmentedSolution(), getKnownSolution(), Cgins::getResidual(), Cgcns::getTimeSteppingEigenvalue(), Cgad::getTimeSteppingEigenvalue(), Cgasf::getTimeSteppingEigenvalue(), Cgins::getTimeSteppingEigenvalue(), Cgad::getUt(), Cgcns::getUt(), Cgasf::getUt(), Cgins::getUt(), Cgasf::gridAccelerationBC(), Cgins::gridAccelerationBC(), DomainSolver::initializeTimeSteppingIM(), DomainSolver::initializeTimeSteppingPC(), Cgins::insImplicitMatrix(), DomainSolver::moveGrids(), DomainSolver::outputProbes(), DomainSolver::setInterfacesAtPastTimes(), DomainSolver::setup(), DomainSolver::setupGridFunctions(), DomainSolver::setVariableBoundaryValues(), Cgasf::solveForAllSpeedPressure(), Cgasf::solveForTimeIndependentVariables(), DomainSolver::takeTimeStepFE(), Cgad::updateGeometryArrays(), Cgins::updateGeometryArrays(), GridFunction::updateGridVelocityArrays(), Cgins::updatePressureEquation(), Cgsm::userDefinedBoundaryValues(), DomainSolver::userDefinedBoundaryValues(), and DomainSolver::writeParameterSummary().
|
virtual |
Return the number of faces where there is a boundary condition of type "bc", from the specified faces.
side | (input) : side |
axis | (input) : axis |
grid | (input) : grid number. |
bc | (input) : check for this boundary condition. |
References dbase.
Referenced by DomainSolver::parabolicInflow().
|
virtual |
Define the items that will be timed (this is a virtual function that may be overloaded by derived classes)
Reimplemented in SmParameters.
References addTiming(), dbase, and printF().
Referenced by AdParameters::AdParameters(), AsfParameters::AsfParameters(), CnsParameters::CnsParameters(), InsParameters::InsParameters(), and MpParameters::MpParameters().
|
virtual |
Parse an input string "answer" that assigns values to components.
Input parameter values from a string of the form: `u=1., v=2., ...' where the names on the left-hand-side of the equal operator should correspond to one of
answer | (input) : string containing the parameter value specification of the form: `u=1., v=2., ...' |
label | (input) : print this label when showing the responses. For example label="initial conditions". |
values | (output) : return values in this array. For example the assignment `u=1.' will result in values(parameters.dbase.get<int >("uc"))=1. |
References assignParameterValues(), and parseValues().
Referenced by defineBoundaryConditions(), DomainSolver::getInitialConditions(), and DomainSolver::setupUserDefinedInitialConditions().
|
inlinevirtual |
Referenced by DomainSolver::advance(), Cgsm::advance(), DomainSolver::advanceAdamsPredictorCorrector(), Cgsm::advanceFOS(), DomainSolver::advanceImplicitMultiStep(), Cgsm::advanceMethodOfLines(), DomainSolver::advanceSecondOrderSystem(), Cgins::applyFourthOrderBoundaryConditions(), Cgsm::assignBoundaryConditionsFOS(), Cgsm::assignBoundaryConditionsSOS(), DomainSolver::endTimeStepFE(), DomainSolver::eulerStep(), Cgcns::getAugmentedSolution(), Cgsm::getAugmentedSolution(), Cgins::getAugmentedSolution(), DomainSolver::getAugmentedSolution(), DomainSolver::getInitialConditions(), Cgsm::getTimeStep(), DomainSolver::getTimeStepAndNumberOfSubSteps(), Cgmp::initializeInterfaces(), DomainSolver::initializeTimeSteppingIM(), DomainSolver::initializeTimeSteppingPC(), Cgmp::multiDomainAdvance(), Cgmp::multiDomainAdvanceNew(), DomainSolver::newAdaptiveGridBuilt(), DomainSolver::printStatistics(), readFromAShowFile(), Cgsm::solve(), DomainSolver::startTimeStepFE(), DomainSolver::takeTimeStepFE(), DomainSolver::takeTimeStepIM(), DomainSolver::takeTimeStepPC(), Cgins::updateForMovingGrids(), DomainSolver::updateForMovingGrids(), and GridFunction::updateGridVelocityArrays().
|
virtual |
return true if this is an axisymmetric problem on a 2D grid
References dbase.
Referenced by Cgcns::addConstraintEquation(), Cgad::addForcing(), Cgins::addForcing(), Cgins::addForcingToPressureEquation(), Cgins::advanceLineSolveNew(), Cgins::advanceLineSolveOld(), Cgcns::applyBoundaryConditions(), Cgins::applyBoundaryConditions(), Cgcns::applyBoundaryConditionsForImplicitTimeStepping(), Cgins::applyBoundaryConditionsForImplicitTimeStepping(), Cgins::applyFourthOrderBoundaryConditions(), Cgins::assignPressureRHS(), Cgcns::buildImplicitSolvers(), Cgins::buildImplicitSolvers(), Cgcns::formImplicitTimeSteppingMatrix(), Cgad::formMatrixForImplicitSolve(), Cgins::formMatrixForImplicitSolve(), Cgins::getAugmentedSolution(), Cgcns::getTimeSteppingEigenvalue(), Cgad::getTimeSteppingEigenvalue(), Cgasf::getTimeSteppingEigenvalue(), Cgins::getTimeSteppingEigenvalue(), Cgad::getUt(), Cgcns::getUt(), Cgasf::getUt(), Cgins::getUt(), Cgins::insImplicitMatrix(), Cgins::printTimeStepInfo(), Cgins::project(), DomainSolver::project(), InsParameters::saveParametersToShowFile(), DomainSolver::saveShow(), Cgins::saveShowFileComments(), Cgins::setPlotTitle(), InsParameters::setTwilightZoneFunction(), Cgins::setupGridFunctions(), Cgins::updateDivergenceDamping(), Cgins::updateGeometryArrays(), Cgins::updatePressureEquation(), and DomainSolver::writeParameterSummary().
|
virtual |
Reimplemented in CnsParameters, InsParameters, and AsfParameters.
Referenced by setBoundaryConditionValues().
|
virtual |
return true if this is a moving grid problem.
References dbase.
Referenced by DomainSolver::advance(), DomainSolver::advanceAdamsPredictorCorrector(), DomainSolver::advanceImplicitMultiStep(), DomainSolver::advanceSecondOrderSystem(), DomainSolver::applyBoundaryConditions(), DomainSolver::buildAmrGridsForInitialConditions(), DomainSolver::displayParameters(), DomainSolver::eulerStep(), Cgins::formMatrixForImplicitSolve(), Cgcns::getAugmentedSolution(), Cgins::getAugmentedSolution(), DomainSolver::getInitialConditions(), DomainSolver::getTimeStep(), Cgasf::getTimeSteppingEigenvalue(), Cgasf::getUt(), DomainSolver::initializeSolution(), DomainSolver::initializeTimeSteppingIM(), DomainSolver::initializeTimeSteppingPC(), Cgmp::interfaceProjection(), DomainSolver::moveGrids(), DomainSolver::movingGridProblem(), readFromAShowFile(), Cgmp::saveShow(), Cgsm::saveShow(), DomainSolver::saveShow(), DomainSolver::setParametersInteractively(), DomainSolver::setup(), DomainSolver::setupGridFunctions(), Cgmp::solve(), DomainSolver::takeTimeStepFE(), DomainSolver::takeTimeStepPC(), DomainSolver::updateForAdaptiveGrids(), Cgins::updateForMovingGrids(), DomainSolver::updateForMovingGrids(), Cgins::updatePressureEquation(), and DomainSolver::writeParameterSummary().
|
virtual |
return true if this is a steady state problem.
References dbase, steadyStateNewton, and steadyStateRungeKutta.
Referenced by DomainSolver::advance(), DomainSolver::buildPlotOptionsDialog(), Cgmp::buildRunTimeDialog(), DomainSolver::buildRunTimeDialog(), DomainSolver::computeNumberOfStepsAndAdjustTheTimeStep(), DomainSolver::getResidualInfo(), Cgmp::plot(), DomainSolver::plot(), Cgcns::printTimeStepInfo(), Cgasf::printTimeStepInfo(), Cgins::printTimeStepInfo(), DomainSolver::printTimeStepInfo(), Cgsm::saveShow(), DomainSolver::saveShow(), Cgins::setPlotTitle(), and Cgmp::solve().
|
virtual |
return the number of ghost points needed by this method.
Reimplemented in CnsParameters, and InsParameters.
References dbase.
Referenced by Cgcns::applyBoundaryConditions(), Cgins::applyBoundaryConditions(), Cgcns::formMatrixForImplicitSolve(), InsParameters::numberOfGhostPointsNeeded(), CnsParameters::numberOfGhostPointsNeeded(), InsParameters::numberOfGhostPointsNeededForImplicitMatrix(), numberOfGhostPointsNeededForImplicitMatrix(), and DomainSolver::outputSolution().
|
virtual |
return the number of ghost points needed by this method for the implicit matrix.
Reimplemented in InsParameters.
References numberOfGhostPointsNeeded().
Referenced by Cgins::formMatrixForImplicitSolve().
|
virtual |
Open the log files.
name | (input) : name for the prefix of the log files: name.debug, name.check, name.log, name.move. |
References assert(), dbase, and np.
Referenced by DomainSolver::setParametersInteractively().
|
virtual |
References dbase, i, j, and printF().
Referenced by inputParameterValues(), and setBoundaryConditionValues().
|
virtual |
Convert primitive variables to conservative.
gf | (input) : convert this grid function. |
gridToConvert | (input) : (grid==-1) convert all grids, otherwise convert this grid. |
fixupUnsedPoints | (input) : if true, fixup unused points. |
Reimplemented in CnsParameters.
Referenced by GridFunction::primitiveToConservative().
|
virtual |
References dir, GET_OR_PUT, i, and printF().
Referenced by CnsParameters::put(), and DomainSolver::saveRestartFile().
|
virtual |
: interface for reading a solution (e.g. initial condition or known solution) from a show file.
: this function can be used to read a solution from a show file, optionally choosing certain components and optionally computing derived quantites (such as pressure from density and temperature or components of the stress tensor from displacements). This function can also be used to interpolate the solution from the show file onto the reference grid.
showFileReader | : use this show file reader |
cgRef | (input) : reference grid (will be used if the solution from the show file needs to be interpolated to the current grid). |
cg | (output) : output grid ( |
u | (output) : output solution from the show file (if assigned). (output) : -1 means no solution was chosen. A non-negative value indicates which solution in the show file was chosen. |
References all, assert(), c, dbase, getIndex(), grid, i, I1, I2, I3, isAdaptiveGridProblem(), isMovingGridProblem(), lambda, mg, mu, n, printF(), readInitialConditionFromShowFile, rho, S, s11c, s12c, s13c, s21c, s22c, s23c, s31c, s32c, s33c, ux, uy, and uz.
Referenced by setTwilightZoneParameters().
bool Parameters::registerBC | ( | int | id, |
const aString & | name, | ||
bool | replace = false |
||
) |
Add a bc with an integer identifier and a string name.
id | (input) : identifier. |
name | (input) : name of the boundary condition. |
replace | (input) : if true, replace a boundary condition with the same id. If false do not replace. |
References bcNames, and numberOfBCNames.
Referenced by AdParameters::AdParameters(), AsfParameters::AsfParameters(), CnsParameters::CnsParameters(), InsParameters::InsParameters(), Parameters(), and SmParameters::SmParameters().
bool Parameters::registerBCModifier | ( | const aString & | name, |
Parameters::CreateBCModifierFromName | createBCMod, | ||
bool | replace = false |
||
) |
Add a bc modifier with an integer identifier and a string name.
id | (input) : identifier. |
name | (input) : name of the boundary condition. |
createBCMod | (input) : a function pointer to a function that create's BCModifier instances with the name "name" |
replace | (input) : if true, replace a boundary condition with the same id. If false do not replace. |
References bcModCreators.
Referenced by InsParameters::InsParameters().
bool Parameters::registerInterfaceType | ( | int | id, |
const aString & | name, | ||
bool | replace = false |
||
) |
Add a interface type with an integer identifier and a string name.
id | (input) : identifier. |
name | (input) : name of the interface type |
replace | (input) : if true, replace a boundary interface with the same id. If false do not replace. |
References icNames.
Referenced by Parameters().
|
virtual |
Return true if we should save the linearized solution for implicit methods.
If implicit operator is non-linear then we may need to save the solution we linearize about.
Reimplemented in InsParameters.
Referenced by Cgins::formMatrixForImplicitSolve(), and Cgins::insImplicitMatrix().
|
virtual |
Save PDE specific parameters in the show file.
These parameters can be used for a restart. They can also be used, for example, by the user defined derived functions (when viewing the show file with plotStuff).
Reimplemented in InsParameters, CnsParameters, SmParameters, AsfParameters, MpParameters, and AdParameters.
References assert(), cc, dbase, and i.
Referenced by AdParameters::saveParametersToShowFile(), MpParameters::saveParametersToShowFile(), AsfParameters::saveParametersToShowFile(), SmParameters::saveParametersToShowFile(), CnsParameters::saveParametersToShowFile(), InsParameters::saveParametersToShowFile(), Cgsm::saveShow(), and DomainSolver::saveShow().
|
virtual |
Specify whether a boundary face has a boundary condition that varies in time.
side | (input) : side |
axis | (input) : axis |
grid | (input) : grid |
trueOrFalse | (input) : true if the boundary face has a boundary condition that varies in time. |
References dbase.
Referenced by SmParameters::chooseUserDefinedBoundaryValues(), chooseUserDefinedBoundaryValues(), and setBoundaryConditionValues().
|
virtual |
Set the boundary condition midifier id.
side | (input) : side |
axis | (input) : axis |
grid | (input) : grid |
bcm | (input) : boundary condition modifier id. |
References dbase.
Referenced by setBoundaryConditionValues().
|
virtual |
Set the boundary condition type for a particular side.
side | (input) : side |
axis | (input) : axis |
grid | (input) : grid |
bc | (input) : boundary condition type. |
References dbase.
Referenced by setBoundaryConditionValues().
|
virtual |
Specify whether a boundary face has a boundary condition that varies in space.
side | (input) : side |
axis | (input) : axis |
grid | (input) : grid |
trueOrFalse | (input) : true if the boundary face has a boundary condition that varies in space. |
References dbase.
Referenced by setBoundaryConditionValues().
|
virtual |
References all, assignParameterValues(), axis, bcModCreators, bcModifiers, bcNames, blasiusProfile, boundaryCondition(), c, checkForValidBoundaryCondition(), chooseUserDefinedBoundaryValues(), d, dbase, defaultValue, defineVariableBoundaryValues(), grid, i, icNames, isMixedBC(), jetInflow, n, nc, OV_ABORT(), parabolicInflow, parabolicInflowOscillating, parabolicInflowRamped, parseValues(), printF(), ra, rampInflow, S, setBcIsTimeDependent(), setBcModifier(), setBcType(), setBcVariesInSpace(), setDefaultDataForABoundaryCondition(), setTimeDependenceBoundaryConditionParameters(), side, ta, TIMEPAR, uniformInflow, and uniformInflowOscillating.
Referenced by defineBoundaryConditions(), and DomainSolver::setBoundaryConditionsInteractively().
|
virtual |
Reimplemented in CnsParameters, InsParameters, AsfParameters, and AdParameters.
Referenced by setBoundaryConditionValues(), and DomainSolver::setDefaultDataForBoundaryConditions().
|
virtual |
Specify if this grid should be integrated implicitly when an implicit time stepping method is used.
grid | (input) : grid to set, -1=set all |
value | (input) : 1=implicit, 2=semi-implicit, 0 = not-implicit |
References assert(), and dbase.
Referenced by DomainSolver::advance(), Cgcns::getTimeSteppingOption(), Cgad::getTimeSteppingOption(), Cgmp::getTimeSteppingOption(), Cgasf::getTimeSteppingOption(), Cgins::getTimeSteppingOption(), DomainSolver::getTimeSteppingOption(), and CnsParameters::setParameters().
|
virtual |
|
virtual |
initialize the parameters.
numberOfDimensions0 | (input) : number of dimensions. |
reactionName | (input) : optional name of a reaction oe a reaction file that defines the chemical reactions, such as a Chemkin binary file. |
Reimplemented in InsParameters, CnsParameters, SmParameters, AsfParameters, MpParameters, and AdParameters.
References addShowVariable(), assert(), buildReactions(), dbase, defaultValue, e, n, s, and SpalartAllmaras.
Referenced by MpParameters::setParameters(), and DomainSolver::setParametersInteractively().
|
virtual |
Prompt for changes in the PDE parameters.
cg | (input) : Composite grid to use. |
command | (input) : if non-null, parse this string for a command. |
interface | (input) : use this graphics dialog. |
Reimplemented in InsParameters, CnsParameters, SmParameters, AsfParameters, MpParameters, and AdParameters.
Referenced by Cgmp::buildRunTimeDialog(), DomainSolver::buildRunTimeDialog(), Cgmp::plot(), DomainSolver::plot(), and DomainSolver::setParametersInteractively().
int Parameters::setShowVariable | ( | const aString & | name, |
const bool | variableIsOn | ||
) |
Turn on or off the saving of a variable in the show file. saved in the show file.
name | (input) : name of the show variable to lookup. |
variableIsOn | (input) : if true this variable will be saved in the show file. If false the variable will not be saved by default but the user can change this. |
References dbase, i, and printF().
Referenced by Cgsm::getPlotOption().
|
virtual |
Assign time dependent boundary values.
side | (input) : side |
axis | (input) : axis |
grid | (input) : grid |
values | (input) : boundary condition values. |
Referenced by setBoundaryConditionValues().
|
virtual |
set the twilight-zone function.
choice_ | (input) : the twilight-zone option. |
degreeSpace | (input) : the degree in space for a polynomial function. |
degreeTime | (input) : the degree in time for a polynomial function. |
Reimplemented in InsParameters, CnsParameters, SmParameters, AsfParameters, and AdParameters.
References amplitude, cc, dbase, ft, fx, fy, fz, gt, gx, gy, gz, i, kEpsilon, kOmega, n, nc, noTurbulenceModel, polynomial, printF(), pulse, setAmplitudes(), setCoefficients(), setConstants(), setShifts(), SpalartAllmaras, spatialCoefficientsForTZ, timeCoefficientsForTZ, and trigonometric.
Referenced by DomainSolver::getInitialConditions(), setTwilightZoneParameters(), and DomainSolver::setup().
|
virtual |
Prompt for changes to the twilight zone parameters.
command | (input) : if non-null, parse this string for a command. |
interface | (input) : use this graphics dialog. |
References addPrefix(), all, assert(), cx, dbase, displayPolynomialCoefficients(), get(), i1, i2, i3, if(), knownSolutionFromAShowFile, knownSolutionInitialCondition, n, ndp, noKnownSolution, omega, polynomial, printF(), pulse, readFromAShowFile(), setCoefficients(), setTwilightZoneFunction(), trigonometric, updateUserDefinedKnownSolution(), and userDefinedKnownSolution.
Referenced by DomainSolver::getInitialConditions(), and DomainSolver::setParametersInteractively().
|
virtual |
References assert(), axis, buildBodyForceRegionsDialog(), buildMaterialParametersDialog(), dbase, TimeFunction::get(), getBodyForceRegionsOption(), getMaterialParametersOption(), i, lines, linesToPlot, m, OV_ABORT(), printF(), profileType, and TimeFunction::update().
Referenced by DomainSolver::setParametersInteractively().
|
virtual |
Set the user defined boundary condition type for a particular side.
side | (input) : side |
axis | (input) : axis |
grid | (input) : grid |
bc | (input) : boundary condition number. |
References dbase, and numberOfPredefinedBoundaryConditionTypes.
Referenced by SmParameters::chooseUserDefinedBoundaryValues(), and chooseUserDefinedBoundaryValues().
|
virtual |
Assign user defined boundary values.
side | (input) : side |
axis | (input) : axis |
grid | (input) : grid |
values | (input) : boundary condition values. |
Referenced by SmParameters::chooseUserDefinedBoundaryValues(), and chooseUserDefinedBoundaryValues().
|
virtual |
Set user defined parameters.
Reimplemented in InsParameters, and CnsParameters.
Referenced by DomainSolver::setParametersInteractively(), and DomainSolver::setup().
|
virtual |
Return true if there are time dependent user boundary condition.
Side | (input) : side(s) |
Axis | (input) : axis(s) |
Grid | (input) : grid(s) |
References axis, bcIsTimeDependent(), dbase, grid, numberOfPredefinedBoundaryConditionTypes, S, and side.
Referenced by Cgsm::applyBoundaryConditions(), DomainSolver::applyBoundaryConditions(), and DomainSolver::getTimeDerivativeOfBoundaryValues().
|
virtual |
Update the known solution to match the grid.
This routine will update the grid function that holds the known solution to be the correct dimensions. It will only evaluate the known solution if the knownSolution is being allocated for the first time.
cg | (input) : match to this grid. |
References all, dbase, getKnownSolution(), and noKnownSolution.
Referenced by updateToMatchGrid().
|
virtual |
Update the PDE parameters to be consistent after some values have changed.
Update the dimensional PDE parameters such as mu if the non-dimensional parameters (Reynolds number, mach number etc) were specified.
Reimplemented in CnsParameters, and AsfParameters.
Referenced by AdParameters::setPdeParameters(), MpParameters::setPdeParameters(), InsParameters::setPdeParameters(), and DomainSolver::setup().
|
virtual |
Open or close show files, set variables that appear in the show file.
command | (input) : optionally supply a command to execute. Attempt to execute the command and then return. The return value is 0 if the command was executed, 1 otherwise. |
interface | (input) : use this dialog. If command=="build dialog", fill in the dialog and return. |
Here are the show file options:
References addPrefix(), assert(), dbase, i, if(), n, np, and printF().
Referenced by DomainSolver::getOutputOption(), Cgmp::plot(), DomainSolver::plot(), and DomainSolver::setParametersInteractively().
|
virtual |
Update the parameters when the grid has changed.
cg | (input) : new CompositeGrid |
sharedBoundaryCondition | (input) : sharedBoundaryCondition(side,axis,grid) : = side2+2*(axis2+3*grid2) : match to (side2,axis2,grid2) |
Reimplemented in CnsParameters, and SmParameters.
References all, assert(), axis, boundaryCondition(), dbase, grid, mixedCoeff, mixedNormalCoeff, mixedRHS, n, noInterface, printF(), R, side, and updateKnownSolutionToMatchGrid().
Referenced by DomainSolver::adaptGrids(), DomainSolver::getInitialConditions(), DomainSolver::newAdaptiveGridBuilt(), DomainSolver::setParametersInteractively(), SmParameters::updateToMatchGrid(), CnsParameters::updateToMatchGrid(), and DomainSolver::updateToMatchNewGrid().
|
virtual |
Update turbulence models.
This function will compute the distance to the wall for certain turbulence models..
References axis, BaldwinLomax, boundaryDistance(), d, dbase, grid, mask, noSlipWall, printF(), side, and SpalartAllmaras.
Referenced by DomainSolver::initializeSolution().
|
virtual |
|
virtual |
References a0, axis, cp, dbase, grid, lambda, mu, omega, printF(), side, u0, and PistonMotion::update().
Referenced by getUserDefinedKnownSolution(), and setTwilightZoneParameters().
|
virtual |
return true if the PDE solver uses conservative variables.
grid | (input): if grid!=-1 then check if this grid uses conservative variables, otherwise check if by default we use conservative variables |
Reimplemented in CnsParameters.
Referenced by DomainSolver::advanceAdamsPredictorCorrector(), DomainSolver::advanceImplicitMultiStep(), DomainSolver::advanceSecondOrderSystem(), DomainSolver::advanceSteadyStateRungeKutta(), DomainSolver::advanceVariableTimeStepAdamsPredictorCorrector(), Cgins::determineErrors(), DomainSolver::determineErrors(), DomainSolver::eulerStep(), DomainSolver::getTimeStepAndNumberOfSubSteps(), DomainSolver::getUt(), DomainSolver::initializeTimeSteppingIM(), DomainSolver::initializeTimeSteppingPC(), DomainSolver::takeTimeStepFE(), DomainSolver::takeTimeStepIM(), and DomainSolver::takeTimeStepPC().
|
virtual |
Return the user defined boundary condition type.
side | (input) : side |
axis | (input) : axis |
grid | (input) : grid |
References dbase, and numberOfPredefinedBoundaryConditionTypes.
Referenced by Cgsm::userDefinedBoundaryValues(), and DomainSolver::userDefinedBoundaryValues().
std::map<int,aString> Parameters::bcmNames |
std::map<std::string, CreateBCModifierFromName> Parameters::bcModCreators |
Referenced by registerBCModifier(), and setBoundaryConditionValues().
std::map<size_t,BCModifier*> Parameters::bcModifiers |
Referenced by Cgins::addForcing(), Cgins::applyBoundaryConditions(), setBoundaryConditionValues(), and ~Parameters().
std::map<int,aString> Parameters::bcNames |
Referenced by checkForValidBoundaryCondition(), defineBoundaryConditions(), DomainSolver::displayBoundaryConditions(), Cgasf::formAllSpeedPressureEquation(), registerBC(), DomainSolver::setBoundaryConditionsInteractively(), setBoundaryConditionValues(), Cgasf::solveForAllSpeedPressure(), and Cgasf::solveForTimeIndependentVariables().
|
static |
Referenced by DomainSolver::adaptGrids(), DomainSolver::advance(), DomainSolver::advanceAdamsPredictorCorrector(), DomainSolver::advanceImplicitMultiStep(), DomainSolver::advanceSecondOrderSystem(), Cgcns::applyBoundaryConditions(), DomainSolver::buildGeneralOptionsDialog(), Cgsm::buildGeneralOptionsDialog(), DomainSolver::displayParameters(), DomainSolver::getGeneralOption(), Cgsm::getGeneralOption(), DomainSolver::getInitialConditions(), DomainSolver::getUt(), DomainSolver::interpolateAndApplyBoundaryConditions(), Cgins::project(), DomainSolver::setParametersInteractively(), DomainSolver::smoothVelocity(), Cgins::solveForTimeIndependentVariables(), DomainSolver::takeTimeStepIM(), and DomainSolver::takeTimeStepPC().
|
mutable |
The database holds almost all parameters, see dbase entries.
Referenced by DomainSolver::adaptGrids(), Cgasf::addAllSpeedImplicitForcing(), DomainSolver::addArtificialDissipation(), Cgcns::addConstraintEquation(), Cgad::addForcing(), Cgins::addForcing(), Cgasf::addForcing(), Cgcns::addForcing(), Cgins::addForcingToPressureEquation(), Cgasf::addForcingToPressureEquation(), DomainSolver::addGrids(), PenaltySlipWallBC::addPenaltyForcing(), addShowVariable(), addTiming(), AdParameters::AdParameters(), DomainSolver::advance(), Cgsm::advance(), Cgmp::advance(), DomainSolver::advanceAdamsPredictorCorrector(), DomainSolver::advanceAdamsPredictorCorrectorNew(), Cgad::advanceADI(), DeformingBodyMotion::advanceElasticShell(), DomainSolver::advanceForwardEulerNew(), Cgsm::advanceFOS(), DomainSolver::advanceImplicitMultiStep(), DomainSolver::advanceImplicitMultiStepNew(), Cgins::advanceLineSolveNew(), Cgins::advanceLineSolveOld(), Cgsm::advanceMethodOfLines(), DomainSolver::advanceMidPoint(), DomainSolver::advanceNewton(), DomainSolver::advanceSecondOrderSystem(), Cgsm::advanceSOS(), DomainSolver::advanceSteadyStateRungeKutta(), DomainSolver::advanceTrapezoidal(), DomainSolver::advanceVariableTimeStepAdamsPredictorCorrector(), Cgasf::allSpeedImplicitTimeStep(), PenaltySlipWallBC::applyBC(), PenaltyWallFunctionBC::applyBC(), Cgcns::applyBoundaryConditions(), Cgad::applyBoundaryConditions(), Cgasf::applyBoundaryConditions(), Cgins::applyBoundaryConditions(), DomainSolver::applyBoundaryConditions(), Cgcns::applyBoundaryConditionsForImplicitTimeStepping(), Cgad::applyBoundaryConditionsForImplicitTimeStepping(), Cgins::applyBoundaryConditionsForImplicitTimeStepping(), DomainSolver::applyBoundaryConditionsForImplicitTimeStepping(), DomainSolver::applyFilter(), Cgins::applyFourthOrderBoundaryConditions(), applyFourthOrderBoundaryConditionsOld(), AsfParameters::AsfParameters(), Cgsm::assignAnnulusEigenfunction(), Cgsm::assignBoundaryConditions(), Cgsm::assignBoundaryConditionsFOS(), Cgsm::assignBoundaryConditionsSOS(), Cgsm::assignGaussianPulseInitialConditions(), Cgsm::assignHempInitialConditions(), Cgsm::assignInitialConditions(), DomainSolver::assignInitialConditions(), Cgmp::assignInterfaceBoundaryConditions(), Cgmp::assignInterfaceRightHandSide(), Cgmp::assignInterfaceRightHandSideOld(), Cgins::assignLineSolverBoundaryConditions(), Cgsm::assignParabolicInitialConditions(), CnsParameters::assignParameterValues(), assignParameterValues(), Cgins::assignPressureRHS(), Cgsm::assignSpecialInitialConditions(), Cgcns::assignTestProblem(), Cgasf::assignTestProblem(), Cgsm::assignTwilightZoneInitialConditions(), bcIsTimeDependent(), bcType(), bcVariesInSpace(), DomainSolver::boundaryConditionPredictor(), DomainSolver::buildAdaptiveGridOptionsDialog(), DomainSolver::buildAmrGridsForInitialConditions(), buildErrorEstimator(), Cgsm::buildForcingOptionsDialog(), DomainSolver::buildGeneralOptionsDialog(), Cgsm::buildGeneralOptionsDialog(), DomainSolver::buildGrid(), Cgad::buildImplicitSolvers(), Cgcns::buildImplicitSolvers(), Cgins::buildImplicitSolvers(), Cgsm::buildInputOutputOptionsDialog(), buildMaterialParametersDialog(), Cgmp::buildModel(), DomainSolver::buildMovingGridOptionsDialog(), DomainSolver::buildOutputOptionsDialog(), DomainSolver::buildPlotOptionsDialog(), Cgsm::buildPlotOptionsDialog(), CnsParameters::buildReactions(), buildReactions(), Cgmp::buildRunTimeDialog(), Cgsm::buildRunTimeDialog(), DomainSolver::buildRunTimeDialog(), Cgmp::buildTimeSteppingDialog(), Cgad::buildTimeSteppingDialog(), Cgcns::buildTimeSteppingDialog(), Cgins::buildTimeSteppingDialog(), DomainSolver::buildTimeSteppingDialog(), Cgsm::buildTimeSteppingDialog(), Cgmp::Cgmp(), Cgsm::Cgsm(), Cgsm::checkDisplacementAndStress(), checkForSymmetry(), Cgmp::checkInterfaceForConvergence(), checkNormalBC(), DomainSolver::checkSolution(), SmParameters::chooseUserDefinedBoundaryValues(), chooseUserDefinedBoundaryValues(), DomainSolver::cleanupInitialConditions(), CnsParameters::CnsParameters(), Cgins::computeAxisymmetricDivergence(), DomainSolver::computeBodyForcing(), Cgsm::computeDissipation(), Cgsm::computeNumberOfStepsAndAdjustTheTimeStep(), DomainSolver::computeNumberOfStepsAndAdjustTheTimeStep(), Cgasf::computeSource(), Cgins::computeTurbulenceQuantities(), CnsParameters::conservativeToPrimitive(), DomainSolver::correctMovingGrids(), Controller::createControlSequence(), DomainSolver::debug(), defineBoundaryConditions(), defineVariableBoundaryValues(), MovingGrids::detectCollisions(), Cgins::determineErrors(), DomainSolver::determineErrors(), DomainSolver::displayBoundaryConditions(), MpParameters::displayInterfaceInfo(), DomainSolver::displayParameters(), AdParameters::displayPdeParameters(), MpParameters::displayPdeParameters(), AsfParameters::displayPdeParameters(), InsParameters::displayPdeParameters(), SmParameters::displayPdeParameters(), CnsParameters::displayPdeParameters(), displayPdeParameters(), DomainSolver::DomainSolver(), DomainSolver::endTimeStep(), DomainSolver::endTimeStepFE(), DomainSolver::endTimeStepIM(), DomainSolver::endTimeStepPC(), DomainSolver::eulerStep(), DomainSolver::extrapolateInterpolationNeighbours(), DomainSolver::fixupUnusedPoints(), Cgasf::formAllSpeedPressureEquation(), Cgcns::formImplicitTimeSteppingMatrix(), Cgins::formImplicitTimeSteppingMatrix(), Cgad::formMatrixForImplicitSolve(), Cgcns::formMatrixForImplicitSolve(), Cgins::formMatrixForImplicitSolve(), CnsParameters::get(), get(), DomainSolver::getAdaptiveGridOption(), DomainSolver::getAmrErrorFunction(), Cgcns::getAugmentedSolution(), Cgsm::getAugmentedSolution(), Cgins::getAugmentedSolution(), DomainSolver::getAugmentedSolution(), getBodyForceRegionsOption(), getBoundaryData(), AsfParameters::getComponents(), InsParameters::getComponents(), CnsParameters::getComponents(), getComponents(), Controller::getControl(), AsfParameters::getDerivedFunction(), CnsParameters::getDerivedFunction(), InsParameters::getDerivedFunction(), Cgsm::getEnergy(), Cgsm::getErrors(), Cgsm::getForcing(), Cgsm::getForcingOption(), getForcingProfilesOption(), DomainSolver::getGeneralOption(), Cgsm::getGeneralOption(), DomainSolver::getGridInfo(), getGridIsImplicit(), MovingGrids::getGridVelocity(), DomainSolver::getGridVelocity(), Cgsm::getInitialConditions(), DomainSolver::getInitialConditions(), DeformingBodyMotion::getInitialState(), Cgsm::getInputOutputOption(), Cgad::getInterfaceDataOptions(), Cgcns::getInterfaceDataOptions(), Cgasf::getInterfaceDataOptions(), Cgins::getInterfaceDataOptions(), Cgsm::getInterfaceDataOptions(), DomainSolver::getInterfaceDataOptions(), Cgmp::getInterfaceResiduals(), Cgmp::getInterfaceResidualsOld(), getKnownSolution(), Cgins::getLineSolverBoundaryConditions(), getMaterialParametersOption(), DomainSolver::getMaterialProperties(), Cgsm::getMaxDivAndCurl(), Cgsm::getMethodName(), InsParameters::getModelVariables(), DomainSolver::getMovingGridCorrectionHasConverged(), DomainSolver::getMovingGridMaximumRelativeCorrection(), DomainSolver::getMovingGridOption(), AsfParameters::getNormalForce(), InsParameters::getNormalForce(), CnsParameters::getNormalForce(), DomainSolver::getOutputOption(), DomainSolver::getPlotOption(), Cgsm::getPlotOption(), getReferenceFrame(), ProbeInfo::getRegionOption(), Cgins::getResidual(), DomainSolver::getResidualInfo(), PenaltyWallFunctionBC::getShearStresses(), getShowVariable(), DomainSolver::getSolutionBounds(), getTemperatureBoundaryConditionsOption(), getTimeDependenceBoundaryConditionParameters(), DomainSolver::getTimeDependentBoundaryConditions(), Cgsm::getTimeStep(), DomainSolver::getTimeStep(), DomainSolver::getTimeStepAndNumberOfSubSteps(), Cgcns::getTimeSteppingEigenvalue(), Cgad::getTimeSteppingEigenvalue(), Cgasf::getTimeSteppingEigenvalue(), Cgins::getTimeSteppingEigenvalue(), DomainSolver::getTimeSteppingEigenvalue(), SmParameters::getTimeSteppingName(), getTimeSteppingName(), Cgcns::getTimeSteppingOption(), Cgad::getTimeSteppingOption(), Cgmp::getTimeSteppingOption(), Cgasf::getTimeSteppingOption(), Cgins::getTimeSteppingOption(), Cgsm::getTimeSteppingOption(), DomainSolver::getTimeSteppingOption(), InsParameters::getTurbulenceModelVariables(), InsParameters::getTwoPhaseFlowVariables(), getUserBoundaryConditionParameters(), getUserDefinedKnownSolution(), Cgad::getUt(), Cgcns::getUt(), Cgasf::getUt(), Cgins::getUt(), DomainSolver::getUt(), Cgsm::getVelocityAndStress(), InsParameters::getViscoPlasticVariables(), MovingGrids::gridAccelerationBC(), Cgasf::gridAccelerationBC(), Cgins::gridAccelerationBC(), gridIsMoving(), howManyBcTypes(), if(), Cgad::implicitSolve(), Cgcns::implicitSolve(), Cgins::implicitSolve(), initialConditionsFromAProfile(), InterfaceTransfer::initialize(), MovingGrids::initialize(), Cgins::initializeFactorization(), DomainSolver::initializeFactorization(), Cgmp::initializeInterfaceBoundaryConditions(), Cgmp::initializeInterfaces(), Cgsm::initializeInterfaces(), Cgsm::initializeKnownSolution(), Cgcns::initializeSolution(), Cgasf::initializeSolution(), Cgins::initializeSolution(), DomainSolver::initializeSolution(), DomainSolver::initializeTimeStepping(), DomainSolver::initializeTimeSteppingFE(), DomainSolver::initializeTimeSteppingIM(), DomainSolver::initializeTimeSteppingPC(), SmParameters::initializeTimings(), initializeTimings(), Cgins::initializeTurbulenceModels(), Cgins::insImplicitMatrix(), InsParameters::InsParameters(), DeformingBodyMotion::integrate(), Cgmp::interfaceProjection(), DomainSolver::interpolate(), DomainSolver::interpolateAndApplyBoundaryConditions(), isAxisymmetric(), SmParameters::isFirstOrderSystem(), Cgcns::isImplicitMatrixSingular(), CnsParameters::isMixedBC(), isMovingGridProblem(), SmParameters::isSecondOrderSystem(), isSteadyStateSolver(), DomainSolver::jetInflow(), Cgins::lineSolverBoundaryConditions(), Cgasf::maxMachNumber(), MovingGrids::moveGrids(), DomainSolver::moveGrids(), MpParameters::MpParameters(), Cgmp::multiDomainAdvance(), Cgmp::multiDomainAdvanceNew(), DomainSolver::newAdaptiveGridBuilt(), DomainSolver::numberOfComponents(), InsParameters::numberOfGhostPointsNeeded(), CnsParameters::numberOfGhostPointsNeeded(), numberOfGhostPointsNeeded(), InsParameters::numberOfGhostPointsNeededForImplicitMatrix(), openLogFiles(), DomainSolver::output(), DomainSolver::outputHeader(), DomainSolver::outputProbes(), Cgsm::outputResults(), Cgsm::outputResultsAfterEachTimeStep(), Cgins::outputSolution(), DomainSolver::outputSolution(), DomainSolver::parabolicInflow(), Parameters(), parseValues(), Cgmp::plot(), Cgsm::plot(), DomainSolver::plot(), Cgmp::plotDomainQuantities(), CnsParameters::primitiveToConservative(), Cgsm::printMemoryUsage(), DomainSolver::printMemoryUsage(), Cgmp::printStatistics(), DomainSolver::printStatistics(), Cgcns::printTimeStepInfo(), Cgmp::printTimeStepInfo(), Cgasf::printTimeStepInfo(), Cgins::printTimeStepInfo(), DomainSolver::printTimeStepInfo(), Cgcns::project(), Cgins::project(), DomainSolver::project(), CnsParameters::put(), readFromAShowFile(), rigidBodyBoundaryProjection(), MovingGrids::rigidBodyMotion(), Controller::saveControlSequenceData(), InsParameters::saveLinearizedSolution(), AdParameters::saveParametersToShowFile(), MpParameters::saveParametersToShowFile(), AsfParameters::saveParametersToShowFile(), SmParameters::saveParametersToShowFile(), CnsParameters::saveParametersToShowFile(), InsParameters::saveParametersToShowFile(), saveParametersToShowFile(), Cgsm::saveSequenceInfo(), DomainSolver::saveSequenceInfo(), Cgsm::saveSequencesToShowFile(), DomainSolver::saveSequencesToShowFile(), Cgmp::saveShow(), Cgsm::saveShow(), DomainSolver::saveShow(), Cgad::saveShowFileComments(), Cgcns::saveShowFileComments(), Cgasf::saveShowFileComments(), Cgins::saveShowFileComments(), Cgsm::saveShowFileComments(), Controller::saveToShowFile(), MovingGrids::saveToShowFile(), setBcIsTimeDependent(), setBcModifier(), setBcType(), setBcVariesInSpace(), Cgsm::setBoundaryCondition(), DomainSolver::setBoundaryConditionsInteractively(), setBoundaryConditionValues(), AdParameters::setDefaultDataForABoundaryCondition(), AsfParameters::setDefaultDataForABoundaryCondition(), InsParameters::setDefaultDataForABoundaryCondition(), CnsParameters::setDefaultDataForABoundaryCondition(), DomainSolver::setFinalTime(), setGridIsImplicit(), setInfoFile(), DomainSolver::setInterfaceBoundaryCondition(), DomainSolver::setInterfacesAtPastTimes(), DomainSolver::setNameOfGridFile(), Cgad::setOgesBoundaryConditions(), Cgins::setOgesBoundaryConditions(), AdParameters::setParameters(), AsfParameters::setParameters(), SmParameters::setParameters(), CnsParameters::setParameters(), InsParameters::setParameters(), setParameters(), DomainSolver::setParametersInteractively(), AdParameters::setPdeParameters(), MpParameters::setPdeParameters(), AsfParameters::setPdeParameters(), SmParameters::setPdeParameters(), CnsParameters::setPdeParameters(), InsParameters::setPdeParameters(), Cgad::setPlotTitle(), Cgcns::setPlotTitle(), Cgasf::setPlotTitle(), Cgins::setPlotTitle(), Cgsm::setPlotTitle(), DomainSolver::setPlotTitle(), setShowVariable(), Cgins::setSolverParameters(), DomainSolver::setSolverParameters(), setTimeDependenceBoundaryConditionParameters(), AdParameters::setTwilightZoneFunction(), AsfParameters::setTwilightZoneFunction(), SmParameters::setTwilightZoneFunction(), CnsParameters::setTwilightZoneFunction(), InsParameters::setTwilightZoneFunction(), setTwilightZoneFunction(), setTwilightZoneParameters(), Cgins::setup(), Cgsm::setup(), DomainSolver::setup(), setupBodyForcing(), Cgad::setupGridFunctions(), Cgcns::setupGridFunctions(), Cgasf::setupGridFunctions(), Cgins::setupGridFunctions(), Cgsm::setupGridFunctions(), DomainSolver::setupGridFunctions(), Cgsm::setupGrids(), Cgad::setupPde(), Cgcns::setupPde(), Cgasf::setupPde(), Cgins::setupPde(), Cgsm::setupPde(), Cgsm::setupUserDefinedForcing(), DomainSolver::setupUserDefinedForcing(), Cgad::setupUserDefinedInitialConditions(), Cgsm::setupUserDefinedInitialConditions(), DomainSolver::setupUserDefinedInitialConditions(), DomainSolver::setupUserDefinedMaterialProperties(), setUserBcType(), setUserBoundaryConditionParameters(), CnsParameters::setUserDefinedParameters(), DomainSolver::setVariableBoundaryValues(), DomainSolver::setVariableMaterialProperties(), DomainSolver::smoothVelocity(), SmParameters::SmParameters(), Cgmp::solve(), Cgsm::solve(), DomainSolver::solve(), Cgasf::solveForAllSpeedPressure(), Cgasf::solveForTimeIndependentVariables(), Cgins::solveForTimeIndependentVariables(), DomainSolver::startTimeStep(), DomainSolver::startTimeStepFE(), DomainSolver::startTimeStepIM(), DomainSolver::startTimeStepPC(), DomainSolver::takeOneStep(), Cgsm::takeTimeStep(), DomainSolver::takeTimeStep(), DomainSolver::takeTimeStepFE(), DomainSolver::takeTimeStepIM(), DomainSolver::takeTimeStepPC(), thereAreTimeDependentUserBoundaryConditions(), DomainSolver::tracking(), Cgins::turbulenceModelBoundaryConditions(), Cgins::turbulenceModels(), DomainSolver::twilightZoneFlow(), ProbeInfo::update(), Controller::update(), MovingGrids::update(), Controller::updateControl(), Cgins::updateDivergenceDamping(), updateEquationDomainsForAMR(), Cgsm::updateForAdaptiveGrids(), DomainSolver::updateForAdaptiveGrids(), Cgins::updateForMovingGrids(), DomainSolver::updateForMovingGrids(), Cgsm::updateForNewTimeStep(), Cgad::updateGeometryArrays(), Cgcns::updateGeometryArrays(), Cgins::updateGeometryArrays(), updateKnownSolutionToMatchGrid(), AsfParameters::updatePDEparameters(), CnsParameters::updatePDEparameters(), Cgins::updatePressureEquation(), updateShowFile(), Cgcns::updateStateVariables(), Cgins::updateStateVariables(), SmParameters::updateToMatchGrid(), CnsParameters::updateToMatchGrid(), Cgasf::updateToMatchGrid(), updateToMatchGrid(), DomainSolver::updateToMatchGrid(), DomainSolver::updateToMatchNewGrid(), updateTurbulenceModels(), CnsParameters::updateUserDefinedEOS(), updateUserDefinedKnownSolution(), CnsParameters::useConservativeVariables(), userBcType(), Cgsm::userDefinedBoundaryValues(), DomainSolver::userDefinedBoundaryValues(), DomainSolver::userDefinedCleanup(), DeformingBodyMotion::userDefinedDeformingSurface(), userDefinedErrorEstimator(), Cgsm::userDefinedForcing(), DomainSolver::userDefinedForcing(), Cgsm::userDefinedForcingCleanup(), DomainSolver::userDefinedForcingCleanup(), DomainSolver::userDefinedGrid(), Cgad::userDefinedInitialConditions(), Cgsm::userDefinedInitialConditions(), DomainSolver::userDefinedInitialConditions(), Cgad::userDefinedInitialConditionsCleanup(), Cgsm::userDefinedInitialConditionsCleanup(), DomainSolver::userDefinedInitialConditionsCleanup(), DomainSolver::userDefinedMaterialProperties(), DomainSolver::userDefinedMaterialPropertiesCleanup(), DomainSolver::userDefinedOutput(), MovingGrids::userDefinedTransformMotion(), Cgad::writeParameterSummary(), Cgcns::writeParameterSummary(), Cgasf::writeParameterSummary(), Cgins::writeParameterSummary(), Cgsm::writeParameterSummary(), DomainSolver::writeParameterSummary(), MpParameters::~MpParameters(), ~Parameters(), and SmParameters::~SmParameters().
std::map<int,aString> Parameters::icNames |
int Parameters::numberOfBCNames |
Referenced by defineBoundaryConditions(), registerBC(), and Cgins::updatePressureEquation().
aString Parameters::pdeName |
|
static |
|
static |
|
static |
Referenced by getTimeSteppingName(), Parameters(), Cgmp::printStatistics(), and Cgmp::setup().
|
static |
Referenced by Parameters(), and DomainSolver::writeParameterSummary().