Solver API example: Fiber orientation example 1
This is a simple example that specifies a certain fiber orientation tensor during the flow analysis, and writes details to the screen at the start of the analysis.
Double-click MoldflowUserFunctions_FiberOrientationExample1.vcxproj from inside C:\Program Files\Autodesk\Moldflow Insight 20XX\data\solverapi, to launch your compiler, or open it in a text editor to examine the code. This API is applicable only to the Flow solver.
This example
- reads the parameter strings from the config string,
- sets fiber orientation for all nodes according to the values specified in the config string,
- writes information and warnings etc. to the screen.