Bases: ansys.dyna.core.pre.dynabase.DynaBase
Sets up the S-ALE simulation process.
-
set_termination(endtime)
Set the time for ending the simulation.
- Parameters:
- endtime
float
Time for ending the simulation.
- Returns:
- bool
True
when successful, False
when failed.
-
set_output_interval(database_plot_interval)
Request binary output.
- Parameters:
- database_plot_interval
float
Time interval between output states.
- Returns:
- bool
True
when successful, False
when failed.
-
set_analysis_type(num_of_cycle=1, method=AdvectionMethod.DONOR_CELL_WITH_HALF_INDEX_SHIFT, background_pressure=0)
Set the analysis type.
- Parameters:
- num_of_cycle
float
, optional
Total time of simulation for the fluid problem. The
default is 1
.
- method
float
, optional
Time step for the fluid problem. The default is
DONOR_CELL_WITH_HALF_INDEX_SHIFT
.
- background_pressure
int
, optional
Reference pressure for computing the internal forces.
The default is 0
.
- Returns:
- bool
True
when successful, False
when failed.
-
set_output_database(matsum=0, glstat=0)
Obtain output files containing the results.
- Parameters:
- matsum
float
, optional
Time interval between outputs of part energies. The
default is 0
.
- glstat
float
, optional
Time interval between outputs of global statistics and energies.
The default is 0
.
- Returns:
- bool
True
when successful, False
when failed.
-
save_file()
Save keyword files.
- Returns:
- bool
True
when successful, False
when failed.