hmcmold

Translates C-MOLD results files to HyperMesh binary results files.

Syntax

hmcmold [arguments] <inputfile> <outputfile> <modelfile>

Application

Translators

Inputs

<input file>
name of the .fem file.
<output file>
Results are written to this file.
<model file>
Model is written to this file.

[arguments]

-flow
Flow Phase Results.
-fn
Flow Nodal Results only.
-fe
Flow Element Results only.
-cool
Cool Phase Results.
-cn
Cool Nodal Results only.
-ce
Cool Element Results only.
-cne
Cool Node On Element Results only.
-warp
Warp Phase Results.
-wn
Warp Nodal Results only.
-pack
Pack Phase Results.
-pn
Pack Nodal Results only.
-pe
Pack Element Results only.
-all
Phase Comprehensive Results
-fv
Flow Vector
-cv
Cool Vector
-we
Warp Element
-cent
Temperatures will be output in Centigrade

Options

The following options can also be used:
-disk
Translation is performed on disk
-size
Number of entities (10000 default)
-file
Scratch file name

The command line arguments can be used alone or combined with other arguments. When multiple-phase results are specified, the data for each data type is grouped. Data types are grouped by their respective time steps. C-MOLD data blocks have up to two independent variables and multiple dependent variables. The independent variables correspond to globally applicable quantities such as time steps. The dependent variables are time-specific data, such as data types. HyperMesh treats each independent variable as a simulation that stores the data types.

Supported Blocks

  • -NDDT
  • -NLDT
  • -VCDT
  • -ELDT
  • -DPDT
  • -TSDT
C-MOLD can read more than one independent variable and more than one dependent variable. When a data type has more than one value, it is broken down into components and a number is added to the name such as _0, _1 and so on. For example, if the data type stress has three values, these are displayed as three data types: STRESS_0, STRESS_1 and STRESS_2.

If the number of independent variables in a block is zero, a simulation named All_Phase is created, where Phase can be flow, cool, pack or warp.

If you are viewing a transient animation and multiple independent variables exist, the data types and the time steps are arranged in the time steps’ order. HyperMesh supports two independent variables. For example, if the independent variables time and normalized thickness exist with different values, they are arranged as follows:
  • time=0.0 no.th=0.000
  • time=0.27 no.th=0.000
  • time=0.53 no.th=0.000 and so on until the last time step
  • time=0.00 no.th=0.2305
  • time=0.27 no.th=0.2305
  • time=0.53 no.th=0.2305 and so on so that the variation with the time of the required quantity is visible.

Supported Files

C-MOLD results files are separated by phase and have a fixed format. Each phase has a number of files that correspond to a particular data set in the solved results. The phase separation of the files supported in HyperMesh is:
Flow
The filename.of1 file is supported.
Cool
The filename.oc1 file is supported.
Warp
The filename.ow3 file is supported.
Pack
The filename.op1 file is supported.
The HyperMesh results translator generates a HyperMesh model file. HyperMesh requires the model information to display the results obtained from C-MOLD. If the model information is not available, you can specify the model file name as the third parameter in the command line. The model file is not generated if this parameter is not specified. The translator searches for the C-MOLD output files in the same directory as the .fem file from which the model file is generated. Place the C-MOLD files in the same directory that contains the .fem file.