|
[Sponsors] |
Using the TUI to write/read profiles to update BC's? |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
August 21, 2019, 10:18 |
Using the TUI to write/read profiles to update BC's?
|
#1 |
Member
Sebi
Join Date: Mar 2019
Posts: 49
Rep Power: 7 |
For a cylinder of fluid with 2 phase flow, your inlet requires a VOF BC so lets put say 0.5 as an initial guess, which is applied uniformly to the inlet. In reality, this distribution may be different depending on their densities and visocisties. If you export the VOF at the outlet as a profile, and read it as the inlet VOF BC you now have a slightly better condition. If you repeat this several times you could generate a better approximation of the inlet VOF (Providing you have a cyclic velocity BC).
So far I am exporting the outlet VOF at the end of my solution using TUI, but then loading it as the inlet BC manually, and solving again using TUI and so on. Can I do this using the TUI entirely? Some example; PHP Code:
PHP Code:
Is this possible? |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
TUI commands for sample profiles in DPM | bloodflow | FLUENT | 4 | February 5, 2020 21:23 |
How to set BCs programmatically | incompressible | OpenFOAM Programming & Development | 6 | November 20, 2017 02:47 |
Change "Implicit Mesh Update Interval" using UDF | ASimonsen | Fluent UDF and Scheme Programming | 2 | October 12, 2017 09:38 |
Dealing with BC's in OF 1.6 | vkrastev | OpenFOAM Running, Solving & CFD | 5 | September 4, 2012 11:58 |
Understanding Code behind BCs | Linse | OpenFOAM Programming & Development | 8 | January 9, 2012 08:58 |