|
 |
|
|
| The Windows version of SC/Tetra can be controlled from an external program such as Visual Basic by using "Microsoft COM technology". From
software start-up and exit to each command controls, "Microsoft COM technology" can be used to remotely initiate many computing tasks. This capability can improve
operating efficiency by automating processes, and creating custom user interfaces that are familiar to designers. |
| Example (Investigation of the optimum angle of an engine intake port) |
Microsoft COM technology is standardized macro technology. From a CFD design perspective, the use of this
technology enables a user to make a change to the geometry in a CAD program and to automatically call SC/Tetra to make the corresponding change to the CFD input file and
generate a new solution. By using macros for the CAD program and for SC/Tetra, the user can perform this process repeatedly to compare the impact of several design changes on
the performance.
In the following example, the CAD program uses colors to specify each region where boundary conditions are applied. For the design study, separate design parameters are
used to specify the amount of the angle and the lift of valve. Using values for these parameters that are specified in an excel file, a macro automatically creates the
geometry.

The geometry output from CAD is imported to the Cradle CAD translator (CADthru) to make it suitable for computation. Octant specification, creating the surface mesh, volume
mesh, and inserting prism layers can all be automatically executed according to preset macros.

The macro then automatically starts the solver for calculating the solution.

A macro can also be used to automatically starts the postprocessor after finishing the calculation, which creates vector and contour images. These images can be
automatically pasted onto a word processor for analysis and/or report.

|
|
|
|