TransientAnalysis
Solve time-dependent response using multiple time steps with options for implicit or explicit time integration.
Fields
-
end_time: Float, default =0.0The final time of the simulation. The simulation starts at time equal to zero and advances until the time
reaches the specified value
end_time. In general, the time step will adapt in between depending on theinitial and/or transient boundary conditions. The end time will be reached exactly (i.e. the solution will
not overshoot on time). Either
end_time(recommended) or bothtime_stepandnum_time_stepsneed to be given. -
time_step: Float, default =0.0User-specified initial timestep. If no
end_timeis explicitly given, it is computed as the product oftime_stepandnum_time_steps.For implicit time-integration
time_stepis the initial timestep, but it can be changed as needed in order to minimize the error and the overal computational cost of the simulation.For explicit time-integration the timestep is automatically computed if
time_stepis omitted. -
num_time_steps: Integer, default =0Number of time steps to run the solution. This value is used only if
end_timeis not given, as only as a meanto estimate
end_timeas the product oftime_stepandnum_time_steps. -
max_dt: Float, default =0.0If a
max_dtis given, the time step will never be larger than the specified value. -
min_dt: Float, default =0.0If a
min_dtis given, the time step will never be smaller than the specified value. -
max_num_time_steps: Integer, default =5000Maximum number of time steps to prevent a simulation running excessively long if the timestep drops a lot.
-
time_integration_type: TimeIntegrationType, default =NONE -
time_integration: TimeIntegrationType, default =NONEOptions for time integration.
-
adaptive_time_step: Bool, default =falseFlag to enable adaptive time-stepping.
-
true: Enable adaptive time-stepping. -
false: Used fixed time step.
-
-
adaptive_time_step_type: AdaptiveTimeStepType, default =basicType of the adaptive time step to be used. Two types are supported for now
-
'CFL': Uses a Courant–Friedrichs–Lewy condition to compute the adaptive time step
-
'Basic': Uses the basic algorithm in PETSc to compute an adaptive time step. This is the default option
-
-
cfl: Float, default =0.0CFL factor, i.e. the fraction of the internally-computed stable timestep to use in computing the actual timestep if the adaptive time step type is cfl.
This is only used for the implicit part of the code.
-
per_timestep_tssolve: Bool, default =falseInternal flag to either make a on call to
TSSolve()for each time step (true) or a single call to PETSc'sTSSolve()(false, default). -
nonlinear_solver: NonlinearSolver, default ={}Options for the non-linear solver.
-
line_search: LineSearch, default ={}Options for the line search method.