|
[Sponsors] |
![]() |
![]() |
#1 |
Member
Sebi
Join Date: Mar 2019
Posts: 49
Rep Power: 8 ![]() |
I have an eulerian multiphase model with 2 phases, and am using a DPM to track particles in the flow. I want to lookup variables about the cell a particle is in, but cannot return any involving the second phase, only the primary. I need both but can't access them and it feel like it should be obvious. I use the following code:
PHP Code:
PHP Code:
Any tips? |
|
![]() |
![]() |
![]() |
![]() |
#2 |
Member
Sebi
Join Date: Mar 2019
Posts: 49
Rep Power: 8 ![]() |
Found out how to get the variables I wanted in the less dodgy way with the code below. Ensure you tell it to allocate 6 scalars when you hook the Scalar_DPM UDF otherwise you'll get a SIGESV bullshit error.
PHP Code:
|
|
![]() |
![]() |
![]() |
Tags |
cell, dpm, multiphase, phase, udf |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Sharing links for two phase solver packages developed by openfoam community | swap_9068 | OpenFOAM Programming & Development | 1 | April 2, 2017 05:43 |
Request for NREL Phase VI data for method validation | mohammad | Main CFD Forum | 0 | March 24, 2013 09:06 |
Request for NREL Phase VI data for method validation | mohammad | CFX | 0 | March 24, 2013 09:04 |
Request for NREL Phase VI data for method validation | mohammad | FLUENT | 0 | March 24, 2013 08:59 |
compressible two phase flow in CFX4.4 | youngan | CFX | 0 | July 1, 2003 23:32 |