CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   Fluent Multiphase (https://www.cfd-online.com/Forums/fluent-multiphase/)
-   -   Inhomogeneous Discrete Population Balance Model - Load File Format (https://www.cfd-online.com/Forums/fluent-multiphase/244076-inhomogeneous-discrete-population-balance-model-load-file-format.html)

kmurray234 July 20, 2022 12:08

Inhomogeneous Discrete Population Balance Model - Load File Format
 
Hello,

I am trying to use the Load File... option in the Fluent Multiphase Eulerian Population Balance Model dialogue on Fluent 2021R1. I have had success in formatting the load file for the Homogeneous Discrete model as shown in a text file:
1e-06
9.00000000000000e-06
1.80000000000000e-05
2.70000000000000e-05
3.60000000000000e-05
4.50000000000000e-05
5.40000000000000e-05
6.30000000000000e-05
7.20000000000000e-05
8.10000000000000e-05
9.00000000000000e-05
9.90000000000000e-05
0.000108000000000000
0.000117000000000000
0.000126000000000000
0.000135000000000000
0.000144000000000000
0.000153000000000000
0.000162000000000000
0.000171000000000000
0.000180000000000000
0.000189000000000000
0.000198000000000000
0.000207000000000000
0.000216000000000000
0.000225000000000000

I need to know how to format the file for the inhomogeneous discrete model, as I need to control the bin sizes manually instead of using the Geometric Ratio option. The Fluent Theory Guide section on Population Balance Models indicates the following as an example:

(("air-1" (0.01 0.02 0.03))

It states that the name of the phase must be included. However, when I try this format, I receive the following error:
Error: eof inside list
Error Object: ()

By playing around with the formatting a bit, I have also received these errors:
Error: GENERAL-CAR-CDR: invalid argument [1]: improper list
Error Object: ()

OR

Error: CAR: invalid argument [1]: wrong type [not a pair]
Error Object: 0.01

OR

Error: CAR: invalid argument [1]: wrong type [not a pair]
Error Object: "phase-2"

Does anyone know how to properly format the file?
Thanks.

Best,
Keegan

kmurray234 August 1, 2022 12:29

Formatting for Inhomogeneous Load File
 
I figured out the formatting for this file type. The example below is for two particle phases with 3 bins for each phase.

The Fluent User Guide is missing a parenthesis.
Example:

(
("phase-2" (0.1 0.2 0.3))
("phase-3" (0.01 0.02 0.03))
)


All times are GMT -4. The time now is 21:41.