Multi-Domain Simulation#

This example composes CFD pressure data and structural bending stress in one stage. The CGNS and EnSight Gold files share a 101-sample timeline, so both visualizations update together during playback.

CFD pressure field and structural wing combined in one stage

Dataset#

Use the files in:

{path to}/kit_cae_user_guide_data/examples/03_multi-domain

  • bscw_cfd.cgns provides the node-associated Cp pressure coefficient at 4,991 points around the wing.

  • bscw_struct.case provides the node-associated BendingStress field on the wing surface.

The data is derived from unsteady URANS results on the Benchmark Supercritical Wing at M = 0.74 and Re = 4.49 × 106 under prescribed pitch and plunge motion.

Note

This example requires the sample data described in Examples. If you have not built Kit-CAE, see Get Started first.

Import Both Domains#

  1. Launch Kit-CAE.

    Linux:

    ./repo.sh launch -n omni.cae.kit
    

    Windows:

    repo.bat launch -n omni.cae.kit
    
  2. Select File > Import, select bscw_struct.case, enable Import to Stage, and select Import.

  3. Import bscw_cfd.cgns the same way.

The Stage panel now contains one imported root for each solver output. Nothing appears in the Viewport until you create operators.

Visualize the Structural Domain#

  1. Expand the EnSight hierarchy and select the dataset named wing_surface.

  2. Right-click and select Create > CAE Operators > Faces.

  3. Select Play or press Space to animate the deformation. Scrub the timeline once to populate the cache if needed.

    Structural wing surface in a deformed state during playback

The first pass through a transient dataset populates its cache. Later playback is smoother. Select the wing and press F if you need to frame it.

Visualize the CFD Domain#

  1. Expand the CGNS hierarchy to Base > Zone > Elements.

  2. Hide the Faces operator while configuring the CFD volume.

    Faces operator hidden before creating the CFD volume
  3. Right-click Elements and select Create > CAE Operators > Volume. Choose nanovdb.

    CAE Operators menu with Volume available for the CFD dataset
    Volume type dialog with nanovdb selected for the CFD field
  4. Under Colors [Field Selection], use Add Field to select Cp.

  5. Start with Max Resolution 256 under Source [Dataset Voxelization] and increase it when more detail is required.

    CFD volume voxelization with Max Resolution set to 256
    Cp entered under the CFD volume color field selection
    CFD Volume operator with the Cp field selection applied

    The pressure-coefficient field now appears around the wing.

    CFD pressure-coefficient volume around the wing

Bring the Domains Together#

  1. Show both the Faces and Volume operators.

  2. Select the Faces operator. Under Colors [Field Selection], use Add Field to select BendingStress.

    BendingStress assigned to the Faces color field selection
    Faces operator properties showing BendingStress as the active color field
  3. Set the Faces colors Rescale Mode to disable. On Materials > ScalarColor > Shader, set domain to 1.1 through 24.2.

    Faces Shader with a fixed BendingStress domain of 1.1 through 24.2
  4. Scrub or play the timeline.

The pressure field and bending-stress surface remain synchronized even though they originate in different native formats.

Synchronized CFD pressure volume and bending-stress wing surface