|
[Sponsors] |
Help Needed: Creating a UDF for Transient Simulation with k-ε Standard Dispersed Turb |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
May 18, 2023, 01:50 |
UDF to transform water and gas to a third phase (froth) based on a if condition for a
|
#1 |
New Member
Matias
Join Date: Nov 2021
Posts: 4
Rep Power: 5 |
Hello everyone,
I'm working on a transient simulation in Fluent using the k-ε standard dispersed turbulence model for a multiphase case (water, air, froth). I take the reference for froth formation from the article: "Numerical simulation of froth formation in aerated slurry coupled with population balance modelling, A. R. Sarhan, J. Naser & G. Brooks To" In my simulation, I need to calculate and obtain the volumetric fraction and density values for each cell at every time step, if the volumetric fraction of dispersed air in water is equal to or greater than 0.75, I want to create a third phase, which would be the foam phase. This means that the cell's content will transform from water and air to froth. I'm seeking guidance on how to approach the creation of a User-Defined Function (UDF) that allows me to perform this calculation and make decisions based on the volumetric fraction to transform the cell into foam. I would greatly appreciate it if anyone could provide me with examples, resources, tutorials, or any kind of guidance to help me get started with creating this UDF. I'm excited to learn and apply this in my multiphase simulation. Thank you in advance for your valuable assistance! Best regards, Matías Last edited by matiyanez; May 19, 2023 at 15:36. |
|
Tags |
multiphase flows, udf |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Unable to compile UDF and run simulation on HPC (cluster) | fan01 | Fluent UDF and Scheme Programming | 0 | February 14, 2022 11:35 |
OpenFoam restarting simulation, stops at first Time loop | syntex | OpenFOAM Running, Solving & CFD | 4 | April 5, 2019 12:20 |
Problem with DPM simulation with particles injection and EXECUTE_AT_THE_END UDF. | Ari | Fluent UDF and Scheme Programming | 4 | May 31, 2016 09:51 |
Simulation with UDF for species mass fraction and velocity profile | virgy | Fluent UDF and Scheme Programming | 8 | February 7, 2012 05:30 |