This plugin was developed by ATA Engineering to
export grids from Pointwise directly to Loci/CHEM's vog format. Using CAE
export, portions of the vars file may also be generated. It should be noted
that this plugin does not optimize the grid layout as is done by the Loci
grid converstion utilities (e.g. ccm2vog, ugrid2vog, etc). Testing has
indicated that this lack of optimization results in roughly a 10% slow down
compared to an optimized grid.
Building the plugin requires the Poinwise Plugin SDK. The plugin also requres HDF5, it was tested with version 1.12.2, but other versions may work as well.
The SDK must first be used to create a plugin project for Loci/CHEM.
See here for more details,
but in general plugin creation from the PluginSDK directory should look like below:
./mkplugin -caeu -cpp LociChemNext the source code from this repository must be integrated with the plugin code generated
by the SDK in the src/plugins/CaeUnsLociChem directory. See
here for more information. The make
files generated by the SDK will likely have to be edited to include the path to HDF5's include
and lib directories. The plugin should be linked against the following HDF5 libraries libhdf5,
libz, libszaec, and libaec.
Finally, the plugin must be built and the resulting library placed in the PWI_PLUGINS_SEARCH_PATH.
See here for more information.
To update the plugin to a new SDK, which is occasionally required to support the latest versions of Pointwise, follow these instructions for Windows.
- Extract the new SDK
- Update
PluginSDK/src/plugins/site.hwith group name and ID. - Copy
CaeUnsLociChemfolder intoPLuginSDK/src/plugins/ - Open Visual Studio
slnfile inPluginSDKdirectory - Right click on
Pluginsin source tree, selectAdd, selectExisting Project - Pick
vcxprojfile insidePLuginSDK/src/plugins/CaeUnsLociChem - To upgrade version of Visual Studio, right click on imported plugin name, select
Retarget