|
[Sponsors] |
July 20, 2016, 22:49 |
UDF for particle injection using file
|
#1 |
New Member
Syed Shah Jehan Gillani
Join Date: Oct 2014
Posts: 15
Rep Power: 12 |
Hi All!!
It is usually required to initialize static bed domain with particles in fluidized bed multiphase simulations. Mostly users ask about particle initialization of particles but there is no proper answer to their question. I was wondering how a udf could be written for file injection. Here I tried to sort out this problem and coded a udf using the logic given in initialization example provided in ansys udf guide. where this logic was utilized to initialize temprature field in the domain. Can any one here please debug udf if any and improve the udf.? initialization.c Before this I found a way to write injection file by the suggestion of Mr. Daniele [ghost82]. In macroscopic particle model addon module in ansys fluent 17 there is a provision to create volume injection (cylinder/box). These steps were followed: In ansys 17.0 activate macroscopic particle model. After turning on Macroscopic model (MPM) created an injection and set for volume injection. now initialize in MPM panel. Fluent prompt will show # particles created. Now, display injection in the MPM panel. this will copy injection particle data to Discrete model injection. Go to Graphics-->particle track panel Here select option reporting--> current position in left bottom of the panel and write to file. Now you have a filename.his file in your working directory. Import that filename.his into excel and follow the instruction given by the post http://www.cfd-online.com/Forums/flu...tml#post556836 This is a long way but really works in 3D fluent cases surely. initialization.c |
|
March 27, 2020, 06:03 |
|
#2 |
New Member
Join Date: Mar 2020
Posts: 1
Rep Power: 0 |
Hi Shahjehan,
I've found your post when i'm searching a way to initiate a static bed domain in fluidized bed. I've tried your suggestion to enable Macroscopic model (MPM) but it is only available in 3D model. Is there any other methods than the MPM ? Regards, Ham Xing Last edited by hamxing; March 27, 2020 at 06:08. Reason: Typo |
|
June 28, 2020, 11:44 |
|
#3 |
New Member
Elo Nielsen
Join Date: Jun 2020
Location: Europe & USA
Posts: 2
Rep Power: 0 |
Dear Shahjehan
I can see your question is from March. Did you get an answer? |
|
Tags |
dpm, injection_file |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
what is swap4foam ?? | AB08 | OpenFOAM | 28 | February 2, 2016 02:22 |
[swak4Foam] build problem swak4Foam OF 2.2.0 | mcathela | OpenFOAM Community Contributions | 14 | April 23, 2013 14:59 |
pisoFoam compiling error with OF 1.7.1 on MAC OSX | Greg Givogue | OpenFOAM Programming & Development | 3 | March 4, 2011 18:18 |
Version 15 on Mac OS X | gschaider | OpenFOAM Installation | 113 | December 2, 2009 11:23 |
ParaView Compilation | jakaranda | OpenFOAM Installation | 3 | October 27, 2008 12:46 |