|
[Sponsors] |
UDF to constrain one of the phase to stay in the domain |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
November 17, 2017, 00:06 |
|
#21 |
New Member
Hussein
Join Date: Jul 2017
Posts: 7
Rep Power: 9 |
Hi Rubblevg,
You said"The define_source UDF needs to be set for the phase that is to be removed and it needs to be applied to a small volume close to the wall that represents the mass sink/outlet" DO you main to create a zone near the outlet or the wall to applied the mass source UDF? or I need to set for the layer of cells next to the outlet? If this is the case can you please let me know how to create one? Thanks for your support Hussein |
|
November 23, 2017, 11:55 |
|
#22 |
New Member
Ruben
Join Date: Feb 2017
Location: Eindhoven
Posts: 22
Rep Power: 9 |
Hi Hussein,
Sorry for my late response! From your first message I conclude you don't fully understand my explanation of the UDF. The mass sink is meant to work as a replacement for the outlet, because an ordinary outlet in Fluent cannot work on only one component. Therefore you will need to remove your current pressure outlet if you want to apply the mass sink. Of course, you may be able to modify the equations of the mass sink to work exactly as an ordinary pressure outlet would. As an answer to your second message I will give the reply I already sent you privately. This way, anyone can use the information You need to create a small volume close to the wall where the outlet is supposed to be. On this volume you can apply your mass sink, so that it effectively functions as an outlet. Of course you won't need your original outlet then anymore, so you can replace it with a wall. You can make the small volume by creating an additional body when setting up your geometry. In Ansys DesignModeller, you can do this by using the extrude function with 'add frozen'. This way, you create an additional body. Give the main body and the small body close to the outlet both names with 'named selection' and merge them together by using 'form new part'. Then, Ansys will recognize both bodies as one part while being able to set different source terms per body. Note that when creating these two bodies it is important to create an interface between them. There are several tutorials on the internet about creating interfaces with Ansys, so I won't explain it here. I hope this helps! Cheers, Ruben |
|
January 4, 2018, 07:01 |
|
#23 | |
New Member
OuYangming
Join Date: Dec 2017
Posts: 1
Rep Power: 0 |
Quote:
Now I am facing the same problem. The backflow fraction for gas only set to be 1.0, the simulation can be run. But this will decrease of water |
||
April 15, 2020, 20:21 |
How to get Phase velocity from mixture velocity data
|
#24 |
New Member
Abhi
Join Date: Jan 2018
Posts: 27
Rep Power: 8 |
I`m having multiphase simulation of nanofluid passing through a horizontal pipe using Mixture-model. How to assign phase velocities in velocity inlet condition as I`m having mixture velocity data only. Is a UDF is required for phase velocity? Kindly help.
|
|
Tags |
mesh, multiphase, udf |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
CFX domain comparison | Kiat110616 | CFX | 4 | April 3, 2011 23:43 |
phase fraction part of domain | RBJ | OpenFOAM Post-Processing | 0 | July 6, 2010 10:33 |
Discrete Phase Modeling: UDF law for particles | bjcfd | FLUENT | 0 | January 13, 2010 17:46 |
Domain Initialization in 2 phase flow using VOF | moas | CFX | 3 | February 17, 2008 06:19 |
compressible two phase flow in CFX4.4 | youngan | CFX | 0 | July 2, 2003 00:32 |