websights

Fill out the form to download

Required field
Required field
Not a valid email address
Required field
Required field
  • Set up your own cloud-native simulation in minutes.

  • Documentation

    How to Prepare and Upload Implicit Geometry from nTop to SimScale?

    This article explains how to prepare an implicit model in nTop for importing and simulating it in SimScale.

    Figure 1: Cross-flow TPMS heat exchanger designed in Onshape and simulated in SimScale using the *.implicit file import option

    Overview – nTop Implicit

    Preparing an implicit model for SimScale import requires three steps:

    1. Export all relevant implicit bodies
    2. Export additional auxiliary bodies for face assignments e.g. boundary conditions
    3. Put all bodies into one compressed archive (zip, tar.gz)

    All subsequent workflow steps work exactly the same as for parametric or faceted geometry imports.

    Export Implicit Bodies

    All bodies that are required for the simulation should be exported as implicit files using the Export Implicit Body block in nTop.

    export implicit body ntop
    Figure 2:  Export Implicit Body block setup in nTop for a domain body, in this case, the hot fluid region of a heat exchanger

    There are no naming restrictions for these implicit bodies. They will appear with the same name in the SimScale user interface.

    imported implicit body in simscale, ntop implicit
    Figure 3: The imported implicit body shows up with the corresponding name in the SimScale geometry tree.

    As implicit bodies cannot be edited in SimScale’s CAD editing environment, it is required to export all bodies necessary for the simulation from nTop. That includes all flow regions. Since implicit modeling is extremely robust and fast when dealing with booleans and complex geometrical operations, it is very easy to do so.

    Export Auxiliary Bodies for Face Assignment

    In order to assign concepts like boundary conditions or result controls in the simulation setup, faces need to be selected and assigned. Implicit models by default do not contain topological boundary information, so the model needs to be enriched accordingly.

    For that purpose, you can create implicit bodies that serve as tool bodies and enclose the respective surface area to split it out and make it accessible for selection. Specifically helpful to create these bodies fast are nTop blocks like, 

    • Create implicit body from CAD Face plus Thicken or 
    • Primitives like Create Cylinder or Create Box,

    even though it doesn’t matter how the implicit body was created in the end.

    thicken geometry  from cad face, ntop implicit
    Figure 4: Create implicit tool bodies for boundary conditions from CAD Face via Thicken block

    It’s recommended to keep the boundaries of the tool body relatively close to the surface area even though SimScale checks for common surface normals to see, for example, if a planar face was intended to be split out. If you can visually distinguish the (transparent) auxiliary and domain parts when zoomed to the full surface area is a good rule of thumb for setting up the tool body thickness. There is no issue if a tool body intersects with additional implicit bodies that do not require the face split.

    flow region setup in ntop, ntop implicit
    Figure 5: Flow regions with boundary condition tool bodies containing inlet and outlet face areas

    The tool bodies need to be exported as implicit files as well. While domain bodies can be named freely, tool body naming always requires a prefix ‘NS_’ for named selection for SimScale to categorize them correctly and use them for splitting out boundaries. Those faces appear in SimScale in the respective bodies that are contained by them with the name of the tool body without the ‘NS_’ prefix.

    export implicit body ntop setup, ntop implicit
    Figure 6:  Export Implicit Body block setup in nTop for a cap tool body, the ‘NS_’ prefix is mandatory for the import mechanism to identify the implicit part as a tool body.

    Upload Compressed Archive to SimScale

    As a last step, you need to put all implicit body exports – the domain bodies and tool bodies – into one compressed archive (e.g., zip or tar.gz) and upload it to SimScale, selecting ‘nTop (.implicit)’ as file format.

    Content of an heat exchanger example compressed archive ready to be uploaded to SimScale, ‘NS_’ implicits will be used as tool bodies.
    Figure 7: Content of a heat exchanger example compressed archive ready to be uploaded to SimScale. ‘NS_’ implicits will be used as tool bodies.

    During upload, all tool bodies are identified and used for face splitting, while all domain bodies get imported.

    onshape to simscale implicit file ntop implicit
    Figure 8: Surface splitting of the domain bodies using the tool body information and naming is accessible for selection in the viewer and in the geometry tree.

    All downstream workflows work exactly the same as for parametric or faceted imports. Note that SimScale also tries to map entities based on the provided naming when geometries get swapped in simulation setups. It is therefore recommended to keep consistent names when doing design iterations.

    Tags:

    Last updated: August 18th, 2025

    Contents