|
[Sponsors] |
![]() |
![]() |
#1 |
New Member
shamiaoluo
Join Date: Sep 2022
Posts: 10
Rep Power: 4 ![]() |
How do we initialize the domain? I have a cylindrical domain with oil and water. I want to initialize the outer ring of the field with water and the inner ring with oil. There is a patch option in Fluent that we can use to select a portion of the field and then initialize it. Is there a similar feature in CFX? thank you
|
|
![]() |
![]() |
![]() |
![]() |
#2 |
Senior Member
Gert-Jan
Join Date: Oct 2012
Location: Europe
Posts: 1,948
Rep Power: 28 ![]() |
If you have two domains then you can initialize per domain. However, two domains require two different mesh volumes which will be connected through an interface. If you study mixing oil and water, then it is better to not have an interface.
The option that remains is to write a CEL-expression which captures your initial distirbution with a step-function using the radius of the cilinder. Something like: Radius = sqrt(x^2+y^2) mf_ini = step(Radius/1[m]-0.15) Your mf_ini will be 0 where radius is between 0 and 0.15. mf_ini will be 1 above 0.15. The division by 1[m] is to make input for the step function dimensionless. Using this mf_ini can be used to initialise your mass fractions. When defining the expressions, there is a tab allowing you to plot the expressions. This helps to understand what you are defining. |
|
![]() |
![]() |
![]() |
![]() |
#3 |
New Member
shamiaoluo
Join Date: Sep 2022
Posts: 10
Rep Power: 4 ![]() |
Thank you very much for your help. I understand.
|
|
![]() |
![]() |
![]() |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Fluent Meshing for CFX opinions | siw | CFX | 1 | April 25, 2022 07:55 |
Ask for help: CFX solution error | novice_han | CFX | 3 | December 6, 2021 08:10 |
CFX pressure in Simulations problem | nasdak | CFX | 1 | April 14, 2010 14:22 |
OpenFOAM on MinGW crosscompiler hosted on Linux | allenzhao | OpenFOAM Installation | 127 | January 30, 2009 20:08 |
PhD using CFX | Rui | CFX | 9 | May 28, 2007 06:59 |