TAGGED: 2-fsi, ansys-designmodeler, cad-import, mechanical, mesh, python, step
-
-
December 4, 2025 at 6:26 pm
gdigiusto
SubscriberI’m generating the geometry for an FSI case using CadQuery and Ansys.
The setup is:- a 3D fluid volume
- an internal zero-thickness surface (the “flag”), lying exactly on a plane inside the fluid domainI export both as a single multibody STEP and import it into ANSYS Mechanical.
The problem is Mechanical sees two separate bodies and produces two independent meshes.If I manually select both bodies in DesignModeler and click Create → New Part, everything works: I get a true multibody Part and Mechanical produces a conformal interface.
I’m generating the geometry entirely via script, because I need to produce many different geometries automatically (randomized shapes and domains), so manual operations in DesignModeler are not an option.
What I’m trying to figure out is:
How can I achieve the same “New Part” result automatically?In short:
Is there a reliable way to create a single Part between a fluid volume and an internal zero-thickness surface generated in CadQuery, without manual operations in DesignModeler?
I am asking both here and on the CadQuery github forum, because I’m not sure whether this can be solved purely on the CadQuery/OCC side or if a solution exists inside DesignModeler.
I have already tried exporting the two bodies as a Compound in CadQuery, but ANSYS still treats them as separate bodies.
-
- You must be logged in to reply to this topic.
- air flow in and out of computer case
- Varying Bond model parameters to mimic soil particle cohesion/stiction
- Eroded Mass due to Erosion of Soil Particles by Fluids
- I am doing a corona simulation. But particles are not spreading.
- Centrifugal Fan Analysis for Determination of Characteristic Curve
- Issue to compile a UDF in ANSYS Fluent
- Guidance needed for Conjugate Heat Transfer Analysis for a 3s3p Li-ion Battery
- JACOBI Convergence Issue in ANSYS AQWA
- affinity not set
- Resuming SAG Mill Simulation with New Particle Batch in Rocky
-
4452
-
1494
-
1376
-
1209
-
1021
© 2025 Copyright ANSYS, Inc. All rights reserved.