-
-
June 28, 2025 at 4:30 am
mpr7366
SubscriberHello,
I’m using the 1-Way CFD Field Coupling module in ANSYS Rocky to apply external velocity fields from a DSMC (SPARTA) simulation via a point cloud. I reviewed the sample code, which uses the Schiller & Naumann drag law and assumes constant fluid properties (e.g., density and viscosity).
I have two questions regarding customization:
Can the drag law be modified?
I’d like to replace the Schiller & Naumann correlation with a different drag formulation.Can the fluid density be made spatially varying?
Instead of a globally constant value, I would like to supply fluid density as an additional point cloud field (e.g.,rho
) that varies with position , and use that value locally during the drag force computation.
If this is possible, is there any documentation passing them into the drag force calculation?
Thank you for your help!
Regards,Â
Madan B K
-
July 15, 2025 at 6:28 pm
Lucas Bertollo Baggio
Ansys EmployeeHello Madan,
Â
1: Yes, you just need to adjust the code accordingly.
2: You can export CFD Cells density values and convert it into a point cloud with X, Y, Z, U, V, W, rho. Then, you can implement this drag model (function of rho).
Â
Also take a look on the module manual and the CFD Coupling Technical Manual.
-
- You must be logged in to reply to this topic.
-
3487
-
1057
-
1051
-
945
-
917
© 2025 Copyright ANSYS, Inc. All rights reserved.