|
[Sponsors] |
January 12, 2021, 11:40 |
Separate phase data in DPM_SCALAR_UPDATE
|
#1 |
Member
Sebi
Join Date: Mar 2019
Posts: 49
Rep Power: 7 |
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? |
|
January 12, 2021, 17:53 |
|
#2 |
Member
Sebi
Join Date: Mar 2019
Posts: 49
Rep Power: 7 |
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 |
|
|
Similar Threads | ||||
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 06:43 |
Request for NREL Phase VI data for method validation | mohammad | Main CFD Forum | 0 | March 24, 2013 10:06 |
Request for NREL Phase VI data for method validation | mohammad | CFX | 0 | March 24, 2013 10:04 |
Request for NREL Phase VI data for method validation | mohammad | FLUENT | 0 | March 24, 2013 09:59 |
compressible two phase flow in CFX4.4 | youngan | CFX | 0 | July 2, 2003 00:32 |