Data Fields

Follow

OnScale can save a wide variety of data fields at discrete 'snapshots' in time during a simulation including stresses, strains, displacements etc. This can all be captured for storage and exported using the data command.

The data command allows you to import or export any real-number data group in the code. An entire data group is transferred when imported/exported. The in subcommand is used to import and reads data groups from a data input file. The out subcommand is used to export and writes data groups to a data output file. In general, data out is most useful for saving snapshot-style results during an analysis.

By default data out files (*.flxdato) are saved as 'jobname.flxdato', where 'jobname' is the name of the input file running. For example, a job started with the file 'transducer.flxinp' will automatically store anything defined in data out in 'transducer.flxdato'.

Example

In an input file called 'transducer.flxinp', assume the following commands are issued:

data
    out pres
    end

The pressure is saved at every element in the model at the current time step as an array in the file 'transducer.flxdato'. By default, data out writes information on the model structure and material for future reference. To change the name of the file, use the file out subcommand:

data
    file out diffname.out
    out pres
    end

 

 

 

 

0 out of 0 found this helpful

Comments

0 comments

Please sign in to leave a comment.