-
-
March 15, 2021 at 8:19 am
Aitor
SubscriberI am performing numerical simulations making use of the Discrete Phase Model, as would like to model the flow that is obtained after expelling a gas and some particles from three pipes. nFocusing attention on the DPM model, I have selected a surface injection (unsteady particle tracking) and I am getting a converged solution. However, I see that if my surface has 100 faces, then 100 parcels are created. This is not valid for my case, as I have a boundary layer, and I do not find reasonable to create so many parcels.nIn view of the above, I have looked for an alternative. Section 25.3.12. Point Properties for File Injections n25.3.12. Point Properties for File Injections (ansys.com)nsays that it is possible to create custom injections by means of an injection file. However, it requires the specification of the geometry, and this is highly tedious. Moreover, If I want to modify the geometry, I will be forced to modify the injection manually, and I do not find this viable. nIs there any template for a custom injection file for a surface injection? For example, if my face has 100 elements, I would like to modify just the number of injections from 100 to 10 (for example).nThank you in advance,nAitorn -
March 15, 2021 at 8:33 am
Keyur Kanade
Ansys EmployeePlease check nPlease go through help manual for more details nRegards,nKeyurnHow to access Ansys Online Help DocumentnHow to show full resolution imagenGuidelines on the Student CommunitynHow to use Google to search within Ansys Student Communityn -
March 15, 2021 at 8:37 am
Aitor
SubscriberPlease check https://forum.ansys.com/discussion/2995/dpm-particle-trackingPlease go through help manual for more details Regards,KeyurHow to access Ansys Online Help DocumentHow to show full resolution imageGuidelines on the Student CommunityHow to use Google to search within Ansys Student Communityhttps://forum.ansys.com/discussion/comment/110797#Comment_110797
Hello Keyur, nThank you for your response. I have read that thread, as well as all the information present at ANSYS User Manual, but I do not see any example that serves as an starting point for my model. Am I forced to set all the injections manually? My geometry is complex, and If I make some modifications, I would have to start from 0.nI just want the typical surface injection with less parcels.n -
March 15, 2021 at 8:45 am
Aitor
SubscriberHello Keyur,nThank you for your response. I have read that thread, as well as all the documentation present at Ansys User's Manual, even though I have not found anything apart from the general version of a line of the code.nMy geometry is complex, and it will probably require some modifications. This is the reason why I rule out the possibility of setting all the injections manually, as it is not an immediate task.nI just want to set the typical surface injection but with less parcels. Is there any code template in order to achieve that?nThank you,nAitorn -
March 15, 2021 at 12:07 pm
Rob
Ansys EmployeeYou can use an external program to define the injection file, I've seen C script to create (for example) a petal pattern injection, the equivalent would be Python. You need the x, y & z coordinates to be put into a text file and then add the rest of the data (particle temperature etc) from there. One hint with injection files, make sure the injection is inside the domain, so if inlet is at y=0 set the position as y=0.001 such that the particle is about midway into the first cell. n -
March 15, 2021 at 1:33 pm
Aitor
SubscriberYou can use an external program to define the injection file, I've seen C script to create (for example) a petal pattern injection, the equivalent would be Python. You need the x, y & z coordinates to be put into a text file and then add the rest of the data (particle temperature etc) from there. One hint with injection files, make sure the injection is inside the domain, so if inlet is at y=0 set the position as y=0.001 such that the particle is about midway into the first cell.https://forum.ansys.com/discussion/comment/110834#Comment_110834
Thank you, Rob.n -
March 15, 2021 at 3:08 pm
DrAmine
Ansys EmployeeI have learnt to create a dummy sample at the surface or boundary I want to make file injection later. I have used that later to modify the whole input.nnIt is simple to generate the file injection via Python. The format required as well as the input is pretty straightforward n
-
- You must be logged in to reply to this topic.

Earth Rescue – An Ansys Online Series
The climate crisis is here. But so is the human ingenuity to fight it. Earth Rescue reveals what visionary companies are doing today to engineer radical new ideas in the fight against climate change. Click here to watch the first episode.

Ansys Blog
Subscribe to the Ansys Blog to get great new content about the power of simulation delivered right to your email on a weekly basis. With content from Ansys experts, partners and customers you will learn about product development advances, thought leadership and trends and tips to better use Ansys tools. Sign up here.
- Suppress Fluent to open with GUI while performing in journal file
- Floating point exception in Fluent
- What are the differences between CFX and Fluent?
- Heat transfer coefficient
- Getting graph and tabular data from result in workbench mechanical
- The solver failed with a non-zero exit code of : 2
- Difference between K-epsilon and K-omega Turbulence Model
- Time Step Size and Courant Number
- Mesh Interfaces in ANSYS FLUENT
- error in cfd post
-
2628
-
2098
-
1327
-
1110
-
461
© 2023 Copyright ANSYS, Inc. All rights reserved.