24 #ifndef _GEMA_PLUGIN_FEM_SOLVER_OPTIONS_H_ 25 #define _GEMA_PLUGIN_FEM_SOLVER_OPTIONS_H_ 61 transientAutomaticTimeStep,
89 displacementControlIncrement,
90 cylindricalArcLengthIncrement,
91 sphericalArcLengthIncrement,
92 dissipatedEnergyIncrement,
93 combinedArcDissipatedEnergyIncrement,
94 strainControlIncrement,
95 elementControlIncrement,
96 externalWorkIncrement,
97 prescribedDisplacementIncrement,
109 cylindricalArcLength,
112 combinedArcDissipatedEnergy,
117 prescribedDisplacement,
160 enum LinearTransientMethods {
167 enum ReductionMethod {
172 enum TimeIncrementMethod {
175 maxIncrementTransientVar,
179 saveIteration = 0x0001,
180 savePhysicsId = 0x0002,
181 savePhysicsHeader = 0x0004,
183 saveDofValues = 0x0010,
184 saveFeVector = 0x0020,
185 saveFiVector = 0x0040,
186 saveKMatrix = 0x0080,
187 saveCMatrix = 0x0100,
188 saveMMatrix = 0x0200,
191 enum AccurateMethod {
227 ReductionMethod _reductionMethod;
228 LinearTransientMethods _linearTransientMethod;
229 TimeIncrementMethod _timeIncrementMethod;
230 AccurateMethod _Order;
239 unsigned _convergenceCriterion;
266 bool _timeAdjustStep;
287 const char** asssemblerModeOptions();
288 const char** solverTypeOptions();
289 const char** newtonRaphsonModeOptions();
290 const char** incrementStrategyOptions();
291 const char** iterationStrategyOptions();
292 const char** integrationSchemeOptions();
293 const char** geostaticTypeOptions();
294 const char** couplingStrategyOptions();
295 const char** convergenceCriterionOptions();
296 const char** transientLinearOptions();
297 const char** reductionMethodOptions();
298 const char** timeIncrementAdaptativeOptions();
299 const char** AccurateMethodOptions();
302 void setAsssemblerMode (
int index) { _assemblerDofMode = (
AssemblerMode)index; }
303 void setSolverType (
int index) { _type = (SolverType)index; }
304 void setNewtonRaphsonMode(
int index) { _newtonRaphsonMode = (NewtonRaphsonMode)index; }
305 void setIncrementStrategy(
int index) { _incrementStrategy = (IncrementStrategy)index; }
306 void setIterationStrategy(
int index) { _iterationStrategy = (IterationStrategy)index; }
307 void setIntegrationScheme(
int index);
308 void setGeostaticType (
int index) { _geostaticType = (GeostaticType)index; }
309 void setCouplingStrategy (
int index) { _couplingStrategy = (CouplingStrategy)index; }
310 void setLinearTransient (
int index) {_linearTransientMethod = (LinearTransientMethods)index;}
311 void setReductionMethod (
int index) {_reductionMethod = (ReductionMethod)index; }
312 void setTimeIncrementStrategy(
int index) { _timeIncrementMethod = (TimeIncrementMethod)index; }
313 void setAccurateMethod (
int index) { _Order = (AccurateMethod)index; }
double _initialEnergyIncrement
Solver option defining the initial energy increment.
Definition: gmpFemSolverOptions.h:254
double _timeMinIncrement
Solver option defining the minimum time increment.
Definition: gmpFemSolverOptions.h:263
Definition: gmpFemSolverOptions.h:38
double _DeltaG
Solver option defining time increment factor for proposed new time.
Definition: gmpFemSolverOptions.h:277
unsigned _attemptsMax
Solver option defining the maximum number of attempts.
Definition: gmpFemSolverOptions.h:234
SolverType _type
Solver option defining the analysis type.
Definition: gmpFemSolverOptions.h:221
int _printFieldWidth
Format parameter used together with _printOptions: The matrix column minimum width.
Definition: gmpFemSolverOptions.h:205
double _timeIncrement
Solver option defining the initial time increment.
Definition: gmpFemSolverOptions.h:262
GeostaticType
Geostatic type options.
Definition: gmpFemSolverOptions.h:137
bool _skipLocalError
Solver option defining the local integration error control (yes/no)
Definition: gmpFemSolverOptions.h:270
double _integrationScheme
Solver option defining the time integration scheme.
Definition: gmpFemSolverOptions.h:265
unsigned _incrementsT
Solver option defining consecutive increments if no cut-back has occurred to allow a time increment i...
Definition: gmpFemSolverOptions.h:276
ElementSaveOptions
Definition: gmpFemSolverOptions.h:178
double _DeltaF
Solver option defining Cutback factor if the solution seems to diverge.
Definition: gmpFemSolverOptions.h:280
double _minDissipatedEnergy
Solver option defining the minimum dissipated energy.
Definition: gmpFemSolverOptions.h:253
int _printPrecision
Format parameter used together with _printOptions: The number of decimal places.
Definition: gmpFemSolverOptions.h:207
unsigned _iterationsMax
Solver option defining the maximum number of iterations.
Definition: gmpFemSolverOptions.h:235
int _mtnTasks
The number of tasks. See GmTaskManager::runParallelCellLoop()
Definition: gmpFemSolverOptions.h:211
QVector< double > _tolerance
Solver option defining the tolerance.
Definition: gmpFemSolverOptions.h:240
unsigned _printOptions
Print options flags defining what information should be logged by the solver.
Definition: gmpFemSolverOptions.h:204
QVector< int > _dispControlData
Solver option defining the node, degree of fredom.
Definition: gmpFemSolverOptions.h:243
unsigned _saveElementOptions
An or of ElementSaveOptions values defining which data should be saved for each element.
Definition: gmpFemSolverOptions.h:284
IterationStrategy
Iteration strategy options - NL static solver.
Definition: gmpFemSolverOptions.h:104
bool _normalFlow
Solver option defining the normal flow technique.
Definition: gmpFemSolverOptions.h:255
IncrementStrategy
Increment strategy options - NL static solver.
Definition: gmpFemSolverOptions.h:86
double _loadMinIncrement
Solver option defining the minimum load increment.
Definition: gmpFemSolverOptions.h:250
double _loadMax
Solver option defining the maximum load factor.
Definition: gmpFemSolverOptions.h:248
bool _resetDisplacement
Solver option defining the reset displacement (yes/no)
Definition: gmpFemSolverOptions.h:271
double _timeMax
Solver option defining the total time of analisys.
Definition: gmpFemSolverOptions.h:261
double _integrationTolerance
Solver option defining the time integration tolerance.
Definition: gmpFemSolverOptions.h:268
double _timeMaxIncrement
Solver option defining the maximum time increment.
Definition: gmpFemSolverOptions.h:264
double _loadMaxIncrement
Solver option defining the maximum load increment.
Definition: gmpFemSolverOptions.h:251
double _loadNew
Solver option defining the new load factor.
Definition: gmpFemSolverOptions.h:247
ConvergenceCriterion
Convergence criterion options.
Definition: gmpFemSolverOptions.h:74
char _printFormat
Format parameter used together with _printOptions: The format type f' or 'g'.
Definition: gmpFemSolverOptions.h:206
double _loadIncrement
Solver option defining the load increment.
Definition: gmpFemSolverOptions.h:249
double _iterationTolerance
Solver option defining the iteration tolerance.
Definition: gmpFemSolverOptions.h:267
AssemblerMode _assemblerDofMode
Dof handling mode for the assembler.
Definition: gmpFemSolverOptions.h:215
unsigned _stepsMax
Solver option defining the maximum step number.
Definition: gmpFemSolverOptions.h:233
bool _crackTracking
Solver option defining the crack tracking algorithm.
Definition: gmpFemSolverOptions.h:256
double _DeltaM
Solver option defining time increment factor for current time.
Definition: gmpFemSolverOptions.h:278
double _DeltaB
Solver option defining Cutback factor for the next increment if more than IL iterations were needed i...
Definition: gmpFemSolverOptions.h:279
bool _timeControl
Solver option defining the time increment control (yes/no)
Definition: gmpFemSolverOptions.h:275
QString _saveElementDataFileMask
The mask with the save element data file name. If it contains a XXXXXX substring, it will be replaced...
Definition: gmpFemSolverOptions.h:283
unsigned _iterationsL
Solver option defining number of iterations after which the size of the subsequent increment will be ...
Definition: gmpFemSolverOptions.h:273
NewtonRaphsonMode
Newton Raphson optios.
Definition: gmpFemSolverOptions.h:124
unsigned _iterationsDesired
Solver option defining the desired number of iterations.
Definition: gmpFemSolverOptions.h:236
QString _resultAttributePrefix
The prefix used for result attributes reistered by the solver.
Definition: gmpFemSolverOptions.h:218
SolverType
Solver type.
Definition: gmpFemSolverOptions.h:54
Declaration of usefull configuration definitions for the plugin library.
bool _loadAdjustStep
Solver option defining the adaptative load increment.
Definition: gmpFemSolverOptions.h:252
unsigned _iterationsG
Solver option defining number of maximum number of iterations allowed in two consecutive increments f...
Definition: gmpFemSolverOptions.h:274
double _transientVariableChange
Solver option defining the máx allowable transient variable change per increment.
Definition: gmpFemSolverOptions.h:269
GmTaskManager::CellPartitionStrategy _mtStrategy
The cell partitioning strategy. See GmTaskManager::runParallelCellLoop()
Definition: gmpFemSolverOptions.h:212
bool _saveElementData
Should we save element data to an aux file?
Definition: gmpFemSolverOptions.h:282
AssemblerMode
Assembler mode.
Definition: gmpFemSolverOptions.h:43
int _mtnWorkers
The number of worker threads. See GmTaskManager::runParallelCellLoop()
Definition: gmpFemSolverOptions.h:210
CouplingStrategy
Coupling strategy options.
Definition: gmpFemSolverOptions.h:148
double _loadOld
Solver option defining the old load factor.
Definition: gmpFemSolverOptions.h:246