|
[Sponsors] |
How to deinfe number of particle streams in an injection init udf? |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
June 1, 2021, 07:26 |
How to deinfe number of particle streams in an injection init udf?
|
#1 |
New Member
wuyu
Join Date: Mar 2010
Posts: 27
Rep Power: 16 |
I am trying to define a udf for surface injection and I think it would be using
Code:
DEFINE_DPM_INJECTION_INIT Code:
DEFINE_DPM_INJECTION_INIT(SURFINJ, I) { Particle *p; face_t f; Thread *cthread; loop(p,I->p) { P_DIAM(p) = 1e-5; P_FLOW_RATE(p) = 1.5e-3; } } Thank you in advance. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[Other] Equal decomposition of cylindrical fluid domain | Sean95 | OpenFOAM Meshing & Mesh Conversion | 3 | February 12, 2019 04:34 |
GenerateVolumeMesh Error - Surface Wrapper Self Interacting (?) | AndreP | STAR-CCM+ | 10 | August 2, 2018 08:48 |
[mesh manipulation] Importing Multiple Meshes | thomasnwalshiii | OpenFOAM Meshing & Mesh Conversion | 18 | December 19, 2015 19:57 |
SigFpe when running ANY application in parallel | Pj. | OpenFOAM Running, Solving & CFD | 3 | April 23, 2015 15:53 |
decomposePar pointfield | flying | OpenFOAM Running, Solving & CFD | 28 | December 30, 2013 16:05 |