|
[Sponsors] |
Difficulty in imposing an omega boundary condition |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
December 18, 2015, 07:46 |
Difficulty in imposing an omega boundary condition
|
#1 |
New Member
Syed Aaquib Hazari
Join Date: Apr 2015
Location: Delft
Posts: 16
Rep Power: 11 |
Dear all,
I am using UDFs to impose a constant omega value at the interface as a boundary condition of my two phase stratified channel flow. I am also using periodic boundary conditions so there is no way to hook a DEFINE_PROFILE UDF. I have tried using DEFINE_SOURCE it adds a source variable to every grid cell. Can anyone suggest some way to bypass this. Below is the UDF SOURCE code Code:
#include "udf.h" #define C1 2927 DEFINE_SOURCE(omega_source, c, t, dS, eqn) { real x[ND_ND]; real y; real source; real abcd; C_CENTROID(x, c, t); if (1.5<C_R(c,t)<900) source = C1; dS[eqn] = 0; return source; } |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Wind turbine simulation | Saturn | CFX | 60 | July 17, 2024 06:45 |
Error finding variable "THERMX" | sunilpatil | CFX | 8 | April 26, 2013 08:00 |
CFX fails to calculate a diffuser pipe flow | shenying0710 | CFX | 7 | March 26, 2013 05:13 |
External Radiation Boundary Condition (Two sided wall), Grid Interface | CFD XUE | FLUENT | 0 | July 8, 2010 07:49 |
New topic on same subject - Flow around race car | Tudor Miron | CFX | 15 | April 2, 2004 07:18 |