|
[Sponsors] |
December 20, 2016, 09:57 |
Name of injection line in UDF
|
#1 | |
Senior Member
Join Date: Nov 2013
Posts: 1,965
Rep Power: 27 |
In an injection file, the structure is:
Quote:
Code:
x: P_INIT_POS(p)[0] y: P_INIT_POS(p)[1] z: P_INIT_POS(p)[2] u: P_INIT_VEL(p)[0] v: P_INIT_VEL(p)[1] w: P_INIT_VEL(p)[2] diameter: P_INIT_DIAM(p) temperature: P_INIT_TEMP(p) mass-flow: P_FLOW_RATE(p) name: ? Code:
DEFINE_DPM_BC(showname,p,t,f,f_normal,dim) { Message("%s\n",P_NAME(p)); return PATH_ABORT; } (I also asked this question to Ansys support, if they give a working answer I will post it here.) |
||
December 20, 2016, 11:52 |
|
#2 |
Senior Member
Join Date: Nov 2013
Posts: 1,965
Rep Power: 27 |
I received a quick answer from Ansys support: the "name" in each line of an injection file is optional, and is not used inside Fluent. Therefore it is not possible to use this name in a udf for Fluent.
|
|
April 21, 2017, 07:58 |
Hello
|
#3 |
New Member
Hayder
Join Date: Mar 2016
Posts: 8
Rep Power: 10 |
Hello Pakk,
Hope you are fine, I read your replying about Attaullah post on the mass transfer for absorption using the UDF. I really need your help please, I am trying to do the absorption process (acetone liquid absorbs acetone vapor) but I have no ideas how I do it. Please, could you help me with the UDF and the set of the model? I tried to send you a private message, but I couldn't. Regards, Hayder |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
injection problem | Mark New | FLUENT | 0 | August 4, 2013 02:30 |
8x icoFoam speed up with Cufflink CUDA solver library | kmooney | OpenFOAM Running, Solving & CFD | 42 | November 6, 2012 12:37 |
Regarding FoamX running Kindly help out | hariya03 | OpenFOAM Pre-Processing | 0 | April 18, 2008 05:26 |
Problem with rhoSimpleFoam | matteo_gautero | OpenFOAM Running, Solving & CFD | 0 | February 28, 2008 07:51 |
Problems of Duns Codes! | Martin J | Main CFD Forum | 8 | August 15, 2003 00:19 |