|
[Sponsors] |
February 29, 2016, 02:07 |
How to set up two phase flow time de
|
#1 |
New Member
Casper
Join Date: Nov 2015
Posts: 14
Rep Power: 11 |
Hi everybody,
How to set up two phase flow time dependent boundary conditions in CFX? Gas flows in given time, After given time, other gas flows from opposite side. |
|
February 29, 2016, 03:45 |
|
#2 |
Senior Member
Maxim
Join Date: Aug 2015
Location: Germany
Posts: 413
Rep Power: 13 |
maybe with an if-expression? use for gas flow: if(your_time_variable>specific_time,new speed of gas flow,old speed of gas flow)
|
|
February 29, 2016, 04:45 |
|
#3 |
New Member
Casper
Join Date: Nov 2015
Posts: 14
Rep Power: 11 |
You mean CEL expression?
|
|
February 29, 2016, 04:53 |
|
#4 |
Senior Member
Maxim
Join Date: Aug 2015
Location: Germany
Posts: 413
Rep Power: 13 |
yes. A CEL expression can be used to set boundary conditions (inflow rates) etc. Chapter 14.2.2 'conditional if statement' covers the syntax in case my explanation above was too confusing.
For time variables, you could for example use 'ctstep' (current time step) or 'atstep' (accumulated time step) |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
AMI speed performance | danny123 | OpenFOAM | 21 | October 24, 2020 05:13 |
Moving mesh | Niklas Wikstrom (Wikstrom) | OpenFOAM Running, Solving & CFD | 122 | June 15, 2014 07:20 |
How to write k and epsilon before the abnormal end | xiuying | OpenFOAM Running, Solving & CFD | 8 | August 27, 2013 16:33 |
calculation diverge after continue to run | zhajingjing | OpenFOAM | 0 | April 28, 2010 05:35 |
compressible two phase flow in CFX4.4 | youngan | CFX | 0 | July 2, 2003 00:32 |