|
[Sponsors] |
Eulerian Granular diameter as function of phase species |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
May 30, 2022, 02:01 |
Eulerian Granular diameter as function of phase species
|
#1 |
New Member
Yuri
Join Date: Nov 2014
Posts: 2
Rep Power: 0 |
Dear colleagues,
could you please help me to make this code work. At the time it ruins case with SIGSEGV error during initialization #include "udf.h" real particle_diameter_function; real mass_fraction_carbon; DEFINE_PROPERTY(particle_diam, cell, t) { Thread *phase1_thread; phase1_thread = THREAD_SUB_THREAD(t,3); mass_fraction_carbon = C_YI(cell, phase1_thread, 6); particle_diameter_function = ((0.003 - 10e-6)/(1 - 0))*(mass_fraction_carbon - 0) + 10e-6; return particle_diameter_function; } Thanks. Last edited by Yuri911; May 30, 2022 at 06:14. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Calculating source term total cell-zone volume parallel computation | RobV | Fluent UDF and Scheme Programming | 2 | May 30, 2022 04:46 |
[mesh manipulation] refineMesh Error | mohsen.boojari | OpenFOAM Meshing & Mesh Conversion | 3 | March 1, 2018 23:07 |
is internalField(U) equivalent to zeroGradient? | immortality | OpenFOAM Running, Solving & CFD | 7 | March 29, 2013 02:27 |
Droplet Evaporation | Christian | Main CFD Forum | 2 | February 27, 2007 07:27 |
particle diameter (user defined function) eulerian | nasser | FLUENT | 0 | June 18, 2006 04:39 |