AI Surrogate Simulation Data#
This example visualizes a saved inference result from an automotive external-aerodynamics surrogate. The data is a 128,000-point cloud with velocity, pressure, and turbulence fields stored in a NumPy .npz file.
Kit-CAE uses the same native import, field exploration, and visualization workflow for AI output as it does for solver output.
Dataset#
The data is a saved result from the Digital Twins for Fluid Simulation blueprint.
Use the files in:
{path to}/kit_cae_user_guide_data/examples/04_ai-surrogate-simulation-data
File |
Field |
Description |
|---|---|---|
|
|
Three-component velocity at 128,000 points |
|
|
Scalar pressure at 128,000 points |
|
|
Scalar turbulent kinetic energy |
|
|
Scalar turbulent viscosity |
|
|
Signed distance field on a 128 × 64 × 64 grid |
|
Geometry |
Vehicle surface mesh for spatial context |
Note
This example requires the sample data described in Examples. If you have not built Kit-CAE, see Get Started first.
Import the Data#
Launch Kit-CAE.
Linux:
./repo.sh launch -n omni.cae.kitWindows:
repo.bat launch -n omni.cae.kitSelect File > Import, select
aero_auto_low.stl, enable Import to Stage, and select Import.
Import
aero_auto_inference.npzthe same way.
NumPy .npz files use the Point Cloud interpretation by default. The STL and point-cloud coordinates already share the same Z-up orientation, so no import-axis adjustment is required for this sample.
Create the Vehicle Surface and Seeds#
Select the imported
aero_auto_lowdataset and create CAE Operators > Faces.Select
aero_auto_inferenceand create CAE Sources > Bounding Box.Create a Unit Sphere from the Bounding Box with resolution
16.Duplicate the sphere with Ctrl+D.
Position the two spheres at different locations in front of the vehicle.
Create Multi-Seed Streamlines#
Right-click
aero_auto_inferenceand select Create > CAE Operators > Streamlines. Choose nanovdb.Under Source [Gaussian Splatting], set Radius Factor to
4.Set Direction to
forward.Under Seeds [Dataset Selection], select Add Target and choose both Unit Sphere prims.
Under Velocities [Field Selection], use Add Field to select
velocity.The
velocityarray has shape(128000, 3), so one field supplies all three vector components.
Under Colors [Field Selection], use Add Field to select
velocityand set Mode tovector_magnitude.Set the colors Rescale Mode to
disable. On Materials > ScalarColor > Shader, start with a domain of20through35and adjust it for the features of interest.
Move either Unit Sphere to compare flow paths from another seed region. The source remains the saved NumPy inference result throughout the workflow; no conversion to a solver format is required.
Explore Other Fields#
Select the imported aero_auto_inference dataset. In Arrays, select pressure, turbulent_kinetic_energy, or turbulent_viscosity, then use Array Details > Compute Details to choose a meaningful range for another visualization.
Return to velocity and the fixed 20 through 35 color domain to finish with the multi-seed streamline result.