*SIMULATION_UNARCHIVE_INPUTFILE

Description: Unarchive simulation file

Syntax: simulation_unarchive_inputfile(simulation_id,input_file)

Inputs
ID Name Type Default Remarks
1 Simulation remote_lookup    
2 Choose File remote_lookup    
Outputs
ID Name Type Remarks
1   integer  

*SIMULATION_VERIFY_TEMPLATE_SENSORS

Description: Verifies if Simulation contains all the RAW sensors needed by the Template

Syntax: simulation_verify_template_sensors(simulation_id,template_id)

Inputs
ID Name Type Default Remarks
1 Simulation remote_lookup    
2 Template remote_lookup    
Outputs
ID Name Type Remarks
1   integer  
2   integer  
3 Simulation Sensors dataset  
4 Template Sensors dataset  
5 Available dataset  
6 Missing dataset  
7 Verified scalar  

*SIMULATION_CREATE_FROM_TEXT

Description: Create Simulation From Text

Syntax: simulation_create_from_text(input_sim_name,input_sim_desc,input_sim_tags,input_main_file_name,solver_type,input_main_file_text,input_project_id,include_files,responses,responses_by_dataset,study_id)

Inputs
ID Name Type Default Remarks
1 Simulation Name text    
2 Simulation Description textarea    
3 Simulation Tags text    
4 Main Input File textarea   Main Input File Name
5 Solver Type scalar    
6 Input Data textarea    
7 Project ID remote_lookup    
8 Include Files file    
9 Responses vector   Responses <a class=’btn btn-xs btn-default’ target=’_blank’ href=’https://www.d3view.com/docs/master/workflows/Glossary.html#curveinput’> <i class=’fa fa-external-link’> </i> View more </a>
10 Response List dataset   Response List <a class=’btn btn-xs btn-default’ target=’_blank’ href=’https://www.d3view.com/docs/master/workflows/Glossary.html#datasetinput’> <i class=’fa fa-external-link’> </i> View more </a>
11 Study ID remote_lookup   Select from existing studies to organize this simulation into
Outputs
ID Name Type Remarks
1   integer  

*SIMULATION_CREATE_FROM_FILE

Description: Create Simulation From File

Syntax: simulation_create_from_file(input_sim_name,input_sim_desc,input_sim_tags,input_main_file,solver_type,input_project_id,input_include_files,responses,unzip_files)

Inputs
ID Name Type Default Remarks
1 Simulation Name text    
2 Simulation Description textarea    
3 Simulation Tags text    
4 Main Input File file    
5 Solver Type string    
6 Project ID remote_lookup    
7 Additional Files file    
8 Responses vector   Responses <a class=’btn btn-xs btn-default’ target=’_blank’ href=’https://www.d3view.com/docs/master/workflows/Glossary.html#curveinput’> <i class=’fa fa-external-link’> </i> View more </a>
9 DeCompress Files string    
Outputs
ID Name Type Remarks
1   integer  

*SIMULATION_CLONE

Description: Clone Simulation from Existing Simulation

Syntax: simulation_clone(input_sim_id,new_name,with_results)

Inputs
ID Name Type Default Remarks
1 Parent Simulation remote_lookup    
2 New Name for the Cloned Simulation text    
3 Copy Result Files select    
Outputs
ID Name Type Remarks
1 Parent Simulation integer  
2 Cloned Simulation integer  

*SIMULATION_GET_INCLUDE_FILE_STRUCTURE

Description: Get Include File Structure

Syntax: simulation_get_include_file_structure(simulation_id)

Inputs
ID Name Type Default Remarks
1 Choose Simulation remote_lookup    
Outputs
ID Name Type Remarks
1 Simulation integer  
2 Tree tree  

*SIMULATION_GET_HPC_INFO

Description: Retrieves Job Information

Syntax: simulation_get_hpc_info(simulation_id)

Inputs
ID Name Type Default Remarks
1 Simulation remote_lookup    
Outputs
ID Name Type Remarks
1   integer  
2   integer  
3   keyvalue  

