|
[Sponsors] |
Problem with mass flux calculation in libsimpleFunctionObjects.so |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
June 24, 2017, 16:02 |
Problem with mass flux calculation in libsimpleFunctionObjects.so
|
#1 |
Senior Member
Join Date: Aug 2014
Location: Germany
Posts: 292
Rep Power: 14 |
Hello,
i want to check the mass balance for multiphase cases while running the solver multiphaseEulerFoam. Ideally i want to create an output that calculates the mass balance for all phases e.g. for water and a secondary air phase. So far the closest i got to that is using Code:
functions { MassflowInlet { type faceSource; functionObjectLibs ("libfieldFunctionObjects.so"); enabled true; outputControl timeStep; outputInterval 1; outputControlMode timeStep; log true; valueOutput false; source patch; sourceName outlet; operation sum; fields ( phi.water phi.air ); } } Also, is there a possibilty to check the overall mass balance with a function object or do i need to calcualte it by hand for each time step? Thanks!! |
|
June 24, 2017, 16:36 |
|
#2 |
Senior Member
Join Date: Aug 2014
Location: Germany
Posts: 292
Rep Power: 14 |
Ok, i found that phi in incompressible solvers is m^3/s and so i guess, to get the mass flux i have to calculate by hand with average alpha on outlet face and the density of the phase.
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Radiation in semi-transparent media with surface-to-surface model? | mpeppels | CFX | 11 | August 22, 2019 08:30 |
DPM mass problem | Henrik Ström | FLUENT | 9 | May 20, 2016 12:00 |
Waterwheel shaped turbine inside a pipe simulation problem | mshahed91 | CFX | 3 | January 10, 2015 12:19 |
UDS Flux Function Problem | sunbird04 | FLUENT | 6 | April 28, 2014 03:58 |
An error has occurred in cfx5solve: | volo87 | CFX | 5 | June 14, 2013 18:44 |