file adams_data_set merge
Allows you to merge one Adams data set file or model with another Adams data set file.
Format:
file adams_data_set merge |
|---|
file_name = | string |
model_name = | an existing model |
length = | linear_units |
force = | force_units |
mass = | mass_units |
time = | time_units |
Example:
file adams_data_set merge & |
|---|
file_name = | "c:\mydir\desktop\merge1" & |
model_name = | model_2 |
Description:
Parameter | Value Type | Description |
|---|
file_name | String | Specifies the name of the file that is to be read, written, or executed |
model_name | An Existing Model | Specifies an existing model in Adams View with which to merge the Adams dataset file |
length | Linear_units | Specifies the length units in the file, if different than the current default |
force | Force_units | Specifies the force units in the file, if different than the current default |
mass | Mass_units | Specifies the mass units in the file, if different than the current default |
time | Time_units | Specifies the time units in the file, if different than the current default |
Extended Definition:
1. Adams Solver IDs, referenced but not defined in the Adams Solver dataset file being merged, are assumed to be already existing in that file. For example, the following marker definition references to a part, Adams Solver ID 99. If there is a part 99 in the Adams Solver dataset file, it is assumed that the reference is to that part. If, however, there is no such part in the Adams Solver dataset file, Adams View will use the part, Adams Solver ID 99, in the model as the parent of this marker. References to Adams Solver IDs in the model may also be used for the definition of constraints and forces.
****** adams_view_name='rocker_1' ******
MARKER/9901 , PART = 99 , QP = 100, 75, 0 , REU = 3.14159, 0, 0
Adams View names, that are specified in the Adams Solver dataset file and are not unique with respect to the model, will be ignored. Adams View will provide a name for the entity using the default name generation. See the DEFAULT NAME_GENERATION command for more information. For example, if you read an Adams Solver dataset file with the following marker defined:
****** adams_view_name='rocker_1' ******
MARKER/9901 , PART = 99 , QP = 100, 75, 0 , REU = 3.14159, 0, 0
and the model already existing in Adams View contained an entity named rocker_1 on the PART with Adams Solver ID 99, the marker would be named using the default name generation. Instead of being named .MOD1.PAR99.rocker_1, it would be named .MOD1.PAR99.MAR9901. If the Adams Solver ID specified for the marker 9901 was not unique, a default Adams Solver ID would be assigned. The default Adams Solver ID is one more (greater by 1) than the highest Adams Solver ID already in the model.
You cannot merge two existing models in Adams View. To merge two models in Adams View, you must first write one to an Adams Solver dataset file using the FILE ADAMS_DATA_SET WRITE command, then read the file back in, using the FILE ADAMS_DATA_SET MERGE command.
2. The proper extension is the default, but can be overridden simply by supplying a different extension.
You do not need to enclose the file name in quotes if it contains only alpha-numeric characters and starts with a letter. If you want to include other characters, such as a '.' for an extension or '/' or '[]' for directory paths, you must enclose the name in quotes.
3. The model specified is considered the parent model and all Adams IDs and Adams View names in this model will take precedence over the Adams IDs and the Adams View names specified in the Adams dataset file.
You may identify a model by typing its name or by picking it from the screen. If the model is not visible on the screen, you must type the name. You may also find it convenient to type the name even if the model is displayed. You must separate multiple model names by commas.
If the model is visible in one of your views, you may identify it by picking on any of the graphics associated with it.
You need not separate multiple model picks by commas.
4. If you do not use the length parameter, Adams View will read or write the file using your default modeling units. You only need to enter this parameter when you wish to read or write a file with different units than those you are currently using.
Specifying this parameter does not change your default modeling units, it only overrides them during the file read or write operation. Use the DEFAULT UNITS command if you wish to change your default modeling units.
5. If you do not use the force parameter, Adams View will read or write the file using your default modeling units. You only need to enter this parameter when you wish to read or write a file with units different than those you are currently using.
Specifying this parameter does not change your default modeling units, it only overrides them during the file read or write operation. Use the DEFAULT UNITS command if you wish to change your default modeling units.
6. If you do not use the mass parameter, Adams View will read or write the file using your default modeling units. You only need to enter this parameter when you wish to read or write a file with units different than those you are currently using.
Specifying this parameter does not change your default modeling units, it only overrides them during the file read or write operation. Use the DEFAULT UNITS command if you wish to change your default modeling units.
7. If you do not use the time parameter, Adams View will read or write the file using your default modeling units. You only need to enter this parameter when you wish to read or write a file with units different than those you are currently using.
Specifying this parameter does not change your default modeling units, it only overrides them during the file read or write operation. Use the DEFAULT UNITS command if you wish to change your default modeling units.