*SIMULATION_GET_BILL_OF_MATERIALS

Description: Get Bill of Materials

Syntax: simulation_get_bill_of_materials(simulation_id)

Inputs
ID Name Type Default Remarks
1 Choose Simulation remote_lookup    
Outputs
ID Name Type Remarks
1 Simulation integer  
2 Bill of Materials tree  

*SIMULATION_IMPORT_FROM_SERVER

Description: Import simulation from server

Syntax: simulation_import_from_server(sim_name,sim_desc,input_sim_tags,files,copy_over,solver_type,input_project_id)

Inputs
ID Name Type Default Remarks
1 Simulation Name text    
2 Simulation Description textarea    
3 Simulation Tags text    
4 Files remote_file    
5 Make A Copy string    
6 Solver Type string    
7 Project ID remote_lookup    
Outputs
ID Name Type Remarks
1   integer  

*SIMULATION_CREATE_ARCHIVE

Description: Archive simulation files

Syntax: simulation_create_archive(simulation_ids,names,extensions,file_name,manual_file_name)

Inputs
ID Name Type Default Remarks
1 Choose Simulations remote_lookup   Choose one ore more simulations to archive
2 FNTI text   By default all files will be included
3 FETI text   By default all extensions will be included
4 File Name text    
5 Choose Specific Files To Include select   Manual File Names
Outputs
ID Name Type Remarks
1 Archive file file  

*SIMULATION_RENAME_FILE

Description: Rename Simulation File

Syntax: simulation_rename_file(simulation_id,att_id,new_name)

Inputs
ID Name Type Default Remarks
1 Simulation Id text    
2 Choose File remote_lookup    
3 New File Name text    
Outputs
ID Name Type Remarks
1   integer  
2   integer  
3   text  
4   text  

*SIMULATION_ADD_FILE_BY_TEXT

Description: Add a text file to a simulation

Syntax: simulation_add_file_by_text(simulation_id,file_name,file_contents)

Inputs
ID Name Type Default Remarks
1 Simulation Id text    
2 File Name text    
3 File Contents textarea    
Outputs
ID Name Type Remarks
1   integer  
2   integer  

*SIMULATION_ADD_SERVER_FILE

Description: Add a server file for the simulation

Syntax: simulation_add_server_file(simulation_id,add_file)

Inputs
ID Name Type Default Remarks
1 Simulation Id text    
2 Local File file    
Outputs
ID Name Type Remarks
1   integer  

*SIMULATION_ADD_LOCAL_FILE

Description: Add a file for the simulation

Syntax: simulation_add_local_file(simulation_id,add_file)

Inputs
ID Name Type Default Remarks
1 Simulation Id text    
2 Local File file    
Outputs
ID Name Type Remarks
1   integer  

*SIMULATION_ADD_FROM_ANOTHER_SIMULATION

Description: Add a server file for the simulation

Syntax: simulation_add_from_another_simulation(simulation_id,from_simulation_id,attachment_id)

Inputs
ID Name Type Default Remarks
1 Simulation Id text    
2 Parent Simulation ID remote_lookup    
3 Att ID remote_lookup    
Outputs
ID Name Type Remarks
1   integer  

*SIMULATION_CREATE_CURVE_RESPONSE

Description: Simulation create curve response

Syntax: simulation_create_curve_response(simulation_id,response_name,response_value)

Inputs
ID Name Type Default Remarks
1 Simulation remote_lookup    
2 Response Name text    
3 Response Value vector   Response value <a class=’btn btn-xs btn-default’ target=’_blank’ href=’https://www.d3view.com/docs/master/workflows/Glossary.html#curveinput’> <i class=’fa fa-external-link’> </i> View more </a>
Outputs
ID Name Type Remarks
1   scalar  
2   scalar  

*SIMULATION_ADD_INCLUDE_FILE

Description: Add an Include file for the simulation

