*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)

Inputs
ID Name Type Default Remarks
1 Simulation Name text   Simulation Name
2 Simulation Description textarea   Simulation Description
3 Simulation Tags text   Simulation Tags
4 Main Input File file   Main Input File
5 Solver Type string lsdyna Solver Type
6 Project ID remote_lookup   Project ID
7 Additional Files file   Additional Files
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>
Outputs
ID Name Type Remarks
1   integer  

*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   Simulation
Outputs
ID Name Type Remarks
1 Simulatiion integer  
2 Errors dataset  
3 Warnings 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   Simulation
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   Replace Existing Responses
4 Study remote_lookup   Also save for simulations in this study
Outputs
ID Name Type Remarks
1 Simulatiion integer  
2 Responses dataset  

*SIMULATION_REPLACE_PARAMETERS

Description: Replace parameters

Syntax: simulation_replace_parameters(simulation_id,parameters)

Inputs
ID Name Type Default Remarks
1 Simulation remote_lookup   Simulation
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  

*SIMULATION_ORGANIZER

Description: simorganizer

Syntax: simulation_organizer(project_id,study_id)

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

*SIMULATION_FINDER

Description: simfinder

Syntax: simulation_finder(filters)

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

*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   Simulation
2 Set ID text   Multiple Ids can be separated by Commas
3 Set Type select   Set Type
Outputs
ID Name Type Remarks
1 Ids textarea  

*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   Simulation
2 Set ID text   Multiple Ids can be separated by Commas
Outputs
ID Name Type Remarks
1 Nodes 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   Simulation
2 Coordinates text   Coordinates of X,Y,Z separated by Commas
3 Pid text 1 Pid
4 Search Radius text 0.1 Search Radius
Outputs
ID Name Type Remarks
1 Shell Ids dataset  

*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   Simulation
2 File names text   File names

*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   Simulation
2 Response name text   Response name
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_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   Simulation
2 Input File remote_lookup   Input File
3 Parameter Name scalar   Parameter Name
4 Parameter Type scalar   Parameter Type
5 Parameter Value scalar   Parameter Value
6 Parameter Width scalar   Parameter Width
7 Keyword Name scalar   Keyword Name
8 Card Name scalar   Card Name
9 Parameter Name scalar   Parameter Name
10 Card ID scalar   Card ID
Outputs
ID Name Type Remarks
1   scalar  
2   scalar  
3   textarea  
4   textarea  

*SIMULATION_RESPONSE_EXTRACTOR

Description: Allows selection of binout menu

Syntax: simulation_response_extractor(simulation_id,responses)

Inputs
ID Name Type Default Remarks
1 Simulation remote_lookup   Simulation
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_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   Choose Simulation
2 Choose Attachment remote_lookup   Choose Attachment
3 Updated Attachment file   Updated Attachment
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   Simulation
2 Needs Graphics select   Needs Graphics
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   Save Responses
Outputs
ID Name Type Remarks
1   scalar  

*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 Archive.tgz File Name
5 Choose Specific Files to Include select   Manual File Names
Outputs
ID Name Type Remarks
1 Archive file file  

*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   Simulation Id
2 Parent Simulation ID remote_lookup   Parent Simulation ID
3 Att ID remote_lookup   Att ID
Outputs
ID Name Type Remarks
1   integer  

*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   Simulation Id
2 Choose file remote_lookup   Choose file
3 New File Name text   New File Name
Outputs
ID Name Type Remarks
1   integer  
2   integer  
3   text  
4   text  

*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   Simulation
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   Simulation
2 Input File remote_lookup   Input File
3 Parameter Dataset scalar   Parameter Dataset
Outputs
ID Name Type Remarks
1   scalar  
2 Attachment scalar  
3 Old Parameters textarea  
4 New Parameters textarea  

*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   Simulation
2 Input File remote_lookup   Input File
3 Parameter Dataset scalar   Parameter Dataset
Outputs
ID Name Type Remarks
1   scalar  
2   scalar  
3   textarea  
4   textarea  

*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   Simulation
2 Input File remote_lookup   Input File
Outputs
ID Name Type Remarks
1   scalar  
2 Attachemnt 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   Simulation Id
2 Include file file   Include file
3 Offset Number scalar   Offset Number
4 Mass scale factor scalar   Mass scale factor
5 Time scale factor scalar   Time scale factor
6 Length scale factor scalar   Length scale factor
7 Transformation ID scalar   Transformation ID
8 Transformation Text text   Transformation Text
Outputs
ID Name Type Remarks
1   integer  

*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   Simulation Id
2 File Name text   File Name
3 File Contents textarea   File Contents
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   Simulation Id
2 Local file file   Local 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   Simulation Id
2 Local file file   Local file
Outputs
ID Name Type Remarks
1   integer  

*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   Simulation Name
2 Simulation Description textarea   Simulation Description
3 Simulation Tags text   Simulation Tags
4 Files remote_file   Files
5 Make a Copy string   Make a Copy
6 Solver Type string LS-DYNA Solver Type
7 Project ID remote_lookup   Project ID
Outputs
ID Name Type Remarks
1   integer  

*SIMULATION_RESPONSES

Description: Get Responses From Simulation

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

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

*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   Simulation
2 Choose File remote_lookup   Choose File
Outputs
ID Name Type Remarks
1   integer  

*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   Simulation
2 Response Name textarea   Response Name
3 Type select   Type
4 Location select   Location
Outputs
ID Name Type Remarks
1   integer  
2   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)

*END
  • Input Data
Outputs
ID Name Type Remarks
1   integer  

*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   Simulation
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