CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > ANSYS > FLUENT > Fluent UDF and Scheme Programming

Fluent TUI how to change the number of streams in a surface injection

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 29, 2022, 09:57
Default Fluent TUI how to change the number of streams in a surface injection
  #1
New Member
 
Benjamin
Join Date: Jul 2015
Posts: 21
Rep Power: 11
Benzouz is on a distinguished road
Hello everyone,

I'm trying to set up my injections using the TUI, but I can't find a way to manually set the number of streams of my surface injection.

In the GUI, this is done by first checking the Randomize Starting Points box, then the Number of Streams can be set. But in the TUI, I couldn't find a way to adapt either of these settings.

A way I was thinking of bypassing this issue was by loading a dummy injection from a file which has this setting activated, then copy this injection to another and changing the settings of this new injection with the right parameters, etc, all of that using TUI. However, here again I couldn't find a way to copy an injection using the TUI (which is possible using the GUI).

Any ideas? Thank you!
Benzouz is offline   Reply With Quote

Old   September 1, 2022, 07:45
Default
  #2
New Member
 
Benjamin
Join Date: Jul 2015
Posts: 21
Rep Power: 11
Benzouz is on a distinguished road
Okay it took me a while, but I managed. Basically you have to create your injection first using surface as injection type, then go into the set injections properties menu to enable the randomize starting point. And after that you go back to setting your injection properties where you can change the number of streams.

Here's the code I used, hopefully it would help someone (this is for unsteady particle tracking, for steady particles a few things would be different):
Code:
/define/injections/create-injection injection-0 no yes surface no (inlet) no yes no no no no no no 0.0001 0 0 0 1e-20
/define/injections/properties/set/pick-injections-to-set no (injection-0) no
/define/injections/properties/set/location/random-surface? yes
/define/injections/set-injection-properties injection-0 injection-0 no no no 10000 (inlet) yes no no no no no no 0.0001 0 0 0 1e-20
Benzouz is offline   Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Seakeeping Solver:Crashed akbarbagusd Fidelity CFD 0 November 5, 2021 13:42
Boundary condition problem (Freestream) KAYANO OpenFOAM Running, Solving & CFD 5 June 1, 2021 06:57
[Other] Equal decomposition of cylindrical fluid domain Sean95 OpenFOAM Meshing & Mesh Conversion 3 February 12, 2019 04:34
Running UDF with Supercomputer roi247 FLUENT 4 October 15, 2015 14:41
Compressor Simulation using rhoPimpleDyMFoam Jetfire OpenFOAM Running, Solving & CFD 107 December 9, 2014 14:38


All times are GMT -4. The time now is 22:43.