Syntax: simulation_add_include_file(simulation_id,include_file,offset_number,mass_scale_factor,time_scale_factor,length_scale_factor,transformation_id,transformation_text)

Inputs
ID Name Type Default Remarks
1 Simulation Id remote_lookup    
2 Include File file    
3 Offset Number scalar    
4 Mass Scale Factor scalar    
5 Time Scale Factor scalar    
6 Length Scale Factor scalar    
7 Transformation ID scalar    
8 Transformation Text text    
Outputs
ID Name Type Remarks
1   integer  

*SIMULATION_SET_MAIN_INPUT_FILE

Description: Set main input file for a given Simulation

Syntax: simulation_set_main_input_file(simulation_id,att_id)

Inputs
ID Name Type Default Remarks
1 Simulation remote_lookup    
2 Input File remote_lookup    
Outputs
ID Name Type Remarks
1   scalar  
2 Attachemnt scalar  

*SIMULATION_EXPORT_RESULT_GEOMETRY

Description: Exports Simulation Geometry into a Dataset

Syntax: simulation_export_result_geometry(simulation_id,primary_geometry_file,parts,post_bin,commands,components)

Inputs
ID Name Type Default Remarks
1 Simulation remote_lookup    
2 Choose Geometry File for Export remote_lookup   This is the primary geometry file that will be used for the export. For LS-DYNA, it would be d3plot, etc
3 Parts textarea   Parts whose Geometry is to be stored. Multiple parts can be input as a CSV string
4 Post-processor Binary Path textarea   Optional Binary Path
5 Commands textarea   Optional commands to use. If empty, d3VIEW will prepare them based on the Geometry file
6 Components to Export select    
Outputs
ID Name Type Remarks
1   scalar  
2 3D Geometry Data dataset  
3 Element Connectivity dataset  
4 State Increments dataset  

*SIMULATION_REPLACE_CURVE_BY_ID

Description: Simulation Curve Replacement

Syntax: simulation_replace_curve_by_id(simulation_id,curve_id,new_curve)

Inputs
ID Name Type Default Remarks
1 Simulation remote_lookup    
2 Curve Id text    
3 New Curve vector   New Curve that will replace the original value
Outputs
ID Name Type Remarks
1   scalar  
2   text  

*SIMULATION_PARAMETERIZE_INPUT_BY_DATASET

Description: Parameterize and input for Simulation

Syntax: simulation_parameterize_input_by_dataset(simulation_id,input_file_id,parameter_dataset)

Inputs
ID Name Type Default Remarks
1 Simulation remote_lookup    
2 Input File remote_lookup    
3 Parameter Dataset scalar    
Outputs
ID Name Type Remarks
1   scalar  
2   scalar  
3   textarea  
4   textarea  

*SIMULATION_PARAMETERIZE_INPUT

Description: Parameterize and input for Simulation

Syntax: simulation_parameterize_input(simulation_id,input_file_id,parameter_name,parameter_type,parameter_value,parameter_width,keyword_name,card_num,param_num,card_id)

Inputs
ID Name Type Default Remarks
1 Simulation remote_lookup    
2 Input File remote_lookup    
3 Parameter Name scalar    
4 Parameter Type scalar    
5 Parameter Value scalar    
6 Parameter Width scalar    
7 Keyword Name scalar    
8 Card Name scalar    
9 Parameter Name scalar    
10 Card ID scalar    
Outputs
ID Name Type Remarks
1   scalar  
2   scalar  
3   textarea  
4   textarea  

*SIMULATION_GET_CURVE_BY_ID

Description: Simulation Get Curve By Id

Syntax: simulation_get_curve_by_id(simulation_id,curve_id)

Inputs
ID Name Type Default Remarks
1 Simulation remote_lookup    
2 Curve Id text    
Outputs
ID Name Type Remarks
1   scalar  
2 Curve vector  

*SIMULATION_GET_MAIN_INPUT_FILE

Description: Get main input file for a given Simulation

