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

how to patch fluid after initialization in TUI command

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 9, 2021, 15:33
Post how to patch fluid after initialization in TUI command
  #1
New Member
 
Usama
Join Date: Jan 2019
Posts: 3
Rep Power: 7
usama005 is on a distinguished road
can any one help to write the TUI command to patch the fluid (phase-2) after intilization.
i need full command
and second thing how i can patch the Y-velocity of the mixture in specified region_0 in TUI command
Attached Images
File Type: jpg cdf.jpg (77.6 KB, 35 views)
usama005 is offline   Reply With Quote

Old   April 11, 2021, 01:07
Default
  #2
New Member
 
Gemini WANG
Join Date: Mar 2018
Posts: 5
Rep Power: 8
Gemini_WANG is on a distinguished road
Hi,

"solve/patch" is the correct way. It's unable to write down the full command for u because it depends on the names/IDs of your cell zones or registers. But I have some suggestions:

1. Input the exact name of the cell zone or register that you want to patch, or confirm their zone ID rather than guess.

2. If u do not want to patch cell zone, just press Enter or input a comma. It will skip to ask for registers to patch. The same when u finish but it still ask for input.

3. NOT to input variable name as soon as cell zone/ register names/IDs, TUI prompt may help.
Gemini_WANG is offline   Reply With Quote

Old   April 11, 2021, 02:38
Default
  #3
New Member
 
Usama
Join Date: Jan 2019
Posts: 3
Rep Power: 7
usama005 is on a distinguished road
Quote:
Originally Posted by Gemini_WANG View Post
Hi,

"solve/patch" is the correct way. It's unable to write down the full command for u because it depends on the names/IDs of your cell zones or registers. But I have some suggestions:

1. Input the exact name of the cell zone or register that you want to patch, or confirm their zone ID rather than guess.

2. If u do not want to patch cell zone, just press Enter or input a comma. It will skip to ask for registers to patch. The same when u finish but it still ask for input.

3. NOT to input variable name as soon as cell zone/ register names/IDs, TUI prompt may help.
/solve/patch phase-2 () (0) mp 1

This is correct command to patch fluid to 1
And for velocity

/solve/patch mixture () (0) y-velocity o -0.1
usama005 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
Near wall treatment in k-omega SST Arnoldinho OpenFOAM Running, Solving & CFD 38 March 8, 2017 14:48
8x icoFoam speed up with Cufflink CUDA solver library kmooney OpenFOAM Running, Solving & CFD 42 November 6, 2012 12:37
[Other] StarToFoam error Kart OpenFOAM Meshing & Mesh Conversion 1 February 4, 2010 05:38
Problem of compilation OF 14Allwmake command not found erik_d OpenFOAM Bugs 13 September 13, 2008 22:45
Terrible Mistake In Fluid Dynamics History Abhi Main CFD Forum 12 July 8, 2002 10:11


All times are GMT -4. The time now is 19:04.