module myna.application.deer.creep_timeseries_region.app
Defines the application behavior for the deer/creep_timeseries_region application
class CreepTimeseriesRegionDeerApp
MynaApp class to run a Deer creep simulation by taking in an Exodus mesh file with Euler Angle variables. Outputs an Exodus file for visualization (not used by Myna) and a CSV file with the time series data (used for Myna).
![warning] > > There is not currently a material database associated with this application, so > material-specific behavior will not automatically be resolved. To run this > application with different material behavior than the default SS316H simplified > behavior, use the
--templateoption in the configure dictionary of Myna input > file and point to the modified template. Note that file names must be the same > for this app to work: > > - "case.i" > - "grain_boundary_properties.i" > - "material_model.xml"
method CreepTimeseriesRegionDeerApp.__init__
__init__(sim_type='creep_timeseries_region')
method CreepTimeseriesRegionDeerApp.configure
configure()
Configure all cases for the Myna step
method CreepTimeseriesRegionDeerApp.configure_case
configure_case(case_dir, exodus_file)
Configure a single case
Args:
case_dir: directory to configure into a valid Deer caseexodus_file: Exodus mesh file associated with the case
method CreepTimeseriesRegionDeerApp.execute
execute()
Run all cases for the Myna step
method CreepTimeseriesRegionDeerApp.generate_orientation_file
generate_orientation_file(case_dir, exodus_mesh_file)
Generates the orientation file for an Exodus file with stored Euler angle variables: "euler_bunge_zxz_phi1", "euler_bunge_zxz_Phi", and "euler_bunge_zxz_phi2"
Args:
case_dir: path to case directory to generate the orientation file forexodus_mesh_file: path to the mesh file to get orientations from
method CreepTimeseriesRegionDeerApp.parse_configure_arguments
parse_configure_arguments()
Check for arguments relevant to the configure step and update app settings
method CreepTimeseriesRegionDeerApp.run_case
run_case(exodus_mesh_file, case_dir)
Run a case based on the given input and output file paths
Args:
exodus_mesh_file: Exodus mesh file to use as Deer inputcase_dir: directory containing a valid Deer case to run
method CreepTimeseriesRegionDeerApp.update_case_loading_parameters
update_case_loading_parameters(case_dir, exodus_mesh_file)
Update case input file with loading direction, load, and RVE size
Args:
case_dir: path to the case directory to update
This file was automatically generated via lazydocs.