Syntax: simulation_get_main_input_file(simulation_id)

Inputs
ID Name Type Default Remarks
1 Simulation remote_lookup    
Outputs
ID Name Type Remarks
1   scalar  
2 Attachment scalar  

*SIMULATION_PARAMETERIZE_FILE

Description: Parameterize and input for Simulation File

Syntax: simulation_parameterize_file(simulation_id,input_file_id,parameter_dataset)

Inputs
ID Name Type Default Remarks
1 Simulation remote_lookup    
2 Input File remote_lookup    
3 Parameter Dataset scalar    
Outputs
ID Name Type Remarks
1   scalar  
2 Attachment scalar  
3 Old Parameters textarea  
4 New Parameters textarea  

*SIMULATION_GET_DOE_PARAMETERS

Description: Simulation Get DOE Parameters

Syntax: simulation_get_doe_parameters(simulation_id)

Inputs
ID Name Type Default Remarks
1 Simulation remote_lookup    
Outputs
ID Name Type Remarks
1   scalar  
2 DOE Parameters dataset  

*SIMULATION_RESPONSES

Description: Get Responses From Simulation

Syntax: simulation_responses(input_sim_id,input_response_names,input_response_ids,match_type,limit)

Inputs
ID Name Type Default Remarks
1 Simulation remote_lookup    
2 Response Names text    
3 Response IDs text    
4 Match Type select    
5 Return select    

*SIMULATION_FINDER

Description: simfinder

Syntax: simulation_finder(filters)

Inputs
ID Name Type Default Remarks
1 Choose Filters filters   Choose Filters to find the simulations
Outputs
ID Name Type Remarks
1   dataset  

*SIMULATION_HAS_RESPONSE_BY_NAME

Description: Checks if a simulation has a response by name

Syntax: simulation_has_response_by_name(simulation_id,response_name,type,location)

Inputs
ID Name Type Default Remarks
1 Simulation remote_lookup    
2 Response Name textarea    
3 Type select    
4 Location select    
Outputs
ID Name Type Remarks
1   integer  
2   scalar  

*SIMULATION_FILES

Description: Get Files From Simulation

Syntax: simulation_files(input_sim_id,input_file_names)

Inputs
ID Name Type Default Remarks
1 Simulation remote_lookup    
2 File Names text    

*SIMULATION_GET_NODES_FROM_SET_NODE_LIST

Description: Get Nodes from SET_NODE_LIST

Syntax: simulation_get_nodes_from_set_node_list(input_sim_id,set_id)

Inputs
ID Name Type Default Remarks
1 Simulation remote_lookup    
2 Set ID text   Multiple Ids can be separated by Commas
Outputs
ID Name Type Remarks
1 Nodes textarea  

*SIMULATION_GET_IDS_FROM_SET_LIST

Description: Get Ids from Set

Syntax: simulation_get_ids_from_set_list(input_sim_id,set_id,set_type)

Inputs
ID Name Type Default Remarks
1 Simulation remote_lookup    
2 Set ID text   Multiple Ids can be separated by Commas
3 Set Type select    
Outputs
ID Name Type Remarks
1 Ids textarea  

*SIMULATION_GET_SHELL_IDS_NEAR_COORDS

Description: Get Ids from Set

Syntax: simulation_get_shell_ids_near_coords(input_sim_id,coords,pid,search_radius)

Inputs
ID Name Type Default Remarks
1 Simulation remote_lookup    
2 Coordinates text   Coordinates of X,Y,Z separated by Commas
3 Pid text    
4 Search Radius text    
Outputs
ID Name Type Remarks
1 Shell Ids dataset  

*SIMULATION_UPDATE_INPUT

Description: Insert text in the main input file

Syntax: simulation_update_input(simulation_id,data_text,location)

Inputs
ID Name Type Default Remarks
1 Simulation remote_lookup    
2 DTBI textarea   Data to be inserted
3 LWTDITBI select   Location where the data is to be inserted
Outputs
ID Name Type Remarks
1   integer  

*SIMULATION_ORGANIZER

Description: simorganizer

Syntax: simulation_organizer(project_id,study_id)

Inputs
ID Name Type Default Remarks
1 Project ID remote_lookup    
2 Study ID remote_lookup    
Outputs
ID Name Type Remarks
1   dataset  

*SIMULATION_FILE_EDITOR

Description: Edit contents of an Simulation files

Syntax: simulation_file_editor(simulation_id,att_id,new_file)

Inputs
ID Name Type Default Remarks
1 Choose Simulation remote_lookup    
2 Choose Attachment remote_lookup    
3 Updated Attachment file    
Outputs
ID Name Type Remarks
1 Simulation integer  
2 Attachment integer  

*SIMULATION_CUSTOM_APPLICATION

Description: Runs a custom application to work with simulation directory

Syntax: simulation_custom_application(simulation_id,needs_graphics,application_exe,application_env,application_args,application_commands,application_commands_content_type,application_commands_write_filename,save_responses)

Inputs
ID Name Type Default Remarks
1 Simulation remote_lookup    
2 Needs Graphics select    
3 Executable textarea   This should be available on all d3VIEW servers and the compute nodes
4 Environment Variables textarea   Input them in the NAME=VALUE format with one variable per line
5 Application Args textarea   Arguments to be supplied to the executable
6 Application Commands textarea   Commands that will be written out to a file. Use DATA_SOURCE and OUTPUT_DIR as variables in places where you will need to use for INPUT and OUTPUT
7 Application Commands Type select   Application Commands content type
8 File Name text   File name for the commands to be saved into
9 Save Responses select    
Outputs
ID Name Type Remarks
1   scalar  

*SIMULATION_RESPONSE_EXTRACTOR

Description: Creates responses from a Simulation

Syntax: simulation_response_extractor(simulation_id,responses)

Inputs
ID Name Type Default Remarks
1 Simulation remote_lookup    
2 Responses dataset   Extracts responses <a class=’btn btn-xs btn-default’ target=’_blank’ href=’https://www.d3view.com/docs/master/workflows/Glossary.html#datasetinput’> <i class=’fa fa-external-link’> </i> View more </a>
Outputs
ID Name Type Remarks
1 Simulation integer  
2 Extracted Responses dataset  
3 Logs dataset  

*SIMULATION_ADD_RESPONSES

Description: Add responses to simulation

Syntax: simulation_add_responses(input_sim_id,responses,replace_existing_responses,input_study_id)

Inputs
ID Name Type Default Remarks
1 Simulation remote_lookup    
2 Responses dataset   Responses <a class=’btn btn-xs btn-default’ target=’_blank’ href=’https://www.d3view.com/docs/master/workflows/Glossary.html#datasetinput’> <i class=’fa fa-external-link’> </i> View more </a>
3 Replace Existing Responses select    
4 Study remote_lookup   Also save for simulations in this study
Outputs
ID Name Type Remarks
1 Simulatiion integer  
2 Responses dataset  

*SIMULATION_GET_ERRORS_AND_WARNINGS

Description: Get errors and warnings from a simulation

Syntax: simulation_get_errors_and_warnings(input_sim_id)

Inputs
ID Name Type Default Remarks
1 Simulation remote_lookup    
Outputs
ID Name Type Remarks
1 Simulatiion integer  
2 Errors dataset  
3 Warnings dataset  

*SIMULATION_REPLACE_PARAMETERS

Description: Replace parameters

Syntax: simulation_replace_parameters(simulation_id,parameters)

Inputs
ID Name Type Default Remarks
1 Simulation remote_lookup    
2 Parameters dataset   Parameters <a class=’btn btn-xs btn-default’ target=’_blank’ href=’https://www.d3view.com/docs/master/workflows/Glossary.html#datasetinput’> <i class=’fa fa-external-link’> </i> View more </a>
Outputs
ID Name Type Remarks
1   integer  
2   dataset  
3   dataset